09-22-2014 11:10 PM
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.
09-23-2014 01:49 AM