LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert pwm to voltage

Hi, I'm okky

 

Can I convert PWM to voltage using analog output in NI-USB 6009 ?

I will be happy if you suggest example to me

 

regard

okky

0 Kudos
Message 1 of 7
(3,605 Views)

The 6009 is a software timed device.  You're going to have a hard time doing much of anything with it and pwm.

 

But, here's a starting point: https://decibel.ni.com/content/docs/DOC-2066

 

I trust you can handle an AO task on your own or with the example finder

0 Kudos
Message 2 of 7
(3,585 Views)

what is the function of this vi ?

0 Kudos
Message 3 of 7
(3,578 Views)

@okky.septa.c wrote:

what is the function of this vi ?


"This vi converts a sine wave into a PWM signal and then demodulates that signal back into a sign wave."

0 Kudos
Message 4 of 7
(3,551 Views)

Try measuring your PWM with Pulse Measurements VI. One of the outputs of this VI is duty cycle. Depending on the output from 0-100% duty cycle you can drive the analog out of your 6009. Multiply 0-100% by .05 and 0-100 will convert to 0-5V.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
0 Kudos
Message 5 of 7
(3,530 Views)

can you suggest to me some example with pulse measurement vi. because I'm beginner in this LV

 

regard

okky

0 Kudos
Message 6 of 7
(3,494 Views)

We were all beginners at some point, here is some free training if you are interested.

 

NI Learning Center

NI Getting Started

-Hardware Basics

-LabVEW Basics

-DAQ Application Tutorials

 

3 Hour LabVIEW Introduction

6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training

 

You can search the Help >> Example finder, I assume there is some example on tone measurement.  Are you able to get the data using DAQmx or DAQ Assistant?  As mentioned earlier your device will have a hard time getting analog data fast enough.

0 Kudos
Message 7 of 7
(3,468 Views)