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
댓글 없음:
댓글 쓰기