09-09-2008 08:29 AM - edited 09-09-2008 08:31 AM
CAN Terminal :
I wrote a small and simple NI-CAN Text-Terminal VI for use with Ni-CAN Hardware like PCMCIA Card.
It supports ASCII communication Terminal-style via CAN to remote Device.
Also you may define multible receive frames for capturing measurements for example.
Hope you find it usefull.
09-10-2008 03:42 AM
09-11-2008 03:37 AM
Update: CAN_Terminal_1.vi
a little update of the VI. forgot to connect the shiftregister through all the CASES.
Now scroll at end of page.
I used this VI to debug a remote CAN-Device.
I experimented a lot with a TextBox on how it interprets CR and LF codes.
Its like this:
Either CR or LF or CRLF are all converted to CRLF in the TextBox.
So you cannot stay in a row on the Terminal to repeatedly display a value and CR at end.
The linefeed.jpg show an example of this.
These conversions also take place in the ByteArray-to-String Tool.
Also a TextBox only accepts Data of Type String, not Type ByteArray. I am missing some simple Byte-Handling Tools in LV.