LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading data from oscilloscope

Hi everyone, 

I am quite new to labview. I am using a tektronix TBS 1052B oscilloscope and I also have a TDS 1012B for backup. When I read the waveform from the screen using the vi that was provided by tektronix, it takes me about 4 seconds with the new oscilloscope (TBS 1052B) and a lot less with the old one. My first question is why is that? My second question is, how would you guys read the data from the oscilloscope without using the vi that was given by tektronix? 

 

Thanks,

Kaawn

0 Kudos
Message 1 of 6
(3,912 Views)

Hi kaawn,

 

There are a lot of factors that could effect the read time. Are they both connected to the PC the same way? Are the acquisitions setup the same and you are reading back the same number of points? 

 

The drivers probably send commands to the device that can be found in the users/programming manual and then format the data coming back. You can open the VIs to find what commands they are sending as well, but you will not likely speed up acquisition by re-writing the drivers.

0 Kudos
Message 2 of 6
(3,903 Views)

Hi Gregory,

Yes they have the same set up. What did you mean by the acquisitions setup? I am reading back the same number of points. It is the same vi that I am using for both except that the oscilloscope is different.

 

Thanks,

Kaawn

0 Kudos
Message 3 of 6
(3,897 Views)

I would share the hypothesis that the significant difference is related to acquisition settings. 

 

Without checking the driver, I'd guess that things like time division scale isn't set by the VI(s) you're running and they're configured differently (by knobs/dials or by default power-on settings) 


GCentral
0 Kudos
Message 4 of 6
(3,895 Views)

Hi Kaawn,

 

Can you upload your code in the following way:

  • Put your VI into a LabVIEW project (.lvproj file) if not already in one
  • In the project go to file >> save for previous version... (you can select any version, but maybe choose 2012 for example).
  • Find your destination folder that you just created and zip it up.
  • Upload the zip file.
0 Kudos
Message 5 of 6
(3,886 Views)

Hi Gregory,

I will do that in a little while. I do not have access to that right now.

 

Thanks,

Kaawn

0 Kudos
Message 6 of 6
(3,879 Views)