LABCOM group is responsible for the LHD data acquisition and archiving system called the LABCOM System. Here, we provide various kinds of data related support for the LHD staffs and collaborators in data acquisitions and managements, and also in remote participation for the experiment. For more information, click the links for what you'd like to see or do.
Japanese
You are the th visitor since 4 July 2000
: Contents viewable in the Japanese font ONLY.
Contact : LABCOM
Privacy policy
Please be sure to read the above policy before entering and sending personal information from any forms.

Contents

1. What is paraStore?

2. Register the data name

3. Create the parameter file

4. Delete the saved data

5. Add the unregistered data

6. Edit (change) the saved data afterwards

7. Let's try quizes!

 
  What is paraStore?
Let's study together.
 
   
 
1. What is paraStore?
paraStore is a pubic service to automatically save and register (using dbStore) the parameter file (comma segmented text file) flocks located within a designated shared directory to LABCOM data storage.

to Top
2. Register the data name.
To automatically save and register the parameter with paraStore, a data name needs to be registered in advance. Decide the data name and register on the database.
 
STEP1  Decide the data name

Data name is the name that will be registered on the database. The name will be one to specify when extracting the data.
Only the alpha-numerical characters and - (hyphen) can be used for the data name. Names are case-sensitive.
"_p" must be placed at the end of the data name.

ex) LABCOM_p

STEP2 Decide the data-write administrator

To newly add and edit the parameter file to the Windows shared folder requires a data-write authorization. To newly register the data, at least 1 data-write administrator needs to be registered.
Data-write authorization is given to the LHD domain user account; therefore, LHD domain user account is required. If you do not have one yet, apply for the LHD domain user account registration to acquire the account.
 

STEP3  Register the data name

Once the data name and data-write administrator are defined, apply for the paraStore data registration.
LABCOM will notify you when the data registration is completed.
Now, paraStore is ready to use.

to Top

 
  We must attach _p on the data name.
Also, data-write authorization
is required to edit the file.
 
   
3. Create the parameter file
Following shows a method of creating the parameter file.
 
STEP1  Create the parameter file
 
  First, we create parameter files.
 

Create the parameter file. (Click HERE for the usage of paraStore.)
When the register application is submitted, a parameter file (sample) of the registered data name will be created within the Windows shared folder \\ParaStore\parameters\ (in \\ParaStore.LHD.nifs.ac.jp\parameters\ when the shared host cannot be recognized). Edit this file.

ex) LABCOM_p

 1  Define the mail address

Define the mail address. (Diagram-1)
Only an e-mail address can be specified.
Only the user specified here can apply for the data deletion.
# [MailAddress]
#

■Diagram-1

 2  Define the parameter variable name

Segment the variable name with commas. (Diagram-1)
4 columns, CH, CATEGORY, NAME, TAG,  must be entered at the beginning.
Columns following the 5th one can be described or used at random. However, the new rule regulates that the users share pre-registered variable names. Therefore, please use the variable names registered here. When variable names other than those are necessary, register the new name first by the application for paraStore variable name registration before using.

# [Name]
# CH, CATEGORY, NAME, TAG, FREQ, R(m), GAIN, FILTER, CALIB, UNIT, REMARKS

 
  We share variable names!  
   

 3  Define the data type of the parameter

Segment the data with comma and define the data type.

Write the corresponding data type in the order of variable names written in  2 . (Diagram-1)
Data types that can be specified here will be the following.
(*) recommended type

1:STRING   ... character string (*)
2:BYTE      ... 1byte inerger
3:SHORT    ... 2-byte interger
4:INT         ... 4-byte interger (*)
5:FLOAT    ... 4-byte floating point number (*)
6:DOUBLE  ... 8-byte floating point number
# [Type]
# 4, 1, 1, 4, 5, 5, 5, 5, 5, 1, 1

 
  We should use recommended data types.  
   

 4  Define the data

Segment the data with comma and define them.
Write the corresponding data type in the order of variable names written in  2 . (Diagram-1)

