LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i want to store the data form the PWM and the value of the changing duty cycle into a file simultaneously and continually

i want to store the data form the PWM and the value of the changing duty cycle into a file simultaneously and continually but having problem.Please can anyone help out.
0 Kudos
Message 1 of 3
(2,675 Views)
Hello,

Have you looked at the "Write Binary File.vi" and "Read Binary File.vi" examples?

They give you a good clue as how to write and read arrays to and from binary files.

For your data it means that you could put the two data items to write in an array and write the array to file, for the read its important to in what sequence the number were written to file.

Kind regards,

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 3
(2,672 Views)
If you're acquiring a lot of data quickly,  I'd recommend using the TDMS file structure (LabVIEW 8.2).
0 Kudos
Message 3 of 3
(2,658 Views)