Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronized AO and DO

Hallo,

 

I am trying to output two waveforms on my DAQ X-Series 6363. One of them is an analogue and the other one is digital waveform.

The system is supposed to work simultaneously and both channels should be synchronized.

I tried it in two different ways, but none of them seems to work properly.

 

1. way:

I created an additional counter-task and used the vi "Get Terminal Name with device prefix" and used the input-parameter "Ctr0InternalOutput" and connected output-wire to the DAQmx-Trigger-vi. I either can see the analogue or the digital signal on my scope. Depends on which channel I trigger. I assuemd that there is still i timing problem.

 

2. way:

On the second way, I connected the source of the  "sample-clock from the analogue output" to the source "DAQmx Sample-clock"  in the digital path. It is showing at least a signal, when I connect a scope, but the output frequency of the digitalsignal is totaly wrong, about 10 time to high. Do I need to adjust any input parameters like sampling-rate or sample.

 

I attached a screenshot of both version. Hopefully anybody has an idea.

Thank's

Download All
0 Kudos
Message 1 of 2
(2,799 Views)

Hi!

 

What does "none of them seems to work properly" mean?

Do you get an error code? Have you tried to highlight your VI in order to check wher the error occours?

0 Kudos
Message 2 of 2
(2,777 Views)