Hello,
I am using the following material:
NI PXI-8106 RT controller
NI PXI-6280 DAQmx card
LabVIEW 8.2 (with the RT development pack)
I would like to synchronise my data acquisition system (voltage signal; double precision) with an analog (should be 0-5V but can be slightly different) trigger from 50 to 60Hz. The sampling rate to acquire my signal is of 100kHz and I need to record them during 1,000 to 12,000 trigger events. The measurement time should be minimised, meaning that no measurement break should occure between the trigger events. For example if I am measuring during 12,000 trigger events at 50Hz I will need 4 minutes to complete the measurement. I am ready to lose 10% of the time but not more.
What I achieved up to now is done with a counter which runs continually and every time it reaches 25 more the signal bufferd is readed and saved localy in a binary file. Unfortunatly it is not enough accurate and once the file starts to be too big the synchronisation is extremely bad. This allows only a good synchronisation on the first 300 trigger events.
A laptop makes the interface to define the number of trigger events and when the measurement should start. Then the averaged data and/or the whole data file are downloaded through the ftp:// server of the RT controller to be displayed in the interface on the laptop.
Any tipps about the "buffering" of that much data to avoid time loss will be welcome or any comments showing that I am on the wrong way would be helpfull too.