07-25-2013 08:49 AM
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
07-29-2013 12:00 PM
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.