Canon RE-350 Control Interface Commands Manual page 63

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

Advertisement

RE-350 32bit Sample Code (
Notes:
1) This example application was written and compiled with Microsoft C/C++ and
Open the project in Microsoft Visual C/C++ 4.0 to edit and recompile.
2) The
driver (
RE-350
RE350.DLL
It will be automatically updated if
directory so any changes made to the
explicitly loads and unloads the
EXAMPLE
).
EXAMPLE.C
3)
and
RE350.C
RE350.H
functions return an error code (defined in
Initialize communications with the
int FAR PASCAL
int iComPort:
Execute an
command:
RE-350
int FAR PASCAL
int iDevice:
int nCmd:
WORD wRequest:
LPWORD wRequest:Pointer to response (or NULL).
Close communications with the
VOID FAR PASCAL
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
This product is provided AS IS. For questions regarding product operation contact Canon Information
Technology Services at 1-800-828-4040
All rights are reserved. No part of this document may be photocopied, reproduced, translated to another language, stored in a
retrieval system, or transmitted in any form without the prior written consent of Canon U.S.A., Inc.
The information contained in this document is subject to change without notice. Canon U.S.A., Inc. makes no warranty of any
kind with reguard to this written material. Canon U.S.A., Inc. assumes no responsibility for any errors that may appear in this
document or for incidental or consequential damages in connection with the furnishing, performance or use of this manual.
Canon is a registered trademark of Canon, Inc. ©1996 Canon U.S.A., Inc. 11.13.96
All trademarks and registered trademarks are the property of their respective owners.
\32BITSDK
) is located in
.\EXAMPLE\RE350
is set as the project. The output is directed to the
EXAMPLE
will be automatically loaded by the application next time it is run.
DLL
using LoadLibrary() and FreeLibrary() to facilitate this (see
DLL
constitute the basic driver and are generalized to work with any application. All of the
RE350.H
:
RE-350
RE350_Open( int iComPort )
RE350_COM1-RE350_COM4
RE350_Command( int iDevice, int nCmd, WORD wRequest, LPWORD lpwResponse );
device 0-3 (check dipswitch on the back)
Command defined in RE350.H.
Request data if required by command.
(Use RE350_NULL_REQUEST if not required).
:
RE-350
RE350_Close( VOID );
)
and has been setup as a sub-project of
) to indicate whether the operation was successful.
Version 4.0 (32 bits ONLY).
SDK
EXAMPLE
EXAMPLE\RELEASE
.
63

Advertisement

Table of Contents
loading

Table of Contents