OpenSCADAWiki: Home Page En/Using/API Function Libs/ Lib Serv Proc ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of HomePageEn/Using/APIFunctionLibs/LibServProc from 2016-11-13 20:20:31..
Ukrainian (1 Kb) Українська?
Russian (1 Kb) Русская?
 (2 Kb) Needs to translation

Service procedures

Name: LibServProc
Version: 1.0.0
State: Free (GPL)
Author: Roman Savochenko
Description: Library of service procedures for different using.
Address: DB in file: SQLite.LibDB.servProc (oscadalibs.db.gz)
Compatibility: OpenSCADA >= 0.9


Contents

About the library

The library created to different using and it is wrote on JavaLikeCalc language.


To addressing the functions of the library you can use static call address "DAQ.JavaLikeCalc.lib_techApp.{Func}()" or dynamic "SYS.DAQ.JavaLikeCalc["lib_techApp"]["{Func}"].call()", "SYS.DAQ.JavaLikeCalc["lib_techApp"].{Func}()". Where {Func} — function identifier in the library.


To connect the library to the project of the OpenSCADA station it is possible by downloading the attached file of the database, placing it in in the database directory of the station's project and creating the database object for the DB module "SQLite", indicating the database file in the configuration.

1. TEST: FS archiver pack

Description: Archiver to File System tests pack, for check the optimization algorithm. The stages supported:

Author: Roman Savochenko
Version: 1.0.0
Parameters:

tm Start time (14.03.2015 21:37) Integer Input false 1426361839
per Period, seconds Integer Input false 60
addr Archive address String Input false test123
archiver Archiver address String Input false FSArch.1m
step Step (0-8), -1 for all Integer Input false -1

2. CRC 16

Description: Standard Cyclic Redundancy Check (CRC) with free polynomial set, by default it is 0x8005. It isn't actual more by the common CRC implementing.
Author: Roman Savochenko
Version: 1.0.0
Parameters:

in Input String Input false
out Result Integer Output false
poly Polynomial (reversion) Integer Input false 40961


 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]