ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
05-06-2008 02:55 AM
Solved! Go to Solution.
05-06-2008 03:02 AM
server.tcp.enabled=TrueYou'll have to open an application reference (using the port specified) first, then you can use VI server as you do in LabVIEW.
server.tcp.access="+*"
server.tcp.port=3364
server.tcp.acl="290000000A000000010000001D00000003000000010000002A10000000030000000000010000000000"
server.vi.access=""
server.vi.callsEnabled=True
server.vi.propertiesEnabled=True
05-06-2008
03:25 AM
- last edited on
01-11-2025
06:04 PM
by
Content Cleaner
However there is this line in the same knowledge base that says
"Also, this change still permits you to open application references to an EXE, and subsequent VIs referenced by name, through VI Server when it is enabled for the EXE." .
However I couldnot make it out what does it mean by "enabled for the EXE". Does it refer to the same procedure that I normally do like writing a * for 'allow access' in Exported VIs.
Aman
05-06-2008 03:38 AM - edited 05-06-2008 03:39 AM
Enable TCP/IP support for VI Server for the application. Open an Application reference to that port on your local machine (from the LabVIEW functions palette: "Programming»Application Control»Open Application Reference", then use "Open VI Reference" and call the VI as you did in the past. While it isn't much more work for the caller, you do have to actively manage your ports and keep up with the right settings in the ini files for the EXEs.To specify access and port use the lines of my last post in the ini file. If these lines don't exist you can just add them, but probably you want to use a different port, restrict access (access control list = acl) to certain machines (e.g. localhost) or limit access to certain VIs.
05-06-2008 10:25 AM
05-06-2008 10:25 AM
05-06-2008 10:25 AM - edited 05-06-2008 10:27 AM
05-06-2008 10:25 AM - edited 05-06-2008 10:26 AM
05-06-2008 10:25 AM - edited 05-06-2008 10:31 AM
05-06-2008 10:47 AM