Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI_DIO_96 Board DLL for VB

This dll 'port2.dll' output to lines of PORT2 of PCI-DIO-96 board.
==================================================================
PORT2 = lines 1,3,5,7,9,11,13,15

I have tested it using VB as client application
Just install Ni Driver Software

use it with VB using:
--------------------
Public Declare Sub WritePort2 Lib "port2.dll" (ByVal str As String)

....

Call WritePort2("255")

note: WritePort2 accepts integer string not hex
e.g Write 0xAA to Port2 => Call WritePort2("170")

if error occurs try:
making DIO96 -> DEV1 in MAX
( Measurement Automation Explorer )

other dlls: port0.dll
port1.dll
port4.dll
port5.dll

if you want to download other Dlls:
http://www.driftmark.com/kerbymartino/downloads/dio96_dll.rar
(size: 410 Kb use WinRAR. unrar.)

(see DIO96 manual for pin assignments)
a journey of a thousand miles is started by taking the first step.
- chinese proverb
0 Kudos
Message 1 of 1
(3,214 Views)