Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

My HAMAMATSU C4742-95-12-NRB camera is not working in EMD E (External Edge Trigger)

Hello!

 

I am trying to control the HAMAMATSU C4742-95-12NRB camera externally through an external trigger pulse.

 

There are two modes in the exposure setting command:

EMD E - External Edge

EMD L - External Level

 

The camera is working fine in the External Level mode (EMD L). I send an external pulse (through ARDUINO) and, after changing the pulse from low to high, the camera starts the exposure within 11 us.

 

However, the same thing does not occur when the camera is in the External Edge mode (EMD E). I send an external pulse (through ARDUINO too) and a message with an error appears: "Error 0xBFF60093 The serial read did not complete within the specified timeout period".

 

It is so strange. I think that the problem can be something in the attribute External Shutter Time - EST n (n can range from 1 to 93600 according to the camera manual). But, when I use the edit function at NI Camera File Generator for this camera, it says that this "n" ranges from 132 to 10005916.

 

Could someone help me with this issue?

 

Thanks in advance!

 

Fábio Machado Cavalcanti

Canada-Brazil Science Without Borders Student
Lakehead University, Thunder Bay, Ontario, Canada
Federal University of Pernambuco (UFPE), Recife, PE, Brazil
Undergraduate Student in Chemical Engineering

 

0 Kudos
Message 1 of 2
(4,079 Views)

You need to verify what voltage the camera is expecting.  Since you are using an Arduino, I will assume that your trigger signal is 5VDC.  For a 12volt trigger, 5VDC would be right at the boundry of 0/1, and setting Level would trigger as the signal settles, presumably around 5.1VDC.

 

A pulse would never get there.  If the camera does in fact need 12/24 VDC for triggering, you will need to build/buy a circuit for stepping up the voltage.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 2
(4,059 Views)