send_signal for unsigned long values
-
I have a data value that's being presented as an unsigned long, but when I use send_signal, it treats it as a signed long and the value goes negative. How do I get it to present the value as the original unsigned long value?
for example, 0xf1234567 displays as -249346713 in signals
-
Hi,
You can either send it as a string ('4045620583'), or use a float to represent the value. Sending it as a string will still make it a number in Pybytes.Gijs
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login