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

Products

Development Topic

Related Links - Developer Zone

Related Links - Products and Services

Low Level Word Serial Implementation Example in C

1 ratings | 5.00 out of 5
Print

Downloads

Filename: low_level_word_serial.c
Requirements: View

Below is an example that uses NI-VXI to implement Word Serial Protocol for one Word Serial Write and one Word Serial Read. It will prompt the user for the LA of the message based device to communicate with and a string to send to the device. It will then read the response from the device and print it to the screen. In some systems you may need to adjust the timing of the register reads and writes by adding waits to the program as some instruments may not respond fast enough. In the interest of space, most error checking has been left out of this example.

Requirements


Filename: low_level_word_serial.c

Software Requirements


Language(s): C

Hardware Requirements


Hardware Group: VXI/VME/MXI
Driver: NI-VXI

 
1 ratings | 5.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/).