03-09-2018 04:20 PM
Hi Everyone,
In my VI, my program is running fine. I am able to control an LXI XG 600-2.6 DC power supply through the LAN. My program specifies a voltage to output and it measures the voltage current. It can also update the voltage as well and turn it off.
However, if I run the program in my build, it will do all of the above accept update the voltage. I've built the executable with the debugger, and as far as I can tell, all the commands are being sent to power supply during the update state.
Has anyone else had similar problem to this, or have any suggestions?
03-09-2018 05:11 PM - edited 03-09-2018 05:12 PM
That is only the project file, which contains all the information about the LabVIEW project, but not the files, themselves. Please include all the files associated with the project in a zip file.
03-09-2018 07:01 PM
There are many possibilities for why the executable would be behaving differently. Some common ones are that you have a control (especially in a SubVI) that you had set to something but it was not "set as default". When built into the executable it will pop back to the default value. Also, sometimes there is a relative file path which is now incorrect because your executable is in a different location relative to that file.
03-12-2018 08:13 AM
Oops, I didn't realize it would do that. Here they are attached now.
03-12-2018 08:59 AM
You may wish to remove the breakpoint in the update state before you build the executable.
Just a thought- but you might try that
03-12-2018 09:00 AM
Haha oh, I've removed it and that didn't fix anything
03-12-2018 09:33 AM
It's like it is "ignoring" the OUTput ON; command in the update state. I tried turning the output off in this state, but it didn't either. I don't understand why this only happens in the build...
03-12-2018 11:26 AM
Your "VISA resource name" is empty, when is that supposed to be populated?