LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change a waveform data to a string

I try to write the waveform data to a file in the input part.But,their type doesn't match.Could you tell me how to match them?

0 Kudos
Message 1 of 5
(3,223 Views)

The Write to Text File only accepts a string as an input, thus it's your responsibility to convert the waveform to the string that you actually want to write out to file. You could, instead, use the Write to Measurement File Express VI. That will accept an array of waveforms and write it out to file. If you select ".lvm" that will be a text file. As an alternative, you can use the Export Waveforms to Spreadsheet File VI.

0 Kudos
Message 2 of 5
(3,212 Views)

Thank you.I try to use a spreadsheet and it works.But,why is there only one data?It should be 1000.

0 Kudos
Message 3 of 5
(3,190 Views)

Sorry,I forgot to stick my vi.

0 Kudos
Message 4 of 5
(3,189 Views)

You are simply not paying any attention to what people are telling you to do. It was recomended to use the Write to Measurement File or the Export Waveforms to Spreadsheet File. Instead, you ignored that and for some reason that only you know, decided to do something else. I for one do not feel obligated to provide any more help when you ignore what has been given.

0 Kudos
Message 5 of 5
(3,172 Views)