LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchron and simultaneous analog input and PWM measurement

Hallo!

At my current problem I have to measure two signals synchron- and
simultaneously!

My hardware and software:
* PCI-6110 with BNC-2110 panel
* LabView 6i

My signals:
* one analog input on channel ADC0
* one digital PWM signal on PFI9/GPCTR0_Gate
* one digital trigger signal for start data recording on PFI0/TRIG1,
frequenz 5Hz

The measurement of the PWM signal corrects the measurement of the
analog signal. For this I have to record both signals synchron-,
simultaneous- and continously

My History:
I designed two examples where I can measure separate my signals. But
now I have to combine both measure results. For that job I have to
quarantee that both measurements take place at the same sample- and
coun
ting periode. One periode is defined by the 5Hz trigger signal.

My questions:
* How can I implement such problem?
* Does anyone have a suitable sample VI for me?

Thanks a lot
Hannes
0 Kudos
Message 1 of 2
(2,932 Views)
Hannes,

Your problem is a little bit tricky. You cannot trigger the counters like the DAQ so you will get some extra measurements from the counters or you will miss some of them.

What are the frequencies of your signal and your PWM? Can you aquire the PWM together with your analog signal and get the PWM by analyzing the channel? Will the shortest PWM pulse be long enough to get reliable results? Do you need the 5Hz Signal for some timed operation, for example to make the correction not for each PWM pulse but for the 5 Hz signal. In this case you have to sample this signal too.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 2
(2,932 Views)