Category: LabVIEW Programming Principles

CLAD 03-27

CLAD 03-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.

  1. Three separate controls for the two positions and the radius
  2. A cluster containing all of the data
  3. A type definition containing a cluster
  4. An array with three elements

CLAD 03-11

CLAD 03-11

Which of the following is the best method to update an indicator on the front panel?

  1. Use a Value property node
  2. Wire directly to the indicator terminal
  3. Use a local variable
  4. Use a functional global variable

CLAD 03-10

CLAD 03-10

Formula nodes accept which of the following operations?

  1. Basic programming language instructions Input and Print
  2. Embedding of subVIs within the Formula Node
  3. Pre and post increment (++) and decrement (–) as in the C language
  4. The use of nested Formula Node structures.

CLAD 02-36

CLAD 02-36

A coercion dot indicates that:

  1. The data types are consistent
  2. A polymorphic operation will be performed on the data
  3. A data buffer is created to handle the data conversion
  4. Data values are being coerced because they are out of range

CLAD 02-23

CLAD 02-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 modify the control, does the control on the front panel window change?

  1. Yes
  2. No

CLAD 02-15

CLAD 02-15

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?

  1. Use the subVI in a sequence structure
  2. Modify the subVI to have dummy inputs that can be used from the calling VI
  3. Modify the subVI to have Error clusters that can be used from the calling VI
  4. Modify the subVI to have a global variable and use it from the calling VI

CLAD 02-13

CLAD 02-13

What functionality do Control References provide?

  1. Ability to add controls and indicators to a VI programatically
  2. Access to the properties of Front Panel objects in subVIs
  3. Control of multiple DAQ inputs through alias names
  4. Ability to wire from controls to functions and subVIs

CLAD 02-11

CLAD 02-11

Which setting assigns specific keys or key combinations to a front panel control?

  1. Key Focus
  2. Key Navigation
  3. Radix
  4. Distribute Objects

CLAD 02-04

CLAD 02-04

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?

  1. Create an implicit property node and select the property to modify
  2. Create a control reference, pass the reference to a property node and select the property to modify
  3. Create a linked shared variable and select the property to modify
  4. Create a local variable and select the property to modify

CLAD 01-10

CLAD 02-28

If possible, a Sequence structure should be replaced with a(n):

  1. Event Structure
  2. For Loop
  3. State Machine
  4. While Loop
Top