01-31-2020 12:19 AM
hello guys,
I am using LabVIEW for automation. currently I want to make a tabview program for machine in which I place a laptop and bend it up-down to check its hinge strength . and I want to make a program I which I can enter number of motion and angle to down ad back. and plot a graph for it . same thing I want to do to do the keyboard testing to control the motion of machine .
kindly help me regarding this program and also any suitable hardware to install for this .
thanks in advance
01-31-2020 12:44 AM
Hi Dianle,
@Dianle wrote:
kindly help me regarding this program and also any suitable hardware to install for this .
thanks in advance
Generic answer to your generic question:
You need some hardware like DAQ devices, (linear?) actuators to actuate the laptop screen (or keys on your keyboard), some sensors (maybe a force sensor will make sense?).
As this is a mechanical setup with movement and forces applied safety considerations should take place before building your testbench and starting any software.
With LabVIEW you need to communicate with your DAQ devices, read in sensor data and output commands/setpoints to your actuators! (Saving data to a log file might make sense, too.)
When you have specific (LabVIEW related) questions please come back and ask them here…
01-31-2020 02:00 AM
Do you already have the testing hardware (i.e. arms for laptop, button pressing actuators or similar for keyboard)?
If so, some information about that hardware (primarily its I/O methods, ways to control it) would allow better advice in terms of acquisition and control hardware (NI/DAQ side).
In terms of the software, determine what things you want to log, where you will get the information from (probably your testing devices, possibly via a separate DAQ board/device), and how you'd like it visualised - one graph with many plots, many graphs with one plot each, some combination?
Graphing things is pretty easy with LabVIEW, as is acquiring data from NI devices. For other comapanies' devices, it can vary in difficulty but is generally possible one way or another.
I'd guess most of the difficulty for this problem will be the physical setup of your test machinery.
01-31-2020 02:01 AM
thanks for your valuable reply.
actually I am looking some help regarding block diagram , for laptop hinge test and its motion down and upward ,as we open and close laptop. so I can input the number of motion and angle to what extent I want to bend it down. and based on this I can plot graph between force (applied) and angle. and as u suggesting we can use DAQ as interface between labview and machine .
thanks
01-31-2020 02:03 AM - edited 01-31-2020 02:04 AM
Hi Dianle,
@Dianle wrote:
actually I am looking some help regarding block diagram , for laptop hinge test and its motion down and upward ,as we open and close laptop. so I can input the number of motion and angle to what extent I want to bend it down. and based on this I can plot graph between force (applied) and angle. and as u suggesting we can use DAQ as interface between labview and machine .
What help are you looking for? Still just very generic questions…
Again a generic answer: implement your test procedure as a state machine!
01-31-2020
02:21 AM
- last edited on
05-13-2025
01:25 PM
by
Content Cleaner
Hi Dianle,
Yes - regarding an interface between LabVIEW and some machine, some sort of DAQ board would be a common tool. LabVIEW interfaces easily with NI hardware, often using a driver called DAQmx. This can allow things like analog and digital inputs and outputs, along with counters as common measurements/controls.
Some devices have other hardware built in for specific types of measurements, for example TEDS load cells or temperature measurements and so on, but these can generally be implemented in terms of the more generic hardware with a little work and perhaps a few additional components (like a power supply).
As GerdW said, a State Machine is a good starting place for a LabVIEW design. You can transition between states to change the behaviour at a given time, for example "Open hinge", "Close hinge" perhaps.
A good idea if you want to use this design idea is to first try and work out a state diagram, using a pen/pencil and paper - that way you can get a basic idea of what you want to do and work out what you'll need to program to make it work.
If you have such a diagram already, it should be possible to work on implementing it in LabVIEW fairly straight-forwardly (although whether it is easily or not probably depends on your experience with LabVIEW and the amount of training material you've read/watched your way through).