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

Digital Input Using Measurement Studio for Visual Basic

3 ratings | 2.33 out of 5
Print

Downloads

Filename: di.zip
Requirements: View

This example is written using Measurement Studio for Visual Basic to read one digital port.

Requirements:
A digital I/O capable Data Acquisition Device and NI-DAQ drivers.

Tested with Microsoft Visual Basic 6.0 and run under Windows 2000 + NI-DAQ 6.9.3 using the following hardware:
PCI-MIO-16E-4

List of Measurement Studio controls used in this example:
CWButton, CWDIO

NOTE: For further details on each control, please refer to the Measurement Studio On-Line Help (NIDAQPC.HLP).

Pin Connection Information:
Connect your digital signals to Port 0.
For further I/O connection details, please refer to your hardware User Manual.

Requirements


Filename: di.zip

Software Requirements


Application Software: Measurement Studio Visual Basic Support 6.0
Language(s): Visual Basic
Additional Software: Visual Basic 6.0

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy)

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