LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI server

I am trying to built up a VI server which must be able to run any VI and to control any of the input values and output values.
For example in the archive there is a simple implementation of this server and v1.vi which is supposed to be controlled by the server ...
The issue is that is not working and in this moment I'm stock ...

I thank you in advance for your help.
0 Kudos
Message 1 of 4
(2,816 Views)
I didn't find a v1.vi in your attached code. The vi's are "server_vi.vi" and "run1.vi." Both seem to have okay code for calling another vi and programmatically retrieving their control values, so at this point I can't see what the trouble is. I made a v1.vi myself and changed run1.vi to show how it should work. Hope this is what you are looking for.
0 Kudos
Message 2 of 4
(2,802 Views)
Hi,

I have Lab View installed version 7.0 ...
The problem seems to be the fact that first you must run one time the VI you want to control than you can control it ... Very uncomfortable solution ...
V1.vi is a vi which has none input control parameter named "Numeric", numeric type of course :), and one indication output parameter named "Numeric 2". The VI operates the result in this way: Numeric 2=Numeric+1 ... Easy :))
Of course you can give default parameters value, but I still found the control offered to complicate the situation.
Maybe this is not the best approach to control a VI execution ... How elese can be done with Lab View 7.0?
0 Kudos
Message 3 of 4
(2,791 Views)
Here's the VI for LabVIEW 7.0.

It opens the dynamically called VI automatically - you don't need to have it opened first. You will only need to have the called VI open, if you specify the name of the called VI with a string (on the "vi path" input of "Open VI Reference") instead of a path.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 4
(2,772 Views)