10-23-2008 05:31 AM
i done application with RS 232 for that i used ni visa read/write .... i have created executable file for my application... in this whenever i want to start my application before i have to select the visa resource name.... i.e com1 or com2...
is there any possibility for default option or otherwise... can able to save this setting when once i configure the serial port ...?
10-23-2008 05:54 AM
To store and read any settings you have two main possibilities.
Use the Config Data VIs from the File palette or use the XML functions and VIs.
Use the Example Finder for startup information how to use these functions.
10-23-2008 06:06 AM
10-23-2008 02:09 PM
In LabVIEW go to Help > Find Examples...
It opens an new window and there change to the Search tab. Type in configuration. You will find the examples Read Configuration Settings File.vi and Write Configuration Settings File.vi.
Type in XML and you will get the examples Read Data from XML File.vi and Write Data to XML File.vi.
There are no other examples which would be better.