Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Route CTR-Out to RTSI

Hi everybody!

 

My Project: control synchronous motor

 

 

To control a synchronous motor, I need 6PWM signals

3 for the highside as well as 3 for the lowside. For the application I use a PCI6602-Card.

 

At the moment I generate a main clock (Counter 7) to synchronize. It starts the highside, which triggers the lowside.

 

I routed the gates of the highside to GATE0. I connect CTR-OUT7 and GATE0 by a wire. I think its better to route it internal!

 

The programming occurs in C (MATLAB/SIMULINK) at register level for xPC Target. In the manual I couldn't find any information concerning this. I know how to route a Gate to RTSI, but I don't know how to route a OUT-Signal to RTSI. Is there any way to do this in the INPUT_SELECT_REGISTER?

 

Thanks a lot!

 

René!

 

 

Message Edited by rhenrich on 01-28-2010 04:52 PM
0 Kudos
Message 1 of 2
(5,209 Views)

Hello rhenrich,

 

i think the information is included in the NI Measurement Hardware DDK (Driver Development Kit) 

 

There is also a thread setting 6602 registers to latch encoder values on RTSI trigger

 

I hope the infomarmation helps you

best regards
Alexander
0 Kudos
Message 2 of 2
(5,197 Views)