07-21-2016 01:05 PM
Hello, I am still fairly new to labview and I am writing a program to set an inputted voltage of a Yokogawa GS200 on and off at inputted. I currently also have a light that goes on and off when the voltage would be on or off as well. When I am running my code (attached below) I have an error pop up that says '-113, "undefined header, read" 0, "No error" -1074000000'. I am running labview 2015 SP1. Any help would be greatly appreciated.
07-21-2016 02:02 PM
Hi Kelsey,
where does the "error pop up" appear? How does it look like?
Did you try to debug your VI? Step by step? Probes?
And please remove the classic Rube-Goldberg of "IF true THEN true ELSE false" from your VI. You implemented that one twice… 😄
07-21-2016 02:14 PM
The error pops up both in the error box on my front panel as well as a pop up window (attached). I have tried to debug step by step as well as with the highlight execution tool. Could you please explain the better alternative to the if then else I was using. I am still very new to this!
Thank you so much for your help!
07-21-2016 02:20 PM - edited 07-21-2016 02:21 PM
Hi Kelsey,
so its an error of the Yokogawa device, reported to you by the Yokogawa driver VIs.
Check the Yokogawa manual. It will explain the error "-113". Once you know the explanation you can debug your VI to find the offending commands you send to your device…
As said before: with step-by-step debugging you will find the problem quickly!
07-21-2016 05:26 PM
Generally I have found error -113 "undefined header" is most commonly a communications issue.
Either your communication settings are not correct or you're slamming commands in it too fast and overflowing an internal buffer causing it to receive corrupt commands.
07-21-2016 08:43 PM - edited 07-21-2016 08:44 PM
@Kelsey1923 wrote:. Could you please explain the better alternative to the if then else I was using. I am still very new to this!
Read Rube Goldberg Code