04-29-2016 05:23 AM
Hi,
I try to build a digital puls genarator with at least 2 channels. Channels have different width and delays but have to be very precise (~10us) to each other.
Components:
- NI PXI-1033
- NI PXI-6221
- BNC-2110
LV v.2014
I used all search engines (google, ni.com, help->find examples...).
This example ( https://decibel.ni.com/content/docs/DOC-25474 ) does what i want, but uses two different counter and is not synchronously. Workaround woud be, to use this example and give both channels one start trigger. but even then i am limited to two channels and i think, that it is not well programmed.
Thanks in advance
04-29-2016 06:44 AM
If you want to have very precise synchronicity, you should be able to produce your pulses repeatedly using a pattern on your DOs
Hope this helps
05-10-2016 08:01 AM
Hi Oli_Wachno,
thanks for reply.
No, sorry, it doesnt help. Can you explain a little more?
Thanks in advance
05-10-2016 01:51 PM
Make first channel continuous counter output, specify duty cycle and frequency, Daq assistant: Generate Signals -> Counter output -> one of your counters. Continuous generation.
For the second pulse use, for example this vi
Help-> find examples -> search for retriggerable -> Gen Dig Pulse-Retriggerable.vi
As the source of triggers specify output terminal of the first counter.
For each trigger pulse it will generate the second pulse after with configurable delay (low time) and width.
This method is the highest precision of pulse widths setting (12.5 ns from 80 MHz timebase) and stability between pulses is timebase stability... better than 50 ps.
Alternatively the board supports hardware timed digital output. You can define up to 8 patterns and output them with 1 us precision.
05-11-2016 08:17 AM
Thanks a lot, i will try to implement it next week and report you.