Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

tektronix tds2022

 Hello,
 I have the following question concerning Tektronix TDS2022 work with Labview. I used the attached files to acquire for an averaged over 64 pulses signal on channel 1, but now I need to acquire for an averaged over 64 pulses signals on both channels 1 and 2 simultaneously. I've just added the same file ReadAndAverage1.vi parallel to that one I used for the 1-channel acquisition in the same while loop and the two vi's work just one after another rather then simultaneously, just what I really need.
 Thank you for your help.
0 Kudos
Message 1 of 4
(3,717 Views)

I don't see a VI with two subVIs but I don't think you quite understand how GPIB works. If you have setup the scope to simultaneously acquire the data on both channels, you have to transfer the data one channel at a time. There simply is no mechanism for the parallel transfer of two channels of data. What you should be doing once the scope is setup, is to do a read and acquire of channel 1 and then a fetch of channel 2. By doing a read and a fetch instead of 2 reads, you are able to view the data from both channels that the scope simultaneously acquired.

p.s. Just curious, but why are you using the IVI driver instead of the LabVIEW one?

0 Kudos
Message 2 of 4
(3,706 Views)
 Hello, mister Dennis Knutson. Excuse my English since I'm from Russia.
 When I'd been writing my question, I didn't find the correct answer on it. So, now I know (after reading answers on other similar questions) that I should've just fetch signal from other channel rather then make a full acquisition since oscilloscope "has already" acquire both signals and has them in its memory (or something like this). It's very simple (like all very simple things, he-he) and like always one cannot see simple ideas that are lieing "just over the surface".
 Nevertheless, thank you for your answer.

 Your question about IVI. Well, actually I don't know. It's just because when I'd been writing the Labview program I've attached in previous letter, I used part of the program of my German colleague and didn't have time to get into all details. So, now I know a bit more and you've given me a push (your question) to learn more about LAbview. Thank you again.

 By the way, what's the difference (I mean the difference in time reply) between IVI driver and Labview one? Is the Labview driver "more speedy"?
0 Kudos
Message 3 of 4
(3,699 Views)

There's not an inherent speed difference between IVI and a native LabVIEW driver. You can get some information about the differences at http://zone.ni.com/devzone/cda/tut/p/id/2921. Personally, I don't much see the point of using an IVI driver unless you need the interchangability feature and use the class driver instead of the instrument specific IVI driver like you are.

0 Kudos
Message 4 of 4
(3,693 Views)