Error 1: Call Instrument.VI in LabVIEW

Updated Oct 22, 2018

Reported In

Software

  • LabVIEW Full

Other

LabVIEW 5

Issue Details

Call Instrument.vi returns LabVIEW Error 1: an input parameter is invalid when trying to establish a connection to another VI from the same LabVIEW version. When I go into the block diagram for Call Instrument.vi, I see that the error actually occurs in "Convert Type Descriptor.vi". This VI converts LabVIEW 5 type descriptor and flattened data to LabVIEW 4, or vice-versa.

Solution

The Convert Type Descriptor.vi , which can be found in (LabVIEW directory)\vi.lib\Utility\victl.llb, was designed to allow users to launch and communicate with VIs written in LabVIEW 4 from LabVIEW 5. If you are trying to call a VI written in the same version from which you are working, then Convert Type Descriptor.vi is not necessary. The conversion will actually cause the Call Instrument.vi to fail. 

To eliminate the error, delete both Convert Type Descriptor.vis. Wire the type descriptor and flattened data directly from the input cluster and directly to the outputs cluster. Before you make this modification, be sure to save a copy of Call Instrument.vi because it is in vi.lib. Call Instrument.vi is an older VI that preceded the current version of VI Server, which became available in LabVIEW 5.1.

WAS THIS ARTICLE HELPFUL?

Not Helpful