Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Right harware to control proprtional solenoid valves

Hello Yashar,

You are correct, only the 5th and 6th slot of the cDAQ 9172 support counter output signals, and looking back at your original post I see you need 10 (or more) PWM channels! Thus the cDAQ can only give upto 4 channels of hardware PWM.

My example VI is the easiest way to generate PWM and it needs 1 counter per channel. The input duty cycle value can take a number between 0 and 1, 0 = 0%, 0.5 = 50%, 1 = 100%. The LabVIEW Sine function outputs a value between -1 and 1, so its a simple algorithm of scaling by 0.5 and adding 0.5 to get a sine signal that you can input into the PWM duty cycle variable.

As you will realise, the cDAQ 9172 and the digital modules are not able to give you 10 channels of hardware PWM. Applications Engineers (me!) are not best qualified to suggest hardware purchases, so can I suggest you phone your local NI branch and speak to a member of the Sales team and inform them you will need 10 PWM channels with high current sourcing capability and they can talk you through the options.

 

I hope this helps and I am happy to answer any more questions.

0 Kudos
Message 11 of 11
(1,249 Views)