06-04-2013 09:07 AM
When I run Test Main 002.vi in debugging mode, this error continues to pop up. I am finding and recording the voltages for a Keithley 2700 multimeter. I have Test Main 002.vi call on Read Volt.vi and this VI calls on Configure Volt Task.vi. I got most of the functions used by the latter two programs from the Keithley 27XX driver. Everything there seems to work fine. All the example codes given by the Keithley 27XX software run just fine and give good values. When I look at everything in debugging mode, there seems to be a value that appears for voltage but then the error pops up. No error is given anywhere else. Could anyone let me know where my error in the programs is and how to fix it? Thanks.
06-05-2013 11:07 AM
Hi,
When you say debugging mode, are you referring to highlight execution? Does the program work when not in debugging mode?
06-06-2013 12:13 PM
Yes, I did mean highlight execution. It was not able to work when it was run normally. I did fix the problem though. The problem is that the boolean attached to Initiate.vi (given as a function from the instrument drivers) that drove the "continuous initiation" was set to true and it needed to be set to false. After I did this, I was able to get to program to work just fine. I have been able to run it for several hours now without any hiccups.
Another option I found was to be able to unbundle the error cluster attached to the Read Volt.vi in my Test Main 002.vi under the acquire case and force the boolean to be false such that it would ignore the error. It was not the best way to do it but it was a work around.
Thanks.