Canon RE-350 Control Interface Commands Manual page 62

Video visualizer
Hide thumbs Also See for RE-350:
Table of Contents

Advertisement

RE-350 16bit Sample Code (
Notes:
1) This example application was written and compiled with Microsoft C/C++ and
Open the project in Microsoft Visual C/C++ to edit and recompile.
The
and example application are built separately. You can use
DLL
described below (or in
RE350.H
You can also rebuild the application in MS-DOS by typing:
nmake -fre350dll.mak
nmake -fexample.mak
2)
and
constitute the basic driver and are generalized to work with any application. All of the
RE350.C
RE350.H
functions return an error code (defined in
Initialize communications with the
int FAR PASCAL
RE350_Open( int iComPort )
int iComPort:
RE350_COM1-RE350_COM4
Execute an
command:
RE-350
int FAR PASCAL
RE350_Command( int iDevice, int nCmd, WORD wRequest, LPWORD lpwResponse );
int iDevice:
device 0-3 (check dip switch on the back)
int nCmd:
Command defined in RE350.H.
WORD wRequest:
Request data if required by command.
(Use RE350_NULL_REQUEST if not required).
LPWORD wRequest:Pointer to response (or NULL).
Close communications with the
VOID FAR PASCAL
RE350_Close( VOID );
4)
is a simple application which demonstrates the operation of the driver. After getting this to compile in
EXAMPLE.C
your environment, you can add additional commands (via RE350_Command) to test the camera's operation.
All of the
commands are implemented through this function.
RE-350
\16BITSDK
).
) to indicate whether the operation was successful.
RE350.H
:
RE-350
:
RE-350
)
Version 1.52 (16 bits
SDK
as is by importing the functions
RE350DLL.DLL
).
ONLY
62

Advertisement

Table of Contents
loading

Table of Contents