LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to write in .ini file

Hi,
 
I am reading the .ini file using
Ini_ReadFromFile (g_setpointInifile, "//USW-WXPD06\\c\\Users\\Gajanan\\PowerSupplySetPoints.ini").
Note that I am reading the file from some other work station. It is redaing the .ini file successfully.
When I use the Ini_WriteToFile (g_setpointInifile, "//USW-WXPD06\\c\\Users\\Gajanan\\PowerSupplySetPoints.ini") to write the .ini file located in some other work station, its giving error number -94 ( File not found). I observed that the file is deleting automatically during execution of this function. But samething  works fine if .ini file is located in local machine. But in my application, it is mandatory that file has to located in some other machine (Server).
Can somebody help me out to solve this problem...or is it normal behaviour
 
Note: I am using CVI 7.1 version
 
Thanks
Gajanan
0 Kudos
Message 1 of 3
(3,096 Views)
Try modifying your statement this way:
This should work.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,090 Views)

Hi Roberto,

Thanks, It worked fine.

Gajanan

0 Kudos
Message 3 of 3
(3,083 Views)