LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

a VI system in which two motors are controlled with the following logic

Solved!
Go to solution

I'm to design a simple VI using switches and and LED's but I'm unfamiliar with the LabView. Any help will be very much appreciated. Screen Shot 2020-09-08 at 12.35.12 PM.png

0 Kudos
Message 1 of 5
(979 Views)

Do you have a specific question? Is this a homework assignment? What is the subject of the class and why do you need labview when you are unfamiliar with it?

 

I would recommend taking a look on the internet and downloading a trial copy or community 2020 copy of labview to play around with some very good tutorials out there that will get you started.  When you have problems, then come to the forum to ask specific questions.  It will be easier for us to help at that point.

 

EDIT: Sounds like you have states that you want to achieve thru some "if this then do this" statements (case structures and while/for loops).

0 Kudos
Message 2 of 5
(945 Views)
Solution
Accepted by topic author johny917

What you have shown looks like some relay logic.

 

I don't recognize the symbols for S1, S2, and S3.  I'm guessing they are all momentary switches.

Switches with one end always connected in the symbol imply toggle switches.  Switches that have both ends disconnected are  momentary normally open, and ones with it underneath and touching the circles are momentary normally close.

 

Momentary switches in LabVIEW can be treated as Latch when Released, (or maybe when Pressed in this case.)

For the logic you just need boolean logic.  Keep the status of the motor contactors in shift registers.

 

When you press S1, it puts a true in the shift register.  When you press S2  AND the shift register for motor 1 is True, then you put a true in the 2nd shift register.

When you press S3, it puts False into both shift registers, no matter if you have S1 and S2 pressed.  (But in LabVIEW, it is impossible to press more than 1 button at a time, while in the real world, you can.

0 Kudos
Message 3 of 5
(935 Views)

No, this isn't a homework assignment. I'm taking an introductory class to lab view and that means having to become familiar with labview.

0 Kudos
Message 4 of 5
(891 Views)

Thank you for the help! Turns out the directions weren't clear and have since been updated. Which is explains why i was confused. The setup i did was basically using LED's and switches and got it to work.

0 Kudos
Message 5 of 5
(889 Views)