I'm using a similar configuration as in the example "Analog IO Control Loop(hw timed).vi with the exception that I'm not using any Analog outputs. I'm just running a hardware timed loop for analog input only. I have a AI S-scan.vi in a WHILE loop. AI CONFIG and AI START are outside the loop as is AI CLEAR. I have AI START configured to (800) the number of scans to take and a scan rate of 10 per second. AICONFIG set to 0 buffers. Once the scans are completed and my iterations reach 800 I cause the loop to end and read the data stored in an array. The problem I'm having is that after reaching 800 iterations the loop ends but the AI S-SCAN.vi just sits there with a green arrow over the top of it Viewing with Highlight execution enabled. I cannot stop the VI application and have to use a Ctrl-Alt-Del to get out of labview. I wish to use hardware timing to control the loop and terminate it after it reaches 800 samples.
Would greatly appreciate any help.
Brian