MDA 1
You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close. Which Event case allows this functionality?
0%
0
0%
0
0%
0
0%
0
You must generate code that responds to multiple value change events using a Boolean control while maintaining a latching mechanical action. Which programming step is NOT required?
Including or reading the Boolean control terminal in a loop
Including the Event Structure within a loop
Configuring a Timeout case within the Event Structure
Configuring a Value Change event case for the Boolean control
What value is displayed in the Value Out indicator after the VI completes execution?
0
4
5
6
How many errors does LabVIEW display at the end of execution?
No errors
One error
Two errors
Three errors
Which of the following statements is TRUE about the following code segment?
The loop will execute once and the indicator Iteration will have a value of one
The loop will execute once and the indicator Iteration will have a value of zero
The loop will execute continuously and the program will have to be aborted
The loop will not execute and the indicator Iteration will have a value of zero
Why is a shift register used for the file refnum input on the For Loop?
If the Values to Write to File array is empty, the For Loop will run zero times, but the refnum value will be passed through to the shift register output
The Write to Text File function modifies the value of the refnum on each For Loop iteration
It is the only way to prevent the For Loop from building an array at the refnum output terminal
No reason. A regular tunnel would provide identical functionality to the shift register
The following SubVI is loaded into memory and then run. At some later time it is still in memory and is run a second time. What is the value is displayed in the Sum indicator when the SubVI completes execution the second time it is run?
5
10
There is no way to know :P
0
Which of the following is FALSE about File I/O using binary or TDMS file formats?
Binary files can accept any LabVIEW data type
TDMS can accept any LabVIEW data type
TDMS is generally faster in writing than binary
Binary file I/O can be used by all versions of LabVIEW
How does a producer consumer design pattern process excessive amounts of data?
Using a single element queue the Producer Consumer processes only current data
Using a queue for storage the Consumer loop processes all data when it has time.
The Producer loop will slow its cycle time to allow the consumer loop to catch up.
The consumer loop will increase its processing time to match the producer loop.
Unlike graphs, which display an entire waveform that ________ the data already displayed, charts update periodically and __________ the data previously displayed.
Maintains a history of; overwrite
Overwrites; maintain a history of
Appends to; overwrite
None of the above
What value is displayed in the Result indicator after the VI completes execution?
3
2
1
0
After the VI starts running, the user clicks the "Event1" button twice. The event structure has no other event cases. What will be displayed in the "Time 1" indicator when the VI stops executing?
0
1
2
Undetermined
You have written a LabVIEW VI with three parallel code paths. All three error cluster wires are wired into a Merge Errors function. What error is reported to the user?
Error 1014, because Merge Errors outputs the first error to occur chronologically
Error 7, because Merge Errors outputs the first error wired in to it from the top down
Error 1, because Merge Errors outputs the most significant error of the errors wired in to it
All three errors are reported, because Merge Errors concatenates the errors into a single error message to display to the user
Which timing function can result in logic errors when it rolls over to zero?
Wait until next ms multiple
Tick count
Get date/time in seconds
Wait (ms)
Which of the following statements is NOT valid?
You can make a Cluster of Clusters
You can make an Array of Arrays
You can make a Cluster of Arrays
You can make an Array of Clusters
Which of the following cannot be used to transfer data between two parallel loops?
Wires
Queues
Notifiers
Local variables
The time out input terminal of the Dequeue Element function is wired with the value 1. While the VI is running, how long does this Dequeue Element function wait to receive data?
1 milisecond
1 second
Indefinitely
It does not wait. It returns immediately
What does this function do?
Transfers the queue reference to other callers
Sorts all queue elements in order and returns them as an array
Clears all elements from the queue
Removes one reference to the queue and returns any remaining elements
When a VI is paused, clicking on the _________ button allows you to bypass a node in the Block Diagram without single-stepping through the node
Step into
Step over
Step out
Step through
Which is a native debugging feature in LabVIEW?
Step back
Step over
Step around
Step above
Which data type is not accepted by the case selector terminal on a case structure?
Arrays
Enumerated type values
Strings
Integers
Which statement about sequence structures is FALSE?
Sequence structures support parallel operations within frames
Terminating the execution of a sequence structure before the entire sequence is completed is not possible without aborting.
Sequence structures execute frames in a sequential order.
Sequence structures stop when an error is detected
Which equation is equivalent to the code?
Sqrt(a*((a+b)^2-(c-1)))
Sqrt(a*((c-1)-(a+b)^2))
Sqrt(a*((a+b^2)-(c-1))
Sqrt(a^2*((a+b)^2-(c-1)))
When clicking a broken run arrow, the Error list window shows all of the following EXCEPT:
Items with errors
Errors and warnings
Details about the warnings
Error Codes
How do you document a VI so that the description appears in the Show Context Help popup window?
Use the VI Properties Documentation window
Type in the Show Context Help window
Create a free label on the front panel
Edit the LabVIEW help files
How many bytes does LabVIEW write to the file when the code executes
5 bytes
6 bytes
12 bytes
14 bytes
The value in Control a is 2 and in Control b is 128
-128
0
255
256
A SubVI is created by selecting the code from a block diagram. How many terminals will the SubVI have?
3
4
5
6
What is the red dot called?
Coercion Dot
Data truncation Dot
Data typecast Dot
Buffer allocation Dot
What do coercion dots indicate?
Incompatible data types
A mathematical operation will be performed on the data
The input data will be copied and converted to a different data type
The location where an error will occur
What settings should be selected for a custom control so that all copies of the control are of the same data type yet have the flexibility to use different colors and styles?
Control
Type Def
Strict Type Def.
Flex Def
In a Simple State Machine design pattern, which of the following stores the state information?
Shift Register
Queue
Notifier
Functional global variable
You are required to use the Get Date/Time in Seconds function for timing in a state machine. The state machine has an acquire state and must acquire for 5 seconds. If the hardware fails during acquisition the state machine must be able to transition to the stop state. Which of the following design patterns will provide timing for a state machine and allow responsiveness to acquire state requirements?
0%
0
0%
0
0%
0
0%
0
Which of the following apply to Property Nodes?
Allow attributes of files on disk to be programmatically manipulated
Can be used to update the value of a front panel control or indicator
Return an error if you attempt to read a property before it has been written
Can be used to invoke methods on a control
You have a front panel control on a top-level VI that you must manipulate from within a SubVI. Which of the following could you pass to the SubVI to accomplish this?
The control's properties
The control's methods
The control's reference
The control's data type
Which Property Node can change the text color attributes of ANY digital numeric control used on the panel of a VI?
0%
0
0%
0
0%
0
0%
0
Which of the following user interface events will allow your code to respond before LabVIEW performs the default action associated with that event?
Mouse Down
Panel Resize
Panel Close
Value Change
The Trigger control is configured with a switching mechanical action. The VI's requirement is to display a Count value that tracks the number of "value change" events, for changes to TRUE, that occur for the Trigger. Which of the code snippets meets that requirement when the VI is run?
0%
0
0%
0
0%
0
0%
0
What is the value in the Result indicator after the VI completes execution?
16
24
32
10
Which of the following terminals cannot control how many times a For loop executes?
0%
0
0%
0
0%
0
0%
0
Which of the following statements is TRUE regarding the execution of the following code? The loop will iterate:
51 times
50 times
49 times
A random number of times
The VI is open and run twice without being closed or modified. What value is displayed in the Value Out indicator after the second execution of the VI?
3
4
5
6
What value is displayed in the Numeric indicator after the VI executes?
0
4
5
The While Loop iterates indefinitely
What value will be displayed in the Out indicator when this VI completes execution?
Case 0
Case 1
Case 2
Case 3
Which code snippet is functionally equivalent to this sequence structure?
0%
0
0%
0
0%
0
0%
0
The Wait function can be added to While Loops
To free up available memory
To allocate memory used by the CPU
To allow the processor time to complete other tasks
To reserve which processor the code is running on
While the VI executes, the user presses and then releases Boolean Control with Switch Until Released mechanical action. The starting value of Boolean Control is FALSE, What value is displayed in the Result indicator after execution?
0
1
2
3
What value is displayed in the X+Y indicator after the code completes execution?
0%
0
0%
0
0%
0
0%
0
Why does an error occur when the code executes?
File path not wired to the input of the Open/Create/Replace File function
File opened with the incorrect access
File reference not closed
File data type is incorrect
Which equation is equivalent to the code?
0%
0
0%
0
0%
0
0%
0
{"name":"MDA 1", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close. Which Event case allows this functionality?, You must generate code that responds to multiple value change events using a Boolean control while maintaining a latching mechanical action. Which programming step is NOT required?, What value is displayed in the Value Out indicator after the VI completes execution?","img":"https://www.quiz-maker.com/3012/CDN/97-4792768/screenshot-from-2024-01-24-11-26-28.png?sz=1200-00875020690749505300"}
More Quizzes
Can-Do Statements (Interpersonal Communication)
36180
Hospitality and Tourism Quiz
10511
520
Trivia CBO
5222
Spanish Quiz - Celine, Veerliene, Lauren
840
About kaley
210
Do you know the REAL Kayla
11617
How well do you know me??
1476
Social classes in Japanese society
8431
What pudding are you?
10510
What is your DND alignment?
4218
What Kind of Person Are You?
5224