Defines | |
#define | SERIAL_ENABLED_FLAGS (PDV_EN_TX | PDV_EN_RX | PDV_EN_RX_INT | PDV_EN_DEV_INT) |
Functions | |
int | pdv_set_gain_ch (PdvDev *pdv_p, int value, int chan) |
This method is obsolete and should not be used. | |
void | pdv_set_interlace (PdvDev *pdv_p, int interlace) |
Set the interlace flag. | |
int | pdv_set_mode (PdvDev *pdv_p, char *mode, int mcl) |
This method is obsolete and should not be used. | |
int | pdv_set_mode_atmel (PdvDev *pdv_p, char *mode) |
int | pdv_set_mode_hamamatsu (PdvDev *pdv_p, char *mode) |
int | pdv_set_mode_kodak (PdvDev *pdv_p, char *mode) |
Obsolete. | |
int | pdv_set_strobe_counters (PdvDev *pdv_p, int count, int delay, int period) |
pdv_set_strobe_counters. | |
int | pdv_set_strobe_dac (PdvDev *pdv_p, u_int value) |
Sets the strobe DAC level. | |
int | pdv_strobe (PdvDev *pdv_p, int count, int delay) |
Fires the strobe. | |
int | pdv_strobe_method (PdvDev *pdv_p) |
check if the strobe is even valid for this FPGA, and which method is used. | |
int | pdv_variable_size (PdvDev *pdv_p) |
Obsolete. |
int pdv_set_gain_ch | ( | PdvDev * | pdv_p, | |
int | value, | |||
int | chan | |||
) |
void pdv_set_interlace | ( | PdvDev * | pdv_p, | |
int | interlace | |||
) |
int pdv_set_mode | ( | PdvDev * | pdv_p, | |
char * | mode, | |||
int | mcl | |||
) |
int pdv_set_strobe_counters | ( | PdvDev * | pdv_p, | |
int | count, | |||
int | delay, | |||
int | period | |||
) |
pdv_set_strobe_counters.
NEW method (method2) -- so far only for c-link but will probably be folded back into pdv/pdvk eventually. Only works with new strobe xilinx. check pdv_strobe_method for PDV_LHS_METHOD2.
pdv_p | pointer to pdv device structure returned by pdv_open | |
count | the number of strobe pulses. range 0-4095 | |
delay | the # of msecs before the first and after the last pulse actual interval before the first pulse will be delay+period range 0-255 | |
period | delay (msecs) between pulses. range 0-255 |
int pdv_set_strobe_dac | ( | PdvDev * | pdv_p, | |
u_int | value | |||
) |
Sets the strobe DAC level.
This is a specialized routine that only works with a camera that has a strobe cable connected to an EG&G strobe with EDT strobe trigger circuitry including DAC level, and custom aia_strobe.bit XILINX downloaded.
pdv_p | pointer to pdv device structure returned by pdv_open | |
value | DAC voltage level. Valid values are 0-4095. |
int pdv_strobe | ( | PdvDev * | pdv_p, | |
int | count, | |||
int | delay | |||
) |
Fires the strobe.
This is a specialized routine that only works with a camera that has a strobe cable connected to an EG&G or Perkin_Elmer strobe with EDT strobe trigger circuitry including DAC level, and custom aia_strobe.bit XILINX downloaded.
pdv_p | pointer to pdv device structure returned by pdv_open | |
count | number of strobe pulses. | |
delay | number of msecs between pulses, as well as before the first and after the last pulse. Actual delay between flashes is 100us * (delay + 1). High 4 bits of count is ignored so maximum count is 4095. |
// fire the strobe 10 times, with a // 101 millisecond delay between pulses pdv_strobe(pdv_p, 10, 100);
int pdv_strobe_method | ( | PdvDev * | pdv_p | ) |
int pdv_variable_size | ( | PdvDev * | pdv_p | ) |
Obsolete.
Is variable_size set ("variable_size: 1" in the config file)?
pdv_p | pointer to pdv device structure returned by pdv_open |