LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM PCI-6251

Hi,All
I am had a problem to create PWM in PCI-6251.
I am want the example to create PWM in PCI-6251.
thank you very much
 
zacha
0 Kudos
Message 1 of 15
(4,686 Views)
Hi!
 
 
I used this way to do that.
 
By
Yann
Yann Falevoz
R&D Engineer, Instrumentation & Software
0 Kudos
Message 2 of 15
(4,673 Views)

thank for your reply

0 Kudos
Message 3 of 15
(4,658 Views)
Hello zacha,

You may also want to take a look at the NI-DAQmx example program titled PWM-Counter Output.vi.  This example program can be found in the LabVIEW Example Finder (Help > Find Examples) by searching for the term PWM.  I would also recommend browsing the online example program database at www.ni.com/examples.

Travis G.
Applications Engineering
National Instruments
www.ni.com/support


0 Kudos
Message 4 of 15
(4,640 Views)

thanks Travis G. for your reply.

i am look in example program .it is counter output display but it not digital output (PWM) display.

i am use PCI-6251 to measument position and pressur sensor and create PWM to drive soleniods valve.  

i am want digital output (PWM) are very duty cycle.

plaese example program to digital output(PWM) and show graph display

Best regard,

zacha

 

0 Kudos
Message 5 of 15
(4,635 Views)
Hello Zacha,

A quick search of www.ni.com/examples with the keywords 'PWM' and 'digital' produced the following result:

NI-DAQmx: M Series Digital Channel Pulse Width Modulation (PWM)

I hope this helps,

Travis G.
Applications Engineering
National Instruments
www.ni.com/support
0 Kudos
Message 6 of 15
(4,617 Views)

Hello Travis G.

I am search of www.ni.com/examples with the keywords 'PWM' and 'digital' produced the following result:

NI-DAQmx: M Series Digital Channel Pulse Width Modulation (PWM)

and i use it ,i set duty cycle = 20% but it generate the 64% duty cycle in th first three pulse.

i don't want the first three pulse .How i do

best regard

zacha

0 Kudos
Message 7 of 15
(4,502 Views)
Hi zacha,

I tested that VI and got the same behavior that you were seeing.  The reason why it is generating the first 3 pulses with 64% duty cycle is because the digital output task is initialized with a generic data array that makes up a waveform with this duty cycle.  I have modified the VI to initialize with a waveform that has the preferred duty cycle.

Regards,
Andrew W
National Instruments
0 Kudos
Message 8 of 15
(4,487 Views)

Hello Andrew W

Thanks for your reply. i am don't open this program because i use labview 8.0 student edition.

How i do.

Best regard

zacha

 

0 Kudos
Message 9 of 15
(4,473 Views)
Hi zacha,

Here's the same VI saved in LabVIEW 8

Regards,
Andrew
0 Kudos
Message 10 of 15
(4,472 Views)