11-15-2006 10:07 AM
11-15-2006 02:56 PM
11-16-2006 02:37 AM
11-16-2006 07:12 AM
11-16-2006 08:57 AM
Hi,
In order to have the NI CAN driver sending an extended ID, you have to set the 30th bit. This tells the driver you wish to transmit a 29 bit ID.
This can be done if you or your ID with 0x20000000. See the modified example attached.
If you receive a 29 bit extended ID the driver will set the 30th bit to inform you about the extended format. That looks in your case like this 0x307C4001.
DirkW
11-16-2006 09:50 AM
Thanks, now i got it!
I tried it and my boss told me to measure the bitcode with an osciloscope:
I sent the adress(before OR):
107C8001
as far as I can count, this is equal to the bit-array
1000 0011 1110 0100 0000 0000 0000 1
but the measured signal was:
1011 1110 0000 1000 1101 1111 0111 1101 1111 0011 0111 0001 0101 0010 0001
the data field was empty, so what the h... did this d. ... card send??????
P.S.: 1 means ~2.2V differential voltage....
11-16-2006 10:23 AM
11-17-2006 02:09 AM
11-17-2006 07:16 AM
11-17-2006 08:10 AM