LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add EMO button and counter

Hi guys,

Doing a college project and am stuck with this. Honestly haven’t a clue about Labview but been trying my best.

I'm trying to add a counter that will increment every time my slider returns and I also want to add an EMO button to stop the slider instantly.

I've cut the relevant section out of my VI and posted.

Appreciate any help.

 

0 Kudos
Message 1 of 9
(6,292 Views)

Hey Asuran,

 

maybe check some tutorials before trying to wire random stuff - its worth your (and our) time.

After doing so, please describe your problem in a more specific way. Right now I do not see a button and do not understand what your program is supposed to do. Correctly specifying what a program is supposed to do often already solves most of the programming issues you will encounter.

If this is your homework, better go somewhere else - some get quite emmotional about that (;

 

Questionmarker

0 Kudos
Message 2 of 9
(6,288 Views)

LabVIEW Tutorials

_____________________________
- Cheers, Ed
0 Kudos
Message 3 of 9
(6,280 Views)

Please define your abbreviations.  What doesn "EMO button" mean?

 

In your code, your outer while loops are worthless.  Because you have a false constant wired to the stop terminals of all your while loops, that means your code will get stuck as an infinite loop in your inner loop, and the outer loops will never iterate again because the inner loop never finishes.  The only way to end your program is to use the Abort button on the toolbar which is not a good idea.

0 Kudos
Message 4 of 9
(6,269 Views)

An Emo Button:

emo_button.jpg

_____________________________
- Cheers, Ed
Message 5 of 9
(6,265 Views)

Hi guys,

Thanks for the replies. I've tried looking over the tutorials, but i must be just a bit slow 🙂

This is supposed to be the clamp part of a moulding machine.

 

Hi Ravens,

Thanks for the advice, EMO was Emergency Motor Off, to be honest I haven't a clue, this is just a college project but I'm only back in work so have missed last 2 months and this project is due in 2 weeks. Trying to play catch up is just making things more confussing.

All I want to do with this part of the VI is the ability to stop the ram as soon as a button is pressed. And count each time the Ram returns home to indicate a Shot count for parts out.

I know the wiring is awful but i'm so lost I just need to get something that I can submit.

 

Cheers.

0 Kudos
Message 6 of 9
(6,247 Views)

sorry, you cannot suppose us to do your homework.

0 Kudos
Message 7 of 9
(6,229 Views)

@Asuran wrote:

[...] EMO was Emergency Motor Off, to be honest I haven't a clue, this is just a college project but I'm only back in work so have missed last 2 months and this project is due in 2 weeks. Trying to play catch up is just making things more confussing.

All I want to do with this part of the VI is the ability to stop the ram as soon as a button is pressed. [...]


A good general rule to follow is that emergency stops should be controlled by hardware, never by software.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 8 of 9
(6,221 Views)

Hi Jim,

Yea your right, but this is just a simulation for college, it's only going to be opened prob once for 2 min by the lecturer then never seen again. 🙂

Cheers for the advice.

 

@ Questionmaker, I'm not looking for anybody to do my work, I'm totally lost trying to do as in OP but this is just a small part of the whole project, and I was just looking for some help.

 

Thanks.

Message 9 of 9
(6,216 Views)