LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with un-initialized shift register datatype

I am trying to create an un-initialized shift register in a while loop.  When created the default type is Void.  If I wire a constant (initialize on the left side) with the data type I want, the shift register arrows change color to the appropriate data type.  However if I then remove the initial value the arrow returns to black and the void data type.  I want it to remain the color and the data type with no input (initialized).  How do I accomplish this

0 Kudos
Message 1 of 3
(2,902 Views)

Set the type inside the while loop

Picture1.png

 

 

0 Kudos
Message 2 of 3
(2,897 Views)

Try using the "First Call?" function along with a case statement inside the loop. There are many ways you can do it.  See attachments for a couple simple suggestions.

Download All
Message 3 of 3
(2,895 Views)