04-05-2023 09:29 AM
@govindsankar wrote:
What I actually need is to control a hydraulic press. So when I press a button, my labview program will read the button has been pressed. Then the program will inform the control system of the hydraulic press that the function has to be performed, and then the press will put holes in a battery cell. This is the process that has to be done.
This kind of thing requires some SERIOUS safety concerns. Your code has to be BULLETPROOF or someone could get seriously injured! IMO something like this should be either be completely automated (no one is allowed near the press during operation) or completely manual. Mixing the two is asking for trouble.
04-05-2023 10:02 AM
Ok, so I connect my push button to the digital terminal of the cRIO and labview to cRIO, so when I press the button I can read that by using the cRIO. This is correct right?
04-05-2023 10:14 AM
@govindsankar wrote:
Ok, so I connect my push button to the digital terminal of the cRIO and labview to cRIO, so when I press the button I can read that by using the cRIO. This is correct right?
There are few aspects to cRIO, there is the FPGA part, RT part and the remote connection to a host part.
FPGA and RT code run on the cRIO, you can program these to make fast and deterministic actions based on inputs. Ideally, you implement a FPGA logic that reads the input from the push button switch and signal outputs to turn on the hydraulic press.
04-06-2023 12:06 AM
Is cRIO the best solution or are there other DAQ products which can be used. Thank you.
04-06-2023 01:40 PM
@govindsankar wrote:
Is cRIO the best solution or are there other DAQ products which can be used. Thank you.
As mentioned before, any DAQ will work. Even a "cheap" USB-6001 would work.
04-06-2023 02:22 PM - edited 04-06-2023 02:23 PM
@govindsankar wrote:
Is cRIO the best solution or are there other DAQ products which can be used. Thank you.
The answer will depend on how critical is this automation? will a windows crashing during run will cause a catastrophic failure of your machine?
Try to answer this - imagine yourself operating this machine and the windows machine crashes, would you be still safe? and secondary will the machine will still be in good condition?
04-06-2023 04:23 PM
@santo_13, I'm going to try to be polite but there isn't a very delicate way to put this.
The sum total of what you've posted in this thread leads to the overwhelming conclusion that you know almost nothing about data acquisition and machine control... and you're talking about controlling a hydraulic press.
The best advice I can give you is to go to whoever assigned you this task, and request to be reassigned to something more basic. There is a huge knowledge gap between where you are and where you should be before writing a program that controls a piece of heavy machinery.
If that isn't an option, try some Google searches for "simple data acquisition in LabVIEW" or something along those lines. There are tons of good videos and tutorials that will get you started.
04-06-2023 04:58 PM
@BowenM wrote:
@santo_13, I'm going to try to be polite but there isn't a very delicate way to put this.
The sum total of what you've posted in this thread leads to the overwhelming conclusion that you know almost nothing about data acquisition and machine control... and you're talking about controlling a hydraulic press.
The best advice I can give you is to go to whoever assigned you this task, and request to be reassigned to something more basic. There is a huge knowledge gap between where you are and where you should be before writing a program that controls a piece of heavy machinery.
If that isn't an option, try some Google searches for "simple data acquisition in LabVIEW" or something along those lines. There are tons of good videos and tutorials that will get you started.
The OP is @govindsankar; @santo_13 was just giving advice. Excluding the name mistake, you are correct, this project seems a little advanced for the OP.
04-06-2023 10:50 PM
@mcduff wrote:
@BowenM wrote:
@santo_13, I'm going to try to be polite but there isn't a very delicate way to put this.
The sum total of what you've posted in this thread leads to the overwhelming conclusion that you know almost nothing about data acquisition and machine control... and you're talking about controlling a hydraulic press.
The best advice I can give you is to go to whoever assigned you this task, and request to be reassigned to something more basic. There is a huge knowledge gap between where you are and where you should be before writing a program that controls a piece of heavy machinery.
If that isn't an option, try some Google searches for "simple data acquisition in LabVIEW" or something along those lines. There are tons of good videos and tutorials that will get you started.
The OP is @govindsankar; @santo_13 was just giving advice. Excluding the name mistake, you are correct, this project seems a little advanced for the OP.
I mean, it's okay to attempt something above your pay grade, but in this case, someone could get seriously injured (or even killed) by a bug in the program. Best to let someone very experienced handle this one.
04-06-2023 11:38 PM
To summarize the fellow members responses,
To answer your original question, you need some kind of DAQ to detect or read a push button switch state and use it in your application to do other stuff (if you think about this, keyboard is by itself a push button that interfaces with the computer).
On a broader aspect, you need to seriously consider the safety aspects of automating a heavy machinery using an application running on windows machine. Typically, automations involving expensive/heavy equipment and human safety risks includes a lot of safety mechanisms considering all failure modes.