Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

input/output code for PCI-6503

Hello
      I use PCI-6503 with win98 and VB6. I set port0 and port1 for input by dip switch.
And set port2 for output by LED. So I want to know code for read input from port0 and port1.
and code for write output at port2.
      Ex.     text1.text = data from bit1 of port0
                text2.text = data from bit1 of port0
                if text1.text = some value then
                      LED at bit1 of port2 ON
      It more better if you can make example program.
 
Thank you for your support 
0 Kudos
Message 1 of 2
(3,438 Views)

Hi jum,

On the Windows 98 platform, the most recent driver version supported by the PCI-6503 is NI-DAQ 7.1.  NI-DAQ 7.1 includes the API for both Traditional NI-DAQ and NI-DAQmx.

The Traditional NI-DAQ API is what will be used for your application because NI-DAQmx 7.1 does not have support for Visual Basic 6.0.  After installing the drivers, you can find information about the different functions available in Traditional NI-DAQ by navigating to Start» Programs» National Instruments» NI-DAQ» Traditional NI-DAQ Function Reference

Example programs should also be included with the installation, and they would be located in the NI-DAQ 7.1 directory (the default should be C:\Program Files\National Instruments\NI-DAQ\Examples\VBasic).

Regards,
Andrew W
National Instruments

 
0 Kudos
Message 2 of 2
(3,426 Views)