README.md 1.69 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
** 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:
9

Maxime Perrotin's avatar
Maxime Perrotin committed
10
11
    $ sudo make install 

Maxime Perrotin's avatar
Maxime Perrotin committed
12
This command will update the Qt resource file and call: python setup.py install --record 
Maxime Perrotin's avatar
Maxime Perrotin committed
13
14


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 them first *
Maxime Perrotin's avatar
Maxime Perrotin committed
17
18
19

Usage for the standalone editor:

Maxime Perrotin's avatar
Maxime Perrotin committed
20
    $ standalone_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]
Maxime Perrotin's avatar
Maxime Perrotin committed
21
22
23

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

Maxime Perrotin's avatar
Maxime Perrotin committed
24
    $ standalone_editor.py -a test/TPos.asn -t T-POS 
Maxime Perrotin's avatar
Maxime Perrotin committed
25
26
27

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

Maxime Perrotin's avatar
Maxime Perrotin committed
28
    $ standalone_editor.py -a test/TPos.asn -t T-POS -d 'myIntSetOf: { 1, 2, 3, 4, 1 }'
Maxime Perrotin's avatar
Maxime Perrotin committed
29
30
31
32

(c) European Space Agency
Author: Maxime Perrotin

33
LICENSE: LGPL - see LICENSE file
Maxime Perrotin's avatar
Maxime Perrotin committed
34

35
36
CHANGELOG:

Maxime Perrotin's avatar
Maxime Perrotin committed
37
1.3.0   - Fully using ctypes / compatible with latest DMT
38
1.2.3   - Removed SWIG handling of message queues
Maxime Perrotin's avatar
Maxime Perrotin committed
39
1.2.2   - Fix opengeode simulation mode (startup did not show the right state)
40
1.2.0   - Align with dmt 1.2.0 (use ctypes in place of swig)
41
1.1.4   - Better support empty sequences
Maxime Perrotin's avatar
Maxime Perrotin committed
42
1.1.3   - Use Opengeode logo when simulating SDL systems
43
1.1.2   - Call manually the startup function of the SDL model
44
1.1.0   - Add support for custom user widgets
45
1.0.8   - various updates in SDL handler
46
1.0.7   - fixed bug in value notation parser