08-25-2008 03:57 AM
I have an application where data is written in exponential notation (1.0E-9) into a file and then read and displayed. In the VI this works fine, but when I build an application containing this VI, the graphical display is wrong, even though the values written into the file are the same.
(See pictures). My suspicion is that the scale formatting gets lost.
How can I solve this ?
08-25-2008 04:23 AM
Hi rpweber,
in which file format do you have your data? In your Data_Viewer_Pressures.vi is no graph. Can you provide a file with dates in it?
Mike
08-25-2008 10:12 AM
The VI you posted simply reads the file. Where is the VI that actually has the graph?
With respect to your code:
08-26-2008 01:36 AM
Hello Mike,
i think I have posted the wrong VIs, so here are the right ones as a llb. plus the text file.
08-26-2008 02:12 AM - edited 08-26-2008 02:12 AM
Hi rpweber,
your text file contains exactly the values you see in your graph. How do you write this data to the file? I think there is the problem. If you read 1.0e-7 or 1.0e-8, then you can only display this values and that´s what you do.
Mike
08-26-2008 02:24 AM
Hello Mike,
The fact that really confuses me is the difference in the display between VI where it works fine and the corrupted display when this VI is in an application. I have tried it with changing e.g. 1.0E-9 to 1.00E-09, but this doesn't help either.
08-26-2008 02:29 AM
Hi rpweber,
so you read in your vi from the same file?
Mike
08-26-2008 03:08 AM
Hi Mike,
thats exactly what I am doing. In the application I use the same VI to read this data from the same file, but the VI is called by another one.
08-26-2008 03:10 AM
Hi rpweber,
i can´t believe that it´s the same file, because the values in your "correct" graph are not in your file.
Mike
08-26-2008 03:47 AM
Hi Mike,
can you please try and build an application from the data viewer VI?