LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lab view program regarding laptop hinge and keyboard motion control.

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 

0 Kudos
Message 1 of 6
(2,788 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(2,769 Views)

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.


GCentral
Message 3 of 6
(2,743 Views)

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 

0 Kudos
Message 4 of 6
(2,740 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,735 Views)

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).


GCentral
Message 6 of 6
(2,729 Views)