LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An input parameter is invalid. NI 488: Command Requires GPIB controller to be controller in charge

Hi I'm trying to simulate a charge controller for an electrical vehical prototype. I'm using cRIO for communication between the charging station and LabVIEW.

 

A subVI for communicating with the charge control is attached [CC_control.vi]. I have the above mentioned error in the main program due to the CC_control.vi. The error occurs occasionally and ceases when I restart all the hardware.

Is it because the file is closed and opened again in the "Read all registers" case within the loop? What should I do to rectify this? [All the code was developed by a previous student].

 

(P.S. Some blocks might be missing as I could not locate the polymorphic VI in the same case.)

 

The main VI "tabs-FS.vi" (minus all the subVIs) is attached for reference.

Download All
0 Kudos
Message 1 of 2
(2,809 Views)

Hi shreya,

 

don't create double posts!

 

Let's keep things in one place!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,782 Views)