Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquisition

I am using a NI-5102 DAQ board or digitizing oscilloscope with labview 6i. I want to acquire data continuosly. I know that the fetch forever example will work, but how do I locate it in labview 6i or a similar example. Also I want to plot x and y graph continuously using the DAQ device and saving it automatically. I have designed a VI that when I run it, a page pops up asking me to indicate where i want to save my data, and give it a name. So If i find this fetch forever example how do i merge it to the VI i designed, such that they work together- one acquires and one saves and updates as data comes into the DAQ device.
 
Thanks,
Leye,
Physicst.
0 Kudos
Message 1 of 4
(3,140 Views)
Hi Leye,
 
Unfortunately, the 5102 is the older high speed digitizer card that does not support continuous acquisition. These older boards do not have the ability to use a reference trigger to set up read pointer for the "fetch forever vi." Using 5102 you can only read a finite number of samples and reinitiate the acquisition and fetch in the same amount of data again.
 
I recommend you upgrading your device to a newer generation of digitizers like the 5114 or 5122 which do support the full functionally of NI-Scope driver and continuous acquisition.
0 Kudos
Message 2 of 4
(3,115 Views)
Thanks for your response. Well if I cannot do continuous acquisition, what example in labview 6i will allow me to do some acquisition and how do I combine it with the Vi that I have which saves data. I am sure there is an example I can use to at least acquire some data.

Thanks,
Leye
0 Kudos
Message 3 of 4
(3,110 Views)
There are a few examples in LabVIEW 6.i that use 5102 to acquire data. You can find them in the NI Developer Zone, I will attach the link to some of them:
 
 
 
About your VI that saves the data, you can make it a sub vi and configure one of the input to be from the Acquisition vi where the data is acquired. As a side note, NI is releasing LabVIEW 8.0 very soon and will drop the support for LabVIEW 6.i and 6.1. To fully utilize the hardware and its driver software, I  recommend you consider updating your LabVIEW to the current version so you can also use the current versions of hardware driver and all the examples for the scope card.
0 Kudos
Message 4 of 4
(3,089 Views)