10-14-2009 03:40 AM
10-30-2009 04:21 PM
Hey pashupathi,
If you are refering to NI-CAN Objects, then I will try to explain...
There are 2 types of objects in NI-CAN:
1. Network Interface Object
2. CAN Object.
You can think of the term object like a reference, or a structure. We are refering to 2 types of structure the NI-CAN driver will use to communicate over the CAN bus. You can open, configure, read and write to each type of object.
1. Network Interface Object
The Network Interface Object means that whatever you write when you call the write is directly written on the bus. In other words, whatever you tell your network interface object to write, it writes out to the bus. The same is true for read. Whatever is on the bus is read.
2. CAN Object.
The CAN object is "sort of" a child of the Network Interface Object. With the CAN Object, you only read or write a single ID on the bus. CAN Objects are used if you only care about a few IDs on the bus, or if you want to write periodic messages.
I hope that clears things up a bit. Let me know if you have any further questions.