LabVIEW 2013 SP 1
Windows 7 Pro
NI DAQ PCIe-1433
Custom PC board attached to the DAQ
Each individual signal disucssed has been tested and works.
Hi all,
I have an application that does a bunch of setup, when the user presses go, runs a main loop that does a number of things, saving images, etc., and also periodically sets digital output pins HI, and then LO.
This has to be synchronized with the image retrieval and storage.
It is working well.
I need to add 2 Analog Input signals, also synched with the Digital out and the video capture.
I simplified it all so that in the test application, I start the app, set up some preliminary stuff, and when the user presses go, run a main loop.
I've removed the video component and data file components for now.
The test app will trigger a single digial out (e.g. left puff) and start listening on a single Analog In (e.g., left mic).
When the left mic reaches a trigger level, it flags it, and stops listening.
When the time is up, the digital out (left puff) is set to LO.
If the trigger level hasn't been reached when the digital timer is up, it stops listening then too.
That works okay (the first time).
However, the loop keeps running, as it should. When the next time hack comes around the the same thing is supposed to happen again (either left or right), the digital signal is not tripped, and the Analog In is not started.
And that failure is true for all future loop iterations.
I threw in a counter to show me if the LabVIEW was enterring the case statement, and it is counting up as it should. But the signals are not generated.
If I go to the diagram, and turn on the 'lightbulb' tracking; everything works.
I get the digital output when I should, I get the analog in.
When I turn off tracking, it doesn't work past the first iteration.
I've attached the example file.
Any thoughts are appreciated,
Jeff