Canon manual RE-350 Demo Application \APP, RE-350 SDK File Definitions

Page 61

RE-350 Demo Application (\APP)

How to Use the Demo Application:

The RE-350Demo Application is a 16bit application that runs under Windows 95 and Windows 3.1.

1.Connect the RE-350to the computer. Using a correctly pinned RS-232cable (pp.57–59) connect one end to the RS- 232C output on the RE-350and connect the other end to an available COM port on your computer.

2.Turn on the RE-350 and the computer and launch Windows.

3.In the APP directory that was created from the SDK disk is a file named CTL3DV2.DLL. This file should be placed into your System folder within Windows [c:\Windows\System].

4.Double click on the RE-350Demo Application icon in the APP directory.

When the application has successfully launched, the On-Line LED should be lit on the RE-350's front control panel and within the GUI of the software interface.

Very simply the RE-350Demo Application offers remote operation of all manual buttons and control knobs located on the front control panel via the RE-350graphical user interface.

If the Application Does Not Launch Properly Check:

COM Port Setting – The COM port setting selection in the RE-350Demo Application should match the COM port

 

the RE-350is connected to on the computer.

ID Setting –

The ID Setting on the rear panel of the RE-350(p.3) should match the ID Setting the RE-350is

 

set to.

Baud Rate –

The Baud Rate setting selection in the RE-350Demo Application should match the baud rate

 

selected via the switch on the rear panel of the RE-350(p.3).

Cable –

Make sure you are using a correctly pinned cable. Check with the pin out diagram on pp.57–59.

RE-350 SDK File Definitions

re350.c

RE-350 communications driver.

re350.h

Driver definitions.

re350.obj

Object file.

re350dll.dll

Dynamic Link Library.

re350dll.mak

Microsoft C/C++ Version 1.52 Project (NMAKE)

example.c

Sample Windows application.

example.obj

Object file

example.exe

Executable Windows Application

example.def

Module definition file.

example.mak

Microsoft C/C++ Version 1.52 Project (NMAKE)

readme.doc

This file.

61

Image 61
Contents RE-350 Control Interface Command Index Operations and Functions Panel DiagramsKey Function Description of the Front and Rear Panel FunctionsButton Detail Button Main power is turned on Control Knob Digital SwitchesPower supply SCp180 Operations RE-350s Condition and LED Status Operational Procedures OverviewOperations Available RE-350will operate according to the givenFront panel PC and the RS-232 LED will blink RS-232 LED remains onAdjusting the value of each control knob Mode MeaningSetting the center target value for Auto-White Balance LineRequest on Line Function of RS-232 buttonLineRequest OFF Line Auto-white balance was adjusted successfully Default Setting of Each Function After Power-OnMeaning of Each LED Status StatusPacket Discrimination Code Assignment Control ProtocolID number ParameterControl Command Packet Format PC RE-350 Data Packet ConfigurationResponse Data Packet Format PC RE-350 Event Data Packet Format PC RE-350Flow Pattern 1 Command Communication Flow Pattern Operational Flow ChartCommand Response Flow Pattern 2 Event Packet Flow PatternFP Data Packet Flow Pattern 3 Notification Mode Flow PatternResponse data Camera Control Commands Table Control Command and Packet TablesLED System Control Commands TableMode error response System error responseTime out error response Response Data Packet TableEvent Description Byte Header ID # Event Data Packet TableParaL Request on lineDenied AcceptedFP data description Byte FP Data Packet TableParaH ParaL Zoom Commands Description Command Data PacketWide Zoom Constant Speed $10 $ 0Tele Zoom Step Tele Zoom Constant SpeedZoom Stop Zoom Access To PositionZoom Request Position Zoom Tele Constant Speed w/ AF † Zoom Wide Constant Speed w/ AF †OP AF Operate Auto Focus Focus Commands$10 $ 1 $ 0 Focus Near Constant SpeedFocus Far Constant Speed Focus Near StepFunction Focus Stop Focus Far StepWhite Balance Manual Access To White Balance CommandsOP AWB Operate Auto-White Balance $10 $ 2 $ 0Exposure Manual Access To Exposure Commands$10 $ 2A $ 0 Detail Manual Access To Detail CommandsSet Positive Mode † Positive/Negative CommandsSet Negative Mode † $10 $ 3 $ 0Set Color Mode Color/B&W CommandsSet B/W Mode $10 $ 4 $ 0Detailed System Control Commands System Control CommandsSelect Document Video $10 $ 5 $ 0Document Lights Off † Document Lights On †Backlight Off † Backlight On †$10 $ 6 $ 0 LED NormalLED On $10 $ 6 a $ 0 LED Off$10 $ 6 B $ 0 LED BlinkON-LINE Mode OFF-LINE Mode$10 $ 7 $ 0 Notification Mode Status of Group a Maximum operation time msec 100 millisecond Command formatVideo C/M $10 $ 8 $ 0Input Status of Group BFunction To get the status data of Group B from the RE-350 = onFocus Status of the ButtonsInput RS-232 Auto BacklightStatus of EXP control knob Status of WB control knobParameter of the C-response Packet MSH $00 fixed Status of AWB result Status of Detail control knobFunction Gets the position data of the Detail control knob Version of ROM Name of the EquipmentParameter of the C-response Packet $10 $F F $ 0 Set to Special Mode$10 $F F $ F F Set to Service ModeRS-232C Control Cable Pin Assignment Control Cable Pin AssignmentsRE-350 RE-350 Control Cable Pin Assignments Pin Dsub RS-232CPage RTS/CTS Flow Control Timing Chart Timing ChartsCommand Mark Duration period Min Max 300ms 200ms 10ms T4-T2Mark Duration period Min Max RTS flow control timing chart44ms 300ms 58ms 300ms 1000ms 200msAppendix a Disk Information RE-350 Software Developers Disk InstallationRE-350 SDK File Definitions RE-350 Demo Application \APPRE-350 16bit Sample Code \16BITSDK Execute an RE-350commandInitialize communications with the RE-350 Close communications with the RE-350RE-350 32bit Sample Code \32BITSDK Execute an RE-350 command
Related manuals
Manual 4 pages 50.01 Kb