LabView Exam
Sends a message to all functions waiting on the notifier
Send Notification
Why should you use sequential programming?
Sequential programming ensures the order of tasks
What are the 4 types of simple design patterns?
Simple General State Machine Event-Based State Machine
Code that involves timing a real world operation to perform within a set time period or controls the frequency at which a loop executes
Software control timing
Part of a program that satisfies a condition, performs an action or waits for an event
State
A common and useful design pattern in LabView that usually has a start up and shut down state, but also contains other states
State Machine
A technique for keeping files open while you perform multiple write operations
Streaming Data to Disk
A specific type of binary file created for National Instruments products
TDMS
Which file format is best in an application that requires high-speed streaming?
TDMS
VISA is a high-level API that calls low-level drivers
True
After opening a file, which output does the Open/Create/Replace File I/O function return?
Refnum Out
Release the Notifier
Release Notifier
Releases the Queue
Release Queue
A specific type of binary file that is standard used by most programs
ASCII
Commands the instrument to carry out an action
Action/Status
Signals that vary continuously
Analog
What is NI MAX?
A tool to configure and test the DAQ device. A tool to test instrument communication
The underlying file format of all other formats
Binary
Defines the object type
Class
Terminates the software connection to the instrument
Close
Software routines that configure the instrument to perform specific operations
Configure
A reference to a front panel object
Control Reference
Digital timing signal that includes characteristics of a digital signal that can be counted or measured.
Counter
What is the basic DAQmx application processes in order?
Create task Configure Task Start Task Acquire data Clear Task Check for errors
Transfers data to or from the instrument
Data
The process of measuring an electrical or physical phenomenon with a computer
Data acquisition
Removes data from the queue
Dequeue Element
Code implementations and techniques that are solutions to specific problems in software design.
Design Patterns
Electrical signals that transfer binary data, such as on/off or True/False
Digital
Adds data to the queue
Enqueue element
VI or code that changes normal flow or program execution when an error occurs
Error Handler
A user interface event handler with the transition ability of the state machine
Event Based State Machine
Code that uses timing functions to give the processor time to complete other tasks
Execution timing
The Property Node is part of a SubVI
Explicitly Linked
When using a Sequence structure, you can stop the execution in the middle of a sequence
False
You should use variables in your VI whenever possible.
False
A non-reentrant VI that uses uninitialized shift registers to hold global data
Functional Global Variable
The physical cable connecting the instrument
Hardware Connectivity
The property Node is linked to the front panel object
Implicitly linked
Establishes communication with the instrument and is the first instrument driver VI called.
Initialize
a tab-delimited text file you can open with a spreadsheet application or a text-editing application
LVM
Provide individual functions for each step in file I/O operations
Low-Level File I/O
Functions the suspend the execution of a block diagram until they receive data from another section of the block diagram or from another VI running in the same application instance
Notifier Function
A member of a class
Object
Creates the notifier before the loop begin and defines the data type for the notifier
Obtain Notifier
Creates the queue before the loops begin and defines the data type for the queue
Obtain Queue
`What is a Race Condition?
Occurs when the timing of events or the scheduling of tasks unintentionaly affects an output
Single valued attributes of the objects
Properties Methods
What buffers data
Queue
Identifies unique file I/O sessions
Refnum
Condition, Action, or event that causes the program to move to the next state
Transition
Performs a variety of auxiliary operations
Utility
Block diagram elements that access or store data in another location
Variable
Waits until the notifier receives a message
Wait on notification