Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI6251 write the last N points into a text file

Hello,
I am using PCI 6251 and SCB-68pin E series connections and Labview 8.
I realised Retriggerable Acquisition by using an example program (NI-DAQmx:Retriggerable AI Using Counter and an Analog Trigger, Filename: retrigg_ai_analogtrigger.vi).
In this vi, I would like to write the last N points acquired (my sample frequency is 1MHz, the number of points N=100000) into a text file.
Which blocks I should use, in which order I should put the tasks (e.g. open file--> Mdaq acquisition-->write into file)
many thanks,
YW
0 Kudos
Message 1 of 2
(2,860 Views)
I suggest you take a look at the labview examples about file I/O. Go to Help --> Find Examples --> File input and output. Here you will find a lot of examples about how to use file I/O depending on the file format
Best Regards

Michiel
Applications Engineer
NI Belgium
0 Kudos
Message 2 of 2
(2,849 Views)