LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server question

I Made a vi server application and now I want to compile it! but its seem to
not working. What I have to do to make a compiled application who use Vi
Server?

Eric Poirier
0 Kudos
Message 1 of 6
(3,135 Views)
A little more information is needed. What are you trying to do with VI Server? What part doesn't work? What properties and methods are you using? What, if any, error messages are you getting? There are some things that are only valid in the development enviroment and you also have to take into account that paths to VIs will be different in a built application.
0 Kudos
Message 2 of 6
(3,135 Views)
As Dennis said, there are some vi server options not available in executables, this options are those who edit the vi, that are not available because you don't have a diagram. For example, you can't make values default.
Hope this helps
0 Kudos
Message 3 of 6
(3,135 Views)
One thing to consider is when you use the VI server to call applications, they are not present in your diagrams, so the application builder will not automatically add these to the build. You need to manually add these VI's using 'Add dynamic VI's'.
0 Kudos
Message 4 of 6
(3,135 Views)
Labview has problem of dynamically loading another VI in the executable version. If you probe the error output it is '1003'. Adding the called vi as dynamic called VI sometimes helps and sometimes does not. The result of this behavior is after the button (associated with the action of opening another vi) is clicked, the top-level vi flashes and then nothing happens.

If this is your case then add the vi as a subvi and not dynamically load it. btw, dynamically loading isn't making much differences in speed and memory usage.

Joe
Roush Industries, Inc
0 Kudos
Message 5 of 6
(3,135 Views)
Ok, what I use on VI server is to put VI in vi access list to be able to
control them by internet. I made a check list of the vi access list and its
seem to be empty.
What can I do

Eric Poirier
0 Kudos
Message 6 of 6
(3,135 Views)