Im slowly loosing the plot today, for the life of me i cant think how to do this.
Im reading values in from a PLC, and displaying them on a mimic screen developed in vb.net.
Some of the values are able to be negative, but when they come in from the plc they are unsigned, as in value from plc is 65436 which should be -10.
So question is, how do i convert 65436 to a signed integer in vb.net
thanks in advance folks
darren
Im reading values in from a PLC, and displaying them on a mimic screen developed in vb.net.
Some of the values are able to be negative, but when they come in from the plc they are unsigned, as in value from plc is 65436 which should be -10.
So question is, how do i convert 65436 to a signed integer in vb.net
thanks in advance folks
darren