Discussion:
DeviceNet communication problem
(too old to reply)
ImBatman
2008-04-23 20:40:09 UTC
Permalink
I have a Woodhead (ApplicomIO) PCI-DVNIO DeviceNet Master/Slave card that I am trying to work with using LabWindows/CVI 7.0.  I have loaded the NI-DNET v1.5.1 software and I am experimenting with the example code that was also installed to learn how to communicate with a device over the DevceNet. I am using the MixedCommunication example and unable to get it to communicate. When I try to start the program I get the error code of BFF62023 for ncOpenDnetIntf. The error message is NI-CAN:  (Hex 0xBFF62023) The Interface is invalid or unknown.  Solutions: Verify that the interface is assigned to a specific port within the Devices and Interfaces branch of  the Measurement and Automation Explorer (MAX). I think that the interface name I am using of dnet0 is the cause of the error. Not sure how to find out what the correct interface name is.
I then go into MAX software to look at the Devices and Interfaces branch as the solution suggests. Under this is displayed PXI System (Unidentified). I am guessing that this is my PCI-DVNIO card. How do I get MAX to identify this card? When I try to identify as Other, the software asks for a controller file which I am unable to locate or have.
biker2000
2008-04-24 03:10:07 UTC
Permalink
Hi,The National Instruments driver software for DeviceNet (NI-DNET) works only with <a href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/1311" target="_blank">National Instruments' DeviceNet PC interfaces</a>, but not with interfaces from other vendors. That's why your card does not show up in MAX and the NI-DNET examples don't work. In order to use the Woodhead (ApplicomIO) PCI-DVNIO DeviceNet Master/Slave card on your PC, you need a device driver (software) from Woodhead. See, if that driver software comes with C example code, or even better with direct integration into LabWindows/CVI.-B2k
Loading...