Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PWM Display and Output to DAQ

3 views
Skip to first unread message

Dan916

unread,
Jun 26, 2008, 7:10:07 PM6/26/08
to
Hi All,
 
I am a newbie to LabVIEW and I don't know much about it. Anyways I am trying to generate a PWM signal in order to control a motor, subsequently, I have downloaded the examples of PWM on <a href="http://zone.ni.com/devzone/cda/tut/p/id/2991" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/2991</a>. So&nbsp;how can I display the PWM signal on a chart ? (I am getting some weird conversion error when I directly connect it to DAQmx Start Task.vi or DAQmx Is Task Done.vi). What kind of conversion do I have to do ?
&nbsp;
Moreover, I want to pass this PWM signal via DAQ to the motor, how can I do this ? (I am using 6025 DAQ.). A Vi showing the connections will be highly appreciated.
&nbsp;
Cheers
Dan916
&nbsp;
&nbsp;

Steve_B

unread,
Jun 29, 2008, 5:40:05 PM6/29/08
to
Hi Dan916,
&nbsp;
The PWM signal that you are generating is being created in the hardware so in order to display it on a graph you would need to measure that signal through an input. You could use an example from the Example Finder in order to read it back in. The use the Example FInder go to Help&gt;&gt;Find Examples from LabVIEW.
&nbsp;
As far as connecting your signal to your motor, you are going to need to connect the signal from your counter output. The pinout you are looking for can be found on the last page of the linked specifications manual. You would be looking to use Ctr 0 Out or Ctr 1 Out depending on the counter you are using in your application.
&nbsp;
NI 6023E/6024E/6025E Family Specifications<a href="http://www.ni.com/pdf/manuals/370719c.pdf" target="_blank">http://www.ni.com/pdf/manuals/370719c.pdf</a>
0 new messages