Search the Community
Showing results for tags 'numeric variable'.
Hello, I hope that you are doing well. I am programming a new project in VisiLogic and was wondering if there was a way to change numeric variable properties on the fly. This is because I want the customer to be able to choose between SI and Imperial Units, and I need to change some number displays and numeric entries accordingly. I tried hiding some variables when a "unit" bit is set, but I cannot place one number on top of the other, nor are there binary numeric variables. Is there an easy way to do this that I am missing? Thank you very much in advance.
Hi there, I am having some trouble reading variable length numbers in a "Protocol TCP/IP Scan" block. We are receiving a message of the form "-9999999999.999 [Counts16Bit]". Messages can be positive or negative and can contain a variable number of digits, so "9.999 [Counts16Bit]" is also a valid message. I am able to successfully use the scan block with fixed length messages. If I construct a message like "111 [Counts16Bit]0A" where the numeric variable is "Decimal ASCII: Fixed Length", Vector Length = 1, Length = 3, "No Prefix", I can receive any 3 digit number successfully. If I change