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

How to Perform Basic Serial Writes and Reads Using NI-VISA in Microsoft Visual C# .NET

3 ratings | 1.67 out of 5
Print

Downloads

Filename: basicserialwriteread.zip
Requirements: View

This example demonstrates performing basic serial communication using NI-VISA in the Microsoft Visual C# .NET develpment environment. The examples uses the NationalInstruments.VisaNS .NET assembly to configure a serial port, write a command to the port, pause for a given amount of time, and then read from the port.

This example is intended to be analogous to the LabVIEW shipping example Basic Serial Write and Read.

Requirements


Filename: basicserialwriteread.zip

Software Requirements


Application Software: Measurement Studio Visual Basic Support 6.0
Language(s): C#
Additional Software: Visual Studio .NET 2003

Hardware Requirements


Driver: NI-VISA 3.1

 
3 ratings | 1.67 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/).