10-25-2020 08:42 AM
Hi all,
I am a new member in this forum and i hope that we will learn a lot logether.
I am in the process of carrying out a project which consists in modifying the shape of a sample by injecting it with cold liquid. I have to control the flow of this liquid with a Labview command but at the moment I have no idea how to do this. Can someone get me started by offering me a program?
Thank you in advance for your answers
Best regards
10-25-2020 09:26 AM
LabVIEW is "software". To control a liquid, you need "hardware". Some hardware (like the faucet on a typical sink) has no easy way to be controlled by software, whether LabVIEW or Excel or Visual Basic. Other hardware, however, can accept (usually electrical) "signals" that can be generated under computer control (i.e. by software).
Similarly, software cannot "know" much about the external world (except if it waits for the User to type something in through a "Standard Input" device), but needs one or more "sensors" that look at something in the external world and translate pressure, light, sound, voltage, etc. into an electrical signal in a form that can be read by a computer, i.e. "more hardware".
Fortunately, you don't need "hardware" to get started on your software development -- you can simulate the hardware by using Software. Take your problem -- "modifying a shape by injecting a liquid".
If the flow is on/off, a Boolean (True/False, On/Off) variable can model the Flow Control. Otherwise, a Dial/Knob can work. LabVIEW has looping controls (While Loop, For Loop) that can model processes that vary over time (like "flow"), and even have Timing Functions that you can use to slow the code down so that it actually simulates "real time".
Get a pencil and a piece of paper and draw out how you might design a simple flow system. [Computer Scientists often call this paper design a "Flow Diagram"!]. Once you think you know what you want to do, see if you can translate it into simple LabVIEW.
Once you have this working, you can think about how to move this to the "real world", thinking about the "sensors" that inform you about the status of the Real World and the "actuators" that alter the Real World.
Bob Schor
10-25-2020 11:26 AM
Bob schor,
Think you for your answer !
The goal is to inject liquid into a sample every 1 second. I will try to make a diagram on paper and then I will come back to you.
Best regards
10-25-2020 04:01 PM - edited 10-25-2020 04:05 PM
What kind of volumes are involved? What is the required volumetric precision? Maybe a syringe and stepper motor is all you need. (example).
To control the stepper motor in LabVIEW, have a start reading here .
11-09-2020 06:24 AM
Thank you Altenbach for your suggestion. Il will try this method.
Best regards