LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i save/load digital waveform to file

Hi,

i have a digital waveform chart which acquires continuous digital data for a specific time. After that i want to save the contents of the digital waveform chart to file. The functions i found do not work with digital data.
I also want the possibility to load the saved data back to my chart.
Any ideas ?

Thanks in Advance
0 Kudos
Message 1 of 5
(4,728 Views)
Try NI-HWS. It can be found on the last two driver CDs (it is part of NI-FGEN, NI-SCOPE, NI-HSDIO, and both the analog and digital waveform editors).
0 Kudos
Message 2 of 5
(4,728 Views)
For saving digital waveform data unfortunately there is no wavaform VI available. But you can use the normal "Write File" and "Read File" VI´s from the File I/O palette. this VI´s are able to save Clusters to binary files. For the Read Function do you need the datatype information wired to the VI Input.
hope that helps.
0 Kudos
Message 3 of 5
(4,728 Views)
I beg to differ. As I mentioned before, check out NI-HWS. The VIs take digital, as well as analog, waveforms. NI-HWS has several other advantages as well. It is binary, so it is fast. It has optional compression. It does not have a 2GByte file size limit. You can store multiple waveforms of multiple types in the same file and retrieve them by name. Go for it. It is on any driver CD dated May 2004 or later.
0 Kudos
Message 4 of 5
(4,729 Views)
I've designed code to do the same today.  Using LabVIEW 8.5 the TDMS VIs can be used to save and load digital waveform data.
0 Kudos
Message 5 of 5
(4,039 Views)