From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[DAQ Assistant] Multiple Rates, Multiple Assistants, One Analog Trigger

Here are my hardware specs and what I am trying to achieve:

 

NI cDAQ-9188 (Chassis)
NI 9205 (Voltage - Trigger) @ 50k
NI 9236 (Strain) @ 10k
NI 9237 (Bridge) @ 50k

 

DAQ ASSIST 01 CONFIG - 275k Samples @ 50k Hz with 25k Pre-Trigger
Ch01 - AI0 - Voltage Triggering off Analog Edge
Ch02 -AI0 - Bridge
Ch03 -AI1 - Bridge

 

DAQ ASSIST 02 CONFIG - 55k Samples @ 10k Hz with 5k Pre-Trigger
Ch01 -AI0 - Strain
Ch02 -AI1 - Strain

 

So my problem is that I want to share the trigger between the two daq assistants. DAQ Assistant 1 has the analog channel with the trigger, but I need DAQ Assistant 2 to be able to see it as well. I can't just add the channel as there is an issue with having 1 channel on two different DAQ Assistants. Is there a quick an easy way to handle this problem? If not, is there a working example that I haven't found? I am only using one device to do this.

0 Kudos
Message 1 of 3
(2,232 Views)

The DAQ Assistant is just for small, simple applications.  If you need to do synchronous work, advanced timing, triggering, etc. you need to write real DAQmx code.  Trust me, it's worth the effort to learn DAQmx.  You won't believe how powerful it is until you get under the hood.  The DAQ Assistant is like putting training wheels on a Harley.  Smiley Tongue

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 2 of 3
(2,213 Views)

Go through the Example Finder in LabVIEW (Help->Find Examples).  There are a bunch of examples for DAQmx to do almost anything you want.

 

I would start with the Single Channel analog input example and learn how that works.  Once you are comfortable with what is happening in there, go on to the triggering and shared clock examples.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,194 Views)