Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

pad synchronization register level programming

Dear all,

 

the user manual (6602) talks about pad synchronization. I need six counters to start generating PWM - Signals at the exact same point of time. An external trigger should be used. As pointed out in  the user manual, the external trigger is connected to PFI 38, the counters have PFI 38 selected as their gate. I've managed to trigger the PWM Signals, but they are NOT synchronized. In fact I could observe quite a huge time delay between the PWM - Signals. Can you tell me, which bit i need to change on register-level ? Pad Synchronization is not mentioned in the RLPM.

 

Thanks,

 

Nico 

0 Kudos
Message 1 of 7
(9,221 Views)

Hello Nico,

 

first I want to ask you which API you are using, NI-DAQ or NI-DAQmx?

If you use DAQmx, you can enable the "Digital Synchronisation"-Property to enable the synchronisation called

pad synchronisation in the 6601 manual. You can find the details here.

 

If that is not sufficient, let me know.

 

 

Marco Brauner NIG

0 Kudos
Message 2 of 7
(9,189 Views)

Dear Marco,

 

thanks for your reply and sorry for my late answer. I've been bussy 😞 I'm neither using NI-DAQ nor DAQm-stuff, I have to use comedi, since I need a HIL - setup using RTAI, matlab .... That's the reason why I'm posing my questions on the DDK board. I need some information on RL. I've tried your link, but unfortunately it is broken. Can you post it again ?

 

Thanks,

 

Nico 

0 Kudos
Message 3 of 7
(9,109 Views)

Hi Nico,

 

ok, I see. Forget about the link I´ve posted. It´s about DAQmx.

I´ll check out if i can help you with RLP on the 6601. We don´t provide register level programming

assistance normally, we only provide the manual which is here.

regards

 

Marco

0 Kudos
Message 4 of 7
(9,100 Views)

Hi Marco,

 

that would be really nice. I allready hat a look at the RLP - manual, but pad-synchronization isn't mentioned. It is mentioned in the NI 660x User Manual, without telling how to enable it.

 

Greetings Nico 

0 Kudos
Message 5 of 7
(9,078 Views)
Any updates on this?  I would also like to know how to get pad synchronization working with rlp
0 Kudos
Message 6 of 7
(7,864 Views)

I'm not sure if pad synchronization will address Nico's symptoms. As the manual points out on page 13 (Ch 2, pg 2) [1], pad synchronization normalizes propagation delays in the board from the I/O pins to the counters' inputs on the TIO ASIC. However, propagation delays are never more than the period of the fastest timebase on the board (otherwise pad synchronization couldn't be called a feature ;-). Since Nico mentioned seeing "quite a huge time delay between the PWM - Signals", I believe he's facing a different kind of synchronization problem.

My question is: do any of you folks observe asynchronicity due to propagation delay? In other words, is the maximum time between one PWM starting and a second PWM starting equal to the period of the clock on the counter's source? You may just need to use the same signal (provided either externally or internally) to arm-start the counters instead [2].

 

[1] 660x User Manual

http://digital.ni.com/manuals.nsf/websearch/3751AB99F196F6738625768C001307AF

 

[2] What are the 3-bit field choices for Hw_Arm_Sel in PCI-6601

http://forums.ni.com/ni/board/message?board.id=90&view=by_date_ascending&message.id=1638#M1638

Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 7 of 7
(7,834 Views)