Vous êtes sur la page 1sur 5

Ivn Salvador Villanueva Rosas (A01212854) CLAD Sample Exam incorrect answers: 4.

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 property node can be used to change the properties of an element in the front panel (control or indicator) an implicit property node happens when you click a control (or indicator) and select create -> property node, and then by changing in the blocks panel the property node element to write mode you can achieve the modification while running the program. So the correct answer is: a) Create an implicit property node and select the property to modify. 9. In the figure below, the output of Array Size is:

The Array Size output element always gives a 1D array in which each element represents the number of elements in the corresponding dimension of array. Vol is the first index, followed by page, row, and column. [1]: So if we are working in a single VI, the answer will be a) 1D Array of {2,3}, first the number of rows and then columns. 11. Which setting assigns specific keys or key combinations to a front panel control? Keys can be assigned as shortcuts to controls, modifiers as <Shift> and <Ctrl> can be used for assigning key combinations [2]. The procedure is as follows: Right click a front panel control and select Advanced -> Key Navigation and then assign some actions for keys or key combinations. In focus section, the shortcut key for the control can be assigned

13. What functionality do Control References provide?

Ivn Salvador Villanueva Rosas (A01212854) The Control Reference points a specific control or indicator, these references can be passed to property and invoke node to modify the attributes and behavior of a control [3], so the correct answer is b Access to the properties in Front Panel objects in SubVIs. Control references can reduce significantly the quantity of elements in the VI for modifying multiple properties of an element. 20. Which plot will change color first? The execution order is sequential from top to bottom, if some of the elements have the same number, those will run in parallel. The correct answer is a. Plot 1 because properties are executed top-down. 21. Which of the following will allow you to have multiple plots on a Waveform Graph? There are two methods, wire a 2D array directly to the graph or bundle elements of each waveform, create an array of the resulting clusters and then wire to graph. If we bundle the clusters and graph the resulting cluster, we will get an XY graph, so the correct answer is d. Both B. and C.

Ivn Salvador Villanueva Rosas (A01212854)

22. Which statement best describes a Notify event, such as the value change of a Boolean control? Notify events are indicators that some action has already occurred. Use notify events to respond to an event after it has occurred and LabVIEW has processed it [4]. Filter events informs that an action has been performed before LabVIEW processes it. The answer is c. Indication than an event occurred and LabVIEW processes the event. 23. 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 medify the control, does the control on the front panel window change? The answer is No, because it will only occur if type definition or strict type definition is selected instead of Control in the pull-down menu. Type definitions and strict type definitions are used to link all the instances of a custom control or indicator to a saved custom control or indicator file. You can make changes to all instances of the custom control or indicator by editing only the saved custom control or indicator file, which is useful if you use the same custom control or indicator in several Vis [5]. Strict Type Definition forces everything to be identical to the control, except the caption, label, description, tip strip and default value, while Type Definition update only the values that are part of the data type [5]. 24. How long does the Dequeue Element function wait to receive data? Until the error cluster send true and the while loop stops, so the correct answer is c. Indefinitely 27. In what instance would you use the Probe tool rather than Highlight Execution?

Ivn Salvador Villanueva Rosas (A01212854) Probe tools helps to see the value of each wire without slowdown the VI, when you click a wire the value is displayed in the probe watch window. So I will use this tool b. To see the value of a wire in real time.

29. The following breakpoint does which of the following? The breakpoints are used to pause the execution of a program when the data flow achieves one point. So the answer is b. Cause the VI to pause. 32. Which is not an important part of creating a Functional Global Variable? c. Setting the VI to inline into calling Vis.

Ivn Salvador Villanueva Rosas (A01212854) 37. Which combination of words correctly completes the following statement? Unlike _____ Property Nodes, _____ Property Nodes require _____ as inputs in order to function correctly. d. Implicit; explicit; Control References.

REFERENCES: [1] NI LabVIEW 2012 help. (n.d.). Array Size Function Help, Retrieved from http://zone.ni.com/reference/en-XX/help/371361J-01/glang/array_size/ [2] NI LabVIEW 2012 help. (n.d.). Setting Keyboard Shortcuts for Controls, Retrieved from http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/setting_keyboard_shortcut/ [3] NI Tutorial. (Sep 06, 2006). Control References: Overview, Retrieved from http://www.ni.com/white-paper/3159/en [4] NI LabVIEW 2012 help. (n.d.). Notify events and Filter events, Retrieved from http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/notify_and_filter_events/ [5] NI LabVIEW 2012 help. (n.d.). Creating Custom Controls, Indicators, and Type Definitios, Retrieved from http://zone.ni.com/reference/en-XX/help/371361H01/lvconcepts/custom_cont_ind_type/

[6] NI LabVIEW 2012 help. (n.d.). Debugging Tools in NI LabVIEW, Retrieved from http://www.ni.com/gettingstarted/labviewbasics/debug.htm#Probe Tool

Vous aimerez peut-être aussi