LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronize PXIe-6674T clock to an external trigger?

Dear Professionals,

 

Could you, please, help me with the following problem:

 

We have PXIe-1095 chassis with PXIe-6674T and PXIe-5763 digitizer.

 

The idea is to synchronize the chassis with an external trigger (currently below 1 MHz, in the future it will be 13 MHz).

 

So, I tried to use PLL to lock PXIe-6674T clock (ClkIn to PXI_Clk10_In route) to the trigger signal. However, despite "no error", PLL is never locked.

 

Do you have any idea what I do wrong or, actually, what is a proper way to do such synchronization?

 

If you need more information, please, let me know...

 

Thanks in advance...

0 Kudos
Message 1 of 3
(1,684 Views)

Hi, @alex2013,

 

@alex2013 wrote:

Dear Professionals,

...


 

Spoiler

So that you know, some of us (myself included) only pretend to be Professionals. 😁

As such, if an actual expert responds later, take their advice over mine.

 

Do you have any idea what I do wrong or, actually, what is a proper way to do such synchronization?

 

If you need more information, please, let me know...

Attaching a copy of your VI always helps. (Preferably in an older version of LabVIEW, so that more users can open it.)

To quote another user, 

“It is amazing what kind of errors we can find in code when it is possible to see the code!” -RavensFan, 07-14-2020

 

 

Also, if you want to learn about triggering in LabVIEW, a great place to start (if you have access to it) is through the Online Training.

This course in particular discusses many of the finer points of triggering.

 

If you don't have access to Online Training, you should check out Learn LabVIEW or search in the example finder for the word "trigger".

 

 

 

All of that aside, when you say "trigger", what do you mean? Are you trying to trigger off of an event repeatedly, or "trigger" the start of whatever-you're-doing, and then synchronize using the same source clocks?

 

-joeorbob

0 Kudos
Message 2 of 3
(1,616 Views)

Hi, joeorbob.

 

Thanks for your message.

 

Sorry, I forgot to mention that to start with I used one of the examples from Examples Finder.

I slightly modified it for my task.

Attached is the code I use (I put two versions - for LabView 2019 and Labview 2018).

 

I hope this helps...

 

Best...

 

PS. So, first, I connect ClkIn and PXI_Clk10_In terminals (External trigger is connected through ClkIn SMA connector). 

And then I share PXI_Clk10 with PXIe-5763 digitizer.

 

0 Kudos
Message 3 of 3
(1,603 Views)