Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Save waveform data from scope using IVI

Hello,

 

i am using Tektronix 2014B Scope to access CAN signal through IVI Drivers.

now i got problem in getting waveform data from Scope using IVI drivers(tktds1k2k).

please provide me of useful  info like sample driver functions or sample code.

Thx in advance.

0 Kudos
Message 1 of 6
(4,419 Views)
Exactly what do you mean by 'I got problem'? Are you getting an error or is there something else wrong. The high level function in the IVI Scope Class driver (in LabVIEW) is IVIScope Read Waveform. If you've tried that and can't get a waveform, there is probably something wrong with your setup. Maybe you are not triggering the scope.
0 Kudos
Message 2 of 6
(4,412 Views)

Hi,

I am using Labwindows 8.5.

i could not find any function in IVI to store my Waveform data in a .txt file for the analysis.

untill now i can initialize & config the scope,but i am not getting any idea how to save the waveform values.

 

0 Kudos
Message 3 of 6
(4,403 Views)

Writing to file has nothing to do with the driver. It has everything to do with what you write in LabVIEW. I don't know about the instrument specific driver but the class driver has initial x, x increment, and x array outputs. You can use Write Text File, Write to Spreadsheet File and if you convert to a waveform data type, Export Waveforms to Spreadsheet File and Write to Measurement File. There are a lot of shipping examples on File I/O that you can look at.

 

Message Edited by Dennis Knutson on 10-06-2008 08:51 AM
0 Kudos
Message 4 of 6
(4,400 Views)

Thanks Dennis..

 

I am using Specific drivers in Labwindows/CVI ..so can you give me idea how to do the same thing in CVI as you have given for Labview.

 

tktds1k2k_init (LogicalName, VI_TRUE, Reset, &session);

tktds1k2k_ConfigureChannel (session, ChannelName, VerticalRange, VerticalOffset, TKTDS1K2K_VAL_DC, 10.0, VI_TRUE);

 

if some one is familiar with specific Drivers...  please help me out

 

0 Kudos
Message 5 of 6
(4,389 Views)
Sorry, I just assumed LabVIEW. I have CVI installed but have not used it much for quite a while. You might want to look at the example called arrayfile.cws. Modify it to add the x incrment and initial x scalars. For file i/o questions, you might get better help if you posted to the CVI board.
0 Kudos
Message 6 of 6
(4,382 Views)