LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The waveform of output from file is different from original one

I've a new question about displaying a waveform from a text file. The waveform which its data is from file is different from the original one.
I attached image files which included my two vi files and 3 waveform. In the compressed file, "ReadData_Waveform1.jpg" is a image of waveform from "ReadData.jpg" vi file with the configuration of "Transpose" is True,
"ReadData_Waveform2.jpg" is a image of waveform from "ReadData.jpg" vi file with the configuration of "Transpose" is False,
"WriteData_Waveform.jpg" is a image of waveform from "WriteData.jpg" vi file.
I attached the source file of waveform with text format as well.
Please help me to solve this question if there is anyone who can figure it out.
 
 
Thanks, Andy.
 
Download All
0 Kudos
Message 1 of 7
(2,797 Views)

Hi Andy

If you transpose the data when you write it, you also have to transpose it when you read it.

Just have a look at the simple example attached. I write data and read it again. Each file operation is called with the default-value for transpose (false). The data is read correctly.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 7
(2,795 Views)

Hi, Thomas:

  I've tried that way you posted. But it's still not workable. I attached my files. Would you mind tell me what is wrong with it?

Thanks, Andy.

 

0 Kudos
Message 3 of 7
(2,791 Views)

Could you please post it as LV7.0 (File >> Save with options >> Save for previous version)?

 

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 7
(2,788 Views)
Hi, Thomas:
  I posted it again with the file. Please check it. Thanks.
 
Andy
0 Kudos
Message 5 of 7
(2,778 Views)

Hi Andy

I just have watched your vi - you do not store what you see.

Have a look at the attachment.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 6 of 7
(2,774 Views)

Hi, Thomas:

  I figured out already. Thanks for your kind helping.

 

Andy

0 Kudos
Message 7 of 7
(2,761 Views)