NI Clad

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

19. In what instance would you use the Probe tool rather than Highlight Execution? a. To see the flow of data b. To see the value of a wire in real

time c. To look into a SubVI, as the process is running d. To slowdown the VI and show data values in wires -b. To see the value of a wire in real-time

36. For implementing state diagrams that allow future application scalability, the best choice for a base structure is? a. Sequence structure b. Case structure c. Formula node d. Object

Oriented structure -a. Sequence structure

10. Formula nodes accept which of the following operations? a. Basic programming language instructions Input and Print b. Embedding of SubVIs within the Formula Node c. Pre and post increment (++) and decrement (

-) as in the C language d. The use of nested Formula Node structures -c. Pre and post increment (++) and decrement (--) as in the C language

24. Which of the following illustrates an advantage of a global variable over a local variable? a. A global variable can pass data between two independent VIs running simultaneously b. Only the global variable can pass array data, local variables cannot c. Global variables follow the dataflow model, and therefore cannot cause race conditions d. Global variables do not require owned labels to operate

a. A global variable can pass data between two independent VIs running simultaneously

28. Which of the following will cause an event to be captured by the LabVIEW Event Structure? a. Changing a value on a Front Panel control via a mouse click b. Update of a Front Panel control using a property node c. Programmatic update of a Front Panel control via a control reference d. Using VI Server to update a Front Panel control

a. Changing a value on a Front Panel control via a mouse click

9. You have a control on the front panel of a VI and you need to modify one of its properties at run time. Which of the following is the best approach you would take? a. Create an implicit property node and select the property to modify b. Create a control reference, pass the reference to a property node and select the property to modify c. Create a linked shared variable and select the property to modify the property d. Create a local variable and select the property to modify

a. Create an implicit property node and select the property to modify

40. Which VI memory components are ALWAYS resident for a SubVI? a. Data Space b. Front Panel c. Block Diagram d. Code

a. Data Space d. Code

Graphs

a. Graphs

39. Which of the following apply to Property Nodes? a. Property Nodes allow attributes of front panel objects to be programmatically manipulated. b. Property Nodes can be used to update the values contained in a front panel object. c. More than one Property Node can be used for a single front panel object. d. Property Nodes contained in a SubVI will always cause the front panel to be loaded in memory.

a. Property Nodes allow attributes of front panel objects to be programmatically manipulated. b. Property Nodes can be used to update the values contained in a front panel object. c. More than one Property Node can be used for a single front panel object. d. Property Nodes contained in a SubVI will always cause the front panel to be loaded in memory.

7. Which of the following cannot be used to transfer data? a. Semaphores b. Queues c. Notifiers d. Local variables

a. Semaphores

1. How do you document a VI so that the description appears in the Show Context Help popup window? a. Use the VI Properties Documentation window b. Type in the Show Context Help window c. Create a free label on the front panel d. Edit the LabVIEW help files

a. Use the VI Properties Documentation window

3. Which of the following describes a Tab Control? a. A control that outputs ASCII values equal to the selected tab label b. A type of enumerated control c. A control that outputs a cluster of the controls / indicators on the tabs d. A controls that outputs the tab order of the controls on the front panel

b. A type of enumerated control

16. What is the best method to stop a While loop on an error condition? a. Compare the Status boolean of an error cluster with a constant and wire it to the Stop terminal b. Connect the error wire directly to the Stop terminal c. Create an Event structure to handle the error event d. Use the Error Handler VI to automatically handle the error

b. Connect the error wire directly to the Stop terminal

15. What is one disadvantage of using the State Machine VI architecture? a. A State Machine can only traverse states in order b. If two state changes occur at the same time, only the first state change will be handled and the second will be lost c. The diagram becomes significantly larger when changing from a general architecture to a State Machine d. State Machines cannot acquire data or use DAQ functions

b. If two state changes occur at the same time, only the first state change will be handled and the second will be lost

2. Can a wire be used to pass data between loops that are intended to run in parallel? a. Yes b. No

b. No

23. Which Chart update mode should be used to draw new data from left to right, then clear the chart and draw new data again from left to right? a. Strip Chart b. Scope Chart c. Sweep Chart d. Step Chart

