01-06-2015 11:32 PM - edited 01-06-2015 11:34 PM
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
01-07-2015 12:32 AM
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
01-07-2015 12:49 AM
what is the function of this vi ?
01-07-2015 08:33 AM
@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."
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-07-2015 12:11 PM
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.
01-07-2015 11:57 PM
can you suggest to me some example with pulse measurement vi. because I'm beginner in this LV
regard
okky
01-08-2015 08:23 AM
We were all beginners at some point, here is some free training if you are interested.
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord