Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server call from CVS system

Hello,
 
I'm running into problems trying to do VI Server calls from my CVS system to a LabVIEW executable running on the remote machine.
 
I've got a simple LV app (log.exe) that receives data via VI Server calls. So, I update its front panel controls remotely.
 
The other vi (call.vi) opens a reference to the LV executable (log.exe) and calls the appropriate functions (Ctrl Val.Set [Flat]) to give information this exe.
 
First scenario:
log.exe running on my machine and call.vi being called from LV. Everything is working fine.
 
Second scenario:
log.exe running on my machine and call.vi being called from VBAI. Everything is working fine.
 
Third scenario:
call.vi is deployed to the CVS system.
log.exe is running on my machine.
call.vi returns error code 66 in VBAI on my CVS system.   [error message = "Open Application Reference in call.vi"]
 
And yes, I changed the machine name from localhost to the IP address of my machine.
 
I think I configured everything OK for the log.exe application. I've attached the ini file to this message.
 
Note: I'm using port 3364.
 
Any idea what can be wrong?
Are there any issues I should be aware of when trying to call the VI Server from a CVS?
I'm really having problems with this, and I should get it up and running quickly!
 
thx for all the help....

Message Edited by noxus on 09-12-2007 04:34 AM

0 Kudos
Message 1 of 3
(3,207 Views)
Hi Noxus,
 
It looks like your setting up the system correct. Could you post some example code then I can have a look at it.
 
Thanks
Karsten
0 Kudos
Message 2 of 3
(3,158 Views)

Hello Karsten,

Thanks for your answer. I've resolved the matter by using a different approach. (not using VI Server anymore)

thanks again for the help!

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