README 1.07 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
This directory contains the code for the ASN.1 Value editor:
- the code for the automatically-generated Python GUIs
Maxime Perrotin's avatar
Maxime Perrotin committed
3
- the standalone ASN.1 value editor, which can be used from the command line (or from another python module)
Maxime Perrotin's avatar
Maxime Perrotin committed
4
5
- code for communication using UDP packets instead of the TASTE message queues

Maxime Perrotin's avatar
Maxime Perrotin committed
6
7
8
9
10
11
12
13
14
** WARNING **
This version is different than the one present in the old Subversion repos
It contains a setup.py and is meant to be installed using the Python way:
    
    $ sudo make install 

This command will call: python setup.py install


Maxime Perrotin's avatar
Maxime Perrotin committed
15
The auto-generated GUIs make use of the speedometer and of the MSC Editor/Viewer.
Maxime Perrotin's avatar
Maxime Perrotin committed
16
* You must install it first *
Maxime Perrotin's avatar
Maxime Perrotin committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

Usage for the standalone editor:

standalong_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]

You can try it with the T-POS type that is in TPos.asn file under the ./test directory:

./standalone_editor.py -a test/TPos.asn -t T-POS 

Or with a default value (make sure you use quote):

./standalone_editor.py -a test/TPos.asn -t T-POS -d 'myIntSetOf: { 1, 2, 3, 4, 1 }'

(c) European Space Agency
Author: Maxime Perrotin