2011년 7월 29일 금요일

Matrox Solios eV-CL + MIL-Lite 9.0 + 2 * VCC-F22V39ACL

At first, it is necessary to change the configuration from Solios Camera Link Medium to Solios Camera Link Dual Base in Solios under Boards of left tree on Milconfig during unplugged the two camera. and then, reboot system.



In login time, the system detects Solios eV-CL as a new hardware named by Solios eV-CL Dual 0. And we can select the digitizer in Intellicam.


And the system totally detects three different new hardware like this:


In development part, for each camera a digitizer is able to allocated;

MdigAlloc(MilBoard[0].MilSystem, M_DEV0, DCF_NAME, M_DEFAULT, &MilDigitizer0);
MdigAlloc(MilBoard[0].MilSystem, M_DEV1, DCF_NAME, M_DEFAULT, &MilDigitizer1);

To control Matrox Solios Camera Link Com Port 0(COM3) and Port 1 (COM4) configuring  via MsysControl is better than via Windows API.

MsysControl(MilBoard[0].MilSystem, M_UART_DATA_LENGTH+M_UART_NB(M_DEV0), 8);
MsysControl(MilBoard[0].MilSystem, M_UART_PARITY+M_UART_NB(M_DEV0), M_DISABLE);
MsysControl(MilBoard[0].MilSystem, M_UART_STOP_BITS+M_UART_NB(M_DEV0), 1);
MsysControl(MilBoard[0].MilSystem, M_UART_SPEED+M_UART_NB(M_DEV0), 9600);
MsysControl(MilBoard[0].MilSystem, M_UART_TIMEOUT+M_UART_NB(M_DEV0), M_INFINITE); // ms

MsysControl(MilBoard[0].MilSystem, M_UART_DATA_LENGTH+M_UART_NB(M_DEV1), 8);
MsysControl(MilBoard[0].MilSystem, M_UART_PARITY+M_UART_NB(M_DEV1), M_DISABLE);
MsysControl(MilBoard[0].MilSystem, M_UART_STOP_BITS+M_UART_NB(M_DEV1), 1);
MsysControl(MilBoard[0].MilSystem, M_UART_SPEED+M_UART_NB(M_DEV1), 9600);
MsysControl(MilBoard[0].MilSystem, M_UART_TIMEOUT+M_UART_NB(M_DEV1), M_INFINITE); // ms

In serial-communication of VCC-F22V39ACL, the format of serial frame is:

* Total 14bytes


* Function settings





댓글 없음:

댓글 쓰기