LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with xy-graph program

HI!
 
I have a problem with my program. With this program i want to load a datafile and to display  the data from the file on the xy-graph. i want to display 1,2,3 or 4 graphs on the xy-graph. The problem is, when i want to display only two graphs and i push the "... laden" button, a popup will open and ask me for the 3rd ord 4th graph, but i want only display two graphs.
The program should display the data, when there is a path added in the path-element (the white,red,blue or grenn one).
The second problem is, when i start the program and push the "...laden" button and no path added,  a popup will open and aks me for files, but the popup should not open!
 
Could somebody help me???
 
TNKS
best regards,
 
peter
Labview 7.1 on Windows 2000
0 Kudos
Message 1 of 6
(2,854 Views)
Hi peda,

maybe this kind of solution  works for your problem.  The only thing is that now you have to press the Laden button every time you want to load a file...
0 Kudos
Message 2 of 6
(2,843 Views)
Hi,
 
The function you're using to open the file is automatically asking for a file name when you call it with an empty path connected to the file path input.
So, if you don't want to get the data when the path is empty, you should not call that function.
I've changed your vi to show you.
Hope it helps,
Paulo
0 Kudos
Message 3 of 6
(2,841 Views)
thank you guys!
 
But i have one more question!
Is there a possibility to clear the paths and the graph, that the paths and the graph are empy???
 
best regards,
 
peter
Labview 7.1 on Windows 2000
0 Kudos
Message 4 of 6
(2,837 Views)
I've changed it a little bit more...
Hope this is what you need,
Paulo
0 Kudos
Message 5 of 6
(2,835 Views)

Hi PaoloM!

Thank you, thats what i need!

 

Thank you

 

Peter

Labview 7.1 on Windows 2000
0 Kudos
Message 6 of 6
(2,831 Views)