Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Signed/unsigned binary integers

I have read what should be an 32 bit unsigned data packed from a flow computer. But the OMNI data driver can only read 32 bit IEEE floating point data in the area that the 32 bit packet exist. I tried moving the 32 bit data to a lower point in the flow computer but that point only see's the 32 bit data as signed binary and therefore alters how the data is handled. I transfer the data to MODBUSSlave so that I can access individual bits, which works perfectly well for positive values, but as soon as the data pattern becomes effectively negative, all the dat point I want become 2s complimented. Is there a way in Lookout to calculate 2s compliment.

Derek
0 Kudos
Message 1 of 2
(3,184 Views)
Hello Derek,

I have looked on NI's support portal to find that this is a product suggestion for lookout and is being reviewed. Currently lookout doesnt have an object that supports this. Also lookout doesnt support calling a dll so the data cannot be manipulated in c.

What can be done to overcome this is to create an ActiveX object in another language and then use this asa lookout object in order to do this.

Alternatively can you do this with the data using an expression?
0 Kudos
Message 2 of 2
(3,184 Views)