06-11-2010 02:20 PM
I see in your code that you have some 'String to Hex' function, might that functino remove the 1D or 1C?
Try placing an indicator after the read function. (set that indicator to hex display like Ben proposed)
Ton
06-11-2010 02:25 PM
Ahhh is it in my ascii to hex sub vi? here is vertion two also for fix maybe? I wont know untill my boss gives me back the test hardware I was using...
06-11-2010 02:27 PM
TCPlomp wrote:I see in your code that you have some 'String to Hex' function, might that functino remove the 1D or 1C?
Try placing an indicator after the read function. (set that indicator to hex display like Ben proposed)
Ton
Lol I was just about to ask about that sub vi
06-11-2010 02:31 PM
That upper version will throw away everything after the 4th byte.
In the second (v2) you should connect the 'hex' indicator to the output of the shift register. (no need for the array size)
TOn
06-11-2010 02:39 PM
Thank you soo much for everyones help, you guys ar life savers! (as in the floatation divice not the candy, but that would be sweet 😄 )
06-11-2010 02:46 PM
For future reference, the following thigns will help when asking questions here:
06-11-2010 03:00 PM
06-11-2010 03:32 PM
The first thing I would do is clean up my code, make it good readable from left to right. no Crossing wires.
As always there is the invaluable 'How to ask questions the smart way'
Ton