LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sensing Objects Algorithm

Hi, I am a newbie at LabVIEW and have no idea where to begin but I have a task assigned that I need to finish.

I am asked to develop a part detection algorithm via the setup of different types of sensors. Basically with sensors' output information, the algorithm should be able to detect the presence of parts and of each part, determine the type of material and thickness.

I have no idea where to begin and how to write/develop this algorithm to do the above. All I know is that I should begin by using the DAQ assistant for data acquisition since there's a DAQ card installed into the computer.

Any help would be much appreciated in how I should even start approaching this problem.

Thanks!


Message Edited by ruined on 01-12-2008 04:36 PM
0 Kudos
Message 1 of 4
(2,842 Views)
You will have to give us much more info. Are these objects all metal, plastic, magnetic,...??? Are you given a particular set of sensors to use?? How large is the area where you need to find the objects, inside a glass, a box, or a room??
0 Kudos
Message 2 of 4
(2,821 Views)
In addition to unclebumps' questions, the algorithm is not part of the data acquisition or the program; it is something which is implemented by the program.

Rather than beginning with the DAQ Assistant, I would begin with a careful description of what the system needs to do. What are the inputs which will be available? (User inputs and measurements.) (Don't forget noise and interference.) What kinds of outputs are required? (Is it a control system or does it display pictures to a user or write a parts inventory to a database?) What kinds of functions relate the outputs to the inputs? (This is the algorithm.) After you have these things specified, then you can begin to design a program to implement the software parts of your system.

Please post back as you have specific questions.

Lynn
0 Kudos
Message 3 of 4
(2,816 Views)

Hi,

These are all great posts! Algorithm development is something that should occur long before LabVIEW is opened. While keeping the basic DAQ functions in mind is a great starting point, more reasoning and development of what you'd like your code to do is important before starting to code. Please let us know additional information if you'd like more help with this! Also, we'd be happy to answer questions you may have concerning specific LabVIEW VIs to implement once you have a flowchart or other algorithm development.

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 4 of 4
(2,792 Views)