09-19-2006 09:51 AM
09-20-2006
04:00 AM
- last edited on
02-13-2025
08:53 AM
by
Content Cleaner
09-20-2006 09:48 AM
10-11-2006 01:50 AM
11-21-2006 04:57 AM
Hello again.
Right, I've now started working on this, and have successfully got DNET working through c# .net by wrapping the NICAN dll. (On a PCI-DNET card).
The only functionality I need is the abilty to enumerate a device on the network, and read a piece of test data (for devicenet I'm just reading the object name, as per the Get Device List example).
What I now need to do is to implement a similar test using CANOpen (which is the other CAN variant I need to test).
Q1. Are there any examples/support for implementing (simple) CANOpen using NI-CAN? (I have found a few labview examples but no C++).
Q2. If not, what would be the general procedure for implementing a CANOpen 'who's connected' function using NI-CAN commands (Maybe I can get it working with a few hints).
If all else fails, I have an old softing card somewhere which comes with a CANOpen driver, so I could install that If necessary for the CANOpen, but I'd rather just use one card if possible.
Thanks for your time.
11-21-2006
06:55 PM
- last edited on
02-13-2025
08:54 AM
by
Content Cleaner
11-22-2006 02:39 AM
Thanks, but that library is Labview only, not C++.
Implementing the SDO and NMT protocols from scratch will be too much work for what I need to do.
Looks like I'll have to use two cards after all.