07-12-2011 05:22 PM
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
07-12-2011 08:56 PM
@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
07-13-2011 08:50 AM
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
07-14-2011 05:30 PM
@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
07-21-2014 09:15 AM
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