Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

data acquisition with GPIB

sir i m generating voltage from -10V to +10V in the steps of 0.01V from NIUSB-6251 and simultaneously i am acquiring the that data from tectronics scope with GPIB . but that procedure takes lot of time .is there any method for fast acquisition.here i have attached my programme.help me to solve this problem

0 Kudos
Message 1 of 8
(5,658 Views)

Why not use the Analog Inputs on the USB-6251?  I don't see the need for the oscilloscope.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 8
(5,637 Views)

for our system we want to acquire the data at higher sampling rate (upto 20MHz).in NI6251 max sampling rate is upto 1MHz.thats why we need tectronics scope . 

0 Kudos
Message 3 of 8
(5,620 Views)

That's a good reason.

 

Start by downloading the drivers for the oscilloscope.  In LabVIEW, go to Tools->Instrumentation->Find Instrument Drivers.  That will open up the NI Instrument Driver Finder wizard.  Just follow the wizard and you will have a driver.  In the driver should be an example of how to use the API.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 8
(5,608 Views)

i have attached the program for simultaneously acquisition but it takes lot of time.please solve this problem & send corrected program which takes less time.

0 Kudos
Message 5 of 8
(5,574 Views)
There is no attachment.

Please be specific with 'lot of time'. Are you talking about milliseconds, seconds, minutes, hours? The time for a scope acquisition is dependent on the number of samples you request and the time to transfer over whatever communications bus you are using.

Please attach an image of the block diagram. Poorly written code could be a big contributor to long acquisition times.
0 Kudos
Message 6 of 8
(5,572 Views)

i have attached the block diagram of the program.my voltage generation NI DAQ cad is ni usb-6251 and voltage acquisition is tektronix TDS3034C (taking data with NI GPIB).

0 Kudos
Message 7 of 8
(5,546 Views)
You have not explained what long means and you have not said how many samples you are requesting.

Your code has an initialize function but you should probably be using the initiate fiction to trigger an acquisition.
0 Kudos
Message 8 of 8
(5,542 Views)