07-13-2016 09:48 AM
Thank you so much for your help.
My last question is: If I have one task to read both and log everything, My first block is DAQmx create channel and the second is the time. Then My doubt is:How I can separate two signals in DAQmx?
Thank you.
Regards
Pedro
07-13-2016 02:56 PM
@juanpedro14 wrote:Thank you so much for your help.
My last question is: If I have one task to read both and log everything, My first block is DAQmx create channel and the second is the time. Then My doubt is:How I can separate two signals in DAQmx?
Thank you.
RegardsPedro
1. You will need a second DAQmx Create Channel with the task created from the first one passed into the second and then progress into the timing.
2. When you do the DAQmx Read, just use Index Array to seperate the channels.
07-13-2016 03:51 PM
Hello,
Thank you so much for your help.
The code will be like the code I attached .
Thank you.
Regards.
Pedro
07-13-2016 05:21 PM
1. You do not need to configure the digital trigger line. This task is to log everything.
2. The Index Array is expandable with the first output defauting to the first element and then incrementing elements from there.
3. You should not clear the task until the loop is complete.