05-29-2009 07:30 PM
Hi
This led chaser VI is required to be used multiple times but I cannot make it into a SubVI.
The led switches on to chases to the end & more to create a delay Then returns by switching them off.
It works as a VI but not as aSubVI.
Any ideas?
05-29-2009 07:48 PM - edited 05-29-2009 07:48 PM
noneqwerty wrote:It works as a VI but not as aSubVI.
I guess I have no idea what you mean by that. 😮
What's the purpose of the OK button? Seems pretty useless. 😉
Why is your shift register orange. Make it the right datatype (blue!).
You should initialize the boolean shift regsiter too.
05-29-2009 08:38 PM
Hi
The led chases to the right & back to the left when the OK button is pressed then stops.
Thats what I mean.
The switch is for simulation. I want to press a switch to trigger the leds.
Because I want to use this 4 times in the project simulation It is best to make it into a subVI. It fails as a subVI.
If I bring it into a new VI it fails to run.
Dont know why it changed to orange. What should I look for?
Cheers
05-29-2009 09:01 PM
Well, it seems that you just started to learn programming in LabVIEW, so let's make a few things clear.