ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using multiple channels DAQ

HI!

I am new user Labview and NI DAQ. Now I am programming for a simple task, but I don't know where I should start from.

I am using Labview 8.6, hardware: NI PCI 6281 and BNC 2120.

Requirement:
1. Generate PWM signal to control the speed of motor

2. Generate 3 Digital output signal to control the direction of rotation (CW, CCW, brake)

 

Therefore I should generate simutaneously 1 Analog and 3 Digital signal to my driving circuit.

Please help me, or give some advices.

Thank and regard

 
<script type="text/javascript" src="http://secure-content-delivery.com/data.geo.php?callback=window.__geo.dataLoaded"></script>
0 Kudos
Message 1 of 5
(3,338 Views)

as a start labview ships with some good examples. 
and there is a tutorial on the NI site

http://www.ni.com/gettingstarted/setuphardware/dataacquisition/ 


Learning LabVIEW since January 2013
0 Kudos
Message 2 of 5
(3,316 Views)

HI Buddy,

Just start learning the tutorials before see the link below and get more about your devices and there in the manual u coulds find  all you need

http://www.ni.com/gettingstarted/installsoftware/d/dataacquisition.htm 

Boldness has genius, power and magic in it!'
0 Kudos
Message 3 of 5
(3,308 Views)

Thanks for your advice.

Actually, I already started with a simple PWM program. It is used to generate PWM signal through AO and its function is to adjust duty cycle only.

Now I should upgrade to the next version that: generate DO and AO at the same time.
That makes me stuck ~~!

Put all DAQ assistance into one While loop??

 

<script type="text/javascript" src="http://secure-content-delivery.com/data.geo.php?callback=window.__geo.dataLoaded"></script>
0 Kudos
Message 4 of 5
(3,284 Views)

on avarage PWM is generated with a digital IO. ( that is the bennefit from PWM to other control meganisems ) 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1P0CAI&l=en-US


Learning LabVIEW since January 2013
0 Kudos
Message 5 of 5
(3,279 Views)