<< dbsMessage LABCOM Retrieve and dbStore Toolbox for Scilab dbsOpenFrame >>

LABCOM Retrieve and dbStore Toolbox for Scilab >> LABCOM Retrieve and dbStore Toolbox for Scilab > dbsOpen

dbsOpen

Open operation for dbStore.

Syntax

des = dbsOpen( mail_address, data_name, shot_number, sub_shot, data_type, ...)

Input parameters

mail_address (sting)

your mail address

When you delete the saved data, this is necessary.

data_name (sting)

name of data

This uses the data name which you applied for to LABCOM.

shot_number (numeric)

SHOT number

sub_shot (numeric)

Sub SHOT number (It is usually 1.)

data_type (sting)

'RAW' or 'ANA'

If the data is raw, it is 'RAW', other is 'ANA'.

Options

'cndb_timeout', timeout_sec (numeric)

Seconds of timeout for database connection.

'cndb_retry', retry (numeric)

Count of retry for database connection.

'verbose'

Verbose operation.

Output parameters

des (numeric)

Result value

0 < : dbStore's descriptor id, use in other function.

0 > : error code.

Description

Open operation for dbStore.

Examples

des = dbsOpen('xxx@nifs.ac.jp', 'DATA_X', 1000, 1, 'RAW');
if des > 0 then
     mprintf('Success open\n');
     ....
     ....
     dbsClose(des);
end

See also

Authors

History

バージョン記述
20.0.0 Initial release.

Report an issue
<< dbsMessage LABCOM Retrieve and dbStore Toolbox for Scilab dbsOpenFrame >>