LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure a short time between two different voltage inputs

I want to wire up the trigger of an air rifle and place a photo cell at the end of barrel to detect the exit of the projectile to get the time between trigger pull and pellet leaving the barrel. Is this possible and could someone help me write a program in labview?

0 Kudos
Message 1 of 6
(3,245 Views)

@Justin986 wrote:

Is this possible and could someone help me write a program in labview?


This is possible, but you'll have to do more work on your end.

 

The forums are here to help you when you are having trouble and guide you along the way. If you want someone to help you write the program, you'll find there is a board called LabVIEW Developers Seeking Employment. Otherwise, you should try to start on your own and then come back with what you've tried if you run in to issues.

 

If you are starting out in LabVIEW, there are free training tools.

"Give me six hours to chop down a tree and I will spend the first four sharpening the axe."  - Abraham Lincoln

Here are some free training tools primarily focused on LabVIEW and NI hardware to help get started.

NI Learning Center

NI Getting Started

-Hardware Basics

-MyRIO Project Essentials Guide (lots of good simple circuits with links to youtube demonstrations)

-LabVEW Basics

-DAQ Application Tutorials

-cRIO Developer's Guide

Learn NI Training Resource Videos

3 Hour LabVIEW Introduction

6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 6
(3,226 Views)

Thanks, I will look into those. I am just begining, this is a school project.

 

 

0 Kudos
Message 3 of 6
(3,213 Views)

Sounds like a simple counter should do it.  Well, one that can do A-B timing.  From there, just dig into the DAQmx examples (assuming you are using an NI DAQ device).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(3,192 Views)

I once worked with a world-class small-bore rifle shooter to put an electronic trigger with delay on his rifles including his target grade air rifle. Consider carefully how you will sense the trigger release. If the sensor does not precisely match the action of the mechanism, you could have significant errors.

 

Lynn

0 Kudos
Message 5 of 6
(3,170 Views)

Accelerometer??

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 6 of 6
(3,153 Views)