Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

DAQmx Data Acquisition not triggering off Counter timing

$
0
0

Good evening, or whenever for the readers.

 

My research group is having some troubles attempting to incorporate multiple pieces of machinery together through LabVIEW. We are working in LabVIEW 2017, and are attempting to simultaneous start a function generator, a PCI-6601 Counter and a digital mirror device (a DLPC900). We want a simultaneous start because the DMD is set up so that the function generator provides the impulse for a set of patterns to start displaying, and the PCI Counter times the DAQmx Trigger so that it should theoretically take data at the very beginning of this timer, and not in a different time frame. We need the PCI to trigger our data because we need the trigger to operate for the entire set of patterns, not every single pattern.

 

So, to try and do that we've made the vi I've attached, but we receive a -200284 error for the DAQmx running. I've ran through while highlighting execution, and I cannot see any errors other than the missed data collection, as shown here:

FG+Counter Issues - Running.PNG

My question is how exactly we can adjust this to work properly? Are there instances where lines of code are running simultaneously that need to be sequential? Or is it a problem In the commands I'm using to run through the program? For reference, the data collection is from a standard photomultiplier tube detector, which I assume can be simulated, though I don't know how. Also, the subvi attached in the latter half of the vi below is merely the same program done to call on our function generator through the VISA identification that I have split up through the first 3 sections of this vi.

 

Any help would be greatly appreciated!


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>