04-15-2006 01:13 PM
04-17-2006 02:13 PM
04-17-2006 02:51 PM
The loop inside of Get Raw Waveform.vi continues while the error = 1073676294, which it does for 3 iterations. On the fourth an error of (-1073807339) is returned. I have not seen a negative error before, and don't know its significance, but it was negative. I will try to attach the NI-SPY capture again, but it wouldn't let me do it last time-explaining that the file extension was not allowed. I just tried it again, with no success. The allowable file extensions shown does not include .spy. I will change the extension to .txt, perhaps if you change it back on your end you can get it open?
Thanks,
JRyan
04-18-2006 01:47 PM
04-18-2006 02:43 PM
I added an and gate to the input of the argument for the while loop so that it will continue while the positive error continues and the loop iterations are <2. This allows for 3 reads, and I get all of the waveform data. Do you see any problems with this approach?
Thanks,
JRyan
04-18-2006 02:53 PM
04-18-2006 10:51 PM
Robert,
In my vi I would like to notify the user on the front panle that it is alright to discharge (create the input signal). I have a trigger level command followed by a waiting period inside of a while loop that ends when i=2, triggering a boolean indicator. The problem is that the indicator does not light until after the waveform is actually captured because they are both inside of the same sub.vi's (Configure 10uS.vi and 200nS.vi), which are in each of the two cases of a case structure. I will include the main vi & the two sub.vi's. I need these indicators to light the moment the argument becomes true, and go off when completed. Any ideas?
Thanks for all the help,
JRyan
04-19-2006 05:06 PM - edited 04-19-2006 05:06 PM
Message Edited by Andy F. on 04-19-2006 05:06 PM