LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read from spreedsheet file dont read the file correctly

Hi, i have the problem that i want to show my voltage output (4 channels) on a graph, by saving the data (the saving process is in a SubVI) on the PC  and reloading it in the mainVI when all actions are done. If i open the file with a editor, like UltraEdit, the data looks right, but on the graph, some parts of the voltage output are shown wrong (as vertical instead of horizontal line)... Anyone got a idea why? or how to fix it?

 

 

Thanks and greetings (and sorry for my bad english :P) Mari0

 

attached:

-example voltage output (.lvm)

-code extract (.vi)

-picture with wrong parts (.jpg)

 

0 Kudos
Message 1 of 2
(2,253 Views)

First, let's get the chastizing out of the way:

 

  • Was it really necessary to upload a 4 MB text file as is? Ever hear of compression?
  • DO NOT UPLOAD BITMAP FILES OR CHANGE THE EXTENSIONS TO GET AROUND THE BAN ON BITMAPS. THERE IS A REASON THE BAN IS THERE.

 

I don't understand what your VI's purpose is. Why are you continuously reading the file in a loop? Is this something you created on the fly for demonstration? If so, the Read From Spreadsheet File needs a True wired to the transpose? input. The graph is showing you exactly what's in the data file. Look at your data. At line 66100 it jumps.

 

 

NOTE HOW I DID NOT UPLOAD A BITMAP.

0 Kudos
Message 2 of 2
(2,238 Views)