A calibration VI works when run alone. Its numeric Gain control changes the computed output as intended. The VI is now used as a subVI, but Gain is not assigned to any connector-pane terminal. Which change lets the calling VI supply a gain value through a wire?
Add the word Gain to the image used as the VI icon.
Assign an unused connector-pane terminal to the existing Gain control.
Rename the existing Gain control to External gain input.
Place a new Gain indicator beside the existing Gain control.
Unlock full course notes by signing up
Reading a force indicator
A LabVIEW force-conversion VI has numeric controls for signal voltage VVV, zero-load voltage V0V_0V0, and sensitivity sss. Its block diagram subtracts V0V_0V0 from VVV, divides that difference by sss, and sends the result to the Force indicator:
For one execution, V=2.86 VV=2.86\ \text{V}V=2.86 V, V0=0.14 VV_0=0.14\ \text{V}V0=0.14 V, and s=0.0400 V/Ns=0.0400\ \text{V/N}s=0.0400 V/N. All inputs are wired correctly and use floating-point numbers. What does the Force indicator display? Answer in newtons, to one decimal place.
Parts of a virtual instrument
A LabVIEW virtual instrument is built from a few distinct parts, and each part has a specific role. Match each part to the description of the role it plays when you build, run or reuse a VI.
Tracing a two-branch temperature VI
A VI has one numeric control, Temp C, and two numeric indicators, Temp F and Temp K. On the block diagram, the Temp C terminal's wire branches into two paths. In the first path, Temp C is multiplied by a constant 1.8, then 32 is added, and the result is wired to Temp F. In the second path, the constant 273.15 is added to Temp C, and the result is wired to Temp K. All values are double-precision numbers.
The VI is run three times with the Temp C values shown. Fill in the value each indicator displays after each run. Enter exact decimals with no units.
A test that hides an interface error
A LabVIEW VI must implement d=a−bd=a-bd=a−b both when run alone and when called as a subVI. Its block diagram correctly subtracts front-panel control bbb from front-panel control aaa. Both controls use DBL numeric values in volts.
A stand-alone test with a=b=2.0 Va=b=2.0\ \text{V}a=b=2.0 V gives d=0.0 Vd=0.0\ \text{V}d=0.0 V. However, the connector terminal labeled a is assigned to control bbb, and the terminal labeled b is assigned to control aaa. A caller supplies 5.0 V5.0\ \text{V}5.0 V to the terminal labeled a and 1.0 V1.0\ \text{V}1.0 V to the terminal labeled b. The output terminal is correctly assigned to indicator ddd.
Which result and repair correctly describe this call while preserving the required stand-alone operation?