Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Creating a VI Server Application

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Use the LabVIEW VI Server to programmatically control front panel objects, VIs, and LabVIEW, and to dynamically load, edit, and run VIs on a computer or remotely across a network. You can control browser access to the VIs and configure which VIs remote applications can control.

Complete the following steps to create a VI Server application.

  1. Configure the VI Server to allow the TCP/IP protocol.
  2. (Optional) Use the Open Application Reference function to open a reference to a local or remote application instance.
  3. Use the Open VI Reference function to open a reference to a VI on the local or remote computer that already exists in memory for the application instance, or to dynamically load a VI from disk.
  4. Use the Property Node to get or set properties or the Invoke Node to invoke methods.

    You also can use a Call By Reference Node to call a dynamically loaded VI.
  5. Use the Close Reference function to close any open references.

Refer to labview\examples\viserver for examples of using the VI Server.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit