09-03-2021 09:54 AM
The Login Cmd adds on at every interval-
0xb, 0x3f, 0x18, 0x1c,
0xb, 0x3f, 0x18, 0x1c, 0xb, 0x3f, 0x18, 0x1c,
0xb, 0x3f, 0x18, 0x1c, 0xb, 0x3f, 0x18, 0x1c, 0xb, 0x3f, 0x18, 0x1c
How do I fix this?
VI is attached.
09-03-2021 10:46 AM
Initialize the shift register on the For loop. When it is uninitialized it retains it's last value which is why you are seeing your string building each execution.
09-03-2021 10:48 AM - edited 09-03-2021 10:49 AM
You have an uninitialized Shift Register. So it will keep what was last stored in the Shift Register.
However, you don't even need that loop. There is a lot of simplification we can do here.