08-10-2006 06:59 AM
08-10-2006 08:33 AM
The next NI CAN function you try to call after you have the bus off will give you the error message. You can poll for any state using the get attribute function.
DirkW
08-10-2006 09:31 AM
Hi DirkW
Sorry but i am new in that field, What do u mean by "Get Attribute Function" ??
another question : if i send a message (from my application under CVI ) to the calculator, und the calculator is out of order, How can i check that ? how can i know that my frame doesn't reached the calculator ?
thank you Dirkw
08-11-2006 09:35 AM
Hi
See page 11-61 of the CAN manual comming with the driver, for how to use the state property with the get property function with CVI.
Attached you can find an example, that writes and reads data, thus you can see how to create a good error handling, to get an error if your device is not acknowledging your request.
DirkW
08-11-2006 10:30 AM
HI again,
I am tring to used the exmple, juste before that : i have a NI-CAN 2.1.3 und S1 board, i hope that don't make a trouble,
what about the buffer (write queue und read queue) , if i try to use ncWrite und ncRead in the same function (they have the same CAN Network Interface Obeject), will that make a trouble?
for exemple :
{
ncWrite(Tx,.....);
ncRead(Tx ....);
}
thank you again
08-14-2006 08:44 AM
08-14-2006 09:28 AM