01-07-2008 04:03 PM
01-08-2008 08:07 AM - edited 01-08-2008 08:08 AM
These two limitations apply whenever you use NI-CAN boards with the NI CAnopen Library. But it sounds worse then it actually is.
You can use the NI Spy to see when the Library uses an object. It configures something like CANX::STDY where X is the CANport number and Y is the ID.
The library uses objects for all periodic or unique tasks, like NMT(one Object), RTR PDOs(one object per PDO), SDO(two objects), Error management(one object per option), Sync(one object). The 300 messages issue only applies if you use the PDO buffer which is not often the case because most of the time you want to have the most recent data and therefore you would use the queue size 0.
DirkW
01-08-2008 10:35 AM
01-09-2008 08:55 AM
If Copley uses the NI-CAN they have the same limitations, but may have used a different approach for configuring the services. it could be that they don't use objects at all.
If you know wich services create objects in your code, because you found the CANx::STDy syntax in your spy log, you could count the instances in your code to see how many you are using.
The object is closed and can be reused if you call the CANopen Close VI for the particular service handle.
DirkW