Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Re-route the signal on CLKIN to the backplane

Hi All,
 
I am hoping to get some assistance with regards to signal routing and PLL using the 6653 and 4461 cards and a 1042 chassis. During the orignal development of our application we took a 10MHz clk into the rear of the chassis and a 1PPS signal into the PFIO of the 4461. With a number of calls to the NiSync API  and NiDAQ API we were able to achieve PLL, plus transmissions and reception via the 4461 which was triggered via the connected 1PPS.
 
At a later stage in development we decided it would be more desireable (from an installation perspective) to attach the 10MHz external clk to the CLK IN of the 6653 (in the star trigger slot).
 
In the attached ConnectClk.cpp file the commented section of code (shown below aswell)  is the code that was added to reroute the CLK IN to the backplane. This initially appeared to work, however there is a problem. Approximately 5% of transmissions/receptions are not triggering on the PFIO 1 pulse per second external trigger. The system performs faultlessly when the call to niSync_ConnectClkTerminals is removed and the 10MHz is once again connect to the rear of the chassis.
 
Am I using the niSync_ConnectClkTerminals fucntion call correctly??
 
Is there an issue with my use of the niSync_ConnectClkTerminals function call in combination with my other calls to the NiSync API??
 
Any assistance would be greatly appreciated!!!

/*

// Re-route the signal on CLKIN to the backplane, CLK10. If there is no

// signal present on CLKIN it will use the signal on CLK10 if present.

// I'm not sure what happens if there are two different signals on both

// CLKIN and CLK10 - which one will win?

if (NiSyncError(niSync_ConnectClkTerminals(m_objSession6653,

NISYNC_VAL_CLKIN,

NISYNC_VAL_CLK10),

m_objSession6653))

{

return false;

}

*/

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