LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save multi channel data in a same file?

hi... i'm a fresh guy of labVIEW programming... what i wish to know is how to save multi channel in a same file? i had try with the AI acquire waveform, but it still can't get what i need. Because AI acquire waveform need user key in those channel with ","... but ehat i want is user can choose the channel from a combo box and then once user click a 'add' button then the value will store in memory, after user click done then the value can send to AI acquire waveform together...

i had tried hard about this but still can't get what i want.... -_-|

hope anyone can reply as soon as possible...
0 Kudos
Message 1 of 4
(2,932 Views)
Hello @,

What version of LV do you have? LabVIEW 7.x has a "Write LabVIEW Measurement File.vi" express VI that will be the easiest way to write all of your data to a file at the same time. This VI is easy to use and includes information such as header, channel labels, and time information. If you have LV 7.x I would highly recommend this solution as an easy soluion.

thanks for contacting NI,
-Brett
0 Kudos
Message 2 of 4
(2,913 Views)
HI, Brett B... thanks for your reply 🙂

I'm using labVIEW 7.1 Express... i know the "Write LabVIEW Measurement File.vi" too, but it cannot support the file tpe that i need... so i just can find other way to do that...

the file type that i need is call *.log\*.DAT... so... there got any solution to do that? or i can modified the "Write LabVIEW Measurement File.vi"?

Jaxx
0 Kudos
Message 3 of 4
(2,908 Views)
Jaxx,

There are three types of files you can create with LabVIEW. Binary, datalog, and ascii text...which of these formats do you need your data in? There are examples of each one but you need to how the "reader" program expects the data. .log and .dat are not specific file types...I can give a text file a .dat extension and still open it with notepad.

Regards,
Brett
0 Kudos
Message 4 of 4
(2,886 Views)