Edt_undoc


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.


Function Documentation

int pdv_set_gain_ch ( PdvDev pdv_p,
int  value,
int  chan 
)

This method is obsolete and should not be used.

The current implementation creates a warning message and returns -1 signifying failure.

Returns:
-1 for failure, always.

Definition at line 3139 of file libpdv.c.

void pdv_set_interlace ( PdvDev pdv_p,
int  interlace 
)

Set the interlace flag.

Flag is no longer used so it's obsolete. Currently de-interleaving is iset via the config file and the dd_p flag is switnerlace.

Definition at line 6279 of file libpdv.c.

int pdv_set_mode ( PdvDev pdv_p,
char *  mode,
int  mcl 
)

This method is obsolete and should not be used.

The current implementation creates a warning message and returns -1 signifying failure.

Returns:
-1 for failure, always.

Definition at line 9348 of file libpdv.c.

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.

Parameters:
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
Returns 0 on success, -1 on failure

See also:
pdv_enable_strobe, pdv_set_strobe_dac, pdv_strobe_method

Definition at line 8175 of file libpdv.c.

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.

Parameters:
pdv_p pointer to pdv device structure returned by pdv_open
value DAC voltage level. Valid values are 0-4095.
Returns:
0 on success, -1 on failure.
See also:
pdv_strobe, strobe.c example program

Definition at line 8329 of file libpdv.c.

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.

Parameters:
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.
Example
 // fire the strobe 10 times, with a
 // 101 millisecond delay between pulses
 pdv_strobe(pdv_p, 10, 100);      

Returns:
0 on success, -1 on failure

Definition at line 8136 of file libpdv.c.

int pdv_strobe_method ( PdvDev pdv_p  ) 

check if the strobe is even valid for this FPGA, and which method is used.

Returns:
0 (not implemenented) PDV_LHS_METHOD1 (original method) PDV_LHS_METHOD2 (new method)

Definition at line 8256 of file libpdv.c.

int pdv_variable_size ( PdvDev pdv_p  ) 

Obsolete.

Is variable_size set ("variable_size: 1" in the config file)?

Parameters:
pdv_p pointer to pdv device structure returned by pdv_open
See also:
variable_size camera configuration directive

Definition at line 3683 of file libpdv.c.


Generated on 19 Jun 2015 by  doxygen 1.4.7