A test that hides an interface error

A LabVIEW VI must implement d=a−bd=a-b both when run alone and when called as a subVI. Its block diagram correctly subtracts front-panel control bb from front-panel control aa. Both controls use DBL numeric values in volts.


A stand-alone test with a=b=2.0 Va=b=2.0\ \text{V} gives d=0.0 Vd=0.0\ \text{V}. However, the connector terminal labeled a is assigned to control bb, and the terminal labeled b is assigned to control aa. A caller supplies 5.0 V5.0\ \text{V} to the terminal labeled a and 1.0 V1.0\ \text{V} to the terminal labeled b. The output terminal is correctly assigned to indicator dd.


Two caller terminals connect to oppositely named front-panel controls through crossed connector assignments.


Which result and repair correctly describe this call while preserving the required stand-alone operation?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More The LabVIEW Environment and Virtual Instruments Questions: