Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

whether the CWDIO control can be used for USB-6525(Windows 7)

Hi Everybody,

 

My problem is using the CWDIO components to control NI USB-6525.

 

Information:

OS: Windows 7

Programming Language: C# & VB

 

Question:

I add the components CWDIO, but it always throw out "run time error 68: Invaild device" when I execute this "CWDIO1.SignalWrite 0"

But if I use the NI PCI-6503 with same command , it works properly well.

 

1. Is this components able to control the the USB-6525?

2. Why there is no error message throw out when there is no DIO card connected using this component?

0 Kudos
Message 1 of 2
(5,511 Views)

USB 6525 has no digital out lines, only digital in. Therefore you get runtime error as soon as you call SignalWrite (meaning OUT).

https://www.ni.com/en-us/shop/model/usb-6525.html

0 Kudos
Message 2 of 2
(5,365 Views)