07-31-2014 12:05 PM
Howdy!
I am new to working with XControls but I am working on one for fun to get better with them. The control part of the xcontrol is two file path constants and a boolean push button while the indicator part is a 2D picture. The boolean push button is meant to switch the picture between the two path constants. The problem I am having is if nothing is in the file path constants at the beginning of the run, the VI will query over and over asking for a file path. I want it to wait for the user to click on the Browse button before it prompts and not before. Is there any way to hold off the prompt for the file path?
Thanks for any help you can provide!
07-31-2014 12:08 PM
Here is the XControl I have created:
08-01-2014 01:20 PM
I can't open the code at the moment, but can't you use the "Empty Path" function on the comparision palette and if the control is empty, then skip the rest of the code with a case structure?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord