PCAN-Basic in LabVIEW

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
sandeep156
Posts: 5
Joined: Thu 9. Jul 2015, 22:52

PCAN-Basic in LabVIEW

Post by sandeep156 » Wed 15. Jul 2015, 15:48

Hello,

I've been trying to send and receive data from my device using the PCAN-BASIC LabVIEW VIs. I have been successful in using the 'CAN Read.vi' to read the PDOs.

I would like to try to use the 'CAN Write.vi' now, but it seems to me that the inputs to the controls of 'CAN Write.vi' are in decimal rather than hex like the other VIs. Can someone who has used it verify this for me please? I can't seem to find information on this on the manuals.

Thanks,
Sandeep

Martin1234
Posts: 2
Joined: Thu 16. Jul 2015, 11:28

Re: PCAN-Basic in LabVIEW

Post by Martin1234 » Thu 16. Jul 2015, 11:35

Dear,

if you want to display a number in hex format you have to do:
- pick a numeric from the palette
- put it on your front panel
- make a right click on the numeric
- select the format U32 for a CAN ID
- right click again an select the display format and after that that the radix should be shown too.

Regards

Martin

Post Reply