12-21-2008 10:08 PM
Hi all,
I have to encode two decimal no's and has to transmit through the CAN,,so not getting how to code this in CAN data field,,,if anyone know please reply,,
thank you
01-07-2009 11:12 AM
Hello Shoukat,
I have attached a VI that should help you make the conversion from a floating point number to an 8 byte array. You can use less than 8 bytes depending on the precision of your float. You can decode this by doing the inverse, using the index array and join numbers VIs.
Depending on which hardware you are using, you can also use the channel API to easily make this conversion by creating a channel in MAX.
Let me know if this answers your question. Have a great day.
01-07-2009 10:16 PM
thanks for reply,,
can you please send same vi in labVIEW8
thank you
01-08-2009 09:09 AM