LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

store data from scope using IVI Drivers

Hi,

I am using CVI 8.5..currently i am working with Tektronix 2014B scope.

i need get CAN Signal in scope & store waveform data for analysis..for this i am using IVI Driver(tktds1k2k).

now i can initialize and Configure the Scope. but i am really confused about storing data from scope.

 

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

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

 

what function should i have to use?

sample functions or codes would be useful. 

0 Kudos
Message 1 of 4
(3,254 Views)

Hi!

 

The IVI Functions also offer functions to read data from the Scope (Scan, Fetch, Read,...)

All those function gives then a possibility to read data and save them in a array.

 

Here there is an Example of code:

http://forums.ni.com/ni/board/message?board.id=140&message.id=32198&requireLogin=False

 

Regards

Ken

0 Kudos
Message 2 of 4
(3,228 Views)

Thanks KenT,

ya.. now i  can able to save data from scope..

next i want to store Instrument setting in the separate file. Is it possible with IVI drivers?

or else which function should i have to use?

 

i am using Tektronix 2014B scope with Labwindow/CVI 8.5

 

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

Hi,

 

This is not part of the standard IVI driver, so you would have to add this functionality to the driver.  You might try using the arrayfile.c or scopedemo CVI examples.

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