NI Home > Community > NI Discussion Forums

Driver Development Kit (DDK)

Showing results for 
Search instead for 
Do you mean 
Reply
Member
schnabelvieh
Posts: 5
0 Kudos

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 

Active Participant
Marco_Brauner
Posts: 642
0 Kudos

Re: pad synchronization register level programming

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

Member
schnabelvieh
Posts: 5
0 Kudos

Re: pad synchronization register level programming

Dear Marco,

 

thanks for your reply and sorry for my late answer. I've been bussy :smileysad: 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 

Active Participant
Marco_Brauner
Posts: 642
0 Kudos

Re: pad synchronization register level programming

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

Member
schnabelvieh
Posts: 5
0 Kudos

Re: pad synchronization register level programming

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 

Member
JRWaldon
Posts: 2
0 Kudos

Re: pad synchronization register level programming

Any updates on this?  I would also like to know how to get pad synchronization working with rlp
Active Participant
JoeFriedchicken
Posts: 419
0 Kudos

Re: pad synchronization register level programming

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 VirtualBench Application Software
Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
Senior Software Engineer :: Multifunction Instruments Applications Group
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)