![DAP Technology 1394 Скачать руководство пользователя страница 360](http://html.mh-extra.com/html/dap-technology/1394/1394_operation-manual_509853360.webp)
Format Editor
360
Copyright © DapTechnology B.V., 2005-2019 - All Rights Reserved., 5/20/2019
parameters are not really needed for the selected format definition).
21.1.3. Built-in variables and functions
The following built-in variables and functions can be used in expressions:
Name
Description
databits
This variable reflects the number of bits in the data
block to be formatted.
formatbits
This vaiable reflect the number of bits already
formatted.
remainingbits
This is databits-formatbits.
par0, par1
These are parameters for the macros
var0, var1, var2,var3, var4, var5, var6, var7, var8,
var9
These are global variables that can be used
anywhere for temporary holding values.
count()
This function returns the number of times the last
repeat loop has been executed.
size("field")
This function returns the size of the indicated field in
bits. Parameter field should be the name of a field
that can be found by searching upwards in the
definition tree.
value("field")
This function returns the value of the indicated field.
Parameter field should be the name of a field that
can be found by searching upwards in the definition
tree.
valuenextbits(n)
This function returns the value of the n data bits
starting at the current position.
valuebits(s,n)
This function returns the value of the n data bits
starting at bit number s.
21.1.4. Using Format Sets in the FireSpy Application
Suppose we have a format definition as in the example below. This format set "exports" one format as is
indicated by the purple color of the tree node "Format 1". Also, the "Specifications" tab for this tree node
indicates that it is "Extern" and therefore, will be shown in the Recorder or Scriptor when this format set is
loaded.
Содержание 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 ...