LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read internal counter of cDAQ

Hi

 

I am using cDAQ -9178 with NI 9474 digital output module for generating the SPWM pusle whose pulse width varies from 10 to 390 microsecond. for generating 6 pwm w/f  I have used 1 counter to provide clock sourse to digital line, I am getting the output not is desired form, output which i am getting is pulses of  same duty cycle then after some time it changes the width of all pulses to different pulse widt, output i require is 1 pulse with some duty cycle for 400 microsecond(TON+TOFF), 2 pulse with different duty cycle again for 400 microsecond(TON+TOff) and so on.  the required output imamge is asSPWM

 

How I configure my cDAQ to achive this

 

`

 

 

 

 

0 Kudos
Message 1 of 4
(2,547 Views)

Did you get the desired output? Can you please share your vi with me?

0 Kudos
Message 2 of 4
(1,118 Views)

Hi rbasu34:

    Not yet. What do you mean by vi?😂

   

0 Kudos
Message 3 of 4
(1,108 Views)

@JJ_is_going_to_ask wrote:

Hi rbasu34:

    Not yet. What do you mean by vi?😂 


You posted on the LabVIEW forum. The program routines you write in LabVIEW and store to disk are called VIs for Virtual Instruments.

 

As to your question about what you try to achieve, I only understand Bahnhof, meaning it is as clear as mud to me.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 4
(1,084 Views)