LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set the amount of time that data is recorded for from a PCI6023E?

I am a beginner with LabVIEW programming. I am acquiring data with a PCI6023E and using Simple Data Logger.VI from the examples in the help menu to record my data. I would like to know how can I change the program to enable the user to specify the amount of time the data is recorder for.
0 Kudos
Message 1 of 2
(2,445 Views)
Hello,
If you want to do contiuous acquisition then I would suggest following the link below:
Continuously Acquire Analog Data Using Buffers and Charting the Results


After you do continuous acquisition, you can multiply the sampling rate with the time that you want to specify and that will be the number of points of data that you want to acquire and then you can save that data in a file.

But if you want to do single point data acquisition using the simple data logger VI and software timed then you will have to introduce a case structure in the code such that you can input a time and then check for that user i
nput time and ask the VI to stop acquiring data.

Let me know if you have further questions.
Good luck and have a great day!

Regards,
Koninika
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,445 Views)