10-13-2011 11:23 AM
Im using labview 2011 to measure voltage readings from a 34970A instrument. Im able to measure the voltage, write it to a file and plot waveforms.
Im also able to let the user change the resolution. When i try to control the NPLC(Number of Power Line Cycles), the VI runs prefectly, but im getting errors in the instrument. The error codes are 521 & 103. 521 is a communication error : Input Buffer Overflow and 103 is "Invalid separator".
I have attached the sub-VI that configures the voltage and gets the values from the instrument. I noticed that, if i run my Initialize.vi in normal mode, it shows error, but if i highlight the executio, it runs normally. Is it something to do with the timeout values? The other sub-VIs works perfectly.
Thank you,
Eureka
Solved! Go to Solution.
10-13-2011 11:29 AM
Since you are resetting the instrument, try giving some delay after the initialize function.
10-13-2011 12:00 PM
Dennis,
It works!!! you're amazing!!! I added a time delay right after the initialize.vi as you advised.
Thank you very much Dennis,
Thank you,
Eureka