07-30-2007 02:12 PM
07-30-2007 02:17 PM
1. Thank you
2. You mentioned earlier that i should be using I16, and im curious why you decided to use U8.
3. Can 8 bits handle the number 12,000?
The Block count is simply an advancing interger, like a message "title" if you will. The first message sent to the controller is 0 and it will respond with the same block count of zero to that message. Then the next message sent will be 1 and so on.
The checksum really was the complicated aspect, Im going to look at it now and figure out how it COUNTS.
Im always startled at how small your VI soulutions are.
07-30-2007 02:27 PM
07-30-2007 02:32 PM
07-30-2007 02:49 PM
07-30-2007 03:02 PM
I know that when the command 07D0 is sent, it is supposed to represent 2000 but 07D0 does not translate directly to 20000.
07D0 is two bytes. Each hex number is 4 bits. 1111=xF.
07-31-2007 07:45 AM
So should I be typecasting these written values into strings? I cant seem to get that to work.
I need to make my string of varibaes into a long string
07-31-2007 08:48 AM
Well, my statement about 07D) was pretty stupid. That is equal to 2000.
Anyway, I don't understand your latest VI. It does not have the byte count calculation, the check sum creation, or the Byte Array to String. When you do the read, you'll have to use the String to Byte Array if you want to decode complex messages but in some cases, all you will get is the ACK message back. Here's another mod. This one has the subkey and data to set the reference speed.
07-31-2007 08:51 AM
Error, LV9 is newer than LV8
😞
07-31-2007 08:56 AM