Toshiba V Series User Manual page 71

Integrated controller
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

TcnScmSetTalkerBlk
Name
Type
Description
■ Changing the registered content
6F8C0945
TcnScmSetTaklerBlk - Set scan talker block (transmission block)
#include <tcnlib.h>
BOOL TcnScmSetTaklerBlk (IN HANDLE hDevice, IN ScanTalkerBlk *p);
Sets the scan talker block (transmission block).
hDevice: File handle obtained with TcnCreateFile
The setting data storage area ScanTalkerBlk is the following structure. The area
must be at least as large as ScanTalkerBlk size.
typedef struct ScanTalkerBlk {
WORD
ScanType;
WORD
BlkNum;
WORD
Blk[384];
} ScanTalkerBlk;
ScanType is the scan transmission type to be set (1: high-speed, 2: middle-
speed, 3: low-speed)
BlkNum is the number of scan blocks to register
(High-speed: 0 - 64, 0 is not registered)
(Middle-speed: 0 - 128, 0 is not registered)
(Low-speed: 0 - 384, 0 is not registered)
Blk[ ] is the scan block number (0 - 2047)
The block number should be set left justified.
(Also avoid numbers 1792 to 2047 if possible because RAS information will be
expanded.)
Example 1: Registering blocks 5, 10, and 15 to high-speed scan
ScanType = 1;
BlkNum = 3;
Blk[0] = 5;
Blk[1] = 10;
Blk[2] = 15;
Set the ultimate information to be set and issue the request.
To delete block 10 in above Example 1:
ScanType = 1;
BlkNum = 2;
Blk[0] = 5;
Blk[1] = 15;
8
59

Advertisement

Table of Contents
loading

Table of Contents