06-05-2018 03:27 PM
hello im new to labview and daq
i have a project to control a dc motor with labview and daq usb 6009
i need help with the block diagram and also with the wiring and connection from the breadboard to daq.
Can anyone help?
06-05-2018 11:01 PM
You should provide us more detailed information.
Your LabVIEW skill is uncleared, what have you learned about LabVIEW?
You don't provide us your situation. What type of motor are you going to use?
What do you need? Example Code? Idea?
06-09-2018 09:05 AM
I want to control the speed of a dc motor using labview and daq
06-09-2018 10:09 AM
Information about the physical wiring will likely be found in the manual/datasheet for the motor and the specifications of the DAQ device.
I'd start by breaking down your task into smaller pieces:
1: Determine what sort of input controls the speed of your motor. Is it an analog voltage?
2: Determine the scaling for different levels of speed that you're interested in. Create some VI which maps (scales) an input that you care about (speed) into a value the motor cares about (voltage?)
3: Check the examples programs (under the help toolbar) for DAQmx examples that provide the appropriate output type. This is probably analog output, but if your motor is more complicated it might involve digital signalling.
4: Start tying together your SubVIs to make a program. Read an input value, convert to an output, then send to the motor. Consider placing this in a While loop if you want to have it update as you change a control. Make sure not to run the loop too quickly (the DAQmx timing might help you here, depending on how you set things up.
Report back throughout if you have any more specific difficulties 🙂