From: aman_bajra on
I tried with your suggestion but it still doesnot seem to work. I have included my sample VI and the executable files. I appended the codes that you supplied at the end of ini files in both. 
The zip folder has two folders
call_exe_folder folder which has the executables to call the exe_vi.vi in exe_vi.exe  by Open Application Reference and
exe_vi folder which has the exe_vi.exe.
The project files and VIs are also included in the zip.
 
Thanks
AmanMessage Edited by aman_bajra on 05-06-2008 10:31 AM


vi_server.zip:
http://forums.ni.com/attachments/ni/170/321425/1/vi_server.zip
From: dan_u on
Two things: 1) You enabled VI server for both exes on the same port (both try to listen on port 3364). Enable VI server only in the exe you want to control (i.e. exe_vi.exe) or use different ports.2) In the ini file you specify VI server port 3364, but in call_exe.vi you open an application reference to port 3363 (which is most likely your LabVIEW VI server port). Change the port to 3364.Daniel
From: aman_bajra on
Thank you very much. It is working now . Other mistake that i did was I was expecting the client VI to start automatically like it auto starts (pop ups) while running in Development Platform.
Aman
From: dan_u on
Glad I could help. You're welcome. Feel free to rate answers :smileywink:Daniel
First  |  Prev  | 
Pages: 1 2
Prev: barre des menu
Next: VI server in executable