LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with load multiple XYgraphs

Hi guys,
I have a litle problems with this application.
I got to load several files with 2 curves each file,and can remove and add files. The problems are:

1- I would like the program tell me one file already is loaded, therefore i would like I cant to load the same file 2 times.
2- I would like in the plots will appear the name of files, only the name, each file are 2 plots.
3- I got to open the data file, since the name of file is the same, only change the extension, i can to open the file which i opened the curve, and see the data saved, only push in data it must to appear the data of last file loaded, but it fail sometimes and dont shown the last file saved, maybe is possible to do the other way. Do you know any wa
y?

I would like anyone help me with this problems.
I attached the files.

Regards, Jose.
0 Kudos
Message 1 of 5
(2,620 Views)
Hi Jose,

Attached is a modified version that should work as you specify...(sorry I did not have time to do it earlier...).

Mads
Message 2 of 5
(2,620 Views)
Hi Mads!

SIMPLY PERFECT! THANK YOU VERY MUCH MADS.
0 Kudos
Message 3 of 5
(2,620 Views)
Hi Mads, i found a litle errors.
1- When you loaded 2 curves for example. If you remove the first curve loaded, the second put in the first color (good), but in the 'legend plot' the name is in the first color, and maintain this names, i got the vi when you re-inciate clear the graph, but the legend plot continue with the names.

2- The second thing, is to load the data from files, ok it run good, but only maintain the last file opened, i think the best things would be when push 'data box' appear a litle boxlist with the curves loaded and I can load the curve request.

For do it perfect!, i forgot comment you ,a litle bottom to choose between 2 options(always must be one of option) :
1- open 2 curves each file.
2- open only the first curve.

Bes
t regards,jose and thanks Mads, you are me idol!.;)
0 Kudos
Message 4 of 5
(2,620 Views)
Any help about the first error, i tried to remove the error but I am not to be able to solve it.
I would like the legend plot name, at start the program was items, and i add curves, show the names and when i remove the any curve,it would remove the name, but i dont know how can i doing it...

Regards,Jose.
0 Kudos
Message 5 of 5
(2,620 Views)