LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Solenoid Valve with Labview

Hey everyone,

 

Im brand new to LabView and I am in need of some assitance. Ive attached a picture of my block diagram setup. I need help with making the LabView code in order to help run this setup. I want to use LabView to activate my photoelectric sesnor, which when tripped will activate my solenoid valve immediately. The maximum allowable time between the photoelctric sensor being tripped to the valve opening cannot be greater than 50 milliseconds. I would also like to active my high speed camera 1 second prior to the electric sensor being activated. I have included the parts I am using in a list below. Thanks for all the help in advance.

 

Solenoid Valve: SV-282 from Omega

Photoelectric Sensor: Comet 14101A6517

Output cDAQ: NI-9472 (powered by external power supply "NI PS-15 24V")

Input cDAQ: NI-9421

Camera: Phantom v7.3 (connected through ethernet)

 

In summary: with labview, activate camera, activate photo sensor which when tripped will open solenoid valve immediately.

 

Shervin Aslani

0 Kudos
Message 1 of 4
(4,378 Views)

Hello,

 

Since you're brand new to LabVIEW, you are probably going to want to start at this link to get more familiar:

 

http://www.ni.com/gettingstarted/labviewbasics/

 

Have you written any code to start out with? If you have, you can post it up and perhaps someone on the forum might have advice for you on it.  This link might also be good since you will be interfacing with hardware:

 

http://www.ni.com/white-paper/2835/en/

 

Mason M
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,303 Views)

You're at the fun stage of the project!  You can start to write instrument drivers while (at the same time) learning how to program a state machine. 🙂

 

I LOVE starting projects 😄  I hate the tedium of finishing them... until they're done, then I love it again.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 4
(4,289 Views)

Duplicate post.  Being handled here:  http://forums.ni.com/t5/LabVIEW/Solenoid-Control-with-LabVIEW/td-p/2509754/page/2

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 4 of 4
(4,272 Views)