07-30-2014 04:25 AM
Hi,
I am trying to read a values from an .csv file using labview. When i run my VI it asks the path for the file from which it has to read from. But if i close the VI and open it again to run then it asks me to load the path of file. Is it possible to set default path for the file . If so can you please tell me how to implement it.
Thanks & Regards,
Vikas P N
07-30-2014 04:28 AM
Are you talking about the Read from Spreadsheet file VI? All the file reading will have a Path terminal and if you wire the file path then you won't get any pop-up message. Select the VI and Press Ctrl+H for more details.
07-30-2014 04:36 AM
Hi,
Actually my question is I need to feed the path for a file in path terminal everytime when i run a VI . Is it possible to set a default path instead of loading the path everytime when I run a VI.
Thanks & Regards,
Vikas P N
07-30-2014 04:47 AM
You can create constant file path instead keeing the path as a control. Please show the code for better understanding on what you are trying to do.
07-30-2014 05:48 AM
If you want to have the control on the front panel (so you can change the path) you can set the default (of any control) by right clicking on it and going to Data Operation -> Make Current Value Default.
Then, everytime you load the front panel it will use the default value.
You can also set the value programmatically when your software starts by using property nodes / local variables (sparingly!).