# [Data]
1, LABCOM, CAMAC_FAST_1, 1, 39.0000, 1.0000, 10.0000, 1.0000, 1.0000, keV/V, This_is_a_test
2, LABCOM, CAMAC_FAST_2, 2, 40.0000, 2.0000, 10.0000, 1.0000, 1.0000, keV/V, This_is_a_test
3, LABCOM, CAMAC_FAST_3, 3, 41.0000, 3.0000, 10.0000, 1.0000, 1.0000, keV/V, This_is_a_test
4, LABCOM, CAMAC_SLOW_1, 1, 42.0000, 4.0000, 10.0000, 1.0000, 1.0000, keV/V, This_is_a_test
5, LABCOM, CAMAC_SLOW_2, 2, 43.0000, 5.0000, 10.0000, 1.0000, 1.0000, keV/V, This_is_a_test

STEP2  Save the parameter file.

After defining the data, save the parameter file.
The parameter file will be saved within the Windows shared folder \\ParaStore\parameters\ (in  \\ParaStore.LHD.nifs.ac.jp\parameters\ when the shared host cannot be recognized)via the network.
At this time, the file name must be identical with the registered data name.

Only a registered data-write administrator at the time of paraStore data registration can save the parameter file. To newly add a data-write administrator, please apply for the data-write authorization from the paraStore data regsitration form.

Now, the parameter file will be automatically saved at a constant timing synchronized with the experiment sequence message.

 

 
  File was saved!
Was the parameter automatically registered now?
 
   
STEP3  Check the registered parameter

Start PV-WAVE and check with Retrieve to see if the parameter was properly registered. (Diagram-2)

p = 1                                                               ... Define (Initialize) the parameter storage variables.
retrieve, 'LABCOM_p', 51300, 1, 0, data, param=p   
... Retrieve registered data.
printparam, p
                                                                 ... Show the parameters.

Check to see if the parameters acquired in retrieve (Diagram-3) and the parameter files saved in ParaStore (Diagram-1) are identical.

Now, it was confirmed that the parameter was properly registered.
 

 
Wow!!
Now, the parameter is automatically registered.
 
 

to Top

■Diagram-2

■Diagram-3

4. Delete the saved data.
Method of deleting the saved data with paraStre is shown below:
 
STEP1  Delete the data

Apply for a data deletion from the application for the paraStore shot data deletion.
LABCOM will notify you when the preparation for the data deletion is completed.
Click the URL indicated in the mail.
Screen for the data deletion will open. After checking the detail, click "Delete Data".
The data will be deleted.

 

 
  We can delete the data registered at paraStore.  
   
STEP2 Check to see if the data is properly deleted

Data status can be confirmed by retrieving the data with Retrieve. Also, a list of data registered on the Internet is available in LABCOM.

"Search for acquired shot data"

Select the paraStore data name in [Diagnostics name]
Enter the shot number of the deleted data in [Shot number]
Select [Any] from [Storage type]   then click [Query]
If the data does NOT show up in the list, it is properly deleted.

to Top

5. Add the unregistered data.
Method of adding the unregistered data with an old shot number is shown:

paraStore uses dbStore to automatically save and register the parameter in the LABCOM data storage.
Therefore, the data with an old shot number can be manually registered by using dbStore. (Click HERE for the detail of dbStore)
Specify the data name and shot number of paraStore in dbStore, and register the data.

to Top

 
  I see. We use dbStore to add the data  
   
6. Edit (modify) the data saved with paraStore
Method of editing the data saved with paraStore is shown.

To edit the data saved with paraStore afterwards, delete the data first and re-register with dbStore once again.
For the mothod of deleting the data, refer to 4. Delete the saved data. Re-register the data once again by referring HERE.

to Top

7. Let's try Quizes!
Check to see how well you understood what you just learned by answering some quizes!
*For all of those who made the perfect score, there will be a special gift from LABCOM!!

Try paraStore Quiz!

Download and install the Java Runtime Environment to use any options marked with . If you run on IE7 or earlier versions of browser, go through the following steps: Click Tool>Internet Options on the toolbar, and select the Advanced tab. Check the “Use Java 2 for <applet> (requires restart)” and restart the browser.

to Top