b. Scope Chart

17. What mechanical action of a Boolean would you use to mimic a button on a Windows dialog? a. Switch Until Released b. Switch When Released c. Latch Until Released d. Latch When Released

b. Switch When Released

4. What is an advantage of using a Strictly Typed VI refnum? a. The data types of the target VI are known at compile time b. The data types passed to the VI can change programmatically c. You can flatten the data to a string to improve code performance d. Causes dynamically loaded VIs to be loaded at the start of execution

b. The data types passed to the VI can change programmatically

26. Under which of the following conditions does a For loop stop executing? a. When a false value is present at the conditional terminal and the conditional terminal is b. When the value of the iteration terminal, i, is one less than the value of the count terminal, N c. When the value of the iteration terminal, i , is one more than the value of the count terminal, N d. None of the above

b. When the value of the iteration terminal, i , is one less than the value of the count terminal, N

11. Which of the following is the best method to update an indicator on the front panel? a. Use a Value property node b. Wire directly to the indicator terminal c. Use a local variable d. Use a functional global variable

b. Wire directly to the indicator terminal

5. A coercion dot indicates that: a. The data types are consistent b. A polymorphic operation will be performed on the data c. A data buffer is created to handle data conversion d. Data values are being coerced because they are out of range

c. A data buffer is created to handle data conversion

38. If an input name on the Show Context Help window is in bold for a SubVI, which of the following conditions are true? a. Input values must be scalar. b. An input is recommended, but not required. c. An input is required. d. A broken run arrow will result unless the input is wired.

c. An input is required. d. A broken run arrow will result unless the input is wired.

12. Which of the following functions assembles Cluster elements by their owned labels? a. Unbundle by Name b. Unbundle c. Bundle by Name d. Bundle

c. Bundle by Name

35. Which of the following statements is true about the iteration terminal a. It returns the number of times the loop has executed b. It returns the number of times the loop has executed, plus one c. It returns the number of times the loop has executed, minus one d. It returns a constant number

c. It returns the number of times the loop has executed, minus one

21. You develop a SubVI that only outputs a value and need to use this SubVI in a (calling) VI. Which of the following is the best way to enforce dataflow to control the execution of the SubVI? a. Use the SubVI in a Sequence structure b. Modify the SubVI to have dummy inputs that can be used from the calling VI c. Modify the SubVI to have Error clusters that can be used from the calling VI d. Modify the SubVI to have a global variable and use it from the calling VI

c. Modify the SubVI to have Error clusters that can be used from the calling VI

32. Which of the following statements is false? a. A SubVI connector pane defines where to wire inputs and outputs b. The color of a SubVI connector pane terminal matches the data type it is connected to c. You must have an icon/connector to use a SubVI d. A SubVI icon can be edited from the functions palette

d. A SubVI icon can be edited from the functions palette

29. Which of the following does not conform to data flow programming paradigm? a. Shift Registers b. Tunnels c. SubVIs d. Local Variables

d. Local Variables

30. You must store data that other engineers must analyze with Microsoft Excel. Which file storage format should you use? a. Tab

delimited ASCII b. Custom binary format c. TDM d. Datalog -a. Tab-delimited ASCII

20. You customize a control, select Control from the Type Def. Status pull

down menu, and save the control as a .ctl file. You then use an instance of the custom control on your front panel window. If you open the .ctl file and modify the control, does the control on the front panel window change? a. Yes b. No -b. No

33. The most efficient method for creating an array is: a. Using a For loop with Auto

indexing b. Placing a build array function in a While loop c. Initializing an array and then replacing elements in a While loop d. Using a While loop with Auto-Indexing -a. Using a For loop with Auto-indexing

27. You are inputting data that represents a circle. The circle data includes an x position, a y position, and a radius. All three pieces of data are double

precision. In the future, you might need to store the color of the circle, represented as an integer. How should you represent the circle on your front panel window? a. Three separate controls for the two positions and the radius. b. A cluster containing all of the data. c. A type definition containing a cluster. d. An array with three elements. -c. A type definition containing a cluster.


Set pelajaran terkait

Health Policy Provisions, Clauses, and Riders

View Set

consumer behavior chapter 6 practice

View Set