Scanner_config_start, Scanner_config_end, Scan_sendcommand – Argox PA-20 Programming Guide User Manual

Page 27: Scan_sendcommand_laser

Advertising
background image

PT-20 Programming Guide

25

Description: This function can reset scan module,if reset OK,this function will return

1,else will return 0.

Returns: 0:Reset fail.

1:Reset OK.

Scanner_Config_Start

Purpose: To start scanner setting procedure.

Syntax: void Scanner_Config_Start(void);

Example call: Scanner_Config_Start();

Includes:

#include “SDK.h ”

Description: This function can starting scanner setting procedure.

Returns: None

Scanner_Config_End

Purpose: To end scanner setting procedure.

Syntax: void Scanner_Config_End(void);

Example call: Scanner_Config_End();

Includes:

#include “SDK.h ”

Description: This function can ending scanner setting procedure.

Returns: None

Scan_SendCommand

Purpose: Send scanner(CCD) command to change scanner status.

Syntax: BOOL SCAN_SendCommand(int Command1,int Command2,char

*pValue);

Example call: char ssValue = 0;

If(SCAN_SendCommand(6,7,&ssValue))

_printf_color(COLOR_

RED, “Setup complete!”);

Includes:

#include “SDK.h ”

Description: This function can send command to set scanner status.

You can see “

Appendix 1

to know about the command setting.

Returns: 0:Send fail.

1:Send OK.

Scan_SendCommand_Laser

Purpose: Send scanner(Laser) command to change scanner status.

Syntax: BOOL SCAN_SendCommand_Laser(int Command1,int

Command2,char *pValue);

Example call: char ssValue = 0;

If(SCAN_SendCommand_Laser(6,7,&ssValue))

_printf_color(COLOR_RED, “Setup complete!”);

Includes:

#include “SDK.h ”

Advertising