12-26-2010 02:55 PM
I am using ni smart camera 1722 and i am trying to make a VI which gives me the distance between the object and the camera from the image aquised with the grab module
Can anybody help me please?
I am new with labview and i don't have much time to do this project so please help
Solved! Go to Solution.
12-27-2010 08:47 AM
Hello HFASSI,
Thank you for posting on National Instruments Forum.
You have several way to measure the distance with camera. You can use the NI Vision Assistant to measure with video processing, or you can take photograph and use it to know the distance.
For the first way to realize your measurement, i advise you to follow this link.
Regards,
Romain P.
National Instruments France
12-27-2010 06:57 PM
Hi Sir
Thank you sir for your reply, well since I am new with labview I tried to use the edge detection example using IMAQ Clamp Horizontal Max VI and associate it to a grab module, but I am still having errors would you please check my trial and see if there are something missing or extra...
Thank you again
12-28-2010 02:07 AM
Can you describe errors? I had a look on your trial and i don't see any error.
Romain P.
National Instruments France
12-28-2010 05:00 AM
Well now I am having some troubles with the camera it does not connect properly with my laptop. when I try to configure it in MAX it doesn't connect and I get this error: "Unable to initialize connection to remote system"
12-28-2010 07:42 AM
The camera is connected on the computer or on a local area network? The error appears only when you're configuring it?
Romain P.
National Instruments France
12-28-2010 10:44 AM
yes it's connected to a computer, I tried to reconfigure the adress IP of the camera and of the computer I have a connection but when I try to reconfigure the camera in the MAX the connection become limited and the I get that error!!
12-28-2010 10:59 AM
Can you try to set up the IP attribution of the camera with DHCP and not in fix IP?
Regards,
Romain P.
National Instruments France
12-28-2010 01:32 PM
I can't configure the camera with DHCP because MAX does not detect it so I have to create a new deported system and give the fix IP adress to help it find the camera
12-29-2010 02:13 AM
You have to switch on the IP Reset (on the camera), and then, you will be able to carry out the IP assignation to a successful conclusion.
Regards,
Romain P.
National Instruments France