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

Application Control VIs and Functions (PDA Module, Touch Panel Module)

LabVIEW 8.5 PDA Module Help
August 2007

NI Part Number:
370642E-01

»View Product Info

The PDA Module and the Touch Panel Module support the Close Reference function but do not support the following refnums with the Close Reference function:

  • .NET
  • ActiveX

The PDA Module and the Touch Panel Module support the Call By Reference Node for remote references. To use a Call By Reference Node, create an application reference and a VI reference and then use the Call By Reference Node to call a VI by reference. Specify the communication method in the machine name input of the Open Application Reference function as Serial:: for serial communication, TCP::<IP address> (for example TCP::12.3.45.678) for TCP/IP communication, or IR:: for infrared (IrDA) communication.

Note  The Touch Panel Module does not support IrDA communication.

For example, if you have a serial cable connected to a PXI device, you can connect using the VI Server to LabVIEW running on the PXI device. Normally, the VI Server only communicates using TCP/IP, so you need a VI running on the remote device that translates serial or IrDA communications into TCP/IP communications. Use the ser-tcp VI, located in the labview\vi.lib\PDA directory, to translate from serial communications to TCP/IP communications. Use the Ir-TCP VI, located in labview\vi.lib\PDA\IrTCP.llb to translate from IrDA communications to TCP/IP communications.

To establish communication between a PDA or Touch Panel application and another LabVIEW application instance, you must know both the machine name and the port number on which the VI Server in the other LabVIEW application is listening. If you have more than one LabVIEW application instance on the same machine, one or more of those applications may be listening on a port other than the default VI Server listener port. In this case, make sure to supply the port number.

Note  The VI Server settings in the Options dialog box apply to the default application instance and VIs not in a project. To set VI Server settings for a project application instance, right-click the target in the Project Explorer window.

(PDA Module) Refer to the NI Example Finder, available by selecting Help»Find Examples for examples of remote references. In the NI Example Finder, browse according to task and open Toolkits and Modules»PDA»Networking to open the examples.

(Touch Panel Module) Refer to the NI Example Finder, available by selecting Help»Find Examples for examples of remote references. In the NI Example Finder, browse according to task and open Toolkits and Modules»Touch Panel»Networking to open the examples.


Resources


 

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