09-19-2019 11:25 PM - edited 09-19-2019 11:25 PM
Hello,
I have an NI 5782 adapter module fitted to an NI 7935R FlexRIO controller. I would like to lock the adapter's internal sample clock to an external 10MHz signal fed in through the CLK IN port as per pages 9 and 10 of the 5782 user manual.
I have not been able to find much documentation explaining how to do this. I am using LabView 2016 and running a multi-sample CLIP.
I have tried using the User Command register as per the NI 5782 Multi Sample CLIP help page, but this does not give instructions for locking to 10MHz through the CLK IN, and I also haven't been able to get any of the other clocking options in the table working either.
Instructions for how to lock to a 10MHz clock applied to CLK IN would be greatly appreciated.
Cheers-
09-27-2019 01:12 AM
Hi GoRoDa, after some discussion with my colleagues, we found out that this example might be able to inspire you on how to achieve your objective.
Kindly have a look at it and let me know how does it go.
Good luck.
09-30-2019 01:09 AM
Hi Soon Kin Wah,
Thank you for your response. I have been using the Clock Select example but have not had any success. Can you please tell me what numerical values I need to enter for User Data 0 and User Data 1 in order to command the module to lock to an external 10MHz through CLK IN? The User Clock Data Settings given in the NI 5782 Multi-Sample Clip documentation do not specify what values need to be entered for this, but the manual says it is an option.
I have attached images of the HOST and FPGA code I am using. I have tried the versions of the FPGA code given in both the Getting Started example and the Clock Select example without success. Can you provide any further clues or guidance?
Regards,
GoRoDa
10-02-2019 03:56 AM - edited 10-02-2019 03:56 AM
Hi GoRoDa,
How are you? Have you solved your problem?
The link you provided cannot be accessed.
I found a link that most likely will be able to assist you in tackling this issue!
This link explained clearly about the definition of each numerical value.
Hope this will be a very useful resource in solving your problem!
10-02-2019 06:51 PM
Hello,
The page I tried to link to was the same one in your link, the NI 5782 Multi Sample CLIP page.
The page does not clearly specify what values to enter for a 10MHz clock through CLK IN.
My understanding is the values should be:
User Command = 0
User Data 0 = 1
User Data 1 = 2
Is this correct? I have tried entering these values through code (attached as images previously) based on the Clock Select example, but have not yet been able to get the 5782 to lock to an external frequency. (I have tried frequencies other than 10MHz as well, all with an amplitude of 2Vp-p. The 5782 did not lock to any of them.)
Regards - G
10-04-2019 01:27 AM
Did you try out User Data 0 = 2?
The Clock Select Vi should be working though
10-07-2019 08:01 PM
Hi.
May I know how is your progress ? did your issue resolved? If yes, may I know how did you resolved it?