08-04-2017 09:46 AM
Asked simple labview question but the way its been formatted confuses me abit could anyone help.
Question
Develop a program which continuously loops around until a stop button is pressed. The loop iteration counter should be displayed at a rate of about 2 Hz. The program additionally should have a Boolean indicator, which changes its state upon every loop. This will require placing SHIFT Registers on the edge of the loop, and wire the left and right shift registers together through a NOT operator. Finally, choose a "slider" on the front panel and send its value to a chart.
Extend the previous program to display the current count (i.e. 0, 1, 2, ...), a user chosen multiple of the current count (e.g. 0, 7, 14, ...) and the sum of the current loop value and the previous loop value
08-04-2017 09:52 AM
Take one sentence at a time and it is quite simple. Where exactly are you getting confused?
08-04-2017 09:58 AM
Get confused by the parts. Attached is what done don't think going on right path
-> The loop iteration counter should be displayed at a rate of about 2 Hz.
->Extend the previous program to display the current count (i.e. 0, 1, 2, ...), a user chosen multiple of the current count (e.g. 0, 7, 14, ...) and the sum of the current loop value and the previous loop value.
08-04-2017 10:19 AM
2 Hz means 2 times per second...not 2 seconds.
Store the previous loop value in a shift register so you can add it to the current loop value in the next iteration.