LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe-5413 Synchronization and delay programming of both channels

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!

0 Kudos
Message 1 of 13
(2,061 Views)

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

santo_13_0-1661569727673.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 13
(2,054 Views)

I'm very glad to receive your reply!

The timing diagram is shown as followsTiming diagram.PNG

 

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.

 

 

0 Kudos
Message 3 of 13
(2,047 Views)

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.

santo_13_0-1661572946924.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 4 of 13
(2,042 Views)

Thank you  for your reply. I will try it.

0 Kudos
Message 5 of 13
(2,031 Views)

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?

0 Kudos
Message 6 of 13
(2,017 Views)

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?

0 Kudos
Message 7 of 13
(2,015 Views)

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-...

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 8 of 13
(1,981 Views)

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?signal generation.PNG

0 Kudos
Message 9 of 13
(1,963 Views)

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?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 10 of 13
(1,959 Views)