uranyumx
Advanced Member level 4
Hello,
I am casting 16 bit value to 8 bit values with typecast(uint16(app.X.Value), 'uint8');
While I was printing uint16(app.X.Value), I got 10 which is my input value. Then, after casting with typecast(uint16(app.X.Value), 'uint8');, I got 103 0 values. So, how does the program generate these numbers that I want to address?
Thank you,
I am casting 16 bit value to 8 bit values with typecast(uint16(app.X.Value), 'uint8');
While I was printing uint16(app.X.Value), I got 10 which is my input value. Then, after casting with typecast(uint16(app.X.Value), 'uint8');, I got 103 0 values. So, how does the program generate these numbers that I want to address?
Thank you,