03-05-2019 12:56 AM
i am using can 9853 with CRIO 9045.My can device is connected with external device(testing device).i have to send 17bytes of data from can 9853 to external device.but can standard support only 8bytes of data.so i have divided 17 bytes into 8+8+1.so now i have to send these data bytes with standard can format within 200ms(specified) to external device.how to write the code in labview.which type of programming mode or API i can use.i attached the screenshot of can format i am using.please share the best way to develop labview programming.
Solved! Go to Solution.
03-05-2019 01:41 AM
Hi rishijha,
AFAIK the NI9853 CAN module has to be programmed in the FPGA of your cRIO: this is the API you get!
so now i have to send these data bytes with standard can format within 200ms(specified) to external device.how to write the code
The manual of your "external device" should tell you, which CAN messages you have to send…
03-05-2019 02:24 AM
03-05-2019 03:44 AM
can u share your complete code here??
03-05-2019 03:47 AM
03-05-2019 04:27 AM
i gone through example code.they used fpga I/O Node to transmit data.where we can send 6*U32 byte data.but the frame i am sending that is different from example frame.
what i am sending
SOF(1bit)+Arbitration field(29bits)+Control field(4bits)+Data field(8 Byte)+CRC(15bit)+ACK(2bits)+EOF(7bits)
03-05-2019 05:44 AM
Hi rishijha,
the CAN module (and its hardware driver) will handle the low-leven part of creating the full CAN message consisting of SOF…EOF. You only need to supply the ArbID and the data bytes!
where we can send 6*U32 byte data
That will be 3 CAN messages, each one containing 2 U32 values…
03-09-2019 03:22 AM
CAN module (and its hardware driver) will handle
where i will get these details.so remote frame is same what i mentioned previously.
03-10-2019 02:51 PM
03-12-2019 01:45 AM
How to set the SRR ,IDE and RTR bit of Arbitraion field.i have only 29 bit(identifer) information of external device.will these three bit is controlled by the h/w(NI 9853) or we have to do by programming.