Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert desimal in range 0-100 into binary 8 bit.

What happens after four times? Do you get any errors? Does the program stop?

 

I cannot test it because I do not have an external device which will respond as your uC does.

 

You should consider converting your program to a state machine. It would be much more flexible and robust. Stacked sequence structures are not recommended because they obscure code and are very difficult to extend or modify.

 

Your conversion of floating point numbers to strings could have problems because of the way floats are reqpresented in binary.  Use an explicit conversion to U8 so that you know what you are getting.

 

You never answered the questions about termination characters.  By default they are enabled.  Your VI does not disable them. When using termination characters, do not use Bytes at Port.

 

Lynn

0 Kudos
Message 11 of 11
(2,627 Views)