Discussion:
CAN interface already in use
(too old to reply)
Barbu
2008-04-04 22:40:09 UTC
Permalink
Hi every body, Is ther a way to progamaticly figure out wether an CANx interface has already been configured/opened ? There is nothing in the ncGetHardwareInfo and the ncGetAttribute requires you to actually open it first (I'm no big fan of trial/failure method).Thanks
DirkW
2008-04-07 14:10:09 UTC
Permalink
Hi,
There is no indication with NI-CAN that a Port is already configured. Thus if you configure it again it overwrites the Port properties.  Therefore it is recommended to track Port configurations actions programmatically and the same applies for any open handle.
DirkW

Loading...