LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set up a shift register to unsigned 16?

How do you set a shift register to an unsigned 16?
It defaults to double but I want it a U16.

Ron
0 Kudos
Message 1 of 3
(2,534 Views)
Hi Ron,

You'll need to insert a "To Unsign Word Integer" VI to convert the line to U16. You can find it in the function palette under Numeric/Conversion. Once you insert that VI anywhere in that double wire, you'll see the shift register change to U16.

Dan
0 Kudos
Message 2 of 3
(2,534 Views)
You'll either need to initialize the shift register by connecting a U16 constant to the left register outside the loop, or place a U16 Convert function from the Numeric>Conversion palette after the Increment function.

The default numeric data type is Double, so unless you specify what you want, that is what the Increment function will produce.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 3 of 3
(2,534 Views)