Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Direct trigger pusle from PLC to Gige vision camera

I`m directing triggering the Gige vision camera from the PLC but the camera takes two frames per pulse the first is black image as shown and the second is normal image...i`m setting acquiring one image per pulse. i made sure the trigger selector is only on for one and the other off.

direct plc trigger.png

0 Kudos
Message 1 of 5
(4,280 Views)

Hi there Frank.

 

First of all, I see that this issue was posted twice, so I'm going to continue the discussion on this one rather than the other one.

 

Can you tell me what kind of camera you are using? These attributes are usually specific to the camera, so it's easier to configure if working off some information about the camera. In addition, what are you triggering with? Is it possible you're actually sending two pulses?

 

My other suspicion is that if you're getting two images and you're sending one pulse, it's possible that you're configuring the settings to grab every image in the buffer every time the pulse goes high, and thus you might grab this black image every time.

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 2 of 5
(4,270 Views)

I`m using  Basler camera GIGE 659x494 - 70 FPS and i get the trigger from PLC 24v and it`s just one pulse 

0 Kudos
Message 3 of 5
(4,262 Views)

Could you also upload the larger screenshot you had in the other thread?

 

Do you have experience using LabVIEW or LabVIEW's VIs? We can check what the behavior of your camera acquisition is using some of these VIs if you use the software.

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 4 of 5
(4,246 Views)

In addition, you might try to acquire in Measurement & Automation Explorer.

 

http://zone.ni.com/devzone/cda/tut/p/id/5750#toc1

 

This link shows you how to do that. This is a place where you can configure and set up your camera to behave the way you want it to, and it's a good place to do image acquisition testing. Could you do a "Snap" (a single image) and see what comes up, and also a "Grab" (continuous acquisition) to see if there are any irregularities? You can also try to play with the pixel format and/or the video mode. This might give more insight into what's pumping into the buffer, and whether it's that or something else that's going wrong.

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 5 of 5
(4,240 Views)