Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate 2 rectangular signals with pxi 6221

Hi everyone,

 following problem. I try to generate two rectangular signals with adjustable frequencies. The first one is working fine, but when creating the second signal, I get following error:

 

DAQmx Write (Digital 1D U8 1Chan NSamp).vi:2410002<append>

<B>Property: </B>SampClk.Src

<B>Property: </B>SampClk.ActiveEdge

<B>Source Device: </B>Dev6

<B>Source Terminal: </B>Ctr1InternalOutput

 

<B>Required Resources in Use by</B>

<B>Task Name: </B>_unnamedTask<1>

<B>Source Device: </B>Dev6

<B>Source Terminal: </B>Ctr0InternalOutput

<B>Destination Device: </B>Dev6

<B>Destination Terminal: </B>do/SampleClock

 

<B>Task Name: </B>_unnamedTask<3>

 

How can I fix this problem? Or do you have other ideas to realize this example?

VI is included.

 

Kind regards

Jens

 

0 Kudos
Message 1 of 3
(5,163 Views)

 No ideas?

0 Kudos
Message 2 of 3
(5,133 Views)

Hi everyone,

 

I found my solution. I used two counters to create those pulse signals and to adjust the frequency.

 

Here is my solution, it works fine for me.

 

 

0 Kudos
Message 3 of 3
(5,127 Views)