LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how set as com port, for visa resource name

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 ...?

Regards,
Balaji DP
0 Kudos
Message 1 of 4
(3,027 Views)

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.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 4
(3,022 Views)
can  you send me one example vi for this?
Regards,
Balaji DP
0 Kudos
Message 3 of 4
(3,019 Views)

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.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 4 of 4
(2,996 Views)