02-04-2016 04:42 AM - edited 02-04-2016 04:51 AM
Hi,
We have two signals, one which is a burst that we generate via a PCIe-6361 and a BNC-2110 to my experimental system, and an other that is directly linked to it (like an echo) which I want to acquire each time we send the first one.
What I tryed :
- Generating a pulse signal and linking it from an output channel to the PFI0 one.
- Using the daqmx virtual pulse generator (CO pulse ticks).
I'm sure that there is an easier way to do that, but I can't manage to find it, would you mind help me ?
Extra info : you'll find attached the two signals (blue emission, yellow reception) I'm talking about.
Thanks in advance !
Solved! Go to Solution.
02-04-2016 05:40 AM - edited 02-04-2016 05:41 AM
Assuming you are using the same card for both AO and AI, you should be able to just use a trigger to start the AI task with the AO task's start pulse.
02-10-2016 12:06 PM
Hi crossrulz !
I implemented your solution and it quite works with finite sample mode. However I had to use the continuous mode as I want to continuously generate the "emission signal".
The emission works perfectly, but at the acquisition I have the -200284 error. I already read and try to make things right by following this recommendations : http://digital.ni.com/public.nsf/allkb/FEF778AD990D5BD886256DD700770103#Trigger.
It's amazing to have this mistake as well Acquisition DAQ receives the desired number of samples (25 000 samples loop with 250 000 sample rate). To be sure I set the timeout of the DAQ to 10 seconds. The error can then be the setup of the trigger ? Do you already use a trigger with continuous sample ?
Regards,
Baptiste