Users Manual Area Scan Cameras SVSGigE
Page 72
Users Manual –svs11002 and svs16000
© SVS-VISTEK GmbH
The above shown default assignment can be set by program as follows:
Camera_setIOAssignment(Camera,SVGigE_IOMux_OUT_IO_TXD,SVGigE_IOMux_IN_UART_OUT);
Camera_setIOAssignment(Camera,SVGigE_IOMux_OUT_UART_IN,SVGigE_IOMux_IN_IO_RXD);
Camera_setIOAssignment(Camera,SVGigE_IOMux_OUT_TRIGGER,SVGigE_IOMUX_IN1);
Camera_setIOAssignment(Camera,SVGigE_IOMUX_OUT1,SVGigE_IOMux_IN_STROBE);
All not used outputs are usually not connected to any input. This is done as follows:
Camera_setIOAssignment(Camera,SVGigE_IOMUX_OUT0,(SVGigE_IOMux_IN) 0);
Camera_setIOAssignment(Camera,SVGigE_IOMUX_OUT2,(SVGigE_IOMux_IN) 0);
Camera_setIOAssignment(Camera,SVGigE_IOMUX_OUT3,(SVGigE_IOMux_IN) 0);
Dependent on application requirements, above shown default configuration can be
changed arbitrarily by assigning other than the default inputs to an output. This
involves in particular, that external input lines can also be put through to external
output lines, e.g. for signal conversion purposes.
Fixed output
An output line can also be driven to a determined value, Low or High.
e.g. put a Low signal to OUT2:
Camera_setIOAssignment(Camera,SVGigE_IOMUX_OUT2, SVGigE_IOMux_IN_FIXED_LOW);
e.g. put a High signal to OUT2:
Camera_setIOAssignment(Camera,SVGigE_IOMUX_OUT2, SVGigE_IOMux_IN_FIXED_HIGH);
Trigger simulation
The ability to drive an output line to a determined value can also be used for
simulating a hardware trigger. From the camera operation point of view, this is almost
identical to releasing a trigger by an external hardware trigger signal. The only
difference is that the electrical signal which triggers an image acquisition will be
generated inside the camera itself.
The described trigger simulation can be done as follows:
Camera_setIOAssignment(Camera,SVGigE_IOMux_OUT_TRIGGER,
SVGigE_IOMux_IN_FIXED_LOW);
Camera_setIOAssignment(Camera,SVGigE_IOMux_OUT_TRIGGER,
SVGigE_IOMux_IN_FIXED_High);
The example applies to an active rising edge for releasing a trigger. Afterwards one
should not forget to connect the trigger with an appropriate external trigger line since
otherwise external trigger signals would not have any effect:
Camera_setIOAssignment(Camera,SVGigE_IOMux_OUT_TRIGGER,SVGigE_IOMUX_IN1);
Input signals
In addition to putting input signals through, e.g. for TRIGGER, their current state can
also be determined by program as follows:
IO_SIGNAL ProgrammedSignalValue;
Camera_getIO(Camera, SVGigE_IOMUX_IN2, &ProgrammedSignalValue;
The above function call determines the current state of the IN2 signal line.
Although the state of input signals can also be set by program, this is not
recommended. Instead, the fixed Low and High signals should be used in all cases
where an output line has to be driven to a fixed value.
16.13
RS232 communication
Before starting RS232 communication, the UART’s parameters have to be adjusted
appropriately. The following functions adjust and retrieve those settings:
Camera_setUARTBaud(Camera_handle hCamera,SVGigE_BaudRate BaudRate);
Camera_getUARTBaud(Camera_handle hCamera,SVGigE_BaudRate *ProgrammedBaudRate);
Содержание CameraLink svs16000
Страница 61: ...Users Manual Area Scan Cameras SVSGigE Page 61 Users Manual svs11002 and svs16000 SVS VISTEK GmbH ...
Страница 62: ...Users Manual Area Scan Cameras SVSGigE Page 62 Users Manual svs11002 and svs16000 SVS VISTEK GmbH ...
Страница 63: ...Users Manual Area Scan Cameras SVSGigE Page 63 Users Manual svs11002 and svs16000 SVS VISTEK GmbH ...
Страница 90: ...Users Manual SVS11002 and SVS16000 SVS VISTEK GmbH Press OK You are done ...