12-15-2015 11:08 PM
Hi Everybody -
I am running LV2015x86 on Win10, connecting to a Tektronix oscilloscop, MSO 2014B using NI-VISA 15.0.
The MSO has the latest firmware (v 1.52) and will work for me, through configuration of timebase, channels, etc, and reading waveforms and various measurements. All works fine.
However, there will occur an error while reading from the MSO (measurements, no waveforms) wherein an error is flagged and it will no longer re-connect. The error I receive and capture shortly after it occurs is:
12-17-2015 10:37 AM
Hi David!
Based on the error message, I believe the error may be occuring within your Fetch Waveform Measurement.vi in the code snippet you provided. The error code suggests your VISA read function is timing out. Since I dont' have your setup or data, can you tell me what happens when you run the just fetch waveform measurement VI?
12-17-2015 07:39 PM
Hi Chan!
Do you mean running the subVI on its own, without the rest of the code in the snippet? Well, I think I have but not entirely sure.
I suppose I could run the subVI and then run the Error Query.vi continuously until a timeout error occurs.
i'm on holidays but will stop back into work and give it a quick test. Watch this space!
12-18-2015 12:30 PM
You could also open the block diagram and then probe the error wires running into and out of the sub VIs where you think the error might be occuring! I'd start at the VISA Read Sub VI.
12-24-2015 12:18 AM
yeah, I did all that. The error was definitely coming from the Read Waveform subvi. There isn't much in it, if I remember correctly. I popped into work to have another look but found that another colleague with LabVIEW withdrawls had been at it - made some changes that were a touch confusing and I walked out :P. I'll try again when everybody comes back from holidays! Thanks.