01-08-2009 05:44 PM
Sorry if this seems a simple question but i am limited in my labview exp. i am trying to get a hi.lo byte value but can't seem to figure this simple thing out. I know that labview has a function but i am limited to the functions in the NXT toolkit that does does support this feature.
many thanks for you guidance
rosjen
Solved! Go to Solution.
01-08-2009 11:41 PM
01-09-2009 04:17 PM
I have tried, but there has not been one single view of my question, hence me posting it here in case somebody has the toolkit installed and knows how to get around the limitations.
regards
rosjen
01-10-2009 02:51 AM
If dealing with 16 bits integers, couldn't you divide by 256, then use respectively the integrer part of the result as hi-byte, and the decimal part x 256 as lo-byte ?
With 32 bits integers, same solution with 65536.
01-10-2009 04:18 AM
Yes you can, if you buy the 800$ data manipulation toolkit. Just joking You find the functions you need in the data manipulation palette. Then you are in this palette take some time to explore the other functions.
Se posted example
01-10-2009 06:04 AM
Sorry did not catch the ntx part. You may try the flatten to string function and the string to byte array function. I see the type cast function is not in the nxt function list.
01-10-2009 02:00 PM