Hi there,
I am reading some code developed by someone long time ago. In the code, there used stack sequence structure to perform operation on external devices in serial. In each block of the structure, there will be a timer to delay the time. In each block, there are two IO operations on the analogy terminals and digital a terminal in the first block. but those operations are all independent. Let's say one operation is output a digital 5V to switch on a shutter so some light can go through and shine on a amplifier. The manify factor of the amplifier was control by sending analogy voltage , and there will be analogy voltage sent to the amplifier to control the manify factor before the reach of the light. Here is my questions:
1) In the code, I saw that the digital and analogy output are placed in the same block, so what's the order of the signals output? Will both analogy and digital signal be sent out simultaneously? Or any possibility that analogy signal or digital signal will be sent ahead the other? I am thinking if the order of signal output are random, it is possible that the amplifier will not be set before the shutter is open.
2) In each block of the stack sequence, there will be a timer to delay some amount of time before jump to the next block. I want to know when will the timer start to count down? It will count down right on it's starting to run code in the block or after all operations in a block have been executed?
Thanks
p.s. I am running the code in labview 7