08-26-2022 09:52 PM
I want to use a channel of PXIe-5413 to output the sine wave and get its synchronized square wave signal as the trigger signal for the output of the second waveform. I also want to program the pulse width, delay and amplitude of the second waveform.
I would be very grateful if you could reply and help me!
08-26-2022 10:08 PM
Could you please share a timing diagram of these signals and how they are related for better clarity?
What have you tried so far?
It is best to break down your requirements into chunks, implement and test them out, and in the end figure out a way to combine all these chunks into one.
Look at the available examples for ideas and how to use the APIs.
Goto LabVIEW > Help > Find examples
08-26-2022 10:44 PM
I'm very glad to receive your reply!
The timing diagram is shown as follows
I'm trying to look at these NI-FGen examples that you mentioned, however, I am a bit confused. For example, I want to get the synchronization signal of channel 0, which may involve sampling clock and reference clock? In addition, I want to use the synchronization signal of channel 0 as the trigger signal of channel 1, but I also want to program the pulse width and delay of every pulse for the output signal of channel 1. I don't know how to design or what structures and controls to use.
08-26-2022 11:02 PM
The simplest way is to create arbitrary waveforms for both these signals and play them as arbitrary waveforms.
Take a look at the dual channel example shown in the below image.
08-26-2022 11:46 PM
Thank you for your reply. I will try it.
09-01-2022 03:21 AM
I would like to ask, for the PXIe waveform generator (dual channel), I set the generated waveform to channel 1 in Labview Fgen, how can the synchronization signal of channel 1 be used as the trigger signal of channel 2, can it be transmitted through PFI 0?
09-01-2022 03:24 AM
I would like to ask, for the PXIe waveform generator (dual channel), I set the generated waveform to channel 1 in Labview Fgen, how can the synchronization signal of channel 1 be used as the trigger signal of channel 2, can it be transmitted through PFI 0?
09-01-2022 08:04 AM
You got some guidance in your last post, what has changed now? https://forums.ni.com/t5/LabVIEW/PXIe-5413-Synchronization-and-delay-programming-of-both-channels/m-...
09-01-2022 09:11 PM
I read the case about “”dual channels arbitrary waveform generation“”, the waves of the two channels can be triggered synchronously by the onboard clock source, but I want to generate two waves of different frequencies (and not an integer multiple relationship), and the waves of each cycle can be triggered synchronously , like signal A and signal B, but don't know how to do it.
Could you give me some suggestion?
09-01-2022 09:37 PM
You can use the start trigger to synchronize both channels.
Question, how do you plan to change the duty cycle per cycle of signal without any processing delay? what determines the change in Signal B delay?