LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I configure the TCP/IP options for LabVIEW 8.5 applications?

I’m trying to configure a VI to call data from a running executable.  The VIs were originally written in LabVIEW 6.1 then made into executables.  In the application, I was able to configure the VI Server options.  I am interested in purchasing LabVIEW 8.5 and have downloaded the trial version.  I built the VI and found that the options that were previously available in 6.1 executables are no longer available in 8.5 executables.  I found a posting on KnowledgeBase that told me how to setup the VI Server Options. 

 

VI Server is setup the following way for Application.exe before it is built: 

VI Server: Configuration – All boxes have checkmarks

VI Server: Machine Access – Machine access list—added * to list; also tried adding everyhost

VI Server: Exported Vis – Exported Vis – added * to list; also tried adding everyhost

 

VI Server is setup the following way for call.vi:

VI Server: Configuration – Checkbox is cleared for TCP/IP

 

I continuously get error 63 after I open the Application Reference in the call.vi.  Can someone please tell me what I am doing wrong?  I am a relatively new user and am quite certain there is something small I’m overlooking.  Thanks!!

0 Kudos
Message 1 of 2
(2,657 Views)
You need to create a ini file for the EXE.  Assuming the name of your EXE is MyApp.exe, then you need an INI file in the same directory of MyApp.exe called MyApp.ini,with the INI settings found in LabVIEW.ini for the server.  For example,

[MyApp]
server.tcp.port=3363
server.tcp.enabled=TRUE
server.tcp.access="+127.0.0.1"


I believe all the entries you will care about will have the server pretext.


0 Kudos
Message 2 of 2
(2,647 Views)