Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

6221 digital outputs synchronization

Hi

my problem is rather trivial but I cannot find a working solution.

I am using a 6621 card and I want to produce 4 digital signals from it:

-a digital clock of 10 Mhz (the value is indicative

-a bit pattern on the three remaining lines. The bits should be synchronized to the clock.

 

I managed to produce the signals independently, but they appear to be out of sync: the bits move randomly with respect to the clock.

I tried to study this and this pages, but so far I had no luck to have everything working properly.

 

Any hint or suggestion would be greately appreciated.

Thanks.


Paolo

0 Kudos
Message 1 of 3
(3,328 Views)

Hi Paolo,

 

I think that the solution for your problem is to share the clock of your digital channel. I suggest to you to see the screenshot below: remeber to select "Digital output" in the create channel VI and to arrange the entire VI as you like.

 

Ciao!

 

PCI-6221.jpg

______________________
Simone S.
Academic Field Engineer - Med Region
0 Kudos
Message 2 of 3
(3,311 Views)

Ciao Simone,

 

thanks a lot for the quick reply and for the example. I started from that and finally managed to have my VI working.

 

Cheers,

Paolo

0 Kudos
Message 3 of 3
(3,308 Views)