![DAP Technology 1394 Скачать руководство пользователя страница 373](http://html.mh-extra.com/html/dap-technology/1394/1394_operation-manual_509853373.webp)
File Formats
373
Copyright © DapTechnology B.V., 2005-2019 - All Rights Reserved., 5/20/2019
value.
11
Units
ascii text
Used to decorate the Control Panel
psi, V/m
12
DataType
ascii text
The data type of the signal. See below for
the special data type 'enum'.
uint32, int32,
float32, float64,
enum
Note : if a signal is of data type 'enum', additional columns with label, value pairs must follow. The number
of pairs is user-defined. In the example below, sensors_heartbeat is of type 'enum' with defined values on
(1) and off(0).
Example
A valid example of a signal definition file would be:
engine1_heartbeat,10,0,5,0,32,0,,,,,int32,,,,
engine1_pressure,10,0,6,0,32,0,0,200,0.000230708,,int32,,,,
engine1_temperature,10,0,7,16,16,1,-50,150,0.5,,int32,,,,
sensors_heartbeat,12,0,5,0,32,0,,,,,enum,on,1,off,0
sensors_sensor1,12,0,7,0,32,0,-1000,6000,1,,int32,,,,
23.6. Mil1394 Settings XML file
The application can load Mil1394 settings from the
examples/Mil1394Settings.xml
file. This has to be
enabled first, as explained in the
section. The location of the file can be changed in the
application's settings dialog as well. This setting is used across different versions, so using a relative path
might be a good idea.
A formal definition of this format is given by the XML schema installed as
examples/Mil1394Settings.xsd
in the application directory. Please be sure to validate the XML first, as described below.
The settings file contains a
Mil1394Settings
node, which may contain a list of channel definitions, a
collection of ASM message definitions, the definitions of the STOF packet and ASM packet header and
trailer, enumeration definitions and time settings. The semantics behind the XML tags are outlined below.
Validation
Be sure to validate the document first. By default, the format is formally defined by linking it to the XML
schema file as follows:
<?
xml
version
="1.0"
encoding
="UTF-8"?>
<
Mil1394Settings
xmlns:xs
="http://www.w3.org/2001/XMLSchema-instance"
xs:noNamespaceSchemaLocation
="Mil1394Settings.xsd">
...
</
Mil1394Settings
>
An example script to validate the document is provided in
examples/Mil1394SettingsValidation.html
. You
can also use a special XML editor that supports validation, such as Microsoft's free XML Notepad. More
information about the schema definition format itself can be found at
Please note that you are not supposed to alter the XSD file.
Time Settings
The
FrameLength
,
STOFAccuracy
and
ASMPacketAccuracy
nodes contain the length of the frame in
microseconds, and the margins it may have for STOF and ASM packets.
<!-- Global Settings -->
<
Properties
Name
="SAE Example"
FrameLength
="12500"
STOFAccuracy
="250"
ASMPacketAccuracy
="25"
/>
Содержание 1394
Страница 1: ...1394 Analyzer Operation Manual Hardware and Software Guide Doc DT PRO134MAN700E ...
Страница 11: ...1394AnalyzerOperationManual 11 456 The SCSI2 Connector 457 The SUBD connector ...
Страница 187: ...Scriptor 187 Copyright DapTechnology B V 2005 2019 All Rights Reserved 5 20 2019 ...
Страница 199: ...Scriptor 199 Copyright DapTechnology B V 2005 2019 All Rights Reserved 5 20 2019 ...
Страница 363: ...FormatEditor 363 Copyright DapTechnology B V 2005 2019 All Rights Reserved 5 20 2019 ...