Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Port C I/O and handshaking

I'm trying to configure a DIO-24 card with port A configured in output mode with handshaking, port B in output mode without handshaking. The problem is with port C. I would like to use the PC0 to PC2 lines as input. As port B isn't configured in hankshaking mode, I think it should be possible, but when I perform a DIG_In_Line, I always get a -10007 error.

Does somebody know how to perform this task?
0 Kudos
Message 1 of 2
(3,098 Views)
Though the board is capable of letting you use the lines not used by the handshaking on port C, the driver currently does not support this. So if handshaking is in use on either port, you may not use any portion of port C for general purpose I/O.

However, if you wish, you can get around this with some register-level programming. We don't provide support for this, but it has been done. The best starting place for this would be to download the Measurement Hardware Driver Development Kit which should give you everything you need to get started.

Measurement Hardware Driver Development Kit(DDK)

This is also mentioned in Knowledge Base 179F64EW

Regards,

Russell
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 2
(3,098 Views)