Hi,
I'm trying to figure out a way to use labview and NI USB-6211 to generate and control the output pulses and data taking in well timed sequences. The goal is that I can input a table of parameters in the front panel and the DAQ can generate the corresponding sequences (a simple illustration attached(sorry about the bad drawing)). I would like to have a precision on the level of milliseconds between shots and microseconds within shots, for now, and I might use some external timing source in the future.
![Screenshot (5).png Screenshot (5).png]()
I tried the stacked sequence, using a counter channel as the main output, and other channels triggered off it to ensure precise timing. The VI is attached, the file name is mainsequencebettersync.vi.
The problem with such method are:
1. the timing between shots are not very precise.
2. I have resources conflict problem when either multiple analog output channel, or multiple analog input channel are active within a shot (error 89137 and 50103).
3. if I want more shots (frames in the stacked sequences) with different configuration, I have to create then in the block diagram and reconfigure all the front panel controls. In the future, there might be tens or even hundreds of shots, so it will get out of hand real quick. Not to mention I will need to modify the number of shots and the configurations within quite frequently.
So here's my question: is it possible to achieve the goal I described above with the software-hardware combo I have? If so, can you tell me how to do it? If not, can you recommend some hardware and software that can achieve my goal?
Thank you in advance