From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FieldPoint devices and LabVIEW program for educational project

I use LabVIEW 7.1 and NI FieldPoint devices (FP-1000) for educational
purposes. I want to control a automation unit which has got 6 digital
input(DI) and 5 digital output(DO). I used the sequence structure, but
actually I am not sure the solution whether true or not.

Working principle of my system:

If "Channel 1" DI is ON, DO Channel 10 must be "ON"(turn table motor
Start)

If Channel 2 DI is ON, DO Channel 10 must be "OFF"(turn table motor
Stop) and DO Channel 11 must be "ON" (drill motor Start) and after a
delay time DO Channel 12 will ON (drill motor down)

If Channel 3 DI is ON, DO Channel 12 will OFF, a bit of delay time DO
Channel 13 ON ( drill motor up)

If Channel 4 DI is ON, DO Channel 13 and Channel 11 will be OFF (drill
motor stop) and then DO Channel 10 must be activated.(turn table again
Start)

If Channel 2 is ON again DO Channel 10 will OFF and check cyclindir
control Channel 14 will ON, after a delay Channel 14 will OFF

If Channel 5 DI is ON, DO Channel 10 will ON again while DI Channel 2
is ON.

How can I project the system with LabVIEW 7.1?

Thanks, stn

0 Kudos
Message 1 of 5
(2,522 Views)

Your description is not particularly clear.

For example, what happens if DI 1 and 2 are True at the same time? Is DO 10 T or F?
What's the difference between the DI 2 at the beginning and at the end?
And so on...

As a start, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).

To get more details about might be relevant for this case, try searching for "state machine" and look at the examples in the File>>New dialog.


___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(2,508 Views)
Other than using the state machine template in LabVIEW, be sure to have a look at the NI LabVIEW State Diagram Toolkit.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 5
(2,488 Views)
This is a pneumatic technical experiment set. Your suggestions okey
but I have already studied these subjects.I have tested a solution for
the system using the sequence structues in the LabVIEW. But if you
sent to me an example vi, I will understand the solution way.Thanks.

Working principle of my system as a summary:


Step 1: When DI 1 is ON, DO 1 must be "ON"(turn table motor
Start) while DI 2 is ON. In this case DO 2 must be "ON" (drill motor
Start) and after a bit
time delay DO 3 will ON (drill motor down),

Step 2 : when DI 3 is ON,(drill bottom level), DO 3 will OFF, after
that DO 4 will ON ( drill motor upper position) in this case DI 4 is
ON, after that DO 1 again ON while DI 2 is ON (like step 1)
***********************************************************************
*********************************************************************

On 27 Ocak, 21:40, tst <x...@no.email> wrote:
> Your description is not particularly clear.
> For example, what happens if DI 1 and 2 are True at the same time? Is DO 10 T or F?What's the difference between the DI 2 at the beginning and at the end? And so on...
> As a&nbsp;start,&nbsp;I suggest you try searching this site and google for LabVIEW tutorials. <a href="http://cnx.rice.edu/content/col10241/latest/" target="_blank">Here</a>, <a href="http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a..." target="_blank">here</a>, <a href="http://www.mech.uwa.edu.au/jpt/tutorial/index.html" target="_blank">here</a>, <a href="http://www.iit.edu/~labview/Dummies.html" target="_blank">here</a> and <a href="http://www.upscale.utoronto.ca/GeneralInterest/LabView.html" target="_blank">here</a> are a few you can start with and <a href="http://www.fafiles.com/" target="_blank">here</a> are some tutorial videos. You can also contact your local NI office and join one of their courses. In addition, I suggest you read <a href="http://zone.ni.com/devzone/conceptd.nsf/webmain/CB5E46406090C61C86256..." target="_blank">the LabVIEW style guide</a> and the LabVIEW user manual (Help&gt;&gt;Search the LabVIEW Bookshelf).
> To get more details about might be relevant for this case, try searching for "state machine" and look at the examples in the File&gt;&gt;New dialog.

0 Kudos
Message 4 of 5
(2,479 Views)
I really still don't understand what you're trying to do, but here's some example code. Maybe it will help you. This is not how my code would look, but I have no idea what your code is supposed to do, so I can't give any real advice.

___________________
Try to take over the world!
0 Kudos
Message 5 of 5
(2,474 Views)