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

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

GPIB Communication Using the LabVIEW PDA Module for Palm OS and the NI GPIB-232CT-A

0 ratings | 0.00 out of 5
Print

Downloads

Filename: palm_advanced_gpib.zip
Requirements: View

These VI's provide the functionality to communicate with GPIB equipped devices using a PDA and the NI GPIB-232CT-A controller. In this example GPIB communication is established using the COM port built in to the PDA device and serial commands are relayed to the GPIB instrument using the 232CT-A.

The default settings for the serial port use port 0 with 9600 baud, 8 data bits, 1 stop bit, and no parity. If your system does not match these settings they can be changed in the Serial Settings input cluster. The GPIB-232CT dip switch positions that correspond to these settings are: ON, OFF, ON, OFF, OFF, OFF, ON, OFF. When using the NI Instrument Simulator as a GPIB device, the dip switch positions corresponding to these serial settings are: OFF, ON, OFF, OFF, OFF, OFF, OFF, ON.

Palm_Advanced_GPIB.vi has three groups of functions. The "Main" functions are used to write general commands to a serial equipped instrument using the PDA. The second and third functions are device specific and are designed to be used with the NI Instrument Simulator. The "Test" function simply sends the "*TST?" command to the simulator to ensure communication has been established with the simulator. The "Data" functions retrieve a simulated DC voltage and sine wave data using the "MEAS:DC?" and "SENS:DATA?" commands respectively.

To run the VI:
1. Initialize the serial port by pressing "Open".
2. Write and read to the serial port.
3. Close the serial port and stop execution of the VI and by pressing "Exit".

Requirements


Filename: palm_advanced_gpib.zip

Software Requirements


Application Software: LabVIEW Full Development System 7.1
Toolkits and Add-Ons: LabVIEW PDA Module 7.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: GPIB
Hardware Model: GPIB-232CT-A

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).