Martin1 Posted October 19, 2021 Report Share Posted October 19, 2021 I am looking to store a UINT array into a INT array. Is there a simple way to do this? I am displaying my Analog inputs to a Data Table but my remote URB island inputs are in UINT format. Anyone know a simple solution? Quote Link to comment Share on other sites More sharing options...
Rivka Posted October 20, 2021 Report Share Posted October 20, 2021 Hi @Martin1, You can probably use the "Copy tag to buffer" to transform your UINT array into buffer, then "buffer to tag" ladder element to transform your buffer into INT array. That should make the trick. Obviously, if you have in your UINT array numbers that are greater than max int32, you'll get a negative number. Have a good day, Rivka Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.