Hi Everybody, I have the following probelm which I hope I can get some suggestions on:-
I need to be able to send 0 -> 15 in binary format to a digital port, in a continuous loop. That is 0 -> 15 -> 0 -> 15 etc...
Now this loop of 0 -> 15 must be <> with the while loop that it is inside of. The while loop will be continuously looping, wheras if a for loop was used for the (0 -> 15 -> 0 -> etc) count it would need to restart every 16 iterations in step with the while loop). Please refer to the attatchment to see the while loop structure.
The while loop starts, then I will need the digital data (say 0) to be sent to the digi port, this will then lead to me acquiring data. The while loop sta
rts again and now 1 will be sent to the digital port etc...
When it gets to 15, I want it to start again at 0...
I am not sure if a for loop can be used as the info is kept 'at the edge' until the iterations are done. This would be utterly useless.
I have hit a wall on this...
Any suggestions would be very helpful.
Thanks.
System info:-
I have labview 7 express on a 2000 machine.