This example requests a temperature value from the NXP microcontroller on the ZSOM-Control using raw CAN frames. Because the microcontroller operates according to the CANopen standard, the commands are formatted accordingly. For the hardware, see CAN.
Project: ZSOM-Control_CAN.lvproj, VI CANraw_example.vi. In LabVIEW, open Help → Find Examples and search for “ZSOM”.
Prerequisite: The firmware of the microcontroller must be flashed once, see Example: CAN NXP firmware update. The same example with the CANopen VIs of the SDK is described in Example: CANopen.
| Indicator | Function |
|---|---|
| Temperature (Celsius) | Temperature reported by the microcontroller |
| error out | Error cluster |