LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

select multiple file paths to plot with front panel control

Hello,

 

I am using a stacked sequence structure and initially producing an array of file paths from a conversion process I made in frame1.

 

I want to display this array of file paths as a front panel control where I can select multiple paths (WITHOUT opening an explorer window) and pass the data from these selected files into a data array for plotting.

 

Any help would be appreciated, thank you.

 

Sam 

0 Kudos
Message 1 of 5
(2,773 Views)

Ok,

 

So I figured it out using local variables and case structures per each channel I want plotted (only 6), but now when I deselect a channel I don't want plotted causing the case structure to be unwired and set to default under the "false" case, I get the dialog box because this is the default setting for the unwired "read from spreadsheet.vi"

 

Anybody know hot to bypass this default and skip past unselected channel without the dialog box?

 

Thanks again,

Sam

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

First, using a stacked sequence control for anything is generally a bad idea.  It hides code, and causes wires to have to run from right to left.

 

Using local variables has the possibility of causing you severe headaches if you aren't using them properly.  If anyone new to using LabVIEW thinks they are the solution to a problem they are having, then they probably aren't using them correctly.

 

If you have an array of paths, then perhaps you want to use Delete from Array to remove any paths you don't want to use.  I can't follow what you are saying about unwired and default values without seeing your actual code.

0 Kudos
Message 3 of 5
(2,748 Views)

The path deletion is conditional, depends on the path content, and deleting an array value will spread trouble through my vi, so I would have to account for that I suppose. Thank you for your condescending remarks, this was no help whatsoever. I expect this from a Matlab forum, but not here; I didn't know this was such an elite user group. I will figure this out on my own, and yes, I've heard all your remarks before at the labview training session, great talking points.

0 Kudos
Message 4 of 5
(2,736 Views)

I don't believe I gave you any condescending remarks.  What did I say that you have an issue with?

 

I'm sorry you misunderstood anything I said.  Don't worry, you won't get any more help from me!

0 Kudos
Message 5 of 5
(2,726 Views)