Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering multiple boards

Solved!
Go to solution

1.  There are two timing engines on your 6534.  You can use them separately, but doing so would take up one port. If you aren't using all 32 lines, then you could do this.  You could have 8 lines at one speed and 24 lines at another speed.

 

2.  You won't have access to the PXI_Clk.  Is the digital waveform that you are using as the sample clock for the AO not periodic at all?  Is it a random array of 1's and 0's, or is the more order to it?

 

Jon S

Applications Engineer
National Instruments
0 Kudos
Message 11 of 15
(1,497 Views)

@Jonathan S wrote:

1.  There are two timing engines on your 6534.  You can use them separately, but doing so would take up one port. If you aren't using all 32 lines, then you could do this.  You could have 8 lines at one speed and 24 lines at another speed.

 

2.  You won't have access to the PXI_Clk.  Is the digital waveform that you are using as the sample clock for the AO not periodic at all?  Is it a random array of 1's and 0's, or is the more order to it?

 

Jon S


 

1. I don't want to lose 8 lines just for triggering, so I think I'll keep using the DIO port on the 6733.

 

2. The waveform is not periodic at all. We need complete flexibility in the timing, down to 1 us over more than one minute. Does this mean I am stuck with using an external clock?

 

Thanks again,

Rob

0 Kudos
Message 12 of 15
(1,496 Views)
Solution
Accepted by robdavis

Here's one possible solution using an internal clock.

 

In order to do timed digital output, we need to supply an "External" clock as you have seen.  We can use an onboard counter on the 6733 as this external source.  What I have done is made a frequency output counter task.  This counter generates a clock source at 1 MHz and routes it to the PXI_trig0 line, which is available to all devices in the chassis.  We can then use this as our timebase on both the 6733 and the 6534.  You will still need to connect P0.0 on the 6733 to PFI 0 externally.

 

Jon

Applications Engineer
National Instruments
0 Kudos
Message 13 of 15
(1,492 Views)

@Jonathan S wrote:

Here's one possible solution using an internal clock.

 

In order to do timed digital output, we need to supply an "External" clock as you have seen.  We can use an onboard counter on the 6733 as this external source.  What I have done is made a frequency output counter task.  This counter generates a clock source at 1 MHz and routes it to the PXI_trig0 line, which is available to all devices in the chassis.  We can then use this as our timebase on both the 6733 and the 6534.  You will still need to connect P0.0 on the 6733 to PFI 0 externally.

 

Jon



That works perfectly. Thank you Jon! And thanks Felix as well. It now does exactly what I was after.

 

Cheers,

Rob

0 Kudos
Message 14 of 15
(1,474 Views)

Hello Rob,

I am trying to do almost exactly what you have done with this program, with the exception of using PCI boards as opposed to PXI boards.   I downloaded your code titled "output" and I was wondering if you could help me to undesrtand just a few pieces of the block diagram.  I know this post is a few years old so I wont be too surprised if this never gets to you, but I'll send out this message with the hopes of hearing back from you. 

Cheers,

Steve Z

0 Kudos
Message 15 of 15
(1,322 Views)