LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control of two DC motors to simulate a plotter

Hello,

 

I'm making a program with two DC motors. 

I want to enter a word in Labview and the engines write that word (moving them into X, Y).

I know what position the engine is from labview, but I don't know how i can do that the program read one letter or word.

 

Thanks

 

 

I have Labview 2011

2x Epos2 P 24/5 conected by USB
Motor Maxon DC RE 30 ∅30 mm, Graphite Brushes, 60 Watt
Motor Maxon DC RE 40 ∅40 mm, Graphite Brushes, 150 Watt

2x Encoder MR, Type L, 256 - 1024 CPT, 3 Channels, with Line Driver

0 Kudos
Message 1 of 5
(2,685 Views)

I guess I'd make a library of motor movements that correspond to ASCII characters written as motor offsets, not hard values.  Can you take it from there?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(2,673 Views)

Hello,

 

How can I make the library? with Labview or other program? Have to be .dll?

and how can i do the program read a letter?

 

I'm a little lost

 

Thanks 

Download All
0 Kudos
Message 3 of 5
(2,647 Views)

Hello,

 

I have already a file which read letters and convert them on numbers. Now I need to call each file of the library depending with the motor movements.

any help?

 

Thanks

 

 

0 Kudos
Message 4 of 5
(2,615 Views)

@Alex25 wrote:

Hello,

 

I have already a file which read letters and convert them on numbers. Now I need to call each file of the library depending with the motor movements.

any help?

 

Thanks

 

 


I think you are on the right track!  You can parse the array with an auto-indexed for loop call your library of movements based on the value of the array element.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(2,598 Views)