ls8tel16_raw

Section: WIN SYSTEM (1W)
Updated: 2005.6.10
Index Return to Main Contents
 

NAME

ls8tel16_raw - Online conversion of Hakusan WIN(LS8TEL16) format data into normal win format data  

SYNOPSIS

ls8tel16_raw [-D] inkey outkey shmsize [ chfile [ logfile ]]

ls8tel16_rawd inkey outkey shmsize [ chfile [ logfile ]]

 

DESCRIPTION

ls8tel16_raw loads Hakusan win format data transmitted from data logger LS-8000SH (firmware: LS8TEL16) manufactured by Hakusan Corporation and cyclically written in a shared memory segment identified by a key  inkey and converts them into the normal win format to write them to another shared memory segment identified by another key  outkey. However, if a channel file  chfile is given, only the data of the channels listed in the file will be converted and written out while any other channels are ignored. If the channel file name is prefixed with '+,' only the channels listed in the file will be converted and written out while any other channels are just copied to the output. If the channel file name is prefixed with '-,' only the channels listed in the file will be just copied to the output while any other channels are converted and written out. If the shared memory segment with the key  outkey does not exist, a shared memory segment with a size of  shmsize  (KB) will be created. When it already exists but has a size smaller than  shmsize  (KB), an error will occur. The shared memory key is a 32-bit integer value.

ls8tel16_rawd is initiated in daemon mode.

When log file name  logfile is specified, operation log is set here. When it is not specified, log information is sent to the standard output (however, it is sent to syslogd(8) when operation is made in the daemon mode). The log file is opened/closed in each write.

The channel file is a text file that hexadecimally lists channel numbers, one for each line. In each line, only the first item is read, while the subsequent items delimited by blanks or tabs are all ignored. Any lines starting with '#' are also ignored. When receiving a hang-up signal, the ls8tel16_raw process rereads the channel file.

The format in the shared memory inkey can be either one sorted in order of time (Cf. order(1W)) or otherwise (Cf. recvt(1W)). The format in the shared memory outkey will be the same as that of inkey.

When required to convert Hakusan win format data on disk, ls8tel16_win(1W) can be used.

When ls8tel16_raw is initiated without argument, brief usage is displayed.  

CAUTION

Application to any data other than those created by LS8TEL14 or LS8TEL16 will result in output data corruption.  

OPTIONS

-D
Is initiated in the daemon mode.
 

SOURCE

ls8tel16_raw.c
 

SEE ALSO

ls8tel16_win(1W), winformat(1W), order(1W), recvt(1W)


 

Index

NAME
SYNOPSIS
DESCRIPTION
CAUTION
OPTIONS
SOURCE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:00:54 GMT, September 20, 2017