Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Examples of using SCXI-1160 Relay Card with Visual Basic 5.0.

I am starting to develop some VB 5.0 code that interfaces with a PXI/SCXI Chassis. One of the cards that I have to work with is the SCXI-1160.
0 Kudos
Message 1 of 2
(3,056 Views)
At this point in time (5/14/01), I do not believe there are any pre-existing example programs developed in Visual Basic to control an SCXI-1160 switch module.
However, the process is very easy to explain. You will need to add the NI-SWITCH instrument driver as a DLL reference to your VB program. The DLL file is called niswitch_32.dll and is located at C:\VXIpnp\WinXX\Bin (WinXX = Win95 or WINNT).
Your program will begin with the niSwitch_init(...) function, and end with the niSwitch_close(...) function. The niSwitch_Connect(...) function can be used to actually make switch connections in your application.
0 Kudos
Message 2 of 2
(3,056 Views)