Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Syncing anlog input with digital outputs on NI-6341 with matlab

Hi,

I’m trying to build a simple pump probe experiment with the NI 6341usb , the main idea is to generate two digital pluses with a desired delay between them, and to  get an analog input read which is synced with the second digital pulse.

 

I am using matlab, and I am able to generate the digital pulses but I can’t find any documentation about how to attach an input channel to something.

Any clarification on the “external” trigger and its use will be appreciated, and basically any idea on how to set it via matlab syntax, I couldn’t find this in their documentation.

0 Kudos
Message 1 of 4
(195 Views)

If you're determined with the experiment, are you open to moving to a different language such as LabVIEW, C, C#, Python? because the MATLAB's porting of DAQmx is simplified and doesn't allow you use all features of the advanced hardware.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(163 Views)

Thank you for the reply 

I don’t mind switching to python if that will simplify things.. could you point out to some helpful resources?

0 Kudos
Message 3 of 4
(152 Views)

@Jojo1326 wrote:

Thank you for the reply 

I don’t mind switching to python if that will simplify things.. could you point out to some helpful resources?


Using a NI DAQ Device with Python and NI DAQmx in Windows

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 4 of 4
(141 Views)