Mmc_Devicedriver::open - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MMC_DeviceDriver::Open

Opens device.
unsigned long Open(
void
);
Detailed description
■Parameter
None.
■Return value
Value
MMC_OK
MMERR_DEV_REOPEN
MMERR_DEV_DEVICE_DRIVER
MMERR_DEV_NOT_FOUND_BOARD
MMERR_DEV_UNSUPPORT_DEVICE_DRIVER
MMERR_DEV_INACCESSIBLE
MMERR_DEV_ALREADY_OTHER_PROCESS_OPEN
■Point
• After calling the Open method for the Simple Motion board to be used, call the method which accesses the Simple Motion
board.
• The same device of a board ID cannot be opened by multiple processes.
• Do not call the Open/Close method in straight succession.
■Supported version
API version
1.00
■Reference
Close (Page 95 MMC_DeviceDriver::Close)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
94
3.6 MMC_DeviceDriver Class
Description
Function succeeded
The Open method is already called.
An error occurred with a call of the device driver. Confirm that the device driver is installed.
The Simple Motion board which has the designated board ID could not be found. Confirm the
board ID selection (dip switch) of the Simple Motion board.
The device driver is not a supported version. Use a API library that combines with the device
driver contained in the "EM Software Development Kit".
There is a Simple Motion board which cannot access the buffer memory.
The device of the same board ID is already open by a different process.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents