02-05-2018 03:19 AM
Hi all,
I am currently editing a LabVIEW program to help run an experiment for a Master thesis. I was ready to build the program into an .exe but after installation of some additional software I started getting the following error code when trying to write some shared variables:
-1967353900
Shared Variable in valves-module.vi<APPEND>
This error or warning occurred while writing the following Shared Variable:
\\My Computer\Modbus-lib\000033
\\172.20.9.169\Modbus-lib\000033
Valve seq module
Here is the section of the block flow diagram where the error occurs:
I was wondering if anyone had any ideas what the error code relates to? Perhaps I am still missing some software?
Angus
Solved! Go to Solution.
02-05-2018 03:53 AM
Using the Help -> Explain error menu item in LabVIEW I get the following:
Error -1967353900 occurred at an unidentified location
Possible reason(s):
LabVIEW DSC: (Hex 0x8ABC8FD4) The Modbus I/O server failed to allocate a serial port. Ensure that the specified serial port is available.
Make sure that no other application is using the serial port that the Modbus server is configured to open.
02-11-2018 03:20 PM
all solved
so essentially after I installed the software it was trying to write the shared variable without actually having physical connection with the valves. Everything worked once the vi was run from the experiment pc.
Not entirely sure why labview ran the code without error beforehand previously though, must have simulated it somehow.
02-12-2018 05:55 AM
Hello amarsh, the two solution marked seem to be quite different, which one is good?
What do you mean with "physical connection with the valves"?
02-12-2018 07:14 AM
Sorry i pressed the wrong comment by accident!
By 'physical connection' I mean that the was no cable connecting the valve controller to my laptop.
02-12-2018 07:15 AM
Thanks for your help though, it really helped troubleshoot the problem