Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6052E: Read ADC at falling edge

Hi everybody!

 

I use a PCI6052E-Card and xPC target system.To control a ac-motor, I generate a 3phase-pwm signal, synchronized by a main clock. The pwm signals are symmetric. I use the falling edge of the main clock to do this. Now I would like to measure the current with a DCCT. To reduce the noise, I will trigger the measurement at the falling edge of the main clock. 

 

Theres no driver for an xPC-system, so I need to program in C in Register Level. I know the DAQ examples. I have the DAQ-STC Reference and the PCI-E-Series Manual. In Simulink exist only one block to use the AD on a PCI6052 Card. I try to modify it, because I think it is a good basis.

 

I used the main clock as an (a) external convert signal, (b) an external convert&start signal (single wire acquisition) but I got nothing.

 

What I need is to to scan/sample the ADC for one time, every falling edge if my main clock.

 

Thanks,

René

0 Kudos
Message 1 of 2
(2,989 Views)

Hello René,

attached you’ll find all available resources for the Register Level Programming. 

Measurement Hardware Driver Development Kit Register Level Programming Architecture
https://www.ni.com/en/support/documentation/supplemental/18/measurement-hardware-driver-development-...

Measurement Hardware Driver Development Kit Frequently Asked Questions
https://www.ni.com/en/support/documentation/supplemental/18/measurement-hardware-driver-development-...

Kind regards
Ulrich
AE-NICER

0 Kudos
Message 2 of 2
(2,899 Views)