Documente Academic
Documente Profesional
Documente Cultură
AT4105E, Rev. 24
User´s Guide
The contents of this document may not be reproduced in any form or communicated to any third party without the
prior written consent of AVL. While every effort is made to ensure its correctness, AVL assumes no responsibility
neither for errors and omissions which may occur in this document nor for damage caused by them.
All mentioned trademarks or registered trademarks are owned by their respective owners.
Table of Contents
6.2 Dataflow.................................................................................................................................. 63
6.2.1 Filter Functions..................................................................................................................63
6.2.2 Flexible Parameters ..........................................................................................................67
6.2.3 Formula Calculator ............................................................................................................68
6.2.4 Lookup Table ....................................................................................................................69
6.2.5 Multi Function Generator...................................................................................................79
Information
NOTICE
Script execution can seriously affect the performance of the test bed system by:
lengthy mathematical operations
blocking requests via the network
intensive access to the file system
access to third-party software components that are not compatible with the
test bed system, etc.
Thus it is recommended that scripts are developed by trained users only. Any
damage is within the responsibility of the user!
NOTICE
Information
Information
Part of the automation system's functionality is excluded from use in scripts, e.g:
Steady-state step sequences
Dynamic step sequences
Road profiles
Information
For information on the functions that may be used in scripts, refer to the docu-
mentation "Activation Objects".
NOTICE
This text indicates situations or operation errors which could result in property
damage or data loss.
Information
Example
This text gives an example.
Lists:
1. Step-by-step procedures with a given sequence
2.
• One-step instructions
Unordered series of concepts, items or options
–
–
2 Scripting in BSQ/SSQ
Scripts for customer-defined applications are provided by means of individual
"script contexts" in PUMA Open. These contexts are embedded into the PO
Script API and constitute a separate execution environment with its separate
thread (i.e. script contexts can operate in parallel), variable space (context-local
variables) and function space (context-local helper functions and subroutines).
Based on the definition of such a context, the customer can define scripts that
can directly be invoked within the BSQ or SSQ.
Fig. 1
Tab. 1
Name Shows the names of the arguments of the selected script Up to 32 charac-
function. ters
Default Value Values for the arguments are entered. However, there is no -
checking of types or values.
Note: The values and value types are interpreted according
to the script definitions. For example, type "String" parame-
ters can be interpreted as normnames internally in the script
and, with the relevant functions, be used to access norm-
names.
Monitor Timeout Script execution time-out in seconds can be entered in the -
input box. The valid range is 1 <=Timeout<=65535. If this
check box is not selected, the default value will be used.
Load... Retrieves and loads a script context definition from the file -
system..
Save Stores the current script context definition as file on the file -
system.
OK Saves the script context. -
Cancel Cancels the procedure. -
Tab. 1
Fig. 2
The script editor's shortcut menu provides the commands Cut, Copy,
Paste, Save as, Find, Replace and Properties. The Properties command can
be used to change the formatting of the script code in the script editor (see the
figure below):
Fig. 3
Scripting in PUMA Open offers support during function input, similar to the "auto-
complete" functions in conventional integrated development environments
(IDEs). For this purpose, press Ctrl+SpaceBar on the keyboard. All functions and
subroutines of the PUMA Open Script API will appear in a list box (see figure
below).
Fig. 4
When a function is selected by pressing the space bar or "(", a list of all neces-
sary parameters for this function will be shown in a tooltip.
Fig. 5
Information
The functions and subroutines in the list cover all functions of the current PUMA
Open software release. The availability of a function depends, however, on the
current software configuration and the functions installed on the test bed.
6. Add parameter(s) for the selected script function in the box provided in the
lower section of the dialog box and double-click the selected line to assign
default values under Default Value.
7. Click Edit script to open the editor for the script body. Define the script
body and click OK to return to the script context editor. In the field for the
description, a comment can be entered for each script.
8. Click OK in the script context editor to save the script context.
Information
Information
If the maximum size of 100000 characters for the script context definition or a
script function body is exceeded, the script cannot be saved. The script context
editor will remain open. In this case, shorten the script and click OK again.
Information
In the AO Server is a limit of 500 pending requests for each context . If this
requests exceed the limit of 500 the Ao Server stops to prevent malfunctions in
different areas. In almost all cases this occurs related to a high frequency TCC
flooding the AO Server.
Information
Information
The script activation editor looks like the activation object editor.
Additionally, the Details button is available, which opens the script context editor.
Fig. 6
Information
As an alternative to using the script context directly, you can also use the "Script
Context" item from the Toolbox and drag it into the BSQ/SSQ. The editor, which
opens automatically, looks like this:
Fig. 7
Fig. 8
1. Drag the Scripting activation object from the Commands folder of the
Toolbox into the BSQ (or into the command track of a steady-state or
dynamic SSQ). This will create an activation for a script context function.
2. Double-click the script activation to open the activation object editor. Select
the Execute function. Enter the script context name in the input box Name
under Device and the script invocation under Value in parameter group
Command (e.g. in figure above: DoThis 123, "ABC").
3. Click OK in the activation object editor to save the script activation.
Information
The generic script activation object does not contain default values (script
parameters, etc.).
Information
If no script context name is indicated under Device / Name, the defined script
will be processed in the default test bed context. In the default context, only
predefined functions from the PUMA Open Script API can be used.
Information
Scripts defined in TFP, SYS and UUT can only be activated in the BSQ by using
the 'Scripting' activation object.
Information
If the script context activation is already being used in the BSQ or in an SSQ, the
script context cannot be deleted.
Information
If the script context is already being used via a "Scripting" activation object from
the Commands folder, deletion will not be prevented.
Information
Using the selected script function in the BSQ or an SSQ does not prevent its
deletion! The system recognices and shows, if you want to delete a used script
function. It asks you to decide wheter to proceed or undo the action.
Information
Information
Using the selected script function in the BSQ or an SSQ does not prevent its
deletion! The system recognices and shows, if you want to delete a used script
function. It asks you to decide wheter to proceed or undo the action.
3.1 Defining Script Contexts in the TFP, SYS and UUT Parameters
Sie können auch außerhalb des BSQ Editors Skript Kontexte erzeugen.
1. Select Projects | AVL | Project Data in the AVL Explorer.
2. Double-click a system parameters set in the list view. PAM will open, dis-
playing the selected parameter set.
3. In PAM, select New to open the Block Name Browser and select SCR.
4. Click OK to create a new SCR block.
5. Double-click the new block to open the script context.
Information
Fig. 9
The principal mechanism of this window can be seen from the internal intercon-
nection of its elements.
Fig. 10
Please note that using a "string substitution" component, a command with the
format <AOS> Scriptlet is assembled here.
Fig. 11
Elements are interconnected in a similar way as in the previous variant, with the
only difference that the additional parameters are also taken into account.
Fig. 12
In our example, the upper/lower limit violations are counted and the current
count output on system channels.
For this purpose, a script context is created (see figure below):
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Information
Example
In the script context "MyContext", the function "MyFunction" is defined using 2
parameters (e.g. 123, "ABC"). This function is to be executed if an upper limit
violation occurs. Thus, the following must be specified in the limit definition for
the field Context for upper reaction and the associated field Script:
"Context for upper reaction": MyContext
"Script": MyFunction 123, "ABC"
4 Application Example
The following example gives an overview of how scripting can be used in a test
run. A list of demand values (control mode, speed, torque, alpha) are retrieved
from an Excel sheet and the corresponding operating points are adjusted one
after the other.
NOTICE
The application with the Excel sheet below is only described for illustration
purposes. Only software which is authorised by AVL can be installed on the test
bed computer. Any other software packages including MS-Office must not be
installed on the computer.
Fig. 20
The names of the regions are shown in the drop-down list (see figure below).
Any names can be used. However, the names used in the test (i.e. the script
context) must match the names in the Excel sheet. The name of the sheet is also
used in the test, which is important when there are several sheets.
The control mode determines the two demand values to be used.
Fig. 21
5
Fig. 22
Information
If the Excel sheet is opened before the test run is started, demand values can be
modified during test run processing. The modified values will be used in the test
immediately when the relevant demand values are adjusted the next time.
GetNext
Fig. 24
Fig. 25
GetNext Retrieves the next demand values. The parameter "Row" is the normname with
the current line number.
Fig. 26
Fig. 27
Fig. 28
Fig. 29
Fig. 31
2. Right-click the selected script context to open the shortcut menu. Select the
script function Setup. The activation object dialog opens and shows the
selected script function with its default parameters.
Fig. 32
Fig. 33
2. Select Single Step from the shortcut menu. The script function will be
invoked according to parameterization.
Fig. 34
5.3 Debugging
Information
IFor debugging, you can send messages to the POI Messages window or the
PUMA Open Tracer window or use the MSTM Script Debugger (for advanced
users only).
Fig. 35
Information
Fig. 36
Information
For details, refer to the documentation "BSQ and Toolbox ", chapter "User Inter-
face".
Information
NOTICE
Information
Reboot the PUMA Open system after installing the Script Debugger and after
activating the debug support.
Activation For activating the debug function in the PO System, some modifications of
processes for the AO server are required. These modifications can be found in
the configuration file:%PUMAROOT%CFG\Monitor.INI
Process AOServer
{
Image = "AOServer.exe"
Path = "..\bin"
StartDir = "..\bin"
WorkDir = "..\bin"
Arguments = -i..\cfg\AOServer.ini -o790 -t1001 -d0 -s0
StartInvisible
}
Information
The activation of the debugging mode can enormously increase your memory
requirements.
Fig. 37
3. Right-click the script context entry. Select Break At Next Statement from
the shortcut menu. The Debugger will stop script execution at the next
statement of the context.
Fig. 38
4. Activate a script function (e.g. via SOX). Execution will be interrupted and
the debugger will indicate the interruption.
Fig. 39
7. Click Step Into (F8).If the current debugged statement contains a function
or subroutine and if the button Step Into (F8) is pressed, the Debugger will
stop at the first statement within this function or subroutine.
Fig. 40
Fig. 41
are not run through. After clicking OK, execution is stopped at the break-
point.
Fig. 42
Information
Selecting a different entry in the Call Stack window does not change the state-
ment to be executed next.
Fig. 43
Fig. 44
3. Stay in the Debugger and use this button to open the Call Stack window.
This window shows the current execution hierarchy. The subroutine last
called is the first subroutine listed in the window.
Fig. 45
Fig. 46
Information
Parameters Description
WindowName Name of the POI window to be closed.
String.
Script function/command:
Sub PoiCloseWindow(WindowName)
Parameters Description
Severity Determines the importance and urgency
of the debug message. Numeric value.
1…'Information'
2…'Warning'
4…'Error'
Message Message. String.
If the string contains "$c(Channel-
Name).v" sequences, they will be
replaced by the online value of the speci-
fied channel at runtime and the resulting
string will then be used as the new
message string.
Script function/command:
Sub PoiSendDebug(Severity, Message)
Example
PoiSendDebug eSTLInfo, "Hello World"
6.1.1.3 Message
Assembles a message and sends it to the POI message window.
Parameters Description
Severity Determines the importance and urgency
of the debug message. Numeric value.
eSTLInfo =1
eSTLWarning = 2
eSTLError =4
eSTLAlarm =8
Message Message. String.
If the string contains "$c(Channel-
Name).v" sequences, they will be
replaced by the online value of the speci-
fied channel at runtime and the resulting
string will then be used as the new
message string.
Destination Specifies whether to add this message to
the logbook, print it or output it in a
message window. Enumerator.
The following combinations of values can
be used:
eSDPOI = 2
eSDAcknowledge = 4
eSDMessageBox = 8
eSDPrinter = 16
eSDTestDiary = 32
eSDEngineDiary = 64
eSDTestcellDiary = 128
eSDTestNotes = 256
eSDTestcellNotes = 512
Script function/command:
Sub PoiSendMessage(Severity, Message, Destination)
Example
PoiSendMessage eSTLInfo, "Hello World", eSDPOI+eSDMessageBox
Parameters Description
Severity Determines the importance and urgency
of the debug message. Numeric value.
eSTLInfo =1
eSTLWarning = 2
eSTLError =4
eSTLAlarm =8
MessageFacility Name of the message facility which is
providing the message template. The
message is stored in an MLG file which is
located in the folder <PUMA Root>\mlg
and named <MessageFacility>.mlg;
e.g.: UserMessage.mlg
MessageKey Name of the message key within the MLG
file; e.g.: UserMessage_Demo
MessageParameter Optional message parameters which can
be passed to the message text, separated
by semicolon.
UserInterface Specifies whether to add this message to
the logbook, print it or output it in a
message window. Enumerator.
The following combinations of values can
be used:
eSDPOI = 2
eSDAcknowledge = 4
eSDMessageBox = 8
eSDPrinter = 16
eSDTestDiary = 32
eSDEngineDiary = 64
eSDTestcellDiary = 128
eSDTestNotes = 256
eSDTestcellNotes = 512
Printer No/Yes
Diary Specifies the diary.
Test Diary
Test Cell Diary
User Notes
Test Cell Diary Notes
Script function/command:
Sub PoiSendMessageEx(Severity, MessageFacility, MessageKey, MessageParameter,
UserInterface, Printer, Diary)
Example
PoiSendMessageEx eSTLInfo, "UserMessage", "UserMessage_Demo", "Msg;Demo", eSDPOI
Based on the defined message
This is a user defined demo-message with parameter 1 ’1%s’ and parameter 2 ’2%s’
the output will look like:
This is a user defined demo-message with parameter 1 ’Msg’ and parameter 2 ’Demo’
Parameters Description
Severity Determines the importance and urgency
of the debug message. Numeric value.
eSTLInfo =1
eSTLWarning = 2
eSTLError =4
eSTLAlarm =8
Message Message. String.
If the string contains "$c(Channel-
Name).v" sequences, they will be
replaced by the online value of the speci-
fied channel at runtime and the resulting
string will then be used as the new
message string.
Destination Specifies whether to add this message to
the logbook, print it or output it in a
message window. Enumerator.
The following combinations of values can
be used:
eSDPOI = 2
eSDAcknowledge = 4
eSDMessageBox = 8
eSDPrinter = 16
eSDTestDiary = 32
eSDEngineDiary = 64
eSDTestcellDiary = 128
eSDTestNotes = 256
eSDTestcellNotes = 512
ClientName Specifies the name of the sender which is
displayed in the "From" column of the POI
message window.
Default: Name of the script context where
the message has been issued;
e.g.: Scripting.MySCR
Script function/command:
Sub PoiSendMessageWithClientname (Severity, Message, Destination, ClientName)
Example
PoiSendMessageWithClientName eSTLInfo, "MyMessage", eSDPOI+eSDMessageBox,
"MyClient"
Parameters Description
Severity Determines the importance and urgency
of the debug message. Numeric value.
eSTLInfo =1
eSTLWarning = 2
eSTLError =4
eSTLAlarm =8
MessageFacility Name of the message facility which is
providing the message template. The
message is stored in an MLG file which is
located in the folder <PUMA Root>\mlg
and named <MessageFacility>.mlg;
e.g.: UserMessage.mlg
MessageKey Name of the message key within the MLG
file; e.g.: UserMessage_Demo
MessageParameter Optional message parameters which can
be passed to the message text, separated
by semicolon.
Destination Specifies whether to add this message to
the logbook, print it or output it in a
message window. Enumerator.
The following combinations of values can
be used:
eSDPOI = 2
eSDAcknowledge = 4
eSDMessageBox = 8
eSDPrinter = 16
eSDTestDiary = 32
eSDEngineDiary = 64
eSDTestcellDiary = 128
eSDTestNotes = 256
eSDTestcellNotes = 512
ClientName Specifies the name of the sender which is
displayed in the "From" column of the POI
message window.
Default: Name of the script context where
the message has been issued;
e.g.: Scripting.MySCR
Script function/command:
Sub PoiSendMessagewithClientnameEx(Severity, MessageFacility, MessageKey,
MessageParameter, Destination, ClientName)
Example
PoiSendMessageWithClientNameEx eSTLInfo, "MyClient", "UserMessage",
"UserMessage_Demo", "Msg;Demo", eSDPOI, MyClient"
Parameters Description
WindowName Name of the POI window that is to be
opened and brought to the front. String.
Script function/command:
Sub PoiOpenWindow(WindowName)
Parameters Description
Text Text that is displayed in the inquiry
window. String.
Channel After the inquiry, the specified channel
holds the result and can be used for
further action.
Normname
Value Default value that will be used if the oper-
ator cancels the request or the specified
time-out expires.
Variant
CheckMode The input can be checked against upper
and lower limits or taken from a list.
Enumeration:
eSICMNone … 0
eSICMRange … 1
eSICMList … 2
MinValue Minimum value if the specified Check
Mode is 'eSICMRange'.
Numeric value.
MaxValue Maximum value if the specified Check
Mode is 'eSICMRange'.
Numeric value.
List If the specified 'Check Mode' is 'eSICM-
List', define the list in the format 'A,B,C'.
String.
ListSeparator ',' is used as a list separator, by default.
String.
Parameters Description
MonitorTimeout The inquiry can be monitored via a
time-out.
Timeout The window closes after the specified
time-out [s] has elapsed.
Numeric value [s].
Script function/command:
Sub PoiInquire(Text, Channel, Value, CheckMode, MinValue, MaxValue, _ List, List-
Separator, MonitorTimeout, Timeout)
Parameters Description
Text Text that is displayed in the inquiry
window. String.
Channel After the inquiry, the specified channel
holds the result and can be used for
further action.
Enumeration:
eSISInactive … 0
eSISActive … 1
eSISDoneOk … 2
eSISDoneCancel … 3
Normname
MonitorTimeout The inquiry can be monitored via a
time-out.
Enumeration:
No ...0
Yes …1
Timeout The window closes after the specified
time-out [s] has elapsed. The inquiry
result is set to 'eSISDoneCancel = 3'.
Numeric value [s].
Script function/command:
Sub PoiInquireSimple(Text, Channel, MonitorTimeout, Timeout)
Parameters Description
WindowName POI window that is opened. The window
supports the inquiry control, depending on
the active inquiry object.
String.
Channel After the inquiry, the specified channel
holds the result and can be used for
further action.
Enumeration:
eSISInactive … 0
eSISActive … 1
eSISDoneOk … 2
eSISDoneCancel … 3
Normname
MonitorTimeout The inquiry can be monitored via a
time-out.
Enumeration:
No … 0
Yes …1
Timeout The window closes after the specified
time-out [s] has elapsed. The inquiry
result is set to 'eSISDoneCancel = 3'.
Numeric value [s].
Script function/command:
Sub PoiInquireCustom(WindowName, Channel, MonitorTimeout, Timeout)
Information
All "Inquire" functions from the AO section "Operator Interface" are based on the
basic functions described below. You can use these functions to define your own
individual "Inquire" mechanisms.
Sub PoiInquireSimple(…)
PoiInquireEx …
End Sub
Sub PoiInquireCustom(…)
PoiInquireEx …
End Sub
'-
If ResultMode = eSIRMState Then
ChnSet Channel, State
Else
ChnSet Channel, Value
End If
End Sub
6.1.1.11 PoiCreateInquire
Creates an inquire control object and connects it to a window via the specified
name.
Parameters Description
Name Name of the inquire control object.
String.
WindowName Name of the POI window that is used as
an inquiry window. This window supports
the PO ActiveX control
'SCRPuma7Controls InquireControl-
Custom'.
String.
Script function/command:
Function PoiCreateInquire(Name, WindowName)
Example
PoiCreateInquire "MyInquire", "MyInquire.wnd"
6.1.1.12 PoiSetupInquire
Specifies a number of parameters that can be displayed by the selected "PO
Inquire ActiveX Control". The parameters are stored in an internal inquire control
object, which is identified by its name.
Parameters Description
Text Text that is displayed in the inquiry
window. String.
Value Default value that will be used if the oper-
ator cancels the request or the specified
time-out expires.
Variant
CheckMode The input can be checked against upper
and lower limits or taken from a list.
Enumeration:
eSICMNone … 0
eSICMRange … 1
eSICMList … 2
MinValue Minimum value if the specified Check
Mode is 'eSICMRange'.
Numeric value.
Parameters Description
MaxValue Maximum value if the specified Check
Mode is 'eSICMRange'.
Numeric value.
List If the specified 'Check Mode' is 'eSICM-
List', define the list in the format 'A,B,C'.
String.
ListSeparator ',' is used as a list separator, by default.
String.
MonitorTimeout The inquiry can be monitored via a
time-out.
Enumeration:
No … 0
Yes …1
Script function/command:
Sub PoiSetupInquire(Name, Text, Value, _
CheckMode, MinValue, MaxValue, List, ListSeparator, _
MonitorTimeout, Timeout)
Example
PoiSetupInquire "MyInquire", "Please press OK to continue.", 0, _
ESICMNone, 0, 0, "", "", _
0, 0
6.1.1.13 PoiOpenInquire
Opens the POI window connected to the inquire control object by calling
"PoiCreartInquire".
Parameters Description
Name Name of the inquire control object.
String.
Script function/command:
Sub PoiOpenInquire(Name)
Example
PoiOpenInquire "MyInquire"
6.1.1.14 PoiWaitForInquire
Checks the status of the inquire control object at a rate of approx. 250 ms and
returns it:
eSISInactive …0, eSISActive …1, eSISDoneOk …2, eSISDoneCancel …3
If not time-out monitoring has been defined, a defined time-out value of 300 s is
taken.
Parameters Description
Name Name of the inquire control object.
String.
Script function/command:
Function PoiWaitForInquire(Name)
Example
PoiWaitForInquire "MyInquire"
6.1.1.15 PoiGetInquireState
Returns the status of the inquire control object: eSISInactive …0, eSISActive
…1, eSISDoneOk …2, eSISDoneCancel …3
Parameters Description
Name Name of the inquire control object.
String.
Script function/command:
Function PoiGetInquireState(Name)
Example
Dim MyState
MyState = PoiGetInquireState "MyInquire"
If MyState = eSISDoneOk Then
:
End If
6.1.1.16 PoiGetInquireValue
Returns the specified inquire value as specified by the user or as preset.
Parameters Description
Name Name of the inquire control object.
String.
Script function/command:
Function PoiGetInquireValue(Name)
Example
Dim MyValue
MyValue = PoiGetInquireValue "MyInquire"
If MyValue > 100 Then
:
End If
6.1.1.17 PoiCloseInquire
Closes the POI window connected to the inquire control object.
Parameters Description
Name Name of the inquire control object.
String.
Script function/command:
Sub PoiCloseInquire(Name)
Example
PoiCloseInquire "MyInquire"
6.1.1.18 PoiRemoveInquire
Removes the specified control object.
Parameters Description
Name Name of the control object.
String.
Script function/command:
Sub PoiRemoveInquire(Name)
Example
PoiRemoveInquire "MyInquire"
6.1.1.19 PoiConvertMessage
Uses a key to read a string from the Cus/*.mlg file in the selected language for
further use.
Parameters Description
FileName Name of MLG file
LanguageKey Language key
MessageKey Message key
ByVal_MessageParamet Message parameter
er
Script function/command:
Function PoiConvertMessage(FileName, LanguageKey, MessageKey,
ByVal_MessageParameter)
Parameters Description
DialogName Name of the dialog.
Synchron Waits until dialog is closed.
Value = 0...Function is terminated even if
dialog is still open.
Value <> 0 ... Function is terminated only
after dialog has been closed.
Script function/command:
Sub DlgOpenDialog(DialogName, Synchron)
Example
DlgOpenDialog "OilConsumption"
Parameters Description
windowName PUMA NN for the MDE Status. Status
values are:
0=closed
1=open
2=saved
-1=cancelled
Default is "MDE.wnd".
statusChannelName PUMA NN for the MDE Status. Status
values are:
0=closed
1=open
2=saved
-1=cancelled
Default is "MDE.wnd".
Script function/command:
Sub MDE_OpenAdapter(windowName, statusChannelName)
Parameters Description
DeviceName Name of the device
FileName Contains full/relative path for the
datasheet. If multiple files need to be
opened their paths can be separated
using the pipe (|) character e.g.
"C:\\sheet1.dsh|D:\\sheet2.dsh".
Parameters Description
ReadOnly Specifies whether the datasheet is
opened in the read only mode or not.
AllowBrowse Specifies whether the user is able to
browse for datasheets himself. Setting it
to "No" disables the "Open" button in the
toolbar.
Script function/command:
Sub MDE_Datasheets(DeviceName, fileNames, readOnly, allowBrowse)
Parameters Description
DeviceName Name of the device
Script function/command:
Sub MDE_CloseDatasheets(DeviceName)
6.2 Dataflow
6.2.1.1 Start
Activates all entries of the relevant Channels Service block. Can be used if the
"CmdOnly" start mode is offline or the block has been stopped before.
Parameters Description
Name Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
Script function/command:
Sub FilStart(Name, Entry)
Example
FilStart "FilSys01", ""
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
Script function/command:
Sub FilStop(Name, Entry)
Example
FilStop "FilSys01", ""
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
TargetNormname Normname of the target channel of the
CHS entry. If there is more than one
target channel, each of the normnames
can be used.
Script function/command:
FilStart "BlockName", "TargetNormname"
Example
FilStart "FilSys01", "Distance")
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
TargetNormname Normname of the target channel of the
CHS entry. If there is more than one
target channel, each of the normnames
can be used.
Example
FilStop "FilSys01", "Distance"
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
TargetNormname Normname of the target channel of the
CHS entry. If there is more than one
target channel, each of the normnames
can be used.
Frequency New value for the cut-off frequency in Hz
units; Range: 0.001...499
Alternatively, you can specify a norm-
name for using the current channel value
as the cut-off frequency.
Script function/command:
FilModify "BlockName", "TargetNormname", eFilCOF, Frequency
Example
FilModify "FilSys01", "EngineGrad", eFilCOF, 0.2
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
TargetNormname Normname of the target channel of the
CHS entry. If there is more than one
target channel, each of the normnames
can be used.
Duration Value for the new duration in seconds.
Unit: seconds. Range for MAA:
0.001...200, range for VAL >= 0
Range: 0.001...499
Alternatively, you can specify a norm-
name for using the current channel value
as the duration.
Script function/command:
FilModify "BlockName", "TargetNormname", eFilDuration, Duration
Example
FilModify "FilSys01", "SPEED", eFilDuration, 2.0
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
TargetNormname Normname of the target channel of the
CHS entry. If there is more than one
target channel, each of the normnames
can be used.
Timeout Value for the new time-out. Unit: seconds.
Range >= 0
Alternatively, you can specify a norm-
name for using the current channel value
as the time-out.
Script function/command:
FilModify "BlockName", "TargetNormname", eFilTimeout, Timeout
Example
FilModify "FilSys01", "TireTemp", eFilTimeout, 5.0
Parameters Description
BlockName Fil block name in PAM; if this name is not
provided, the generated name must be
used: "Fil" + short english loadset name
("Sys", "Tfp", "Uut") + two-digit block
number in loadset.
e.g. "FilSys01", "FilSys02", "FilTfp01",
"FilTfp02"
TargetNormname Normname of the target channel of the
CHS entry. If there is more than one
target channel, each of the normnames
can be used.
TimeoutMode Selection: Forever / Use Timeout Value
Script function/command:
FilModifyTimeoutMode "BlockName", "TargetNormname", TimeoutMode
TimeoutMode eForever
eUseTimeoutValue
Example
FilModifyTimeoutMode "FilSys01", "TireTemp", eForever
6.2.2.1 Activate
Writes FLX constants or path referenced values to the related normnames.
Parameters Description
Name Name of FLX block.
Example
Sub FlxActivate(FlexibleParameter_UUT_1)
6.2.2.2 Fetch
Retrieves the current online values from all FLX Normnames and writes them
back into the FLX Parameters or to the path-referenced parameters. If you want
to make those parameters persistent, you must store them (you must store the
specified loadset of the FLX-Block).
Parameters Description
Name Name of FLX block.
Script function/command:
Sub FlxFetch(Name)
Example
Sub FlxFetch(FlexibleParameter_UUT_1)
6.2.2.3 Modify
Allows you to change the value of an individual channel in an FLX block.
Parameters Description
Name Name of FLX block.
ChannelName Denotes the channel to be modified within the FLX
block.
Value Sets the selected channel to this value.
Example
Sub FlxModify(FlexibleParameter_UUT_1, EngT03, 1200)
6.2.3.1 Calculate
Calculates the selected formula device once.
Parameters Description
Name Name of on-demand formula device.
String.
Script function/command:
Sub FrmCalculate(Name)
Parameters Description
Name Name of on-demand formula device. String.
Mode Calculates the selected formula device once.
Access mode "ONLINE": the input channels read
the current values.
Access mode "SMART": The input channels read
the mean values, if available. Otherwise, the
current values are read.
Script function/command:
Sub FrmCalculateEx(Name, Mode)
6.2.3.3 Initialisation
Initializes the formula definition of the selected calculator.
Parameters Description
Name Name of on-demand formula device. String.
Script function/command:
Sub FrmCalculateInit(Name)
6.2.3.4 CalculateFormula
Calculates an individual formula of an acyclic formula device.
Parameters Description
Name Name of acyclic device where the individual
formula is to be calcultated.
FormulaName Name of formula. String.
AccessMode Defines how to access the input channel.
0...Online (default): Current values are read from
the input channels
1...Smart: The mean values are read, if available.
Otherwise, the current values are read.
Script function/command:
Sub FrmCalculateFormula(Name, FormulaName, AccessMode)
Example
FrmCalculateFormula "formuladevice1", "formula1", 1
6.2.4.1 Start
Starts cyclic look-up table interpolation.
Parameters Description
Name Name of look-up table.
Script function:
Sub LutStart(Name)
6.2.4.2 Stop
Stops cyclic look-up table interpolation.
Parameters Description
Name Name of look-up table.
Script function:
Sub LutStop(Name)
6.2.4.3 Capture
Takes over the current table content.
Parameters Description
Name Name of look-up table.
Script function:
Sub LutCapture(Name)
6.2.4.4 StoreBack
If an EEI map is attached, the EEI map will be copied to the look-up table of the
LTC parameter block. Is only applied to matching map dimensions (i.e. dimen-
sions less than, or equal to, 64x64).
Parameters Description
Name Name of look-up table.
Script function:
Sub LutStop(Name)
6.2.4.5 Restore
The look-up table is reloaded from the LTC block. Any changes previously made
to the look-up table are overwritten. If an EEI map has been assigned, it is over-
written by the LTC block data. Restoring does not take place if the map dimen-
sions in the LTC block and the EEI map do not match.
Parameters Description
Name Name of look-up table.
Script function:
Sub LutRestore(Name)
6.2.4.6 Write
Writes a look-up table to a file. Available formats: PUMA5, CSV, ASAM CDF
Parameters Description
Name Name of look-up table.
FileName Name of file, string.
""...File is stored in the LUT folder under
the name of the look-up table
"xy"...File is stored in the LUT folder
under xy.tx
"C:\abc\xx" is stored as file xx, if the folder
abc is available
Format Enumerator
0 .. ASAM (Asam CDF format)
1 .. Puma (Puma 5 format)
2 .. CSV (Excel csv format)
Script function:
Sub LutWrite(Name, FileName, Format)
6.2.4.7 Read
Reads a look-up table from a file of format PUMA5, CSV or ASAM CDF. These
files were created using the activation object Write.
Parameters Description
Name Name of look-up table.
FileName Name of file, string.
""...File is stored in the LUT folder under
the name of the look-up table
"xy"...File is stored in the LUT folder
under xy.tx
"C:\abc\xx" is stored as file xx, if the folder
abc is available
Format Enumerator
0 .. ASAM (Asam CDF format)
1 .. Puma (Puma 5 format)
2 .. CSV (Excel csv format)
Script function:
Sub LutRead(Name, FileName, Format)
6.2.4.8 GetDim
Sets the channel to the number of axes of the specified look-up table.
Parameters Description
Name Name of look-up table channel.
Script function:
Function LutGetDim(Name)
6.2.4.9 GetDimOfXYandMPs
Retrieves the number of points on the x- and y-axis as well as the number of
measurement points. The values are written to the normnames defined in the
activation.
Parameters Description
Name Name of look-up table.
XDimName Normname for the number of points on
the x-axis.
YDimName Normname for the number of points on
the y-axis.
NumMPsName Normname for the number of measure-
ment points.
Script function:
Sub LutGetDimOfXYandMPs(Name, XDimName, YDimName, NumMPsName)
6.2.4.10 GetXDim
Sets the channel value to the number of grid points on the selected axes of the
specified look-up table.
Parameters Description
Name Name of channel.
AxisIndex
Script function:
Function LutGetXDim(Name, AxisIndex)
6.2.4.11 GetX
Sets the channel to the value of the specified axis grid point. The grid point index
is zero-based.
Parameters Description
Name Name of channel.
AxisIndex Identifies the input axis.
In table: enumerator (x-axis...0, y-axis...1)
In script: numeric value or expression
string.
GridIndex Index X in grid point list.
Numeric value or expression string.
Script function:
Function LutGetX(Name, AxisIndex)
6.2.4.12 GetZ
Sets the channel to the value of the specified map grid point.
Parameters Description
Name Name of channel.
XIndex Numeric value or string.
YIndex Numeric value or expression string
(optional for curve).
Script function:
Function LutGetZ(Name, XIndex, YIndex)
6.2.4.13 GetZInterpolated
Sets the channel to the value of the specified map interpolation value.
Parameters Description
Name Name of channel.
X Value in x-direction. Numeric value or
expression string.
Y Value in y-direction. Numeric value or
expression string.
Script function:
Function LutGetZInterpolated(Name, X, Y)
6.2.4.14 GetGridPoint
Retrieves the values for x, y and z of an indexed grid point.
Parameters Description
Name Name of channel.
XIndex Numeric value or normname as input
quantity.
YIndex Numeric value or normname as input
quantity.
xNormname Normname for x-value of grid point
yNormname Normname for y-value of grid point
zNormname Normname for z-value of grid point
(optional with curve)
Script function:
Sub LutGetGridPoint(Name, XIndex, YIndex, xNormname, yNormname, zNormname)
6.2.4.15 SetX
Sets the value of the specified axis grid point to the value of the defined channel.
Parameters Description
Name Name of look-up table.
AxisIndex Identifies the input axes.
In table: enumeration (x-axis...0,
y-axis...1)
In script: numeric value or expression
string.
GridIndex Grid point index. Numeric value or
expression string.
Value Numeric value or expression string.
Script function:
Sub LutSetX(Name, AxisIndex, GridIndex, Value)
6.2.4.16 SetZ
Sets the value of the specified table grid point to the value of the defined
channel.
Parameters Description
Name Name of look-up table.
XIndex Grid point index in x-direction. Numeric
value or expression string.
YIndex Grid point index in y-direction. Numeric
value or expression string.
Value Numeric value or expression string.
Script function:
6.2.4.17 SetZInterpolated
Sets the value of the specified table interpolation point to the value of the defined
channel.
Parameters Description
Name Name of look-up table.
X Value in x-direction. Numeric value or
expression string.
Y Value in y-direction. Numeric value or
expression string.
Value Numeric value or expression string.
Script function:
Sub LutSetZInterpolated(Name, X, Y, Value)
6.2.4.18 StoreMP
Retrieves the mean/online values for x, y, z of the parameterized measurement
point normnames ("Definition" view in LTC block).
The measurement point can either be appended (Index = -1) or an existing
measurement point can be overwritten in the measurement point list.
Depending on the measurement point resolution radius, a nearby measurement
point can be replaced with the new one. A corresponding PUMA message will be
output.
Information
Measurement points can also be specified directly or read from specific norm-
names - see also activation object StoreMPbyNN.
Parameters Description
Name Name of look-up table.
Index Numeric value or expression string. The
index specifies the row for x, y and z in
the measurement point list.
Added point: index = -1
Overwrite: 0 <= index <= n-1
Access Enumerator
Mean value...0
Online value...1
Script function:
Sub LutStoreMP(Name, Index, Access)
6.2.4.19 StoreMbByNN
Retrieves the mean/online values for x, y, z for the measurement point norm-
names and stores them in the measurement point list.
Parameters Description
Name Name of look-up table.
XValue Numeric value or expression string.
YValue Numeric value or expression string.
ZValue Numeric value or expression string.
Index Numeric value or expression string. The
index is zero-based, specifying the row
for x, y and z in the measurement point
list.
Added point: index is -1
Overwrite: 0 <= index <= n – 1
Access 0...mean value
1...online value
Script function:
Sub LutStoreByNN(Name, XValue, YValue, ZValue, Access)
6.2.4.20 LutSetMPs
Sets a list of measurement points.
Parameters Description
Name Name of look-up table.
MPList Safe array for x, y, z
Script function:
Sub LutSetMPs (Name, MPList)
6.2.4.21 DeleteMP
Deletes a specified point (x, y, z) from the list or the entire list.
Parameters Description
Name Name of look-up table.
Index Numeric value or expression string. The
index specifies the row for x, y and z in
the measurement point list.
Added point: index = -1
Overwrite: 0 <= index <= n-1
Script function:
Sub LutDeleteMP(Name, Index)
6.2.4.22 WriteMPs
Writes the measurement points collected in the measurement point list to a file.
Available formats: PUMA5, CSV
Parameters Description
Name Name of look-up table.
FileName Name of file, string.
""...File is stored in the LUT folder under
the name of the look-up table
"xy"...File is stored in the LUT folder
under xy.tx
"C:\abc\xx" is stored as file xx, if the folder
abc is available
Format Enumerator
1 .. PUMA5 format
2 .. CSV format
Script function:
Sub LutWriteMPs(Name, FileName, Format)
6.2.4.23 ReadMPs
Reads the measurement points from a file. Available formats: PUMA5, CSV
Parameters Description
Name Name of look-up table.
FileName Name of file, string.
""...File is stored in the LUT folder under
the name of the look-up table
"xy"...File is stored in the LUT folder
under xy.tx
"C:\abc\xx" is stored as file xx, if the folder
abc is available
Format Enumerator
0...PUMA5 format
1...CSV format
Script function:
Sub LutReadMPs(Name, FileName, Format)
6.2.4.24 FilterMPs
Performs a confidence check or filtering of measurement points.
Parameters Description
Name Name of look-up table.
Value Name of file, string.
0 < <= 100% for confidence
0 < <= 1 for filtering
Mode Enumerator
0 ... confidence
1 ... filtering
Script function:
6.2.4.25 GetNumberOfMPs
Retrieves the number of measurement points available in the list.
Parameters Description
Name Name of channel.
Script function:
Sub LutGetNumberOfMPs(Name)
6.2.4.26 Calculate
Calculates the grid points from the measurement points in the defined calcula-
tion range. Optionally, the dependency for the x- and y-axes can be defined.
Parameters Description
Name Name of look-up table.
Dependency Parameter for x, y and both
0...both
1...x
2...y
Script function:
Sub LutCalculate(Name, Dependency)
6.2.4.27 Filter
Performs a confidence check or filtering of the grid points.
Parameters Description
Name Name of look-up table.
Value Name of file, string.
0 < <= 100% for confidence
0 < <= 1 for filtering
Mode Enumerator
0 ... confidence
1 ... filtering
Script function:
Sub LutFilter(Name, Value, Mode)
6.2.4.28 SetZRange
Sets the look-up table in a specific range to a specified value. X1, Y1, X2 and Y2
are the physical values for the range to which the z-offset is applied. Optionally,
the z-offset can be specified as a percentage value of the z-range.
Parameters Description
Name Name of look-up table.
ZValue Numeric value or expression string.
X1Value Numeric value or expression string.
Y1Value Numeric value or expression string.
Parameters Description
X2Value Numeric value or expression string.
Y2Value Numeric value or expression string.
Mode Enumerator.
0...absolute value (default)
1...percentage value
Script function:
Sub LutSetZRange(Name, ZValue, X1Value, Y1Value, X2Value, Y2Value, Mode)
6.2.4.29 IncrementRange
Increments the look-up table in a specific range by a specified offset (z-value).
X1, Y1, X2 and Y2 are the physical values for the range to which the z-offset is
applied. Optionally, the z-offset can be specified as a percentage value of the
z-range.
Parameters Description
Name Name of look-up table.
ZValue Numeric value or string.
X1Value Numeric value or string.
Y1Value Numeric value or string.
X2Value Numeric value or string.
Y2Value Numeric value or string.
Mode Enumerator.
0...absolute value (default)
1...percentage value
Script function:
Sub LutIncrementRange(Name, ZValue, X1Value, Y1Value, X2Value, Y2Value, Mode)
6.2.4.30 RestrictGradient
Restricts the gradient of a look-up table.
Parameters Description
Name Name of look-up table.
X Enumerator for x-direction:
0...ignore
1...restrict (default)
XValue Numerical value or expression string.
""...default values of LUT calculator are
applied
1...default
Y Enumerator for y-direction:
0...ignore
1...restrict (default)
YValue Numerical value or expression string.
""...default values of LUT calculator are
applied
1...default
Script function:
6.2.4.31 Gradient
Changes the gradient in x-, y- and z-direction. For the z-direction, each grid point
is multiplied by the specified value.
Parameters Description
Name Name of look-up table.
Value Numeric value or expression string.
Direction Enumerator
0...x-direction
1...y-direction
2...z-direction
Script function:
Sub LutGradient(Name, Value, Direction)
6.2.5.1 Modify
Modifies specific signal characteristics of the selected generator channel. When
the generator is switched on, these modifications are permanently applied.
Parameters Description
Name Name of generator. String.
Channel Channel name or ID of selected generator
channel. Numeric value or expression
string.
AttributelD Defines which characteristic of the signal
is to be modified.
Counter:
Magnitude...eMfgMagnitude
Offset...eMfgoffset
Phase...eMfgPhase
SignalFrequency...eMfgSignalFrequency
waveForm...eMfgWaveForm
Value Value of selected characteristic. Numeric
value or expression string.
Script function/command:
Sub MfgModify(Name, Channel, AttributeID, Value)
Parameters Description
Name Name of generator. String.
Channel Channel name or ID of selected generator
channel. Numeric value or expression
string.
AttributeID Defines the waveform of the signal.
Counter:
Sine...eMfgSine
Square...eMfgSquare
SawTooth...eMfgSawTooth
Triangle...eMfgSignalTriangle
Script function/command:
Sub MfgModify(Name, Channel, AttributeID, Value)
Example
MfgModify "MyMfG1", "MySine", eMfgWaveForm, eMfgSawTooth
6.2.5.3 Start
Starts cyclic generation of all channels of the selected generator.
Parameters Description
Name Name of generator. String.
Script function/command:
Sub MfgStart(Name)
6.2.5.4 Stop
Stops the cyclic generation of all channels of the selected generator.
Parameters Description
Name Name of generator. String.
Script function/command:
Sub MfgStop(Name)
6.3.1.1 Start
This activation object (AO) starts the cyclic control activity of the selected PID or
PT2/PT3 controller. In order to successfully start the controller, the status of all
input channels (e.g. status of the channel from which the actual value is
received) must be valid.
Parameters Description
Name Name of PID or PT2/PT3 controller
Script function/command:
Sub PidStart (Name)
Sub Pt3Start (Name)
Parameters Description
Name Name of PID or PT2/PT3 controller
ParameterVariant Number of parameter variant
DemandValue Demand value
Script function/command:
Sub PidStartEx (Name, ParameterVariant, DemandValue)
Sub Pt3StartEx (Name, ParameterVariant, DemandValue)
6.3.1.4 Stop
This AO stops the cyclic control activity of the selected PID or PT2/PT3
controller.
Parameters Description
Name Name of PID or PT2/PT3 controller
Script function/command:
Sub PidStop (Name)
Sub Pt3Stop (Name)
Parameters Description
Name Name of PID or PT2/PT3 controller
ParameterVariant Number of parameter variant
Script function/command:
Sub PidActivateParameterVariant (Name, ParameterVariant)
Sub Pt3ActivateParameterVariant (Name, ParameterVariant)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValue Specifies the demand value.
Script function/command:
Sub PidModifyDemandValue (Name, DemandValue)
Sub Pt3ModifyDemandValue (Name, DemandValue)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValueMode Specifies the demand value mode
(constant value, dynamic value).
Script function/command:
Sub PidModifyDemandValueMode (Name, DemandValueMode)
Sub Pt3ModifyDemandValueMode (Name, DemandValueMode)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValueSource Specifies the demand value source
(look-up table, normname).
Script function/command:
Sub PidModifyDemandValueSource (Name, DemandValueSource)
Sub Pt3ModifyDemandValueSource (Name, DemandValueSource)
Parameters Description
Name Name of PID or PT2/PT3 controller
ParameterVariant Number of parameter variant
ParameterId Parameter ID
Value New value of the selected parameter
Script function/command:
Sub PidModifyParameter (Name, ParameterVariant, ParameterId, Value)
Sub Pt3ModifyParameter (Name, ParameterVariant, ParameterId, Value)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValueSource- Specifies the demand value source and
Mode the demand value mode.
Script function/command:
Sub PidModifyDemandValueModeAndSource (Name, DemandValueSourceMode)
Sub Pt3ModifyDemandValueModeAndSource (Name, DemandValueSourceMode)
6.3.2.1 EnableCyclicAction
Enables a cyclic action.
Parameters Description
stateMachineName Name of machine
stateName Name of state
actionName Name of the cyclic action.
Script function/command:
Sub TccEnableCyclicAction(stateMachineName, stateName, actionName)
6.3.2.2 DisableCyclicAction
Disables a cyclic action. If no name is assigned to an action, all cyclic actions of
a status are disabled.
Parameters Description
stateMachineName Name of machine
stateName Name of state
actionName Name of the cyclic action.
Script function/command:
Sub TccDisableCyclicAction(stateMachineName, stateName, actionName)
6.3.2.3 Start
Starts the state machine.
Parameters Description
(stateMachineName Name of machine
Script function/command:
Sub TccStart (stateMachineName)
6.3.2.4 Stop
Stops the state machine.
Parameters Description
stateMachineName Name of machine
Script function/command:
Sub TccStop (stateMachineName)
6.3.2.5 SetCurrentState
Sets the state machine into the desired state.
Parameters Description
stateMachineName Name of machine
stateName Name of state
Script function/command:
Sub TccSetState(stateMachineName, stateName)
6.3.2.6 ToggleCyclicAction
Toggles execution of a cyclic action.
Parameters Description
stateMachineName Name of machine
stateName Name of state
actionName Name of the cyclic action.
Script function/command:
Sub TccToggleCyclicAction(stateMachineName, stateName, actionName)
6.3.2.7 EnableTrigger
Enables trigger execution.
Parameters Description
stateMachineName Name of machine
stateName Name of state
triggerName Name of trigger
Script function/command:
Sub TccEnableTrigger(stateMachineName, stateName, triggerName)
6.3.2.8 DisableTrigger
Disables trigger execution.
Parameters Description
stateMachineName Name of machine
stateName Name of state
triggerName Name of trigger
Script function/command:
Sub TccDisableTrigger(stateMachineName, stateName, triggerName)
6.3.2.9 ToggleTrigger
Toggles trigger execution.
Parameters Description
stateMachineName Name of machine
stateName Name of state
triggerName Name of trigger
Script function/command:
Sub TccToggleTrigger(stateMachineName, stateName, triggerName)
6.3.2.10 EnableTransition
Enables the transition between states.
Parameters Description
stateMachineName Name of machine
stateName Name of state
transitionName Name of the transition.
Script function/command:
Sub TccEnableTransition(stateMachineName, stateName, transitionName)
6.3.2.11 DisableTransition
Disables the transition between states.
Parameters Description
stateMachineName Name of machine
stateName Name of state
transitionName Name of the transition.
Script function/command:
Sub TccDisableTransition(stateMachineName, stateName, transitionName)
6.3.2.12 ToggleTransition
Toggles the transition between states.
Parameters Description
stateMachineName Name of machine
stateName Name of state
transitionName Name of the transition.
Script function/command:
Sub TccToggleTransition(stateMachineName, stateName, transitionName)
6.3.2.13 EnableGlobalTrigger
Enables execution of a global trigger.
Parameters Description
stateMachineName Name of machine
triggerName Name of trigger
Script function/command:
Sub TccEnableGlobalTrigger(stateMachineName, triggerName)
6.3.2.14 DisableGlobalTrigger
Disables execution of a global trigger.
Parameters Description
stateMachineName Name of machine
triggerName Name of trigger
Script function/command:
Sub TccDisableGlobalTrigger(stateMachineName, triggerName)
6.3.2.15 ToggleGlobalTrigger
Toggles execution of a global trigger.
Parameters Description
stateMachineName Name of machine
triggerName Name of trigger
Script function/command:
Sub TccToggleGlobalTrigger(stateMachineName, triggerName)
6.3.2.16 ResumeFromError
Resumes the state in which RtError() was last called up.
Parameters Description
stateMachineName Name of machine
Script function/command:
Sub TccResume(stateMachineName)
6.3.2.17 TraceOn
Sets the trace level in the range <0.3>.
Parameters Description
stateMachineName Name of machine
level Trace level
Script function/command:
Sub TccTraceOn(stateMachineName, level)
6.3.2.18 TraceOff
Switches off tracing.
Parameters Description
stateMachineName Name of machine
level Trace level
Script function/command:
Sub TccTraceOff(stateMachineName, level)
Parameters Description
DeviceName Name of device
SwitchState Name of the new state.
Script function/command:
Sub TcdSwitchDevice(DeviceName, SwitchState)
6.3.4.1 Start
This activation object (AO) starts the cyclic control activity of the selected PID or
PT2/PT3 controller. In order to successfully start the controller, the status of all
input channels (e.g. status of the channel from which the actual value is
received) must be valid.
Parameters Description
Name Name of PID or PT2/PT3 controller
Script function/command:
Sub PidStart (Name)
Sub Pt3Start (Name)
Parameters Description
Name Name of PID or PT2/PT3 controller
ParameterVariant Number of parameter variant
DemandValue Demand value
Script function/command:
Sub PidStartEx (Name, ParameterVariant, DemandValue)
Sub Pt3StartEx (Name, ParameterVariant, DemandValue)
6.3.4.4 Stop
This AO stops the cyclic control activity of the selected PID or PT2/PT3
controller.
Parameters Description
Name Name of PID or PT2/PT3 controller
Script function/command:
Sub PidStop (Name)
Sub Pt3Stop (Name)
Parameters Description
Name Name of PID or PT2/PT3 controller
ParameterVariant Number of parameter variant
Script function/command:
Sub PidActivateParameterVariant (Name, ParameterVariant)
Sub Pt3ActivateParameterVariant (Name, ParameterVariant)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValue Specifies the demand value.
Script function/command:
Sub PidModifyDemandValue (Name, DemandValue)
Sub Pt3ModifyDemandValue (Name, DemandValue)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValueMode Specifies the demand value mode
(constant value, dynamic value).
Script function/command:
Sub PidModifyDemandValueMode (Name, DemandValueMode)
Sub Pt3ModifyDemandValueMode (Name, DemandValueMode)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValueSource Specifies the demand value source
(look-up table, normname).
Script function/command:
Sub PidModifyDemandValueSource (Name, DemandValueSource)
Sub Pt3ModifyDemandValueSource (Name, DemandValueSource)
Parameters Description
Name Name of PID or PT2/PT3 controller
ParameterVariant Number of parameter variant
ParameterId Parameter ID
Value New value of the selected parameter
Script function/command:
Sub PidModifyParameter (Name, ParameterVariant, ParameterId, Value)
Sub Pt3ModifyParameter (Name, ParameterVariant, ParameterId, Value)
Parameters Description
Name Name of PID or PT2/PT3 controller
DemandValueSource- Specifies the demand value source and
Mode the demand value mode.
Script function/command:
Sub PidModifyDemandValueModeAndSource (Name, DemandValueSourceMode)
Sub Pt3ModifyDemandValueModeAndSource (Name, DemandValueSourceMode)
Parameters Description
Name Name of the CAN module
Script function/command:
Sub A2cReset (Name)
Parameters Description
canline CAN line number to be reset (integer 1-8).
Script function/command:
Sub A2cresetLine (canline)
6.4.1.3 Send
Sends an individual CAN message to the CAN bus via the A2Can IO
Subsystem. The command defines the CAN message ID, length and data
contents of the message to be sent. It can be used to create CAN messages in
addition to the messages that are transferred cyclically as defined in the parame-
ters (e.g. to send an individual command to an ECU).
Information
Parameters Description
Name Name of CAN device to which the
message should be sent. String.
Default: A2Can-General.A2Can-ST-001
(uses first CAN line of PUMA system)
ID CAN message ID (0..2^29-1)
Numeric value.
No default value.
Length Number of data bytes of message (0..8).
Numeric value.
Default: 8 (entire CAN message)
Data1 First data byte of CAN message.
Numeric value or expression string.
Default: 0
Data2 Second data byte of CAN message.
Numeric value or expression string.
Default: 0
Parameters Description
Data3 Third data byte of CAN message.
Numeric value or expression string.
Default: 0
Data4 Fourth data byte of CAN message.
Numeric value or expression string.
Default: 0
Data5 Fifth data byte of CAN message.
Numeric value or expression string.
Default: 0
Data6 Sixth data byte of CAN message.
Numeric value or expression string.
Default: 0
Data7 Seventh data byte of CAN message.
Numeric value or expression string.
Default: 0
Data8 Eighth data byte of CAN message.
Numeric value or expression string.
Default: 0
Script function/command:
Sub A2cSend(Name, ID, Length, Data1, Data2, Data3, Data4, Data5, _
Data6, Data7, Data8)
Information
Parameters Description
canline Name of the canline to which the
message should be sent (range 1-8).
ID CAN message ID (0..2^29-1)
Numeric value.
No default value.
Length Number of data bytes of message (0..8).
Numeric value.
Default: 8 (entire CAN message)
Parameters Description
Data1 First data byte of CAN message.
Numeric value or expression string.
Default: 0
Data2 Second data byte of CAN message.
Numeric value or expression string.
Default: 0
Data3 Third data byte of CAN message.
Numeric value or expression string.
Default: 0
Data4 Fourth data byte of CAN message.
Numeric value or expression string.
Default: 0
Data5 Fifth data byte of CAN message.
Numeric value or expression string.
Default: 0
Data6 Sixth data byte of CAN message.
Numeric value or expression string.
Default: 0
Data7 Seventh data byte of CAN message.
Numeric value or expression string.
Default: 0
Data8 Eighth data byte of CAN message.
Numeric value or expression string.
Default: 0
Script function/command:
Sub A2cSend(canline, ID, Length, Data1, Data2, Data3, Data4, Data5, _
Data6, Data7, Data8)
Parameters Description
Name Name or number of the module.
mod_name_num Name or number of the module.
Script function/command:
Sub A2cEnableModule(Name, mod_name_num)
Parameters Description
canline Defines on which canline the module has
to be enabled (range 1-8).
mod_name_num Name or number of the module.
Script function/command:
Sub A2cEnableModule(canline, mod_name_num)
Parameters Description
Name Name or number of the module.
mod_name_num Name or number of the module.
Script function/command:
Sub A2cDisableModule(Name, mod_name_num)
Parameters Description
canline Defines on which canline the module has
to be disabled (range 1-8).
mod_name_num Name or number of the module.
Script function/command:
Sub A2cDisableModule(canline, mod_name, mod_number)
6.4.2 CanOpen-PressureiN
See FEM-AnalogIn on page 94.
6.4.3 FEM-AnalogIn
Parameters Description
DeviceName Name of device
6.4.4 FEM-CounterIn
See FEM-AnalogIn on page 94.
6.4.5 FFEM-AnalogIn
See FEM-AnalogIn on page 94.
6.4.6 FFEM-CounterIn
See FEM-AnalogIn on page 94.
6.4.7 FFEM-FastAnalogIn
See FEM-AnalogIn on page 94.
6.4.8 GSS-AnalogIn
See FEM-AnalogIn on page 94.
6.4.9 EMC-AccService
See FEM-AnalogIn on page 94.
Information
Normnames (i.e. quantities) are used to label a system channel. However, there
are also system channels that do not have a normname assigned to them.
For general purposes, the following system channel types are supported:
Long (Bit Field)
float
Double
String.
Some of the requests defined below are rejected if the relevant channel is being
used. The following condition is checked prior to write requests:
Provider: no cyclic provider
Information
In all channel services use the following algorithm to search for the channels
under their name:
At first, the channel is searched for under its normname.
Then the channel is searched for under its bitname, i.e. its local name that
can be assigned to the digital input/output channels.
After this, the channel is searched for under its system name, i.e. the lan-
guage-independent name that is typically attached to the normname.
If the channel cannot not be found using one of the options described above, the
channel does not exist, and a runtime error will be generated.
6.5.1.1 FireEvent
"Fires" an event. Any channel can be used as an event source. To "fire" an event
means to send a notification to all registered event sinks.
Information
Parameters Description
ChannelName Name of channel. String.
Value The assigned value is automatically allo-
cated to the specified channel data type.
Numeric value or expression string.
Script function/command:
Sub ChnFireEvent(ChannelName, Value)
Example
ChnFireEvent "RESCHA01", 99
6.5.1.2 FireEventSub
"Fires" an event of a subvariable. Any channel can be used as an event source.
To "fire" an event means to send a notification to all registered event sinks.
Information
Parameters Description
ChannelName Name of channel. String.
SubVariableName Specifies the subvariable of the selected
channel. String.
Value The assigned value is automatically allo-
cated to the specified channel data type.
Numeric value or expression string.
Script function/command:
Example
ChnFireEventSub "RESCHA01", "cmd", 99
6.5.1.3 SetValue
Assigns a value to a channel.
Parameters Description
ChannelName Name of channel. String.
Value The assigned value is automatically allo-
cated to the specified channel data type.
Numeric value or expression string.
Information
Script function/command:
Sub ChnSet(ChannelName, Value)
If you want to assign a string constant to a channel of the string data type, the
'ChnSet' function can be used as follows:
ChnSet "ChannelName", """Text"""
To programmatically read a channel you can use the "ChnGet" function:
Function ChnGet(ChannelName)
Example
ChnSet "RESCHA01", 123.45
ChnSet "RESCHA01", ChnGet("RESCHA02")
ChnSet "RESCHA01", "RESCHA02"
ChnSet "RESCHA01", "RESCHA02/12.55*RESCHA03"
ChnSet "RESTXT01", """This is just a sample string"""
6.5.1.4 SetValueSub
Assigns a value to the subvariable of a channel.
The statistical results of a measurement are the subvariables most commonly
used.
Average: ‘mean‘
Minimum: ‘min‘
Maximum: ‘max‘
Standard deviation: ‘std‘
Information
The statistical values are only valid after a PUMA Open steady-state measure-
ment.
Parameters Description
ChannelName Name of channel. String.
SubVariable Specifies the subvariable of the selected
channel. String.
Value The assigned value is automatically allo-
cated to the specified channel data type.
Numeric value or expression string.
Script function/command:
ChnSetSub "ChannelName", "Subvariable", "Value"
To programmatically read a subvariable of a channel you can use the
"ChnGetSub" function:
Function ChnGetSub(ChannelName, SubVariableName)
Example
ChnSetS "RESCHA01", ChnGetSub ("RESCHA02", "min")
6.5.1.5 SetStatus
Sets the status.
Information
Parameters Description
ChannelName Name of channel. String.
Status Numeric value:
Ok...0
No Provider...1
Not Initialized...2
Device Offline...3
Overflow...4
Sensor Broken...5
Script function/command:
Sub ChnSetStatus(ChannelName, Status)
To programmatically read the channel status you can use the "ChnGetStatus"
function:
Function ChnGetStatus(ChannelName)
Example
If ChnGet(RESCHA01)>=10000 Then ChnSetStatus RESCHA01, 4 End If
6.5.1.6 SetStatusSub
Sets the status of a subvariable.
Information
Parameters Description
ChannelName Name of channel. String.
SubVariableName Specifies the subvariable of the selected
channel. String.
Status Numeric value:
Ok...0
No Provider...1
Not Initialized...2
Device Offline...3
Overflow...4
Sensor Broken...5
Script function/command:
Sub ChnSetStatusSub(ChannelName, SubVariableName, Status)
To programmatically read the channel status you can use the "ChnStatusSub"
function:
Function ChnGetStatusSub(ChannelName, SubVariableName)
6.5.1.7 MdvGetDim
Sets the channel value to the number of axes of the specified table.
Parameters Description
TableName Name of look-up table channel. String.
Script function/command:
Function MdvGetDim(TableName)
6.5.1.8 MdvGetXDim
Sets the channel value to the number of grid points on the selected axes of the
specified table.
Parameters Description
TableName Name of look-up table channel. String.
AxisIndex Identifies the input axis.
In table: enumerator (x-axis...0, y-axis...1)
In script: numeric value or expression
string.
Script function/command:
Function MdvGetXDim(TableName, AxisIndex)
6.5.1.9 MdvGetX
Sets the channel value to the value of the specified axis grid point.
Parameters Description
TableName Name of look-up table channel. String.
AxisIndex Identifies the input axis.
In table: enumerator (x-axis...0, y-axis...1)
In script: numeric value or expression
string.
GridIndex Index in the grid point list.
Numeric value or expression string.
Script function/command:
Function MdvGetX(TableName, AxisIndex, GridIndex)
6.5.1.10 MdvSetX
Sets the value of the specified axis grid point to the value of the defined channel.
Parameters Description
TableName Name of look-up table channel. String.
AxisIndex Identifies the input axis.
In table: enumerator (x-axis...0, y-axis...1)
In script: numeric value or expression
string.
GridIndex Index in the grid point list.
Numeric value or expression string.
Value Numeric value or expression string.
Script function/command:
Sub MdvSetX(TableName, AxisIndex, GridIndex, Value)
6.5.1.11 MdvGetZ
Sets the channel value to the value of the specified map grid point.
Parameters Description
TableName Name of look-up table channel. String.
XIndex Index in the x grid point list.
Numeric value or expression string.
YIndex Index in the y grid point list.
Numeric value or expression string.
Script function/command:
Function MdvGetZ(TableName, XIndex, YIndex)
6.5.1.12 MdvSetZ
Sets the value of the specified map grid point to the value of the defined channel.
Abb. 47
Parameters Description
TableName Name of look-up table channel. String.
XIndex Index in the x grid point list.
Numeric value or expression string.
YIndex Index in the y grid point list.
Numeric value or expression string.
Value Numeric value or expression string.
Script function/command:
Sub MdvSetZ(TableName, XIndex, YIndex, Value)
6.5.1.13 MdvGetZInterpolated
Sets the channel value to the specified table interpolation value.
Parameters Description
TableName Name of look-up table channel. String.
X Value at the x location.
Numeric value or expression string.
Y Value at the y location.
Numeric value or expression string.
Script function/command:
Function MdvGetZInterpolated(TableName, X, Y)
6.5.1.14 MdvSetZInterpolated
Sets the value of the specified interpolation grid point to the value of the defined
channel.
Abb. 48
Parameters Description
TableName Name of look-up table channel. String.
X Value at the x location.
Numeric value or expression string.
Y Value at the y location.
Numeric value or expression string.
Value Numeric value or expression string.
Script function/command:
Sub MdvSetZInterpolated(TableName, X, Y, Value)
6.5.1.15 SrvRamp
Activates the ramp service.
Abb. 49
Parameters Description
ChannelName Name of channel. String.
Target Final value that the system channel
should have after ramp completion.
Numeric value or expression string.
RampTime Ramp time. Numeric value or expression
string.
Script function/command:
Sub SrvRamp(ChannelName, Target, RampTime)
6.5.1.16 SrvSawTooth
Starts a sequence of ramps.
Abb. 50
Parameters Description
ChannelName Name of channel. String.
Start The sequence is started using this value.
Numeric value or expression string.
Magnitude The individual ramps reach a maximum
value of VMax =VStart + VMagnitude.
Numeric value or expression string.
Period The duration [s] of an individual ramp is
defined by this value. Numeric value or
expression string.
Repetitions Number of individual ramps. If the number
of repetitions determines a negative
number, the service flashes until it is
stopped explicitly. Numeric value or
expression string.
Script function/command:
Sub SrvSawTooth(ChannelName, Start, Magnitude, Periode, Repetitions)
6.5.1.17 SrvPulse
Starts a sequence of pulses.
Abb. 51
Parameters Description
ChannelName Name of channel. String.
Magnitude When the service is active, the channel
value switches between VStart and VStart +
VMagnitude. Numeric value or expression
string.
TimeHigh Duration (s) for which the signal dwells in
"high" state (VStart + VMagnitude). Numeric
value or expression string.
TimeLow Duration (s) for which the signal dwells in
"low" state (VStart). Numeric value or
expression string.
Repetitions Number of individual pulses. If the
number of repetitions determines a nega-
tive number, the service flashes until it is
stopped explicitly. Numeric value or
expression string.
Script function/command:
Sub SrvPulse(ChannelName, Magnitude, TimeHigh, TimeLow, Repetitions)
6.5.1.18 SrvInvert
Starts a sequence of inversions.
Abb. 52
Parameters Description
ChannelName Name of channel. String.
Magnitude When the service is active, the channel
value switches between bi Start and bi Start
. bi Start : bi Start . Numeric value or expres-
sion string.
TimeHigh Duration (s) for which the channel value
dwells in "high" state (bi Mask , bi Start : bi
Start) . Numeric value or expression string.
TimeLow Duration (s) for which the channel value
dwells in "low" state (bi Start). Numeric
value or expression string.
Repetitions Number of individual pulses. If the
number of repetitions determines a nega-
tive number, the service flashes until it is
stopped explicitly. Numeric value or
expression string.
Script function/command:
Sub SrvInvert(ChannelName, Mask, TimeHigh, TimeLow, Repetitions)
6.5.1.19 SrvOff
Stops active channel services and retains the most recent value.
Parameters Description
ChannelName Name of channel. String.
Script function/command:
Sub SrvOff(ChannelName)
6.5.1.20 SrvConst
Stops active channel services and sets a constant value.
Parameters Description
ChannelName Name of the channel associated to the
service to be stopped. String.
Value After the service has been stopped, the
channel retains this value.
Script function/command:
Sub SrvConst(ChannelName, Value)
6.5.1.21 SrvDisconnect
Disconnects a selected channel from its cyclic provider.
Parameters Description
ChannelName Name of the channel that is to be sepa-
rated from the Provider. String.
Script function/command:
Sub SrvDisconnect(ChannelName)
6.5.1.22 SrvConnect
Reconnects a channel to its cyclic provider.
Parameters Description
ChannelName Name of the channel that is to be
connected to the Provider. String.
Script function/command:
Sub SrvConnect(ChannelName)
6.5.1.23 SrvSynchronize
Waits until a specified criterion has been met or a timeout has expired and writes
the result to the selected channel.
Parameters Description
ChannelName Name of the channel that is to be used as
a status channel. If the monitored condi-
tion is evaluated to be "true" within the
given timeout, the channel is set to "true"
(1). Otherwise it is set to "false" (0). String
(can be empty).
Condition Logical expression that is monitored
about 10 times a second. Expression
string.
Timeout Timeout
Script function/command:
Sub SrvSynchronize(ChannelName, Condition, Timeout)
6.5.1.24 SetDelay
Assigns a value to the delay time attribute of a channel.
Parameters Description
ChannelNname Name of channel. String.
DelayTime Delay time that is automatically assigned
to the selected channel.
Script function/command:
Sub ChnSetDelay(ChannelName, DelayTime)
To programmatically read a delay attribute you can use the "ChnGetDelay" func-
tion:
Function ChnGetDelay(ChannelName)
Example
ChnSet "RESCHA01", ChnGetDelay("RESCHA02")
6.5.1.25 SetDelaySub
Assigns a value to the delay time attribute of a subvariable of a channel.
Subvariables are addressed by their individual names.
The base variable can also be addressed by its name:
Base variable: ‘base‘
Parameters Description
ChannelName Name of channel. String.
SubVariable Specifies the subvariable of the selected
channel. String.
DelayTime Delay time that is automatically assigned
to the selected channel.
Numeric value or expression string.
Script function/command:
Sub ChnSetDelaySub(ChannelName, SubVariable, DelayTime)
To programmatically read a delay attribute of a subvariable of a channel you can
use the "ChnGetDelay" function:
Function ChnGetDelaySub(ChannelName, SubVariableName)
Example
ChnSet "RESCHA01", "base", ChnGetDelaySub("RESCHA02", "raw")
6.5.1.26 TimStart
Starts a timer that uses a specified channel. The timer value is set to zero. If a
channel service is active, it is automatically deactivated and a new service is
started.
Parameters Description
ChannelName Name of timer channel. String.
Script function/command:
Sub TimStart(ChannelName)
6.5.1.27 TimStop
Stops the selected timer. The channel associated with this timer retains the most
recent value.
Parameters Description
ChannelName Name of timer channel. String.
Script function/command:
Sub TimStop(ChannelName)
6.5.1.28 TimReset
Resets the timer and sets the value of the associated channel to zero.
Parameters Description
ChannelName Name of timer channel. String.
Script function/command:
Sub TimReset(ChannelName)
6.5.1.29 TimAdjust
Modifies the current timer value by subtracting the specified offset.
Parameters Description
ChannelName Name of timer channel. String.
Offset Offset value [ms] that is subtracted from
the current timer value: TTimer = TTimer -
Offset.
Numeric value or expression string.
Script function/command:
Sub TimAdjust(ChannelName, Offset)
6.5.1.30 TimPause
Pauses the timer service. The channel retains its latest value.
Parameters Description
ChannelName Name of timer channel. String.
Script function/command:
Sub TimPause(ChannelName)
6.5.1.31 TimContinue
Starts an inactive timer or continues a halted timer that is identified by a specified
channel. The timer value is set to the value of the system channel.
Parameters Description
ChannelName Name of timer channel. String.
Script function/command:
Sub TimContinue(ChannelName)
6.5.1.32 ChnSetEx
Assigns a given value to a channel after applying a definable conversion rule.
Parameters Description
ChannelName Name of channel. String.
Value The assigned value is automatically allo-
cated to the specified channel data type.
Numeric value or expression string.
EvaluationMode Determines how to interpret the defined
Value parameter.
eNoEvaluation = 0: The Value parameter
is used without having been interpreted.
eEvaluateChannel = 1: If the Value
parameter can be interpreted as a
channel name' (e.g. "RESCHA40"), the
value of this channel is used. Otherwise,
the value is used without having been
interpreted.
eEvaluateExpression = 2: The Value
parameter is interpreted as a mathemat-
ical expression (e.g.
"12.99+RESCHA40*RESCHA41+RESCH
A42") and the result is used.
Information
Script function/command:
Sub ChnSetEx(ChannelName, Value, EvaluationMode)
Example
ChnSetEx "RESCHA40", "RESCHA41/RESCHA42+RESCHA43", eEvaluateExpression
ChnSetEx "RESCHA40", "RESCHA41", eEvaluateChannel
ChnSetEx "RESTXT01", "This is just a sample string", eNoEvaluation
6.5.1.33 ChnSetSubEx
Assigns a value to a subvariable of the specified channel after applying a defin-
able conversion rule.
Subvariables are addressed by their individual names.
Parameters Description
ChannelName Name of channel. String.
SubVariableName Specifies the subvariable of the selected
channel. String.
Value The assigned value is automatically allo-
cated to the specified channel data type.
Numeric value or expression string.
EvaluationMode Determines how to interpret the defined
Value parameter.
eNoEvaluation = 0: The Value parameter
is used without having been interpreted.
eEvaluateChannel = 1: If the Value
parameter can be interpreted as a
channel name' (e.g. "RESCHA40"), the
value of this channel is used. Otherwise,
the value is used without having been
interpreted.
eEvaluateExpression = 2: The Value
parameter is interpreted as a mathemat-
ical expression (e.g.
"12.99+RESCHA40*RESCHA41+RESCH
A42") and the result is used.
Information
Script function/command:
Sub ChnSetSubEx(ChannelName, SubVariableName, Value, EvaluationMode)
Example
ChnSetSubEx "RESCHA40", "base", "RESCHA41/RESCHA42+RESCHA43", eEvaluateExpression
6.5.1.34 ChnGetUnit
Retrieves the "Unit" string of the specified channel.
Parameters Description
ChannelName Name of channel. String.
Script function/command:
Function ChnGetUnit(ChannelName)
Example
MsgBox ChnGetUnit("SPEED")
6.5.1.35 ChnGetDescription
Retrieves the description string of the specified channel.
Parameters Description
ChannelName Name of channel. String.
Script function/command:
Function ChnGetDescription(ChannelName)
Example
MsgBox ChnGetDescription("SPEED")
6.5.1.36 ChnGetHandle
Retrieves the handling of the specified channel.
Parameters Description
ChannelName Name of channel. String.
Script function/command:
Function ChnGetHandle(ChannelName)
Example
MsgBox ChnGetHandle("RESCHA40")
6.5.1.37 ChnGetDatatype
Retrieves the data type of the specified channel.
The following types are distinguished:
const eSCTUnknown = &H0001
const eSCTLong = &H0003
const eSCTFloat = &H0004
const eSCTDouble = &H0005
const eSCTString = &H0006
Parameters Description
ChannelName Name of channel. String.
Script function/command:
Function ChnGetDatatype(ChannelName)
Example
MsgBox ChnGetDatatype("RESCHA40")
6.5.1.38 ChnGetNativeDatatype
Retrieves the native data type of the specified channel. The following types are
known (some of them can be combined using bit-wise OR operation).
const eSCTUnknown = &H0001
const eSCTShort = &H0002
const eSCTLong = &H0003
const eSCTFloat = &H0004
Parameters Description
ChannelName Name of channel. String.
Script function/command:
Function ChnGetNativeDatatype(ChannelName)
Example
MsgBox ChnGetNativeDatatype("RESCHA40")
6.5.1.39 ChnGetSystemName
Retrieves the system name string of the specified channel.
Information
Parameters Description
ChannelName Name of channel. String
Script function/command:
Function ChnGetSystemName(ChannelName)
Example
MsgBox ChnGetSystemName("RESCHA40")
6.5.1.40 GetValue
Set target channel with the value of the selected channel.
c
Parameter Description
ChannelName Name of channel. String
Script function/command:
Function ChnGetValue(ChannelName)
6.5.1.41 GetValueSub
Set target channel with the value of a sub variable of the selected channel.
Parameter Description
ChannelName Name of channel. String
SubVariable Name of subvariable
Script function/command:
Function ChnGetValueSub(ChannelName, SubVariable)
6.5.1.42 GetStatus
Programmatically read the channelstatus of a channel
Parameter Description
Channelname Name of channel. String
Status Value:
Ok...0
No Provider...1
Not initialised...2
Device offline...3
Overflow...4
Sensor broken...5
Script function/command:
Function ChnGetStatus(ChannelName)
Example
If ChnGet(RESCHA01)>=10000 Then ChnSetStatus RESCHA01, 4 End If
6.5.1.43 GetStatusSub
Programmatically read the channelstatus of a channel.
Parameter Beschreibung
Channelname Name of channel. String
SubVariableName Specifies the subvariable of the channel.
String
Status Value:
Ok...0
No Provider...1
Not initialised...2
Device offline...3
Overflow...4
Sensor broken...5
Script function/command:
Function ChnGetStatusSub(ChannelName, SubVariableName)
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
MacroName Name of the macro. String.
ModifierNormname Normname of modifier. String.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
Script function/command:
Sub VdsEmahPrepare(Devicename, MacroName, _
ModifierNormname, SyncNormname)
6.6.1.2 Request
Requests an emission bench.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Script function/command:
Sub VdsEmahRequest(Devicename)
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
OnOff "off": without EGR, if there is no match
"on": with EGR
Script function/command:
Sub VdsEmahSelectEGR(Devicename, OnOff)
6.6.1.4 Acquisition
Turns the acquisition of a line on/off.
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Measuring line. String.
"1", "2"
If the string is empty or if there is no
match, Line 1 is used.
OnOff "Off": without EGR, if there is no match
"On": switch on
Script function/command:
Sub VdsEmahSelectAcquirement(Devicename, Line, OnOff)
6.6.1.5 Release
Releases the emission bench.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Script function/command:
Sub VdsEmahRelease(Devicename)
6.6.1.6 Macro
Sends a start request for a macro to the handler.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Parameters Description
MacroName Name of the macro. String.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
Script function/command:
Sub VdsEmahMacro(Devicename, MacroName, SyncNormname)
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Reset ‘‘‘‘...no previous resetting of alarm
handling
"0"...reset all alarms to off
ChannelList List of the channels to be toggled. String.
e.g. "1,2,4"
‘‘‘‘empty string...no channel is to be
toggled
Script function/command:
Sub VdsEmahMaskAlarm(Devicename, Reset, ChannelList)
6.6.1.8 Send
Sends a command to the emission bench.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
TelegramString Telegram string that is to be sent. String.
Script function/command:
Sub VdsEmahPut(Devicename, TelegramString)
6.6.1.9 SendReceive
Sends a command to the emission bench and reads the response telegram.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
TelegramString Telegram string that is to be sent. String.
Script function/command:
Sub VdsEmahGet(Devicename, TelegramString)
6.6.1.10 Mode
Selects the emissions mode.
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
EmissionMode Must be one of the following strings:
"NOX", "NO", "HCG", "MET", "MFR"
If the string does not match, the command
will be ignored.
Script function/command:
Sub VdsEmahSelectMode(Devicename, EmissionMode)
6.6.1.11 System
Sets the system type for Shared Mode.
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
SystemType Must be one of the following strings:
"ALL", "DEF", "CUT", "FTI"
If the string does not match, the command
will be ignored.
Script function/command:
Sub VdsEmahSelectSystemType(Devicename, SystemType)
Information
This is a custom feature for which specific parameter values may be required.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Measuring line. String.
"1", "2", "3"
If the string is empty or if there is no
match, Line 1 is used.
Reset ‘‘‘‘...no previous resetting of all measuring
points
"0"... deactivates all measuring points
MeasPointList List of all measuring points to be deacti-
vated. String.
e.g. "1,2,4"
‘‘‘‘empty string... no measuring point is to
be toggled
Script function/command:
Sub VdsEmahSelectMeasurementPoint(Devicename, Line, _
Reset, MeasPointList)
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
OnOff "Off": turn off
"On": switch on
"Off" is selected if there is no match.
Script function/command:
Sub VdsEmahSelectMultiPointMeasurement(Devicename, OnOff)
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Parameters Description
Reset ‘‘‘‘...no previous resetting of all submea-
surements
"0"... deactivates all submeasurements
IdList List containing the IDs of submeasure-
ments to be toggled. String.
e.g. "1,2,4"
‘‘‘‘empty string... no submeasurement is to
be toggled
Script function/command:
Sub VdsEmahSelectSubMeasurements(Devicename, Reset, IdList)
6.6.1.15 Parameters
Is used to load/check/download/print parameters and only available in the EMAH
task.
Information
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Action Must be one of the following strings:
"LOAD"
"CHECK"
"DOWNLOAD"
"PRINT"
If the string does not match, the command
will be ignored.
Script function/command:
Sub VdsEmahParameter(Devicename, Action)
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
MacroName Name of the macro. String.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
Script function/command:
Sub VdsEmahMacro(Devicename, MacroName, SyncNormname)
6.6.1.17 Reset
Resets the emission bench. Function is only enabled if the device driver is in
online state.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Performs the function in the selected line.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
6.6.1.18 Purge
Purges the emission bench. This function is only enabled if the device driver is in
online state.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Performs the function in the selected line.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
6.6.1.19 Measurement
Starts the sample gas flow. Function is only enabled if the device driver is in
online state.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Performs the function in the selected line.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
6.6.1.20 Span
Starts the span gas flow. Function is only enabled if the device driver is in online
state.
Term Value
Enabled for BSQ, SSQ (steady-state and dynamic),
System Explorer
Accessibility MONITOR, MANUAL, AUTOMATIC, diag-
nostic purposes
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Performs the function in the selected line.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
6.6.1.21 Calibrate
Starts the calibration gas flow. Function is only enabled if the device driver is in
online state.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Line Performs the function in the selected line.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
6.6.1.22 Zero
Starts the zero gas flow. Function is only enabled if the device driver is in online
state.
Parameters Description
Devicename Device name "EMAH"/ "EMA2"/ "EMA3".
String.
Parameters Description
Line Performs the function in the selected line.
SyncNormname Synchronization normname. String.
‘‘‘‘empty string... no synchronization
6.6.1.23 Send
Sends a command to the bench.
Parameters Description
TelegramString Name of the telegram string to be sent.
String.
Script function/command:
Sub VdsSmsaPut(TelegramString)
6.6.1.24 SendReceive
Sends a command to the emission bench and reads the response telegram.
Parameters Description
TelegramString Name of the telegram string to be sent.
String.
Script function/command:
Sub VdsSmsaGet(TelegramString)
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SetStandby(DeviceName, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SetPause(DeviceName, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000StartVenting(DeviceName, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
KMA_AK_Command Generic AK command to be sent
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SendAK(DeviceName, KMA_AK_Command, MonitorTimeout,_ Timeout)
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000StoppDynamicMeasurement(DeviceName, MonitorTimeout,_ Timeout)
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000ResetDynamicMeasurement(DeviceName, MonitorTimeout,_ Timeout)
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000StopInterval(DeviceName, MonitorTimeout, Timeout)
6.6.2.9 GetIntegrator
Using the KMA 4000, it is not necessary to read the interval result because the
interval value is calculated by the interface software. This command is only avail-
able for compatibility with the standard activation objects. The command has no
function and is not shown on the interface.
Parameters Description
DeviceName Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000GetIntegrator(DeviceName, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
Select Domain Used domain
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SelectDomain(DeviceName, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
KMA_PARAM_BaseTim Device measuring time
e
KMA_PARAM_MeasCyc Number of measurement values for aver-
les aging
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SelectMeasParameter(DeviceName, KMA_PARAM_BaseTime,_
KMA_PARAM_MeasCycles, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
AdjustMeasTime Adjustment to PUMA measuring time
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SelectMeasAdjust(DeviceName, KMA_PARAM_AdjustMeasTime,_ MonitorTim-
eout, Timeout)
Parameters Description
DeviceName Name of device
KMA_PARAM_Temp1_D Demand value for the inlet temperature
emand
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SelectMeasAdjust(DeviceName, KMA_PARAM_Temp1_Demand,_ MonitorTim-
eout, Timeout)
Parameters Description
DeviceName Name of device
KMA_PARAM_Temp2_D Demand value for the outlet temperature
emand
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub CDH_KMA4000SelectMeasAdjust(DeviceName, KMA_PARAM_Temp2_Demand,_ MonitorTim-
eout, Timeout)
6.6.3.1 Calibrate
Calibrates the type 730 fuel balance.
Script function/command:
Sub VdsS730Calibrate()
6.6.4.1 Request
Sends request to the device.
Script function/command:
Sub VdsPsahRequest()
6.6.4.2 Release
Releases the device.
Script function/command:
Sub VdsPsahRelease()
6.6.4.3 Macro
Executes macro.
Parameters Description
MacroName Name of the macro. String.
Script function/command:
Sub VdsPsahMacro(MacroName)
6.6.4.4 Send
Sends a command to the bench.
Parameters Description
TelegramString Name of the telegram string to be sent.
String.
Script function/command:
Sub VdsPsahPut(TelegramString)
6.6.4.5 SendReceive
Sends a command to the emission bench and reads the response telegram.
Parameters Description
TelegramString Name of the telegram string to be sent.
String.
Script function/command:
Sub VdsPsahGet(TelegramString)
Parameters Description
TelegramString Name of the telegram string to be sent.
String.
Script function/command:
Sub VdsPluaSend(TelegramString)
6.6.5.7 Local
Sets the device handler into Local mode.
Script function/command:
Sub VdsPluaLocal()
6.6.5.12 Remote
Sets the device handler into REMOTE mode.
Script function/command:
Sub VdsPluaRemote()
6.6.5.13 Refresh
Refreshes all cyclic values that have been set in the Cyclic Data Acquisition
table, including the values with a sampling frequency = 0.
Script function/command:
Sub VdsPluaRefresh()
6.6.6.1 Calibrate
Calibrates the fuel balance.
Script function/command:
Sub VdsP730Calibrate()
6.6.7.1 Calculate
Calculates results.
Script function/command:
Sub VdsI670Calculate()
6.6.7.2 Local
Switches to Local mode.
Script function/command:
Sub VdsI670Local()
6.6.7.3 Measurement
Starts a measurement.
Script function/command:
Sub VdsI670Measurement()
6.6.7.4 Online
Switches to Online mode.
Script function/command:
Sub VdsI670Online()
6.6.7.5 Store
Stores the results.
Script function/command:
Sub VdsI670Save()
6.6.8 AVL403S
6.6.8.1 Connect
Checks the device ID and configuration and updates the message window with
the configuration information. Resets the error information section.
Script function/command:
Sub cdh_AVL403S_Connect(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_StartDevice(Name, MonitorTimeout, Timeout)
6.6.8.3 Initialize
Requests remote device access rights. Updates the device with device parame-
ters from the parameter section (integration time and refill weight). Performs
cyclic activities to update the system channels in the online value section and the
status value section.
Parameters Description
Name Name of device
PARA_IntegrationTime Integration time that is used in measure-
ments with the O403S.
PARA_ConstRefillWeigh Oil refill weight.
t
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_Initialize(Name, _
PARA_IntegrationTime, PARA_ConstRefillWeight, MonitorTimeout, Timeout)
6.6.8.4 PreMeasurement
Sends the relevant measurement parameters to the device (integration time for
dynamic long measurement, refill weight for constant-level measurement),
depending on the measurement mode. Then cyclic data acquisition is continued.
Parameters Description
Name Name of device
RequestArgument 0 for start/stop measurement, > 0 for
time-based measurement
MeasTime Measuring time
PARA_MeasMode
PARA_IntegrationTime Integration time
PARA_ConstRefillWeigh Refill weight for constant-level measure-
t ment.
PARA_TKKDynLong Correction factor for a dynamic long
measurement.
PARA_TKKDynShort Correction factor for a dynamic short
measurement.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_PreMeasurement(Name, _
RequestArgument, PARA_MeasTime, PARA_MeasMode, _
PARA_IntegrationTime, PARA_ConstRefillWeight, _
PARA_TKKDynLong, PARA_TKKDynShort, MonitorTimeout, Timeout)
6.6.8.5 Measurement
Resets the measurement value section. Starts the measurement that has been
set under the defined measurement mode. After the measurement has been
started, the PUMA system is informed about the measurement start so that the
BSQ/SSQ can proceed. The measurement continues until it is stopped by
PUMA. The cyclic activities are continued.
Parameters Description
Name Name of device
PARA_MeasMode Measurement mode
1..Start dynamic long measurement
2..Stop dynamic long measurement
3..Interval measurement
4..Start dynamic short measurement
5..Stop dynamic short measurement
6..Constant level
7..Constant level/start
8..Constant level/stop
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_Measurement(Name, PARA_MeasMode, _
MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_ProvideResults(Name, MonitorTimeout, Timeout)
6.6.8.7 PostMeasurement
Empty sequence. The cyclic activities are continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.8.8 Reset
Performs a device internal reset, if the request argument equals 0. Otherwise,
nothing happens.
Parameters Description
Name Name of device
RequestArgument 0..HW reset
1..SW reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_Reset(Name, RequestArgument, _
MonitorTimeout, Timeout)
6.6.8.9 Maintenance
Empty sequence. The cyclic activities are continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_Maintenance(Name, MonitorTimeout, Timeout)
6.6.8.10 Cancel
Sets the device into stand-by state. All activities in progress (measurements of
various types) are aborted (cancelled). The cyclic activities are continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_Cancel(Name, MonitorTimeout, Timeout)
6.6.8.11 Release
Releases the remote device access rights; the device changes to manual mode.
The cyclic activities are continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_StopDevice(Name, MonitorTimeout, Timeout)
6.6.8.13 Reinitialize
Establishes communication with the device and checks whether the correct
device has been connected. Requests remote device access rights. Updates the
device with the device parameters from the parameter value section. Sets the
device into stand-by mode, if possible. Performs cyclic activities to update the
system channels in the online value section and the status value section.
Parameters Description
Name Name of device
PARA_IntegrationTime Integration time that is used in measure-
ments with the O403S.
PARA_ConstRefillWeigh Oil refill weight.
t
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_Reinitialize(Name, _
PARA_IntegrationTime, PARA_ConstRefillWeight, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARA_SetDevice Required device function.
Standby, AFC on, AFC off, Start filling,
Stop filling, AFC lock on, AFC lock off,
Level alarm on, Level alarm off, Reset,
Correction dyn. Long, Correction dyn.
short.
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_SetDeviceFunction(Name, _
PARA_SetDevice, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARA_AFCRefWeight Reference weight for the AFC.
PARA_AFCConsWeight Weight that has to be consumed before
refilling.
PARA_AFCRefillWeight Refill weight.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_StartAFC(Name, _
PARA_AFCRefWeight, PARA_AFCConsWeight, _
PARA_AFCRefillWeight, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARA_ManuRefillWeight Refill weight.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_StartFilling(Name, _
PARA_ManuRefillWeight, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Command AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_SendAK(Name, AK_Command, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARA_LevelAlarmMin Upper alarm limit.
PARA_LevelAlarmMax Lower alarm limit.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL403S_StartLevelAlarm(Name, _
PARA_LevelAlarmMax, PARA_LevelAlarmMin, MonitorTimeout, Timeout)
6.6.9.1 Start
Starts the cyclic acquisition of measured data and device status.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StartCyclicAcquisition(Name)
6.6.9.2 AK command
Sends an individual AK command to the device.
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
Script function/command:
Sub Cdh_CVS_AKCommand(Name, AK_Command_Send)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StartBagPairFilling(Name, _
CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StopBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagNumber Number of requested bag.
Script function/command:
Sub Cdh_CVS_RequestBagVolume(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of requested bag pair.
Script function/command:
Sub Cdh_CVS_RequestBagPairVolume(Name, CVS_BagPairNumber)
6.6.9.7 Manual
Switches to Manual mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_ManualMode(Name)
6.6.9.8 Remote
Switches to Remote mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_RemoteMode(Name)
6.6.9.9 Standby
Switches to Standby mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StandbyMode(Name)
6.6.9.10 Pause
Switches to Pause mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_EnergySavingMode(Name)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StartBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StopBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StartBagEvacuation(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagEvacuation(Name, CVS_BagNumber)
6.6.9.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
CVS_SequenceName CDH sequence that is requested.
Script function/command:
CdhInvokeSequence "Device", CVS_SequenceName"
Parameters Description
Name Name of device
CVS_BagNumber Number of bag to be purged.
Script function/command:
Sub Cdh_CVS_StartBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is purged.
Script function/command:
Sub Cdh_CVS_StopBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_VenturiNumber Selected bag filling rate.
Script function/command:
Sub Cdh_CVS_SelectVenturiNumber(Name, CVS_VenturiNumber)
Parameters Description
Name Name of device
CVS_FlowrateIndex Selected flow rate.
Script function/command:
Sub Cdh_CVS_SelectFlowrateIndex(Name, CVS_FlowrateIndex)
6.6.9.20 Macro
Executes a user-defined macro (CDH sequence).
Parameters Description
CVS_MacroName Name of macro (CDH sequence) that is
executed.
Script function/command:
Parameters Description
CVS_SampleLineNumb Sample line number that is used.
er
Script function/command:
Sub Cdh_CVS_SetSampleLine(CVS_SampleLineNumber)
Parameters Description
CVS_DLSFlowrate Demand flow rate to be set.
Script function/command:
Sub Cdh_CVS_SetDLSFlowrate(CVS_DLSFlowrate)
6.6.10.1 Connect
Establishes communication with the measuring device and checks whether the
proper device and software version is provided.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_Connect(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_StartDevice(Name, MonitorTimeout, Timeout)
6.6.10.3 Initialize
Sets the device into Remote mode and transfers the current parameterization to
the device. If "sync. measurement" is selected, "ready for sampling" (SASB) is
also executed. The measurement parameters are passed on to the device.
Cyclically receives a device status message.
Parameters Description
Name Name of device
PARAM_MeasCycle Measurement with time/volume preselec-
tion
PARAM_SampleVol Volume preselection for volume measure-
ment (0 is special measurement)
PARAM_SampleNb 1 to 5 measuring cycles possible
Parameters Description
PARAM_SampleTime Time preselection for time measurement
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_Initialize(Name, _
PARAM_MeasCycle, PARAM_SampleVol, _
PARAM_SampleNb, PARAM_SampleTime, MonitorTimeout, Timeout)
6.6.10.4 PreMeasurement
Ensures that the smoke meter is ready for measurement and transfers the
current parameterization to the device. If "sync. measurement" is selected,
"ready for sampling" (SASB) is also executed. The measurement parameters are
passed on to the device. Cyclically receives a device status message.
Parameters Description
Name Name of device
PARAM_SampleTime Time preselection for time measurement
PARAM_SelectSampleP Sample point 1 or 2 or single-flow
oint
PARAM_PaperEcoMode Paper economy mode on/off
PARAM_SampleVol_Aut Minimum sample volume for Auto Range
oRange_min mode
PARAM_SampleVol_Aut Maximum sample volume for Auto Range
oRange_max mode
PARAM_Ext_Purgetime Extended purge time
PARAM_Ext_trigger_del External trigger delay time.
ay
PARAM_FSN_tolerance Tolerance for special measurement
ErrorByte Device error byte
PARAM_ManSampleNb Number of measuring cycles in manual
e mode
PARAM_ManSampleTim Sampling time in manual mode
e
PARAM_ManNominalVol Nominal volume
PARAM_SynchronizedM Synchronized measurement
eas
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_PreMeasurement(Name, _
PARAM_MeasCycle, PARAM_SampleTime, PARAM_SampleNb, _
PARAM_SampleVol, PARAM_SelectSamplePoint, _
PARAM_PaperEcoMode, _
PARAM_SampleVol_AutoRange_min, _
PARAM_SampleVol_AutoRange_max, _
PARAM_Ext_Purgetime, PARAM_Ext_trigger_delay, _
PARAM_FSN_tolerance, PARAM_Dummy, _
PARAM_SynchronizedMeas, MonitorTimeout, Timeout)
6.6.10.5 Measurement
Starts a measurement using the current parameterization. After the measure-
ment with the selected parameters has been completed, the measuring range is
updated with the results. Cyclically receives a device status message.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_Measurement(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_ProvideResults(Name, MonitorTimeout, Timeout)
6.6.10.7 PostMeasurement
Empty sequence for the AVL 415 S and AVL 415.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.10.8 Reset
Performs a software reset on the device. Continues cyclic status acquisition after
a short delay.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_Reset(Name, MonitorTimeout, Timeout)
6.6.10.9 Calibrate
Performs one of seven procedures provided by the device driver.
Parameters Description
DeviceName Name of device
CALPARAM_CalProced Selects a calibration procedure, e.g. leak
ure check, reflector head calibration, volume
check.
Script function/command:
Sub cdh_AVL415S_Calibrate (DeviceName, CALPARAM_CalProcedure)
6.6.10.10 Interrupt
Empty sequence for the AVL 415 S and AVL 415.
Parameters Description
DeviceName Name of device
Script function/command:
Sub Cdh_AVL415S_Interrupt (DeviceName)
6.6.10.11 Release
Releases the control rights.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_StopDevice(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_DoPurge(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_Send_AK(Name, AK_Command_Send, _
MonitorTimeout, Timeout)
Parameters Description
Name Name of device
CALPARAM_DeadVolSP Dead volume for sample point 1
1
CALPARAM_DeadVolSP Dead volume for sample point 2
2
CALPARAM_AmbientPr Ambient pressure
essure
Parameters Description
CALPARAM_VolCorrecti Volume correction factor
onFactor
PARAM_FilterArea Effective filter area
PARAM_Heater Temperature conditioning on/off
PARAM_GreyValEvaluat Grey value < white value is permissible
ion
PARAM_EffLengthPollLe Effective length for pollution level
vel
PARAM_NegOffsetPollL Negative offset for pollution level
evel
PARAM_CorrectionFact Soot concentration correction factor
orSoot
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL415S_SetDeviceParameter(Name, _
CALPARAM_DeadVolSP1, CALPARAM_DeadVolSP2, _
CALPARAM_AmbientPressure, _
CALPARAM_VolCorrectionFactor, PARAM_FilterArea, _
PARAM_Heater, PARAM_GreyValEvaluation, _
PARAM_EffLengthPollLevel, _
PARAM_NegOffsetPollLevel, _
PARAM_CorrectionFactorSoot, MonitorTimeout, Timeout)
6.6.11.1 Connect
Retrieves and checks the device ID and software version.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Connect(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_StartDevice(Name, MonitorTimeout, Timeout)
6.6.11.3 Initialisation
Sets the device into Standby mode and sends the system parameters to the
device. Performs cyclic data acquisition: GetOnlineValues.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Initialize(Name, MonitorTimeout, Timeout)
6.6.11.4 Reinitialize
Establishes communication with the device and checks whether the device is an
AVL 442. Then cyclic data acquisition is started. Eventually, the device is set into
Standby and Remote mode and the system parameters are transferred to the
device.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Reinitialize(Name, MonitorTimeout, Timeout)
6.6.11.5 PreMeasurement
Retrieves the current system parameters and starts cyclic data acquisition:
GetOnlineValues.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_PreMeasurement(Name, MonitorTimeout, Timeout)
6.6.11.6 Measurement
Waits until the measuring time has expired to enable PUMA to average the
measured values during a steady-state measurement. Performs cyclic data
acquisition.
Parameters Description
Name Name of device
RequestArgument Request argument.
PARA_MeasTime Measuring time
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Measurement(Name, RequestArgument, _
PARA_MeasTime, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_ProvideResults(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.11.9 Reset
Performs a software reset on the device. Starts cyclic data acquisition after a
short delay: GetOnlineValues.
Parameters Description
Name Name of device
RequestArgument 0 .. hardware reset, 1 .. software reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Reset(Name, RequestArgument, _
MonitorTimeout, Timeout)
6.6.11.10 Maintenance
Empty sequence for the AVL 442. Starts cyclic data acquisition: GetOn-
lineValues.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Maintenance(Name, MonitorTimeout, Timeout)
6.6.11.11 Cancel
Aborts the active device processes (e.g. interval measurement). Then cyclic data
acquisition is continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Cancel(Name, MonitorTimeout, Timeout)
6.6.11.12 Release
Empty sequence for the AVL 442. Starts cyclic data acquisition.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_StopDevice(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Command AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL442_SendAK(Name, AK_Command, MonitorTimeout, Timeout)
6.6.12.1 Connect
Establishes communication with the device. Checks the device ID and provides
the firmware version.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Connect(Name, MonitorTimeout, Timeout)
6.6.12.3 Initialize
Switches to control mode and provides the current settings: measurement
parameters, air pressure settings, scaling/filtering of analog output, operating
hours.
Script function/command:
Sub cdh_avl439_Initialize(Name, _
OPA_OnlineAcquisition, MonitorTimeout, Timeout)
6.6.12.4 PreMeasurement
Sends the measurement parameter settings and the scaling/filtering of the
analog output to the device.
Parameters Description
OPA_MeasValOutput Measured quantity that is output
OPA_MeasValFiltered Measured quantity that is filtered
OPA_FilterType Filter type
OPA_RiseTime Rise time
OPA_TriggTypePeak Type of trigger used for peak value
measurement
OPA_AnalogScale Scaling of analog output
OPA_AnalogFilter Filtering of analog output
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_PreMeasurement(Name, _
OPA_MeasValOutput, OPA_MeasValFiltered, _
OPA_FilterType, OPA_RiseTime, OPA_TriggTypePeak, _
OPA_AnalogScale, OPA_AnalogFilter, MonitorTimeout, Timeout)
6.6.12.5 Measurement
Starts the measurement (start of sample gas flow) and the peak value measure-
ment (start of measurement window) based on the current measurement param-
eter settings.
Script function/command:
Sub cdh_avl439_Measurement(Name, OPA_Dummy, _
OPA_MeasTime, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_ProvideResults(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.12.8 Reset
Aborts all active functions and resets the system.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Reset(Name, MonitorTimeout, Timeout)
6.6.12.9 Calibrate
Performs a calibration.
Script function/command:
Cdh_AVL439_Calibrate "DEVICE"
6.6.12.10 Interrupt
Is not used for the AVL 439 Opacimeter.
Script function/command:
Cdh_AVL439_Interrupt "DEVICE"
6.6.12.11 Release
Switches to monitor mode.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Release(Name, _
OPA_OnlineAcquisition, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_RemoteMode(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_ManualMode(Name, MonitorTimeout, Timeout)
6.6.12.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
OPA_SequenceName CDH sequence that is called up.
Script function/command:
Cdh_AVL439_InvokeSequence "DEVICE", "OPA_SequenceName"
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_PauseMode(Name, MonitorTimeout, Timeout)
6.6.12.17 Command
Sends an AK command to the device.
Parameters Description
Name Name of device
OPA_AKSend AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Command(Name, OPA_AKSend, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_LinearityTestResult(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
OPA_MeasValOutput Measured quantity that is output
OPA_ MeasValFiltered Measured quantity that is filtered
OPA_FilterType Filter type
OPA_RiseTime Rise time
OPA_TriggTypePeak Type of trigger used for peak value
measurement
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Parameters(Name, _
OPA_MeasValOutput, OPA_MeasValFiltered, _
OPA_FilterType, OPA_RiseTime, OPA_TriggTypePeak, _
MonitorTimeout, Timeout)
Parameters Description
Name Name of device
OPA_AnalogScale Scaling of analog output
OPA_AnalogFilter Filtering of analog output
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Output(Name, OPA_AnalogScale, _
OPA_AnalogFilter, MonitorTimeout, Timeout)
6.6.12.21 Standby
Performs zeroing. After zeroing has finished, the device is ready for measure-
ment.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Standby(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
OPA_AmbAirPressure Air pressure [mbar]
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_AmbientAirPressure(Name, _
OPA_AmbAirPressure, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_StartPeak(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_StopPeak(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_CalibrationResult(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_PeakValue(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_FunctionOffMode(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_CheckZeroPoint(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_StartMeasurement(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_LinearityCheck(Name, MonitorTimeout, Timeout)
6.6.12.31 Purging
Performs purging.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_Purge(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_avl439_PurgeShort(Name, MonitorTimeout, Timeout)
6.6.13.1 Request
Switches the device to Remote operation by sending the command SREM.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SendRequest(Name, MonitorTimeout, Timeout)
6.6.13.2 Release
Sets the device into MANUAL mode by sending the command SMAN.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SendRelease(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_GetDemandGtot(Name, MonitorTimeout, Timeout)
6.6.13.4 Pause
Sets the device into Pause state by using the command SPAU.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SendPause(Name, MonitorTimeout, Timeout)
6.6.13.5 ReadMinMaxValues
Reads all minimum and maximum values from the device by using the
commands ADFM and ATTM.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_ReadMinMaxValues(Name, MonitorTimeout, Timeout)
6.6.13.6 ReadModeResults
Reads all result values of the test run mode last executed from the device by
using the commands AIKM, AMDT, ATTM and ADFM.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_ReadModeResults(Name, MonitorTimeout, Timeout)
6.6.13.7 ReadTotalResults
Reads all result values of the test run mode last executed from the device by
using the command AIKT.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_ReadTotalResults(Name, MonitorTimeout, Timeout)
6.6.13.8 Reset
Aborts all current processes and sends the command SRES to the device. The
device is set into Pause state.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SendReset(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
SMS_AK_Command Command string
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SendAK(Name, _
SMS_AK_Command, MonitorTimeout, Timeout)
6.6.13.10 SetDemandGexh
Sets the value for the exhaust mass flow Gexh by using the command EGXH.
Parameters Description
Name Name of device
SMS_PARAM_Gexh Command string
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetDemandGexh(Name, _
SMS_PARAM_Gexh, MonitorTimeout, Timeout)
6.6.13.11 SetDemandGtot
Sets the value for the total tunnel flow Gtot by using the command EGTT.
Parameters Description
Name Name of device
SMS_PARAM_Gtot Total tunnel flow (g/s).
Range: 0.5 <= Gtot <= 2.0 g/s
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetDemandGtot(Name, _
SMS_PARAM_Gtot, MonitorTimeout, Timeout)
6.6.13.12 SetDemandQratio
Sets the value for the dilution ratio Qratio by using the command EDRV.
Parameters Description
Name Name of device
SMS_PARAM_Qratio Retrieves the value (-) for the dilution
ratio.
Range: 3 <= Qratio <= 99
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetDemandQratio(Name, _
SMS_PARAM_Qratio, MonitorTimeout, Timeout)
6.6.13.13 SetDemandRratio
Sets the value for the sample ratio Rratio by using the command EENV.
Parameters Description
Name Name of device
SMS_PARAM_Rratio Retrieves the value (-) for the sample
ratio.
Range: 0.0001 <= Rratio <= 0.1
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetDemandRratio(Name, _
SMS_PARAM_Rratio, MonitorTimeout, Timeout)
6.6.13.14 SetDemandValues
Sets the values for the total tunnel flow Gtot (command EGTT), the exhaust mass
flow Gexh (command EGXH), the dilution ratio Qratio (command EDRV) and the
sample ratio Rratio (command EENV). Finally, the current value for the total
tunnel flow Gtot is read from the device and written to the channel
SMS_PARACT_Gtot.
Parameters Description
Name Name of device
SMS_PARAM_Gtot Total tunnel flow (g/s).
Range: 0.5 <= Gtot <= 2.0 g/s
SMS_PARAM_Gexh Command string
SMS_PARAM_Qratio Retrieves the value (-) for the dilution
ratio.
Range: 3 <= Qratio <= 99
SMS_PARAM_Rratio Retrieves the value (-) for the sample
ratio.
Range: 0.0001 <= Rratio <= 0.1
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetDemandValues(Name, _
SMS_PARAM_Gtot, SMS_PARAM_Gexh, _
SMS_PARAM_Qratio, SMS_PARAM_Rratio, MonitorTimeout, Timeout)
6.6.13.15 SetDilutionMode
Selects the dilution mode on the device by using the command SKON.
Parameters Description
Name Name of device
SMS_PARAM_DilutionM 0 .. CVS mode
ode
1 .. Constant mode
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetDilutionMode(Name, _
SMS_PARAM_DilutionMode, MonitorTimeout, Timeout)
6.6.13.16 SetTestrunName
Selects a predefined test run on the device by using the command EKPD.
Parameters Description
Name Name of device
SMS_PARAM_TestrunN Name of predefined test run.
ame
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SetTestrunName(Name, _
SMS_PARAM_TestrunName, MonitorTimeout, Timeout)
6.6.13.17 Standby
Sets the device into Stand-by mode by sending the command STBY.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_SendStandby(Name, MonitorTimeout, Timeout)
6.6.13.18 StartLoadFilter
Starts filter loading.
Parameters Description
Name Name of device
SMS_PARAM_FilterNum Filter number
ber
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_StartLoadFilter(Name, _
SMS_PARAM_FilterNumber, MonitorTimeout, Timeout)
6.6.13.19 StopLoadFilter
Stops filter loading.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_StopLoadFilter(Name, MonitorTimeout, Timeout)
6.6.13.20 StartTestRun
Starts a predefined test run on the device.
Parameters Description
Name Name of device
SMS_PARAM_TestrunN Name of predefined test run.
ame
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_StartTestRun(Name, _
SMS_PARAM_TestrunName, MonitorTimeout, Timeout)
6.6.13.21 StartTestMode
Starts the next mode of a predefined test run.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL472_StartTestMode(Name, MonitorTimeout, Timeout)
6.6.14 AVL733S
6.6.14.1 Connect
Retrieves and checks the device ID and software version.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Connect(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_StartDevice(Name, MonitorTimeout, Timeout)
6.6.14.3 Initialisation
Requests device control rights and sends measurement and filling paramters to
the device. Starts cyclic data acquisition: GetOnlineValues.
Parameters Description
Name Name of device
PARA_Cycles Fuel Balance measurement cycles.
PARA_Time Measuring time for time-based measure-
ment.
PARA_Weight Measurement weight for weight-based
measurement.
PARA_FillMode Fuel Balance fill mode.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Initialize(Name, _
PARA_Cycles, PARA_Time, PARA_Weight, _
PARA_FillMode, MonitorTimeout, Timeout)
6.6.14.4 Reinitialize
Connects to the device. Performs cyclic data acquisition: GetOnlineValues.
Obtains control rights and transfers the measurement parameters and the fill
mode settings to the device.
Parameters Description
Name Name of device
PARA_Cycles Fuel Balance measurement cycles.
PARA_Time Measuring time for time-based measure-
ment.
PARA_Weight Measurement weight for weight-based
measurement.
PARA_FillMode Fuel Balance fill mode.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Reinitialize(Name, _
PARA_Cycles, PARA_Time, PARA_Weight, _
PARA_FillMode, MonitorTimeout, Timeout)
6.6.14.5 PreMeasurement
Ensures that the fuel balance is ready to measure by switching the fill mode to
"normal" and closing the fill valve. The measurement parameters are transferred
to the device. Waits until filling and stabilization have been finished before
ending the sequence by performing cyclic data acquisition.
Parameters Description
Name Name of device
RequestArgument Request argument.
PARA_Cycles Fuel Balance measurement cycles.
PARA_Time Measuring time for time-based measure-
ment.
PARA_Weight Measurement weight for weight-based
measurement.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_PreMeasurement(Name, _
RequestArgument, PARA_Cycles, PARA_Time, _
PARA_Weight, MonitorTimeout, Timeout)
6.6.14.6 Measurement
Starts the selected measurement mode. Provides the "Measurement Values"
section with values until the measurement is terminated. Then cyclic data acqui-
sition is continued.
Parameters Description
Name Name of device
PARA_MeasMode Fuel Balance measurement mode.
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Measurement(Name, _
PARA_MeasMode, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARA_FillMode Fuel Balance fill mode.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_ProvideResults(Name, _
PARA_FillMode, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.14.9 Reset
Performs a software reset on the device. Continues cyclic data acquisition after a
short delay.
Parameters Description
Name Name of device
RequestArgument 0 .. hardware reset, 1 .. software reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script Function/Reset:
Sub cdh_AVL733S_Reset(Name, _
RequestArgument, MonitorTimeout, Timeout)
6.6.14.10 Maintenance
Performs a device-internal accuracy check. Updates the Quality Values section
after successful completion of procedure. Starts cyclic data acquisition.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Maintenance(Name, MonitorTimeout, Timeout)
6.6.14.11 Cancel
Interrupts the active device procedures (calibration, measurement, etc.). Cyclic
data acquisition is continued.
Parameters Description
Name Name of device
PARA_FillMode Fuel Balance fill mode.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Cancel(Name, _
PARA_FillMode, MonitorTimeout, Timeout)
6.6.14.12 Release
Releases the control rights and starts cyclic data acquisition.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_StopDevice(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Command AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_SendAK(Name, AK_Command, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL733S_Adjustment(Name, MonitorTimeout, Timeout)
6.6.15.1 Connect
Retrieves and checks the device ID and software version.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Connect(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_StartDevice(Name, MonitorTimeout, Timeout)
6.6.15.3 Initialisation
Requests control rights and transfers the measurement parameters and fill
modes to the device. Performs cyclic data acquisition: GetOnlineValues.
Parameters Description
Name Name of device
PARA_Cycles Fuel Balance measurement cycles.
PARA_Time Measuring time for time-based measure-
ment.
PARA_Weight Measurement weight for weight-based
measurement.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Initialize(Name, _
PARA_Cycles, PARA_Time, PARA_Weight, MonitorTimeout, Timeout)
6.6.15.4 Reinitialize
Connects to the device. Performs cyclic data acquisition: GetOnlineValues.
Requests control rights and transfers the measurement parameters and fill
modes to the device.
Parameters Description
Name Name of device
PARA_Cycles Fuel Balance measurement cycles.
PARA_Time Measuring time for time-based measure-
ment.
PARA_Weight Measurement weight for weight-based
measurement.
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Reinitialize(Name, _
PARA_Cycles, PARA_Time, PARA_Weight, MonitorTimeout, Timeout)
6.6.15.5 PreMeasurement
As the AVL 734 contains two fuel balances, it is always ready to measure without
having to refill. Measurement parameters are transferred to the device. Then
cyclic data acquisition is continued.
Parameters Description
Name Name of device
RequestArgument 0..Start/stop measurement (not supported
by PUMA measurement)
< 0..current measuring time
PARA_Time Fuel Balance measurement cycles.
PARA_Cycles Measuring time for time-based measure-
ment.
PARA_Weight Measurement weight for weight-based
measurement.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_PreMeasurement(Name, _
RequestArgument, PARA_Time, PARA_Cycles, _
PARA_Weight, MonitorTimeout, Timeout)
6.6.15.6 Measurement
Sets the old measurement values to zero. Starts the measurement in the
required mode. Updates the measurement values section with the results after
the measurement with the selected parameters has been completed. Performs
cyclic data acquisition.
Parameters Description
Name Name of device
PARA_MeasMode Fuel consumption mode. Can be time- or
weight-specific.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Measurement(Name, _
PARA_MeasMode, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_ProvideResults(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.15.9 Reset
Requests a software reset on the device if the request argument is 0.
Parameters Description
Name Name of device
RequestArgument 0..HW reset
1..SW reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Reset(Name, _
RequestArgument, MonitorTimeout, Timeout)
6.6.15.10 Maintenance
Performs a device-internal accuracy check. Updates the Quality Values section
after successful completion. Performs cyclic data acquisition.
Parameters Description
Name Name of device
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Maintenance(Name, MonitorTimeout, Timeout)
6.6.15.11 Cancel
Interrupts the active device procedures (calibration, measurement, etc.). Then
cyclic data acquisition is continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Cancel(Name, MonitorTimeout, Timeout)
6.6.15.12 Release
Releases the control rights and starts cyclic data acquisition.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_StopDevice(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Command AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_SendAK(Name, AK_Command, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL734_Adjustment(Name, MonitorTimeout, Timeout)
6.6.16.1 Connect
Retrieves and checks the device ID and software version. Updates the message
window with configuration data. Resets the error information section.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Connect(Name, MonitorTimeout, Timeout)
6.6.16.3 Initialisation
Establishes device control rights and sends the defined parameters to the
device. Sets the device into the Standby state and starts cyclic data acquisition.
Parameters Description
Name Name of device
PARAM_Domain Device measurement domain (Mass, Vol,
Vol/API)
PARAM_VentingTime Venting time
PARAM_AvgTime Averaging time for average flow value
PARAM_MeasCycles Cycles for average flow time
PARAM_FilterTimeConst Sensor filter time constant
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Initialize(Name, _
PARAM_Domain, PARAM_VentingTime, _
PARAM_AvgTime, PARAM_MeasCycles, _
PARAM_FilterTimeConst, MonitorTimeout, Timeout)
6.6.16.4 PreMeasurement
Sends measurement parameters to the device and continues cyclic data acquisi-
tion.
Parameters Description
Name Name of device
PARAM_AvgTime Averaging time for average flow value
RequestArgument Request argument.
PARAM_MeasCycles Cycles for average flow time
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_PreMeasurement(Name, _
PARAM_AvgTime, RequestArgument, _
PARAM_MeasCycles, MonitorTimeout, Timeout)
6.6.16.5 Measurement
Starts the device-internal measurement procedure. Provides the Measurement
Values section with values while the measurement is active. Cyclic data acquisi-
tion is continued.
Parameters Description
Name Name of device
PARA_FilterTimeConst Sensor filter time constant
Parameters Description
MF_IntegralHelpState
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Measurement(Name, _
PARAM_FilterTimeConst, MF_IntegralHelpState, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_ProvideResults(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.16.8 Reset
Performs a software reset on the device. Starts cyclic data acquisition after a
short delay: GetOnlineValues.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Reset(Name, MonitorTimeout, Timeout)
6.6.16.9 Maintenance
Starts the device-internal calibration procedure. Provides the Quality Values
section with values during the calibration procedure. Starts cyclic data acquisi-
tion after completion of this procedure.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Maintenance(Name, MonitorTimeout, Timeout)
6.6.16.10 Cancel
Interrupts the active device procedures. Starts cyclic data acquisition.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Cancel(Name, MonitorTimeout, Timeout)
6.6.16.11 Release
Sets the device into "Pause" state and releases control rights. Then cyclic data
acquisition is continued.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
6.6.16.13 Reinitialize
Connects to the device and checks whether the proper device has been
connected. Updates the device with the device parameters from the parameter
values section. Sets the device into Standby mode, if possible. Activates cyclic
activities to update the system channel in the online value and status value
sections.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Reinitialize(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARAM_SetState Required device state.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_SetFunction(Name, _
PARAM_SetState, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARAM_AdjDate Adjustment date
PARAM_AdjID Adjustment identifier
PARAM_AdjMinFlow Minimum adjustment flow
PARAMAdjMaxFlow Maximum adjustment flow
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_InitMpCalib(Name, _
PARAM_AdjDate, PARAM_AdjID, PARAM_AdjMinFlow, _
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Adjustment(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Commad AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_Send_AK(Name, AK_Command, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARAM_TotalisatorNew New status of totalizer.
State
0..Stop
1..Start
2..Reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_SetIntegralState(Name, _
Parameters Description
Name Name of device
PARAM_TotalisatorNum Number of main totalizer (1 or 2)
ber
PARAM_TotalisatorNew New status of totalizer.
State
0..Stop
1..Start
2..Reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_SetTotalisatorState(Name, _
PARAM_TotalisatorNumber, _
PARAM_TotalisatorNewState, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARAM_TotalisatorNum Number of main totalizer (1 or 2)
ber
PARAM_TotalisatorNew New domain.
Domain
0..Mass
1..Volume
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_SetTotalisatorDomain(Name, _
PARAM_TotalisatorNumber, _
PARAM_TotalisatorNewDomain, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL735_QueryTotalisator(Name, MonitorTimeout, Timeout)
6.6.16.22 QueryOperatingHours
Refreshes all the channels for the operating hours: MF_OpHoursMainPump,
MF_OpHoursBypassPump, MF_OpCyclesFillingValve.
Script function/command:
Cdh_AVL735_QueryoperatingHours
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_StopIntervalMeasurement "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_StartIntegralMeasurement "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_StopIntegralMeasurement "Name"
Parameters Description
Name Name of device
AK Command AK command that is sent to the device
Script function/command:
Cdh_AVL740_SendAK "Name", "AKCommand"
Parameters Description
Name Name of device
Temperature demand Value of temperature
value
Script function/command:
Cdh_AVL740_SetFuelTemperature "Name"
Parameters Description
Name Name of the device
Measurement Time Time in sec
demand value
Script function/command:
Cdh_AVL740_SetMeasurementParameters "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_SetMonitor "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_SetPause "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_SetRemote "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_SetStandby "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_SetVenting "Name"
Parameters Description
Name Name of device
Script function/command:
Cdh_AVL740_StartMeasurement "Name"
6.6.18.1 Connect
Retrieves and checks the device ID and software version.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Connect(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_StartDevice(Name, MonitorTimeout, Timeout)
6.6.18.3 Initialisation
Establishes device control rights and sends the temperature demand value to
the device. Sets the device into conditioning mode and starts cyclic data acquisi-
tion.
Parameters Description
Name Name of device
PARA_TempSetPoint Sets the temperature demand value.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Initialize(Name, PARA_TempSetPoint, _
MonitorTimeout, Timeout)
6.6.18.4 Reinitialize
Performs 3 sequences in one: Connects to the device, starts polling values and
status (cyclic activities are carried out) and initializes the device with the demand
temperature as defined in the parameter values section. Sets the device into
conditioning mode. Updates the message window and the error information
section. Performs cyclic activities.
Parameters Description
Name Name of device
PARA_TempSetPoint Sets the temperature demand value.
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
CSub cdh_AVL753C_Reinitialize(Name, PARA_TempSetPoint, _
MonitorTimeout, Timeout)
6.6.18.5 PreMeasurement
Sends the temperature demand value to the device. Starts cyclic data acquisi-
tion: GetOnlineValues.
Parameters Description
Name Name of device
PARA_TempSetPoint Sets the temperature demand value.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_PreMeasurement(Name, PARA_TempSetPoint, _
MonitorTimeout, Timeout)
6.6.18.6 Measurement
Waits until the measuring time has expired to enable PUMA to average the
measured values during a steady-state measurement. Performs cyclic data
acquisition.
Parameters Description
Name Name of device
RequestArgument Request argument.
PARA_MeasTime Measuring time
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Measurement(Name, RequestArgument, _
PARA_MeasTime, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_ProvideResults(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.18.9 Reset
Performs a software reset on the device. Starts cyclic data acquisition after a
short delay: GetOnlineValues.
Parameters Description
Name Name of device
RequestArgument 0 .. hardware reset, 1 .. software reset
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Reset(Name, RequestArgument, MonitorTimeout, Timeout)
6.6.18.10 Maintenance
Empty sequence. Starts cyclic data acquisition: GetOnlineValues.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Maintenance(Name, MonitorTimeout, Timeout)
6.6.18.11 Cancel
Empty sequence. Starts cyclic data acquisition: GetOnlineValue.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Cancel(Name, MonitorTimeout, Timeout)
6.6.18.12 Release
Sets the device into the Pause state and releases control rights. Starts cyclic
data acquisition: GetOnlineValues.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_StopDevice(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
AK_Command AK command that is sent to the device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_SendAK(Name, AK_Command, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_SetPause(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_SetConditioning(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_TimedVenting(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_StopVenting(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
FT_SetDevice Required device state.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_SetDeviceState(Name, FT_SetDevice, _
MonitorTimeout, Timeout)
Parameters Description
Name Name of device
Para TempSetPoint Sets the temperature demand value.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_AVL753C_DefineTempSetPoint(Name, _
PARA_TempSetPoint, MonitorTimeout, Timeout)
Information
This class of activation objects depends on the configuration and is thus not
available in every test bed system.
6.6.19.1 Start
Starts the cyclic acquisition of measured data and device status.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StartCyclicAcquisition(Name)
6.6.19.2 AK command
Sends an individual AK command to the device.
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
Script function/command:
Sub Cdh_CVS_AKCommand(Name, AK_Command_Send)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StartBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StopBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagNumber Number of requested bag.
Script function/command:
Sub Cdh_CVS_RequestBagVolume(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of requested bag pair.
Script function/command:
Sub Cdh_CVS_RequestBagPairVolume(Name, CVS_BagPairNumber)
6.6.19.7 Manual
Switches to Manual mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_ManualMode(Name)
6.6.19.8 Remote
Switches to Remote mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_RemoteMode(Name)
6.6.19.9 Standby
Switches to Standby mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StandbyMode(Name)
6.6.19.10 Pause
Switches to Pause mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_EnergySavingMode(Name)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StartBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StopBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StartBagEvacuation(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagEvacuation(Name, CVS_BagNumber)
6.6.19.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
CVS_SequenceName CDH sequence that is requested.
Script function/command:
CdhInvokeSequence "Device", CVS_SequenceName"
Parameters Description
Name Name of device
CVS_BagNumber Number of bag to be purged.
Script function/command:
Sub Cdh_CVS_StartBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is purged.
Script function/command:
Sub Cdh_CVS_StopBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_VenturiNumber Selected bag filling rate.
Script function/command:
Sub Cdh_CVS_SelectVenturiNumber(Name, CVS_VenturiNumber)
Parameters Description
Name Name of device
CVS_FlowrateIndex Selected flow rate.
Script function/command:
Sub Cdh_CVS_SelectFlowrateIndex(Name, CVS_FlowrateIndex)
6.6.19.20 Macro
Executes a user-defined macro (CDH sequence).
Parameters Description
CVS_MacroName Name of macro (CDH sequence) that is
executed.
Script function/command:
Cdh_InvokeSequence "Device", CVS_MacroName"
Parameters Description
CVS_SampleLineNumb Sample line number that is used.
er
Script function/command:
Sub Cdh_CVS_SetSampleLine(CVS_SampleLineNumber)
Parameters Description
CVS_DLSFlowrate Demand flow rate to be set.
Script function/command:
Sub Cdh_CVS_SetDLSFlowrate(CVS_DLSFlowrate)
Information
This class of activation objects depends on the configuration and is thus not
available in every test bed system.
6.6.20.1 Start
Starts the cyclic acquisition of measured data and device status.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StartCyclicAcquisition(Name)
6.6.20.2 AK command
Sends an individual AK command to the device.
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
Script function/command:
Sub Cdh_CVS_AKCommand(Name, AK_Command_Send)
Parameters Description
Name Name of device
Parameters Description
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StartBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StopBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagNumber Number of requested bag.
Script function/command:
Sub Cdh_CVS_RequestBagVolume(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of requested bag pair.
Script function/command:
Sub Cdh_CVS_RequestBagPairVolume(Name, CVS_BagPairNumber)
6.6.20.7 Manual
Switches to Manual mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_ManualMode(Name)
6.6.20.8 Remote
Switches to Remote mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_RemoteMode(Name)
6.6.20.9 Standby
Switches to Standby mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StandbyMode(Name)
6.6.20.10 Pause
Switches to Pause mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_EnergySavingMode(Name)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StartBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StopBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StartBagEvacuation(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagEvacuation(Name, CVS_BagNumber)
6.6.20.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
CVS_SequenceName CDH sequence that is requested.
Script function/command:
CdhInvokeSequence "Device", CVS_SequenceName"
Parameters Description
Name Name of device
CVS_BagNumber Number of bag to be purged.
Script function/command:
Sub Cdh_CVS_StartBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is purged.
Script function/command:
Sub Cdh_CVS_StopBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_VenturiNumber Selected bag filling rate.
Script function/command:
Sub Cdh_CVS_SelectVenturiNumber(Name, CVS_VenturiNumber)
Parameters Description
Name Name of device
CVS_FlowrateIndex Selected flow rate.
Script function/command:
Sub Cdh_CVS_SelectFlowrateIndex(Name, CVS_FlowrateIndex)
6.6.20.20 Macro
Executes a user-defined macro (CDH sequence).
Parameters Description
CVS_MacroName Name of macro (CDH sequence) that is
executed.
Script function/command:
Cdh_InvokeSequence "Device", CVS_MacroName"
Parameters Description
CVS_SampleLineNumb Sample line number that is used.
er
Script function/command:
Sub Cdh_CVS_SetSampleLine(CVS_SampleLineNumber)
Parameters Description
CVS_DLSFlowrate Demand flow rate to be set.
Script function/command:
Sub Cdh_CVS_SetDLSFlowrate(CVS_DLSFlowrate)
6.6.21.1 Connect
Establishes communication with the device. Cyclic data acquisition is not active.
Script function/command:
Sub Cdh_CGMPTS_Connect()
6.6.21.2 Start
Starts the cyclic acquisition of measured data and device status.
Script function/command:
Sub Cdh_CGMPTS_StartDevice()
6.6.21.3 Initialize
Switches the device into Remote mode. Cyclic data acquisition is continued.
Script function/command:
Sub Cdh_CGMPTS_Initialize()
6.6.21.4 PreMeasurement
Performs measurement preparation (PUMA method).
Script function/command:
Sub Cdh_CGMPTS_PreMeasurement()
6.6.21.5 Measurement
Performs the measurement (PUMA method).
Script function/command:
Sub Cdh_CGMPTS_Measurement()
6.6.21.7 PostMeasurement
Completes the measurement (PUMA method).
Script function/command:
Sub Cdh_CGMPTS_PostMeasurement()
6.6.21.8 Reset
Performs a device reset (PUMA method).
Script function/command:
Sub Cdh_CGMPTS_Reset()
6.6.21.9 Calibrate
Performs a device calibration (PUMA method).
Script function/command:
Sub Cdh_CGMPTS_Calibrate()
6.6.21.10 Interrupt
Performs a device interrupt (PUMA method).
Script function/command:
Sub Cdh_CGMPTS_Interrupt()
6.6.21.11 Release
Switches to Manual mode. Cyclic data acquisition is continued.
Script function/command:
Sub Cdh_CGMPTS_Release()
6.6.21.12 Stop
Stops the cyclic acquisition of measured data and device status.
Script function/command:
Sub Cdh_CGMPTS_StopDevice()
6.6.21.13 AK command
Sends an individual AK command to the device (DoAKCommand).
Parameters Description
PMU_AKSend AK command that is sent.
Script function/command:
Sub Cdh_CGMPTS_DoAKCommand(PMU_AKSend)
Parameters Description
PMU_SamplePoint Filter number that is requested.
Script function/command:
Sub Cdh_CGMPTS_GetNormVolume(PMU_SamplePoint)
Parameters Description
PMU_SamplePoint Number of filter to be loaded.
Script function/command:
Sub Cdh_CGMPTS_DoLoadFilter(PMU_SamplePoint)
Parameters Description
SequenceName Name of MDD activation object that is
executed.
Script function/command:
CdhInvokeSequence "DEVICE","SequenceName"
Parameters Description
PMU_ParticulateFlowrat Particulate flow rate that is set.
e
Script function/command:
Sub Cdh_CGMPTS_SetParticulateFlowrate(PMU_ParticulateFlowrate)
Parameters Description
PMU_DoubleDilAirFlowr Flow rate that is set.
ate
Script function/command:
Sub Cdh_CGMPTS_SetDDAirFlowrate(PMU_DoubleDilAirFlowrate)
6.6.22.1 Connect
Prints the software version of the CDH implementation as a PUMA message.
Sets the measurement values to overflow.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Connect(Name, Static0, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_StartDevice(Name, MonitorTimeout, Timeout)
6.6.22.3 Initialisation
Sets the device into Remote state and verifies whether the device has changed
to that state. Sets the sampling rate to 300 samples. Retrieves the measurement
ranges of the connected sensors. Starts cyclic data acquisition via "RemoteCy-
clic".
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Initialize(Name, MonitorTimeout, Timeout)
6.6.22.4 Reinitialize
The same as "Initialization".
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Reinitialize(Name, MonitorTimeout, Timeout)
6.6.22.5 PreMeasurement
If cyclic data acquisition is deactivated, the same functions as for "Initialization"
are executed to reinitialize the device before measurement operation.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_PreMeasurement(Name, MonitorTimeout, Timeout)
6.6.22.6 Measurement
Starts the measurement phase on the device and waits until the measuring
period (input parameter) has elapsed. Then the values measured by the device
are retrieved.
Parameters Description
Name Name of device
PARAM_MeasTime Measuring time
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Measurement(Name, PARAM_MeasTime, _
MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_ProvideResults(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_PostMeasurement(Name, MonitorTimeout, Timeout)
6.6.22.9 Reset
Performs a software reset on the device using the same functions as InitSe-
quence. Cyclic data acquisition is terminated.
Parameters Description
Name Name of device
Parameters Description
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Reset(Name, MonitorTimeout, Timeout)
6.6.22.10 Maintenance
Empty sequence for the DEGUFLOW. PUMA is notified by sending OK.
Continues by executing InitSequence, after which cyclic data acquisition is termi-
nated.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Maintenance(Name, MonitorTimeout, Timeout)
6.6.22.11 Cancel
Cancels the active device procedures (e.g. measurement). Continues by
executing InitSequence, after which cyclic data acquisition is terminated.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Cancel(Name, MonitorTimeout, Timeout)
6.6.22.12 Release
Stops cyclic data acquisition. Sets the measurement values to overflow.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Release(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_StopDevice(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
PARAM_NewRange New measuring range 1..3
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_SelectNewRange(Name, PARAM_NewRange, _
MonitorTimeout, Timeout)
6.6.22.15 InitSequence
For internal use by other sequences only. Initializes the device by switching to
Remote and selecting the sampling rate. Retrieves the measuring ranges of the
connected sensors.
Script function/command:
Cdh_DEGUFLOW_InitSequence
6.6.22.16 RemoteCyclic
For internal use by other sequences only. Starts online data acquisition.
Script function/command:
Cdh_DEGUFLOW_RemoteCyclic
6.6.22.17 SequenceNotOk
For internal use by other sequences only. Notifies PUMA by sending "Sequence-
CompletedNotOk".
Script function/command:
Cdh_DEGUFLOW_SequenceNotOk
6.6.22.18 NotAvailable
For internal use by other sequences only. Notifies PUMA by sending
"NOTAVAILABLE" if an error occurs during online data acquisition.
Script function/command:
Cdh_DEGUFLOW_NotAvailable
6.6.22.19 Flush
For internal use by other sequences only. Flushes the input queue by sending
commands to the device and waiting for acknowledgement. If an error occurs,
the sequence FlushRestart is called up and the action is repeated in an endless
loop. Can be canceled with the sequence "Cancel". This function is useful
because the device sends several hundred bytes in some error states.
Parameters Description
Name Name of device
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub cdh_DEGUFLOW_Flush(Name, MonitorTimeout, Timeout)
6.6.22.20 FlushRestart
For internal use by other sequences only. Helper sequence for flushing the input
queue. Please also see the sequence "Flush".
Script function/command:
Cdh_DEGUFLOW_FlushRestart
6.6.22.21 Retry
For internal use by other sequences only. Helper sequence for automatic recon-
nection to the device.
Script function/command:
Cdh_DEGUFLOW_Retry
6.6.23.1 Start
Starts the cyclic acquisition of measured data and device status.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StartCyclicAcquisition(Name)
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
Script function/command:
Sub Cdh_CVS_AKCommand(Name, AK_Command_Send)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StartBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StopBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagNumber Number of requested bag.
Script function/command:
Sub Cdh_CVS_RequestBagVolume(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of requested bag pair.
Script function/command:
Sub Cdh_CVS_RequestBagPairVolume(Name, CVS_BagPairNumber)
6.6.23.7 Manual
Switches to Manual mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_ManualMode(Name)
6.6.23.8 Remote
Switches to Remote mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_RemoteMode(Name)
6.6.23.9 Standby
Switches to Standby mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StandbyMode(Name)
6.6.23.10 Pause
Switches to Pause mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_EnergySavingMode(Name)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StartBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StopBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StartBagEvacuation(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagEvacuation(Name, CVS_BagNumber)
6.6.23.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
CVS_SequenceName CDH sequence that is requested.
Script function/command:
CdhInvokeSequence "Device", CVS_SequenceName"
Parameters Description
Name Name of device
CVS_BagNumber Number of bag to be purged.
Script function/command:
Sub Cdh_CVS_StartBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is purged.
Script function/command:
Sub Cdh_CVS_StopBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_VenturiNumber Selected bag filling rate.
Script function/command:
Sub Cdh_CVS_SelectVenturiNumber(Name, CVS_VenturiNumber)
Parameters Description
Name Name of device
CVS_FlowrateIndex Selected flow rate.
Script function/command:
Sub Cdh_CVS_SelectFlowrateIndex(Name, CVS_FlowrateIndex)
6.6.23.20 Macro
Executes a user-defined macro (CDH sequence).
Parameters Description
CVS_MacroName Name of macro (CDH sequence) that is
executed.
Script function/command:
Cdh_InvokeSequence "Device", CVS_MacroName"
Parameters Description
CVS_SampleLineNumb Sample line number that is used.
er
Script function/command:
Sub Cdh_CVS_SetSampleLine(CVS_SampleLineNumber)
Script function/command:
Sub Cdh_CVS_RequestDLSFlowrate()
Parameters Description
CVS_DLSFlowrate Demand flow rate to be set.
Script function/command:
Sub Cdh_CVS_SetDLSFlowrate(CVS_DLSFlowrate)
Information
This class of activation objects depends on the configuration and is thus not
available in every test bed system.
6.6.24.1 Start
Starts the cyclic acquisition of measured data and device status.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StartCyclicAcquisition(Name)
6.6.24.2 AK command
Sends an individual AK command to the device.
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
Script function/command:
Sub Cdh_CVS_AKCommand(Name, AK_Command_Send)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StartBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StopBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagNumber Number of requested bag.
Script function/command:
Sub Cdh_CVS_RequestBagVolume(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of requested bag pair.
Script function/command:
Sub Cdh_CVS_RequestBagPairVolume(Name, CVS_BagPairNumber)
6.6.24.7 Manual
Switches to Manual mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_ManualMode(Name)
6.6.24.8 Remote
Switches to Remote mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_RemoteMode(Name
6.6.24.9 Standby
Switches to Standby mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StandbyMode(Name)
6.6.24.10 Pause
Switches to Pause mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_EnergySavingMode(Name)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StartBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StopBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StartBagEvacuation(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagEvacuation(Name, CVS_BagNumber)
6.6.24.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
CVS_SequenceName CDH sequence that is requested.
Parameters Description
Name Name of device
CVS_BagNumber Number of bag to be purged.
Script function/command:
Sub Cdh_CVS_StartBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is purged.
Script function/command:
Sub Cdh_CVS_StopBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_VenturiNumber Selected bag filling rate.
Script function/command:
Sub Cdh_CVS_SelectVenturiNumber(Name, CVS_VenturiNumber)
Parameters Description
Name Name of device
CVS_FlowrateIndex Selected flow rate.
Script function/command:
Sub Cdh_CVS_SelectFlowrateIndex(Name, CVS_FlowrateIndex)
6.6.24.20 Macro
Executes a user-defined macro (CDH sequence).
Parameters Description
CVS_MacroName Name of macro (CDH sequence) that is
executed.
Parameters Description
CVS_SampleLineNumb Name of macro (CDH sequence) that is
er executed.
Script function/command:
Sub Cdh_CVS_SetSampleLine(CVS_SampleLineNumber)
Parameters Description
CVS_DLSFlowrate Demand flow rate to be set.
Script function/command:
Sub Cdh_CVS_SetDLSFlowrate(CVS_DLSFlowrate)
Information
This class of activation objects depends on the configuration and is thus not
available in every test bed system.
6.6.25.1 Start
Starts the cyclic acquisition of measured data and device status.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StartCyclicAcquisition(Name)
6.6.25.2 AK command
Sends an individual AK command to the device.
Parameters Description
Name Name of device
AK_Command_Send AK command that is sent to the device
Script function/command:
Sub Cdh_CVS_AKCommand(Name, AK_Command_Send)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StartBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of bag pair that is filled.
CVS_Delay Optional delay time for the bag pair to be
filled.
Script function/command:
Sub Cdh_CVS_StopBagPairFilling(Name, CVS_BagPairNumber, CVS_Delay)
Parameters Description
Name Name of device
CVS_BagNumber Number of requested bag.
Script function/command:
Sub Cdh_CVS_RequestBagVolume(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagPairNumber Number of requested bag pair.
Script function/command:
Sub Cdh_CVS_RequestBagPairVolume(Name, CVS_BagPairNumber)
6.6.25.7 Manual
Switches to Manual mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_ManualMode(Name)
6.6.25.8 Remote
Switches to Remote mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_RemoteMode(Name
6.6.25.9 Standby
Switches to Standby mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_StandbyMode(Name)
6.6.25.10 Pause
Switches to Pause mode.
Parameters Description
Name Name of device
Script function/command:
Sub Cdh_CVS_EnergySavingMode(Name)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StartBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of analyzed bag.
Script function/command:
Sub Cdh_CVS_StopBagRead(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StartBagEvacuation(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagEvacuation(Name, CVS_BagNumber)
6.6.25.15 Sequence
Executes a CDH sequence without direct parameter input being necessary. In
this case, the current values of the device channels that have been associated to
the specified sequence are passed on.
Parameters Description
CVS_SequenceName CDH sequence that is requested.
Parameters Description
Name Name of device
CVS_BagNumber Number of bag to be purged.
Script function/command:
Sub Cdh_CVS_StartBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_BagNumber Number of the bag that follows the last
bag that is evacuated.
Script function/command:
Sub Cdh_CVS_StopBagPurge(Name, CVS_BagNumber)
Parameters Description
Name Name of device
CVS_VenturiNumber Selected bag filling rate.
Script function/command:
Sub Cdh_CVS_SelectVenturiNumber(Name, CVS_VenturiNumber)
Parameters Description
Name Name of device
CVS_FlowrateIndex Selected flow rate.
Script function/command:
Sub Cdh_CVS_SelectFlowrateIndex(Name, CVS_FlowrateIndex)
6.6.25.20 Macro
Executes a user-defined macro (CDH sequence).
Parameters Description
CVS_MacroName Name of macro (CDH sequence) that is
executed.
Parameters Description
CVS_SampleLineNumb Sample line number that is used.
er
Script function/command:
Sub Cdh_CVS_SetSampleLine(CVS_SampleLineNumber)
Parameters Description
CVS_DLSFlowrate Demand flow rate to be set.
Script function/command:
Sub Cdh_CVS_SetDLSFlowrate(CVS_DLSFlowrate)
6.6.26.1 Connect
Establishes communication with the device. Cyclic data acquisition is deacti-
vated.
Script function/command:
Sub Cdh_HoribaPMU7100AK_Connect()
6.6.26.3 Initialize
Switches the device into Remote mode. Cyclic data acquisition is continued.
Script function/command:
Sub Cdh_HoribaPMU7100AK_Initialize()
6.6.26.4 PreMeasurement
Performs measurement preparation (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_PreMeasurement()
6.6.26.5 Measurement
Performs the measurement (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_Measurement()
6.6.26.6 Results
Shows the measured results (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_ProvideResults()
6.6.26.7 PostMeasurement
Completes the measurement (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_PostMeasurement()
6.6.26.8 Reset
Performs a device reset (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_Reset()
6.6.26.9 Calibrate
Performs a device calibration (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_Calibrate()
6.6.26.10 Interrupt
Performs a device interrupt (PUMA method).
Script function/command:
Sub Cdh_HoribaPMU7100AK_Interrupt()
6.6.26.11 Release
Switches to Manual mode. Cyclic data acquisition is continued.
Script function/command:
Sub Cdh_HoribaPMU7100AK_Release()
6.6.26.13 AK command
Sends an individual AK command to the device (DoAKCommand).
Parameters Description
PMU_AKSend AK command that is sent.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoAKCommand(PMU_AKSend)
6.6.26.15 Remote
Switches the device into Remote mode.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoRemote()
6.6.26.16 Manual
Switches the device into Manual mode.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoManual()
6.6.26.17 Pause
Switches the device into Pause mode.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoPause()
6.6.26.18 Stop
Stops all activities on the device and switches off the pump.
Script function/command:
Cdh_HoribaPMU7100AK_DoStop "DEVICE"
6.6.26.19 Standby
Makes the device ready for measurement. The pump is switched on.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoStandby()
Parameters Description
PMU_SamplePoint Number of filter to be loaded.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoLoadFilter(PMU_SamplePoint)
6.6.26.25 Pump on
Switches the pump on.
Script function/command:
Sub Cdh_HoribaPMU7100AK_DoPumpOn()
Parameters Description
SequenceName Name of MDD activation object that is
executed.
Parameters Description
PMU_Channel Required standard volume channel.
Script function/command:
Sub Cdh_HoribaPMU7100AK_GetNormVolume(PMU_Channel)
Parameters Description
PMU_Channel Channel required for the max/min flow
rate.
Script function/command:
Sub Cdh_HoribaPMU7100AK_GetFlowMaxMin(PMU_Channel)
Parameters Description
PMU_NormTemp Standard temperature value.
PMU_NormPressure Standard pressure value.
Script function/command:
Sub Cdh_HoribaPMU7100AK_SetNormBase(PMU_NormTemp, PMU_NormPressure)
Parameters Description
PMU_FlowDemand Flow demand value.
Script function/command:
Sub Cdh_HoribaPMU7100AK_SetFlowDemand(PMU_FlowDemand)
Parameters Description
PMU_Date Date
PMU_Time Time
Script function/command:
Sub Cdh_HoribaPMU7100AK_SetSystemTime(PMU_Date, PMU_Time)
6.6.27 DiGas4000
6.6.27.1 PreMeasurement
Sends measurement parameters to the device and continues cyclic data acquisi-
tion.
Parameters Description
Name Name of device
Script function/command:
Sub cdh_DiGas4000_PreMeasurement(Name)
Example
Cdh_DiGas4000_PreMeasurement "DiGas4000"
6.6.27.2 Measurement
Starts measurement. Provides the MeasurementOnlineData section with values
during measurement.
Parameters Description
Name Name of the Digas4000. String.
Script function/command:
Sub cdh_DiGas4000_Measurement(Name)
Example
Cdh_DiGas4000_Measurement "DiGas4000"
Parameters Description
Name Name of the Digas4000. String.
Script function/command:
Sub cdh_DiGas4000_Init_DiGas_Start(Name)
Example
Cdh_DiGas4000_Init_Digas_Start "DiGas4000"
Parameters Description
Name Name of the Digas4000. String.
Script function/command:
Sub cdh_DiGas4000_GetOnlineValues(Name)
Example
Cdh_DiGas4000_GetOnlineValues "DiGas4000"
Parameters Description
Name Name of the Digas4000. String.
DG_MeasTime PUMA measuring time
Script function/command:
Example
Cdh_DiGas4000_MeasOnlineData "DiGas4000", 10
Parameters Description
Name Name of the Digas4000. String.
Script function/command:
Sub cdh_DiGas4000_StartMeasurement(Name)
Example
Cdh_DiGas4000_StartMeasurement "DiGas4000"
Parameters Description
Name Name of the Digas4000. String.
Script function/command:
Sub cdh_DiGas4000_StopMeasurement(Name)
Example
Cdh_DiGas4000_StopMeasurement "DiGas4000"
Parameters Description
DeviceName Name of the telegram string to be sent.
String.
ChannelName Name of MDD variable.
ChannelValue Value to which the MDD variable is set.
Script function/command:
Sub CdhSetChannelValue(DeviceName, ChannelName, ChannelValue)
Parameters Description
DeviceName Name of device
SequenceName Name of MDD sequence.
Script function/command:
Sub CdhInvokeSequence(DeviceName, SequenceName)
Parameters Description
DeviceName Name of device
SequenceName Name of MDD sequence.
Par1 Name of first MDD variable.
Val1 Value of first MDD variable.
Par2 Name of second MDD variable.
Val2 Value of second MDD variable.
Par3 Name of third MDD variable.
Val3 Value of third MDD variable.
Par4 Name of fourth MDD variable.
Val4 Value of fourth MDD variable.
Par5 Name of fifth MDD variable.
Val5 Value of fifth MDD variable.
Script function/command:
Sub CdhInvoke(DeviceName, SequenceName, Par1, Val1, Par2, _
Val2, Par3, Val3, Par4, Val4, Par5, Val5)
Parameters Description
DeviceName Name of device
Script function/command:
CdhGetDeviceState(DeviceName)
Parameters Description
Name Name of the CVS device. String.
BagNum Name of bag pair to be filled. Integer.
Script function/command:
Sub CvsFillBagPair(Name, BagNum)
Parameters Description
Name Name of the CVS device. String.
BagNum Name of bag pair for which filling is
stopped. Integer.
Script function/command:
Sub CvsStopFillBagPair(Name, BagNum)
6.6.29.3 Purge
Purges all bags.
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsPurgeBags(Name)
6.6.29.4 Evacuate
Evacuates all bags.
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsDumpBags(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsResetIntegrator(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsModalAirAnalyze(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsStopModalAnalyze(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsSwitchOn(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsSwitchOff(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsRequest(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsRelease(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsModalExhaustAnalyze(Name)
Parameters Description
Name Name of the CVS device. String.
BagName Name of analyzed bag. Enumeration (Air
#1...Air #4, Exhaust #1...Exhaust #4).
Script function/command:
Sub CvsAnalyzeBag(Name, BagName)
6.6.29.14 Standby
Sets the CVS into Standby mode.
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsStandby(Name)
6.6.29.15 Pause
Sets the CVS into Pause mode.
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsPause(Name)
Parameters Description
Name Name of the CVS device. String.
SubroutineName Name of the subroutine to be executed.
String.
Script function/command:
Sub CvsRunScript(Name, SubroutineName)
Parameters Description
Name Name of the CVS device. String.
CommandString Command string that is sent to the CVS.
String.
Script function/command:
Sub CvsSendString(Name, CommandString)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsStopAnalyzeBag(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsSetHighEmissionBags(Name)
Parameters Description
Name Name of the CVS device. String.
Script function/command:
Sub CvsSetLowEmissionBags(Name)
Parameters Description
Name Name of the CVS device. String.
BagNum Name of analyzed bag. Numeric value.
Script function/command:
Sub CvsAnalyzeBagNumber(Name, BagNum)
6.6.30.1 Bench_Activate
Starts the cyclic acquisition of measured data and device status for the virtual
device and sets the linked line into Standby mode. In the case of a communica-
tion timeout, this function attempts to reconnect the emission bench.
Script function/command: BenchExecuteScript "$(DEVICE)", "DoActivate", 0
6.6.30.2 Bench_Deactivate
Stops the cyclic acquisition of measured data and device status for the virtual
device and sets the linked line into Standby mode. If no other virtual device is
active, emission bench control is stopped.
Script function/command:
BenchExecuteScript "$(DEVICE)", "DoDeactivate", 1
6.6.30.3 Bench_Command
Sends the specified telegram string to the emission bench and the values from
the device response telegram are read.
Parameters Description
Send Sends command telegram.
Receive Receives command telegram.
Script function/command:
BenchCommand "$(DEVICE)", "$(Send)", "$(Receive)"
6.6.30.4 Bench_ExecuteScript
Executes the specified script.
Parameters Description
Script Name of script to be executed.
6.6.30.5 Bench_SelectSamplePoint
Selects the specified sample point.
Parameters Description
SamplePoint Sample point selected for measurement.
Script function/command:
BenchSelectSamplePoint "$(DEVICE)", $(SamplePoint
6.6.30.6 Bench_Pause
Switches the emission bench into Pause mode.
Script function/command:
BenchExecuteScript "$(DEVICE)", "DoPause", 1
6.6.30.7 Bench_Purge
Purges the emission bench.
Script function/command:
BenchExecuteScript "$(DEVICE)", "DoPurge", 1
6.6.30.8 Bench_Measurement
Starts the sample gas flow.
Script function/command:
BenchExecuteScript "$(DEVICE)", "DoStartPreMeasurement", 1
6.6.30.9 Bench_Span
Starts the span gas flow.
Script function/command: BenchExecuteScript "$(DEVICE)", "DoSpan", 1
6.6.30.10 Bench_Calibrate
Starts the calibration gas flow.
Script function/command: BenchExecuteScript "$(DEVICE)", "DoCalibrate", 1
6.6.30.11 Bench_Zero
Starts the zero gas flow.
Script function/command: BenchExecuteScript "$(DEVICE)", "DoZero", 1
Parameters Description
Device Name of device
Status Shows the status acquisition in the RT I/O
console window (0=Off, 1=On).
Values Shows the measured value acquisition in
the RT I/O console window (0=Off 1=On).
Commands Shows command execution (0=Off, 1=RT
I/O console window, 2=RT I/O console
window + TBTracer, 3=RT I/O console
window + TBTracer + PUMA message
window).
Hexadecimal Not implemented in the first release.
Activate Checks the activation during command
and script execution (0=Off, 1=On).
Scriptfile Name of the script file to be loaded. The
default setting ‘?‘ loads 'ebh_tmp.vbs' .
Delete '?' if you do not want to load a file.
Script function/command:
BenchServices
"$(DEVICE)",$(Status),$(Values),$(Commands),$(Hexadecimal), _
$(Activate),"$(Scriptfile)"
6.6.30.13 Bench_ConnectNew
Example
The GEM license authorizes you to use this activation object.
Connects the virtual device to a new emission bench and a defined line.
Parameters Description
Device Name of device
BenchID Name of device. String.
Line Emission bench line.
Script function/command:
BenchConnectNew "$(DEVICE)","$(BenchID)",$(Line)
6.6.30.14 Bench_Standby
Switches the emission bench into Standby mode.
Parameters Description
Device Name of device
DoStandby Standby mode
Script function/command:
BenchUserScript "$(DEVICE)","DoStandby","",1
6.6.31 IndiCom
6.6.31.1 Local
Opens the user interface.
Parameters Description
Name Name of IndiCom device. String.
Script function/command:
Sub IncLocal(Name)
6.6.31.2 Measurement
Starts the measurement.
Parameters Description
Name Name of IndiCom device. String.
Script function/command:
Sub IncPerformMeasurement(Name)
Parameters Description
Name Name of IndiCom device. String.
FileName Name of parameter file. String.
Script function/command:
Sub IncLoadParameterFile(Name, FileName)
Parameters Description
Name Name of IndiCom device. String.
Script function/command:
Sub IncSaveRawData(Name)
Parameters Description
Name Name of IndiCom device. String.
FileName Name of script. String.
Script function/command:
Sub IncExecuteScript(Name, FileName)
6.6.31.6 Reconnect
Re-establishes communication with the IndiCom.
Parameters Description
Name Name of IndiCom device. String.
Script function/command:
Sub IncReconnect(Name)
Information
Parameters Description
Name Name of IndiCom device. String.
Script function/command:
Sub StartMeasurementSeries(Name)
Parameters Description
Name Name of IndiCom device. String.
Script function/command:
Sub StopMeasurementSeries(Name)
6.6.32 MCD3D
6.6.32.1 SelectDTCReadingScript
Selects a new script for reading the fault code memory. The selected script is
enabled until another script is selected or until the SYS parameters are reloaded.
Parameters Description
Name Name of CDH device
ScriptName Name of script.
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_SelectDTCReadingScript (Name, ScriptName, MonitorTimeout, Timeout)
6.6.32.2 SelectMeasurementPlanNumber
Selects a measurement plan number to be used for subsequent measurements.
The selected measurement plan remains enabled until a different measurement
plan is selected or the SYS parameters are reloaded.
Parameters Description
Name Name of CDH device
MeasPlan Number of measurement plan (1 - 4)
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_SelectMeasPlanNumber (Name, MeasPlan, MonitorTimeout, Timeout)
6.6.32.3 SelectMeasurementScript
Selects a new script as measurement script. The selected script is enabled until
another script is selected or until the SYS parameters are reloaded.
Parameters Description
Name Name of CDH device
ScriptName Name of measurement script
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_SelectMeasScript (Name, ScriptName, MonitorTimeout, Timeout)
6.6.32.4 Initialize
Activates the initialization script for the diagnostic system.
Parameters Description
Name Name of CDH device
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_DiagnoseInit (Name, MonitorTimeout, Timeout)
6.6.32.5 ReadFaultCodeMemory
Enables the diagnostic script for reading the fault code memory.
Parameters Description
Name Name of CDH device
Parameters Description
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_ReadDTC (Name, MonitorTimeout, Timeout)
6.6.32.6 ClearFaultCodeMemory
Enables the diagnostic script for clearing the fault code memory.
Parameters Description
Name Name of CDH device
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_ClearDTC (Name, MonitorTimeout, Timeout)
6.6.32.7 ExecuteScript
Activates a diagnostic script in synchronous mode.
Parameters Description
Name Name of CDH device
ScriptName Name of script.
ScriptParam Parameter string evaluated by the script
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_ExecuteScript (Name, ScriptName, ScriptParam, MonitorTimeout,_
Timeout)
6.6.32.8 ExecuteScriptAsynchron
Activates a diagnostic script in asynchronous mode.
Parameters Description
Name Name of CDH device
ScriptName Name of script.
ScriptParam Parameter string evaluated by the script
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_ExecuteScriptAsynchron (Name, ScriptName, ScriptParam,_
MonitorTimeout,_ Timeout)
6.6.32.9 SetAllParameters
Transfers all parameter values to the diagnostic system.
Parameters Description
Name Name of CDH device
ModuleName Name of module
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_SetAllParameters(Name,ModuleName,MonitorTimeout,Timeout)
6.6.32.10 SetParameterValue
Transfers the value of a parameter to the diagnostic system.
Parameters Description
Name Name of CDH device
ModuleName Name of module
ChannelName Channel name
ParameterValue Parameter value
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_SetParameterValue (Name, ModuleName, ChannelName, ParameterValue,_
MonitorTimeout, Timeout)
6.6.32.11 StartMeasurementScript
Selects a measurement script and a measurement plan number and starts the
measurement script. The script is restarted cyclically as defined by the param-
eter "Script Cycles". If this parameter is set to zero, the script is restarted cycli-
cally until "StopMeasurementScript" is executed.
Parameters Description
Name Name of CDH device
ScriptName Name of script.
MeasPlan Number of measurement plan (1-4)
ScriptCycles Number of cycles (0, 1-100)
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_StartMeasScript (Name, ScriptName, MeasPlan, ScriptCycles,_
MonitorTimeout, Timeout)
6.6.32.12 StopAllScripts
Stops all diagnostic scripts currently being executed.
Parameters Description
Name Name of CDH device
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_StopAllScripts (Name, MonitorTimeout, Timeout)
6.6.32.13 StopMeasurementScript
Stops a measurement script although not all of the cycles have been run yet.
Parameters Description
Name Name of CDH device
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_StopMeasScript (Name, MonitorTimeout, Timeout)
6.6.32.14 StopScript
Stops a diagnostic script currently being executed.
Parameters Description
Name Name of CDH device
ScriptName Name of script
MonitorTimeout MonitorTimeout
Timeout Timeout
Script function/command:
Sub cdh_MCD3D_StopScript (Name, ScriptName, MonitorTimeout, Timeout)
Parameters Description
Name Name of device
Script function/command:
CASGetAcqState(Name)
Parameters Description
Name Name of device
Script function/command:
CASGetSummaryReport(Name)
Parameters Description
Name Name of device
Script function/command:
CASGetErrorMessage(Name)
Parameters Description
Name Name of device
Script function/command:
CASGetAlgList(Name)
Parameters Description
Name Name of device
Mode MONITOR, LOG
lclDisp Yes/No
lclCtrl Yes/No
Script function/command:
CASInit(Name, Mode, lclDisp, lclCtrl)
Parameters Description
Name Name of device
RawRtpCmdString Command string
Script function/command:
CASSendCmdString(Name, RawRtpCmdString)
Information
This command may not be executed until initialization has been completed.
Parameters Description
Name Name of device
Mode MONITOR, LOG
Script function/command:
CASStartCAS(Name, mode)
Parameters Description
Name Name of device
Script function/command:
CASStopCAS(Name)
Parameters Description
Name Name of device
Script function/command:
CASResetConnection(Name)
6.6.34 GDI
Parameters Description
Name Name of device
Script function/command:
GDI_GdiReInitDevice(Name)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
NN Normname
Script function/command:
GDI_SetOpStatusNN(Name, module, interface, NN)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_ResetOpStatusNN(Name, module, interface)
Parameters Description
Name Name of device
debugOption Internal PUMA debug options (1-4)
Script function/command:
GDI_SetRTDebugOption(Name, debugOption)
Parameters Description
Name Name of device
normName PUMA normname
Script function/command:
CVS_GdiGetModuleInstanceNameList(Name, normName)
Parameters Description
Name
moduleInstName Global module instance
normName PUMA normname
Script function/command:
CVS_GdiGetInterfaceInstanceNameList(Name, moduleInstName, normName)
6.6.34.7 Hangup
Carries out a diagnostic operation (hangup).
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnDiagnostic_opHangup(Name, module, interface)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnDiagnostic_opLeakCheck(Name, module, interface)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
anaId Analyzer ID
Script function/command:
GDI_fnDiagnostic_opNoxEff(Name, module, interface, anaId)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
anaId Analyzer ID
Script function/command:
GDI_fnDiagnostic_opCO2Water(Name, module, interface, anaId)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
accept Normname for the result
Script function/command:
GDI_fnDiagnostic_opLinearizeCheck(Name, module, interface, accept)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
route 1 = none
2 = span
Script function/command:
GDI_fnGroup_opRoute(Name, module, interface, route)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
CalSequence Calibration sequence
updateCoefficient Coefficients or check
range 0 = all
1 = current
Script function/command:
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnGroup_opClean(Name, module, interface)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnSystem_opClean(Name, module, interface)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnSystem_opLockReq(Name, module, interface)
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnSystem_opLockRel(Name, module, interface)
6.6.34.18 Reset
Sets the device into stand-by mode.
Parameters Description
Name Name of device
module Name of global module instance
interface Name of an interface instance
Script function/command:
GDI_fnSystem_opStandBy(Name, module, interface)
Parameter Beschreibung
Device Name des Gerätes
Script function/command:
PowerAnalyzerAttachMeasurementToTest "$(DEVICE)"
Parameter Beschreibung
Device Name of the device
Script function/command:
PowerAnalyzerConnectFtp "$(DEVICE)"
Parameters Description
Device Name of the device
Duratione Value in s
Script function/command:
PowerAnalyzerPrepareMeasurement "$(DEVICE)", "$(Duration)"
Parameters Description
Device Name of the device
Items Items
Script function/command:
PowerAnalyzerSelectWaveFormItems "$(DEVICE)", "$(items)"
Parameters Description
Device Name of the device
Script function/command:
PowerAnalyzerHoldOff "$(DEVICE)"
Parameters Description
Device Name of the device
Mode Mode
Script function/command:
PowerAnalyzerSetMode "$(DEVICE)", "$(Mode)"
Parameters Description
Device Name of the device
Rate Value in s
Script function/command:
PowerAnalyzerSetUpdateRate "$(DEVICE)", "$(Rate)"
Parameters Description
Device Name of the device
Command Command
Normname Normname
Script function/command:
PowerAnalyzerSendCommand "$(DEVICE)", "$(Command)", "$(NormName)"
Parameters Description
Device Name of the device
Filetype Type of the file
Script function/command:
PowerAnalyzerTransferResults "$(DEVICE)", "$(Filetype)"
Parameters Description
Device Name of the device
Script function/command:
PowerAnalyzerTrigger "$(DEVICE)"
6.6.36 OCSPS
Start Acquisition
Strta of cyclic data acquisition.
Script function/command:
Sub cdh_OCSPS_StartAcquisition
Stop Acquisition
Stop of cyclic data acquisition.
Script function/command:
Sub cdh_OCSPS_StopAcquisition
MessageDumpAfterReset
Displays whole warning and alarm list after hardware reset.
Script function/command:
Sub cdh_OCSPS_MessageDumpAfterReset
6.7 Measurement
Information
6.7.1 Drive
6.7.1.1 StartDrive
Starts Drive Measurement.
Parameters Description
Name Name of the device
Monitor Timeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout Value
Script function/command:
Sub cdh_DRIVE_StartDrive(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of the device
Monitor Timeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout Value
Script function/command:
Sub cdh_DRIVE_StopDrive(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of the device
Monitor Timeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout Value
Script function/command:
Sub cdh_DRIVE_PauseDrive(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of the device
Monitor Timeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout Value
Script function/command:
Sub cdh_DRIVE_ResumeDrive(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of the device
Monitor Timeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout Value
Script function/command:
Sub cdh_DRIVE_StoreResult(Name, MonitorTimeout, Timeout)
Parameters Description
DeviceName Name of device
Script function/command:
Sub ClxStop(DeviceName)
Parameters Description
DeviceName Name of device
Script function/command:
Sub ClxReset(DeviceName)
Parameters Description
DeviceName Name of device
Script function/command:
Sub ClxStore(DeviceName)
Parameters Description
DeviceName Normname that holds the result value.
Script function/command:
Function ClxGetResultName(DeviceName)
Example
ChnSet"RESASC1", ClxGetResultName("TALClass_2dim")
Parameters Description
DeviceName Normname that holds the result value.
Script function/command:
Sub StartStorableEvaluation(DeviceName)
6.7.3 Recorder
6.7.3.1 Store
Saves the current recorder result in the database.
Parameters Description
Name Name of recorder.
Script function/command:
Sub RecStore(Name)
Parameters Description
Name Name of recorder. String.
MinT The range of the stored recorder results
starts with this value (in s). Numeric value
or expression string.
MaxT The range of the stored recorder result
ends with this value (in s). Numeric value
or expression string.
Script function/command:
Sub RecStoreRange(Name, MinT, MaxT)
6.7.3.3 StoreAs
Stores the current result under the specified name.
Parameters Description
Name Name of recorder. String.
ResultName Name of result. String.
If the assigned string is a normname,
the normname's value will be used
as the new result name.
The parameter "Result Name" may
contain "$c(ChannelName).v"
entries. If these entries are detected
at runtime, they will be replaced by
the online values of the specified
channels and the resulting string will
then be used as the new result
name.
Script function/command:
Sub RecStoreAs(Name, ResultName)
Example
RecStoreAs "RecorderName" "myRec_$c(SPEED).v_$c(TORQUE).v"
If the value for SPEED is 2366.7765 and the value for TORQUE is 109.8794, the
result name will be "myrec_2366,7765_109,8794". Thus it makes sense to use
demand values instead of online values or to use auxiliary values.
6.7.3.4 Comment
Modifies the default comment attributes of a recorder result. Set after the
recorder result has been completed, it will be used in the next store operation.
Parameters Description
Name Name of recorder. String.
Comment Comment accompanying the recorder
result. String.
If the assigned string is a normname,
the normname's value will be used
as the new result name.
The parameter "Comment" may con-
tain "$c(ChannelName).v" entries. If
these entries are detected at
runtime, they will be replaced by the
online values of the specified chan-
nels and the resulting string will then
be used as the new comment.
Script function/command:
Sub RecComment(Name, Comment)
6.7.3.5 OpenNew
Opens a new recorder result (either in the database or on the file system) using
the specified result name. The resulting structure can be filled in with a sequence
of subsequent "StoreRange" requests. The structure is closed explicitly with a
"Close" request or implicitly with the next "StoreAs", "OpenNew" or "Start"
request.
Parameters Description
Name Name of recorder. String.
ResultName Name of result. String.
Script function/command:
Sub RecOpenNew(Name, ResultName)
6.7.3.6 Close
Closes an open result structure of the specified recorder.
Parameters Description
Name Name of recorder. String.
Script function/command:
Sub RecClose(Name)
Parameters Description
Name Name of recorder.
Script function/command:
Function RecGetRecordingTime(Name)
Information
This function is only available for a recorder that has already been started in
linear mode.
Parameters Description
Name Name of recorder.
Script function/command:
Function RecGetRemainingTime(Name)
6.7.3.9 Start
Activates recording with the selected recorder.
Parameters Description
Name Name of recorder. String.
Script function/command:
Sub RecStart(Name)
6.7.3.10 Stop
Stops recording with the selected recorder.
Parameters Description
Name Name of recorder. String.
Script function/command:
Sub RecStop(Name)
6.7.3.11 Trigger
Activates post-sampling with the selected recorder (Ringbuffer mode).
Parameters Description
Name Name of recorder. String.
Script function/command:
Sub RecTrigger(Name)
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Script function/command:
Function RecResultMin(Name, MinT, MaxT, Channel)
Example
ChnSet "RESCHA40", RecResultMin("MyRCD", 0, 100, "SPEED")
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Script function/command:
Function RecResultMax(Name, MinT, MaxT, Channel)
Example
ChnSet "RESCHA40", RecResultMax("MyRCD", 0, 100, "SPEED")
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Script function/command:
Function RecResultAvg(Name, MinT, MaxT, Channel)
Example
ChnSet "RESCHA40", RecResultAvg("MyRCD", 0, 100, "SPEED")
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
Parameters Description
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Script function/command:
Function RecResultInt(Name, MinT, MaxT, Channel)
Example
ChnSet "RESCHA40", RecResultInt("MyRCD", 0, 100, "SPEED")
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Script function/command:
Function RecResultMinT(Name, MinT, MaxT, Channel)
Example
ChnSet "RESCHA40", RecResultMinT("MyRCD", 0, 100, "SPEED")
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Script function/command:
Function RecResultMaxT(Name, MinT, MaxT, Channel)
Example
ChnSet "RESCHA40", RecResultMaxT("MyRCD", 0, 100, "SPEED")
Parameters Description
Name Name of the recorder whose result should
be evaluated. String.
MinT Lower range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the lower limit.
MaxT Upper range of the recorder result to be
evaluated in [s].
Numeric value or expression string.
If necessary, the given value is auto-
matically corrected to the actual
upper limit.
Channel Name of the channel that holds the evalu-
ation result.
Script function/command:
Function RecResultStd(Name, MinT, MaxT, Channel)
Information
All logpoints and the recorder result are delected when the recorder is started
again or the recorder parameters are reloaded.
Information
When saving the individual values of the logpoint channels, their status is also
taken into account. If a status value is invalid (e.g. overflow or "sensor broken"),
the value 1e10 is saved in the database for this channel.
Information
Logpoint recordings will only be stored in the database or file when the next save
request is made.
Parameters Description
Name Name of recorder. String.
Script function/command:
Sub RecTakeSnapShot(Name)
Information
Information
This function does not affect logpoint recordings stored in the database.
Parameters Description
Name Name of recorder. String.
Index Index of snapshot that is to be deleted.
Specifying the value -1 will delete all
snapshots.
Script function/command:
Sub RecDeleteSnapShot(Name, Index)
6.7.3.21 SetExcludeFromArchiving
This functions sets the 'Exclude from archiving' attribute of the current recorder
result.
Parameters Description
Device Name of the device
Excluded Determines if the result is enabled for
archiving or not.
0…not excluded from archiving
1…excluded from archiving
Data type: float or a NormName of a
numerical datatype, or an expression
Script function/command:
RecSetExcludeFromArchiving "$(DEVICE)", "$(Excluded)"
6.7.3.22 GetExcludeFromArchiving
This function retrieves the 'Exclude from archiving' attribute of the current
recorder result.
Parameters Description
ResultChannel Name of the Channel
Device Name of the device
Script function/command:
ChnSet "$(ResultChannel)", RecGetExcludeFromArchiving ("$(DEVICE)")
6.7.3.23 SetExcludeFromReplication
This functions sets the 'Exclude from replication' attribute of the current recorder
result.
Parameters Description
Device Name of the device
Excluded Determines the recorder result.
Script function/command:
RecSetExcludeFromReplication "$(DEVICE)", "$(Excluded)"
6.7.3.24 GetExcludeFromReplication
This function retrieves the 'Exclude from replication' attribute of the current
recorder result.
Parameters Description
ResultChannel Name of the Channel
Device Name of the device
Script function/command:
ChnSet "$(ResultChannel)", RecGetExcludeFromReplication ("$(DEVICE)")
Parameters Description
Result channel Normname or String
Device Name of the device
Script function/command:
ChnSet "$(ResultChannel)", RecGetResultComment ("$(DEVICE)")
Parameters Description
Result channel Normname or String
Device Name of the device
Script function/command:
ChnSet "$(ResultChannel)", RecGetResultName ("$(DEVICE)")
Parameters Description
Device Name of the device
Result channel Normname or String
Script function/command:
RecSetResultComment "$(DEVICE)", "$(ResultComment)"
Parameters Description
Device Name of the device
Result channel Normname or String
Script function/command:
RecSetResultName "$(DEVICE)", "$(ResultName)"
6.7.3.29 SetRetentionTime
This functions sets the 'Retention time' attribute of the current recorder result.
Parameters Description
Device Name of the device
Retention Time Retention Time
Script function/command:
RecSetRetentionTime "$(DEVICE)", "$(RetentionTime)"
6.7.3.30 GetRetentionTime
This function retrieves the 'Retention time' attribute of the current recorder result.
Parameters Description
ResultChannel Name of the Channel
Device Name of the device
Script function/command:
ChnSet "$(ResultChannel)", RecGetRetentionTime ("$(DEVICE)")
Parameters Description
Name Name of measurement request. String.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqReinitializeDevices(Name, MonitorTimeout, Timeout)
Parameters Description
Name Name of measurement request. String.
Key Can be used optionally to overwrite the
key defined in the MRQ. String (use of
normnames possible).
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqStoreResults(Name, Key, WaitForCompletion, MonitorTimeout, Timeout)
Example
MrqStoreResults "MRQ1", "", 0,0
or
MrqStoreResults "MRQ2, "FL", 1, 10
Parameters Description
Name Name of measurement request. String.
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqPrepareMeasurementPhase(Name, MonitorTimeout, Timeout)
Example
MrqPrepareMeasurementPhase "MRQ1", 0,0
or
MrqPrepareMeasurementPhase "MRQ2, 1, 5.5
Parameters Description
Name Name of measurement request. String.
MeasTime Can be used optionally to overwrite the
time defined in the MRQ. Float (use of
normnames possible).
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqPrepareMeasurementPhaseEx(Name, MeasTime, MonitorTimeout, Timeout)
Example
MrqPrepareMeasurementPhaseEx "MRQ1", 5, 0,0
or
MrqPrepareMeasurementPhaseEx "MRQ2", 5, 1, 5.5
Parameters Description
Name Name of measurement request. String.
MeasTime Can be used optionally to overwrite the
time defined in the MRQ. Float (use of
normnames possible).
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqMeasurementPhase(Name, MeasTime, MonitorTimeout, Timeout)
Example
MrqMeasurementPhase "MRQ1", "", 1, 100
or
MrqMeasurementPhase "MRQ2", "MEAS_TIM", 1, 120
Parameters Description
Name Name of measurement request. String.
Script function/command:
Sub MrqInterrupt(Name)
Parameters Description
Name Name of measurement request. String.
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqPostMeasurementPhase(Name, WaitForCompletion, MonitorTimeout, Timeout)
Example
MrqPostMeasurementPhase "MRQ1", 0, 0
or
MrqPostMeasurementPhase "MRQ2", 1, 13.4
Parameters Description
Name Name of measurement request. String.
MeasTime Can be used optionally to overwrite the
time defined in the MRQ. Float (use of
normnames possible).
Key Can be used optionally to overwrite the
key defined in the MRQ. String (use of
normnames possible).
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqMeasureAndStore(Name, MeasTime, Key, MonitorTimeout, Timeout)
Example
MrqMeasureAndStore "MRQ1", 30, "", 1, 33
or
MrqMeasureAndStore "MRQ2, 60, "VL", 1, 60
or
MrqMeasureAndStore "MyMRQ", "MEAS_TIM", "MEASKEY", 1, 60
Parameters Description
Name Name of measurement request. String.
MeasTime Can be used optionally to overwrite the
time defined in the MRQ. Float (use of
normnames possible).
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqMeasure(Name, MeasTime, MonitorTimeout, Timeout)
Example
MrqMeasure "MRQ1", 30, "", 1, 33
or
MrqMeasure "MRQ2, 60, "VL", 1, 60
or
MrqMeasure "MyMRQ", "MEAS_TIM", "MEASKEY", 1, 60
Parameters Description
DeviceName Name of the measurement device that is
to be excluded from the measurement.
Script function/command:
Sub MrqExcludeDevice(DeviceName)
Parameters Description
DeviceName Name of the measurement device that is
to be included in the measurement.
Script function/command:
Sub MrqIncludeDevice(DeviceName)
Parameters Description
Name Name of measurement request. String.
Key Can be used optionally to overwrite the
key defined in the MRQ. String (use of
normnames possible).
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
MonitorTimeout Time-out monitoring by using the value:
0=no monitoring, 1=monitoring
Timeout Timeout
Script function/command:
Sub MrqSnapshot(Name, Key, WaitForCompletion, MonitorTimeout, Timeout)
Example
MrqStoreSnapshot "MRQ1", "AC", 0, 0
Parameters Description
Name Name of selected MRQ.
MeasTime Measuring time
Script function/command:
Sub MrqSelect(Name, MeasTime)
Example
MrqSelect "MRQ1", "MEAS_TIM"
Parameters Description
DeviceName Name of MRQ. String.
If string is empty, the currently loaded
MRQ is used.
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
Script function/command:
Sub MrqStarIntegralMeasurement(DeviceName, WaitForCompletion)
Parameters Description
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
Script function/command:
Sub MrqStopIntegralMeasurement(WaitForCompletion)
Parameters Description
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
Script function/command:
Sub MrqGetIntegrators(WaitForCompletion)
Parameters Description
WaitForCompletion 0 .. (execution in synchronous mode)
1 .. (execution in asynchronous mode)
Script function/command:
Sub MrqStopInterval(WaitForCompletion)
Parameters Description
DeviceList List of the devices that are to be
excluded, separated by ’,’. It is possible to
use normnames.
Script function/command:
Sub MrqExcludeListOfDevices(DeviceList)
Example
MrqExcludeListofDevices "AVL753,AVL403"
Parameters Description
DeviceList List of the devices that are to be included,
separated by ’,’. It is possible to use
normnames.
Script function/command:
Sub MrqIncludeListOfDevices(DeviceList)
Example
MrqIncludeListofDevices "AVL753,AVL403"
6.7.5.1 Start
Sends a Start command to an external recorder.
Script function/command:
Sub EcrStart
6.7.5.2 Stop
Sends a Stop command to an external recorder.
Script function/command:
Sub EcrStop
6.7.5.3 Initialize
Sends an Initialize command to an external recorder.
Script function/command:
Sub ExrInit
6.8.1 Concerto
Parameters Description
ChannelName Name of the channel.
MacroName Name of the macro file to be executed by
CONCERTO including path name and
extension.
String.
Parameter User-defined parameter that enables you
to monitor macro execution during
runtime.
Script function/command:
Function CncExecuteMacro(ChannelName, MacroName, Parameter)
Example
ChnSet "RESCHA40", CncExecuteMacro("ChannelName", "D:\MyMacro.mac", "DoItThatWay")
Parameters Description
ChannelName Name of the channel.
MacroName Name of the macro file to be executed by
CONCERTO including path name and
extension.
String.
Parameter User-defined parameter that enables you
to monitor macro execution during
runtime.
Script function/command:
Function CncExecuteMacroEx(ChannelName, MacroName, Parameter)
6.8.1.5 CncLoadLayout
Loads the specified CONCERTO layout.
Parameters Description
LayoutName Name of layout file. String.
Script function/command:
Sub CncLoadLayout(LayoutName)
Example
CncLoadLayout ("messpkt.cly")
6.8.1.6 CncShowLayout
Loads and displays the specified CONCERTO layout.
Parameters Description
LayoutName Name of layout file. String.
Script function/command:
Sub CncShowLayout(LayoutName)
Example
CncShowLayout ("messpkt.cly")
Parameters Description
ChannelName Opens normname Browser
MacroName Name of the macro
Parameter Name of the Parameter
Script function/command:
ChnSet "$(ChannelName)", GooExecuteMacro("$(MacroName)", $(Parameter))
6.8.3.3 Stop
Stops ECE or FDP.
Script function/command:
LcsVTOLStop
Parameters Description
SyncNN Normname. String.
Timeout Time-out.
Script function/command:
Sub RgrStartApplication(SyncNN, Timeout)
6.8.4.2 Analyze
Starts analysis.
Parameters Description
SyncNN Normname. String.
Timeout Time-out.
Script function/command:
Sub RgrAnalyze(SyncNN, Timeout)
Parameters Description
ChannelMappingTable Name of the list of channel mappings to
be used. An entry of the selected data
records is mapped to the automation
system if its name matches one of the
entries in the channel table.
String.
If a Channel Mapping Table has
been defined, all channels that do
not match are not mirrored.
If no Channel Mapping Table has
been defined, all channels of the
selected measurement are repli-
cated.
Channels in the automation system
that have a cyclic provider are not
mirrored.
Data are always copied to the online
part of a channel (i.e. the base sub-
variable).
Measurement Name of the measurement in the data-
base. If no structured name is specified,
the following rules apply:
It is assumed that the referenced
measurement is part of the current
test and the current test series!
The current project is automati-
cally determined by the test
series.
If several versions of the same mea-
surement exist, the most recent one
is selected. Valid structured mea-
surement names include:
Measurement[.MeasurementVer-
sion]
Test[.TestVersion]\Measure-
ment[.MeasurementVersion]
TestSeries\Test[.TestVersion]\Mea-
surement[.MeasurementVersion]
String.
ByVal StartRecord You can select a record as the first one to
be replicated.
Numeric value or expression string.
ByVal NumberOf- Indicates whether only the latest single
Records record or the most recent n records are
replicated. If fewer records exist than
have been specified, they will be ignored.
Numeric value or expression string.
Negative values indicate all records
starting with the one specified in the
'StartRecord' attribute.
Parameters Description
ByVal Direction The StartRecord attribute is interpreted
depending on this attribute. If it is set to
'From Top', the index starts at '0' and
refers to the most recent record. The
previous record is given the number '1',
etc. If a record does not exist, no value is
replicated. If the attribute is set to 'From
Bottom', the index starts at '0' and refers
to the first record, '1' to the second record,
etc.
0...from bottom; 1 .. from top
DelayTime If more than one record is replicated, the
specified delay time delays the replication
of subsequent records.
Numeric value.
Script function/command:
Sub ResMirrorDB(ChannelMappingTable, Measurement, _
ByVal StartRecord, ByVal NumberOfRecords, ByVal Direction, DelayTime)
To check replicated records, channels that have been found in the selected
measurement can be written to other channels or ignored.
If more than one record is replicated, the specified delay time delays the replica-
tion of subsequent records.
Parameters Description
ChannelMappingFile Name of the file that contains the list of
channels being used. An entry of the
selected data records is mapped to the
automation system if its name matches
one of the entries in the channel table.
String.
If a Channel Mapping File has been
defined, all channels that do not
match are not mirrored.
If no Channel Mapping Table has
been defined, all channels of the
selected measurement are repli-
cated.
Channels in the automation system
that have a cyclic provider are not
mirrored.
Data are always copied to the online
part of a channel (i.e. the base sub-
variable).
DataFile Name (including path information) of the
file that contains data in XML format.
String.
StartRecord You can select a record as the first one to
be replicated.
Numeric value or expression string.
NumberOfRecords Indicates whether only the latest single
record or the most recent n records are
replicated. If fewer records exist than
have been specified, they will be ignored.
Numeric value or expression string.
Negative values indicate all records
starting with the one specified in the
'StartRecord' attribute.
Direction The StartRecord attribute is interpreted
depending on this attribute. If it is set to
'From Top', the index starts at '0' and
refers to the most recent record. The
previous record is given the number '1',
etc. If a record does not exist, no value is
replicated. If the attribute is set to 'From
Bottom', the index starts at '0' and refers
to the first record, '1' to the second record,
etc.
0...from bottom; 1 .. from top
DelayTime If more than one record is replicated, the
specified delay time delays the replication
of subsequent records.
Numeric value [ms]
DeleteAfterUsage Indicates whether or not to delete the file
after use.
0...no; 1...yes
Script function/command:
Example
ResMirrorFileEx "D:\Mapping.xml", "D:\Result\Data.Res", 0, -1, 0, 250, 0
Parameters Description
ChannelMappingFile Name of the file that contains the list of
channels being used. An entry of the
selected data records is mapped to the
automation system if its name matches
one of the entries in the channel table.
String.
If a Channel Mapping Table has
been defined, all channels that do
not match are not mirrored.
If no Channel Mapping Table has
been defined, all channels of the
selected measurement are repli-
cated.
Channels in the automation system
that have a cyclic provider are not
mirrored.
Data are always copied to the online
part of a channel (i.e. the base sub-
variable).
DirectoryName Folder that should contain the data in the
XML format.
String.
FileExtension Only files with the specified extension will
be considered.
String.
If no extension is defined, all files of
the specified folder will be selected.
StartRecord You can select a record as the first one to
be replicated.
Numeric value or expression string.
NumberOfRecords Indicates whether only the latest single
record or the most recent n records are
replicated. If fewer records exist than
have been specified, they will be ignored.
Numeric value or expression string.
Negative values indicate all records
starting with the one specified in the
'StartRecord' attribute.
Parameters Description
Direction The StartRecord attribute is interpreted
depending on this attribute. If it is set to
'From Top', the index starts at '0' and
refers to the most recent record. The
previous record is given the number '1',
etc. If a record does not exist, no value is
replicated. If the attribute is set to 'From
Bottom', the index starts at '0' and refers
to the first record, '1' to the second record,
etc.
0...from bottom; 1 .. from top
DelayTime If more than one record is replicated, the
specified delay time delays the replication
of subsequent records.
Numeric value.
DeleteAfterUsage Indicates whether or not to delete the file
after use.
0...no; 1...yes
Script function/command:
Sub ResMirrorDirEx(ChannelMappingFile, DirectoryName, FileExtension, _
StartRecord, NumberOfRecords, Direction, DelayTime, DeleteAfterUsage)
Example
ResMirrorDirEx "D:\Mapping.xml", "D:\Result\", "Res", 0, -1, 0, 250, 0
Parameters Description
Key Name of measurement ($1..$9). String.
Script function/command:
Sub ResStoreRecoveryData(Key)
Parameters Description
Key Name of measurement ($1..$9). String.
Script function/command:
Sub ResRestoreRecoveryData(Key)
6.8.5.8 GetStorageDefinition
Retrieves information about one of the various AODS test entities that are asso-
ciated with the current test bed (i.e. test bed diary), the current unit under test
(i.e. engine diary) or the current test. It returns a DB-ID as well as some descrip-
tive information.
Parameters Description
DiaryType Identifies the specified test run that is
being searched for.
Numbering; input parameter.
eRATest = 0
eRAUnitUnderTest =1
eRATestbed = 2
Project Name of project the selected entity
belongs to.
String; output parameter.
TestSeries Name of test series the selected entity
belongs to.
String; output parameter.
Test Name of test run the selected entity
belongs to.
String; output parameter.
TestVersion Version of the entity.
Long; output parameter.
Script function/command:
Function ResAccessGetStorageDefinition(DiaryType, Project, _
TestSeries, Test, TestVersion)
Example Retrieve the AODS ID of the current test cell diary and compare it with the infor-
mation displayed in CONCERTO's Data Explorer:
Information
Dim rowNum
rowNum = ChnGet(ChannelName)
MyOperatingPoints.GetNext rowNum
''''
' Initialize is called during the transition from MONITOR to
' MANUAL automatically. It creates an object that
' iterates over the set values.
''''
Public Sub Initialize()
Set MyOperatingPoints = New OperatingPoints
End Sub
''''
' Terminate is called during the transition from MANUAL to
' MONITOR automatically.
''''
Public Sub Terminate()
Set MyOperatingPoints = Nothing
End Sub
''''
' Class 'OperatingPoints' operates as an iterator.
''''
Class OperatingPoints
Private TheMappingTable()
Private TheNumberOfChannels
''''
' Retrieve the actual number of operating points
''''
Public Property Get Count
Count = ResAccessGetRecordCnt(MeasurementKey)
End Property
''''
' Attach the specified measurement, retrieve the channel list,
' and build up the mapping table
''''
Public Sub Setup(MeasurementName, Mapping)
ResAccessAttach MeasurementKey, MeasurementName
Dim ChannelList
ChannelList = ResAccessGetChannelList(MeasurementKey)
TheNumberOfChannels = UBound(ChannelList,1) + 1
Dim MaxRow
MaxRow = ResAccessGetRecordCnt(MeasurementKey)
PoiSendMessage 1, MaxRow & " operating points retrieved from measurement '" & _
MeasurementName & "'", 0
End Sub
''''
' Read the next set of values and write
' them to the associated Normnames.
''''
Public Sub GetNext(Row)
Dim MaxRow
MaxRow = ResAccessGetRecordCnt(MeasurementKey)
If Row < 1 Or Row > MaxRow Then
PoiSendMessage 1, "Operating point index has to be within range [1," & MaxRow
& "]", 0
Exit Sub
Else
ResAccessSetPosition MeasurementKey, Row
End If
Dim ChannelValueArray
ChannelValueArray = ResAccessNext(MeasurementKey, 1)
Dim ChannelValueList()
ReDim ChannelValueList(UBound(ChannelValueArray,2))
Dim i
For i = 0 To UBound(ChannelValueArray,2)
ChannelValueList(i) = ChannelValueArray(0,i)
Next
Dim NumberOfChannels
NumberOfChannels = UBound(ChannelValueList,1) + 1
If Not NumberOfChannels = TheNumberOfChannels Then
''''
' The number of channels in the measurement has changed ->
' reconfiguration of the mapping table is necessary
''''
ChangeMappingTableIndex ResAccessGetChannelList(MeasurementKey)
TheNumberOfChannels = NumberOfChannels
End If
''''
' Provide value information and put it out!
''''
ChangeMappingTableValue ChannelValueList
'DebugMappingTable
OutputMappingTable
Dim i,j
For i = 0 To UBound(MappingTable, 1)
Dim ChannelPair
ChannelPair = Split(MappingTable(i), ">")
If UBound(ChannelPair,1) > 0 Then
TheMappingTable(i,0) = ChannelPair(0)
TheMappingTable(i,1) = ChannelPair(1)
Else
TheMappingTable(i,0) = ChannelPair(0)
TheMappingTable(i,1) = ChannelPair(0)
End If
TheMappingTable(i,2) = -1
TheMappingTable(i,3) = 0
Next
For i = 0 To UBound(TheMappingTable, 1)
For j = 0 To UBound(ChannelList,1)
If TheMappingTable(i,0) = ChannelList(j) Then
TheMappingTable(i,2) = j
Exit For
End If
Next
Next
'DebugMappingTable
End Sub
TheMappingTable(i,2) = -1
TheMappingTable(i,3) = 0
For j = 0 To UBound(ChannelList,1)
If TheMappingTable(i,0) = ChannelList(j) Then
TheMappingTable(i,2) = j
Exit For
End If
Next
Next
'DebugMappingTable
End Sub
'DebugMappingTable
End Sub
6.8.5.9 ResAccessAttach
Includes a specified measurement in the database and assigns an ID to it that
iterates in the measurement recording later on.
Parameters Description
Key Identifies the iterator in subsequent oper-
ations.
String.
MeasurementName Name of the measurement in the data-
base for which you want to attach an iter-
ator.
If no structured name is specified, the
following naming conventions apply:
It is assumed that the referenced
measurement is part of the current
test run and the current test series
(Note: The current project is implicitly
determined by the test series).
If there are different versions of the
same measurement, the current ver-
sion is automatically selected.
Valid structured measurement names
include:
Measurement[.MeasurementVer-
sion]Test[.TestVersion]\Measure-
ment[.MeasurementVersion]
TestSeries\Test[.TestVersion]\Measure-
ment[.MeasurementVersion] Project\Test-
Series\Test[.TestVersion]\Measurement[.Mea
surementVersion]
String.
Script function/command:
Sub ResAccessAttach(Key, MeasurementName)
6.8.5.10 ResAccessDetach
Launches a predefined iterator.
Parameters Description
Key Identifies the iterator in subsequent oper-
ations.
String.
Script function/command:
Sub ResAccessDetach(Key)
6.8.5.11 ResAccessSetPosition
Positions the iterator within the measurement records.
Parameters Description
Key Identifies the iterator.
String.
Position Positions the iterator within the measure-
ment record.
Numeric value.
0…start
-1…end of file
Script function/command:
Sub ResAccessSetPosition(Key, Position)
6.8.5.12 ResAccessGetPosition
Retrieves the current position of the iterator within the measurement records. If
the iterator points to the beginning, it will return "0", if it points to the end, it will
return "-1".
Parameters Description
Key Identifies the iterator.
String.
Script function/command:
Function ResAccessGetPosition(Key)
6.8.5.13 ResAccessNext
Retrieves a number of records from the measurement. The result is given as a
two-dimensional array. After being called up, the iterator points to the position in
the record that follows the last returned record. If no further record exists, the
iterator points to "EOF".
Parameters Description
Key Identifies the iterator.
String.
NumberOfRecords Number of records to be returned. If there
are actually fewer records than specified
here, the number of records will automati-
cally be reduced.
Numeric value.
Script function/command:
Function ResAccessNext(Key, NumberOfRecords)
6.8.5.14 ResAccessGetRecordCnt
Retrieves the specified number of records within the measurement.
Parameters Description
Key Identifies the iterator.
String.
Script function/command:
Function ResAccessGetRecordCnt(Key)
6.8.5.15 ResAccessGetChannelList
Retrieves the list of measurement channel names. The result is given as a
one-dimensional array.
Parameters Description
Key Identifies the iterator.
String.
Script function/command:
Function ResAccessGetChannelList(Key)
ResStorageDetach(Key)
This is what a typical sequence of a store operation looks like:
ResStorageOpen(…)
ResStorageDefine(…)
ResStorageStore(…)
:
ResStorageStore(…)
ResStorageClose(…)
Alternative sequences may be:
ResStorageOpen(…)
ResStorageDefine(…)
ResStorageStore(…)
:
ResStorageFlush(…)
:
ResStorageStore(…)
ResStorageClose(…)
or:
ResStorageOpen(…)
ResStorageDefine(…)
ResStorageStore(…)
:
ResStorageDefine(…)
:
ResStorageStore(…)
ResStorageClose(…)
6.8.5.17 ResStorageOpen
Opens a new version of the specified measurement structure in the database
within the specified diary and creates an access object for it.
Parameters Description
Key Identifies the storage access object.
DiaryType Specifies whether the measurement is to
be associated with the 'unit under test'
(e.g. engine diary), the test bed (e.g. test
bed diary) or the test.
Admissible values:
eRATest = 0
eRAUnitUnderTest = 1
eRATestbed = 2
ResultName Name of the measurement in the data-
base.
Script function/command:
Sub ResStorageOpen(Key, DiaryType, ResultName)
Example
ResStorageOpen "MyStorage", eRAUnitUnderTest, "MyUUTLogBook"
6.8.5.18 ResStorageAppend
If a measurement has not been stored ("sealed") in the database yet (i.e. the
'iCompleteFlag' not yet set to '1'), this request re-opens the database and allows
further data to be stored in it.
Information
If the measurement has already been stored, a new version of the measurement
will be created.
Parameters Description
Key Identifies the storage access object.
DiaryType Specifies whether the measurement is to
be associated with the 'unit under test'
(e.g. engine diary), the test bed (e.g. test
bed diary) or the test.
Admissible values:
eRATest = 0
eRAUnitUnderTest = 1
eRATestbed = 2
ResultName Name of the measurement in the data-
base.
Script function/command:
Sub ResStorageAppend(Key, DiaryType, ResultName)
Example
ResStorageAppend "MyStorage", eRAUnitUnderTest, "MyUUTLogBook"
6.8.5.19 ResStorageClose
Closes the selected measurement and sets the 'iCompleteFlag' attribute for that
measurement in the database, i.e. it "seals" the measurement.
Parameters Description
Key Identifies the storage access object.
Script function/command:
Sub ResStorageClose(Key)
Example
ResStorageClose "MyStorage"
6.8.5.20 ResStorageDefine
Specifies the channels that are to be stored in the selected measurement with
subsequent 'ResStorageStore' requests.
Parameters Description
Key Identifies the storage access object.
NameList List of channel names.
SystemNameList List of system names given in the same
sequence as the channel list.
Important: The system names of system
channels can be retrieved using the
'ChnGetSystemName' function.
DataTypeList List of data types given in the same
sequence as the channel list.
Valid data types:
· eSCTLong = &H0003
· eSCTFloat = &H0004
· eSCTDouble = &H0005
· eSCTString = &H0006
Important: The data type of system chan-
nels can be retrieved using the 'ChnGet-
DataType' function.
Script function/command:
Sub ResStorageDefine(Key, NameList, SystemNameList, DataTypeList)
Example
Dim i, MyChannelList(2), MySystemNameList(2), MyDatatypeList(2)
MyChannelList(0) = "SPEED"
MyChannelList(1) = "TORQUE"
MyChannelList(2) = "ALPHA"
For i = 0 To 2
MySystemNameList(i) = ChnGetSystemName(MyChannelList(i))
MyDatatypeList(i) = ChnGetDataType(MyChannelList(i))
Next
ResStorageDefine "MyStorage", MyChannelList, MySystemNameList, MyDatatypeList
6.8.5.21 ResStorageStore
Stores the specified list of values along with the associated status information in
the database.
Information
In the case of values with status = 'NotOk', a value of 1e10 is stored in the data-
base.
Information
Since the 'ResStorageStore' request stores a given result record directly in the
database, the system load increases significantly if this function is used regu-
larly. To reduce the load, use the internal Cache Option and store all accumu-
lated records from time to time using the 'RecStorageFlush' function.
Parameters Description
Key Identifies the storage access object.
DoNotCache Specifies whether or not the values are to
be stored immediately in the database.
Admissible values:
eRADoCache = 0
eRADoNotCache = 1
ValueList Array of values in the same order as the
channel list that has been defined in the
'ResStorageDefine' request.
StatusList Array of values in the same order as the
channel list that has been defined in the
'ResStorageDefine' request.
Admissible values:
Ok = 0
NotOk <> 0
Script function/command:
Sub ResStorageStore(Key, DoNotCache, ValueList, StatusList)
Example
Dim ValueList(2), StatusList(2)
For i = 0 To 2
ValueList(i) = ChnGet(MyChannelList(i))
StatusList(i) = ChnGetStatus(MyChannelList(i))
Next
ResStorageStore "MyStorage", eRADoCache, ValueList, StatusList
6.8.5.22 ResStorageFlush
In the case of storage requests that do not have set the 'DoNotCache' attribute it
is necessary to finally store them in the database.
Information
Parameters Description
Key Identifies the storage access object.
Script function/command:
Sub ResStorageFlush(Key)
Example
ResStorageFlush "MyStorage"
6.8.5.23 ResStorageGetResultName
Retrieves the name of the measurement that has been specified for the specified
storage access object in the last 'RecStorageOpen' or 'RecStorageAppend'
request.
Information
Parameters Description
Key Identifies the storage access object.
Script function/command:
Function ResStorageGetResultName(Key)
Example
Dim ResultName
ResultName = ResStorageGetResultName("MyStorage")
MsgBox "ResultName:" & vbCrLf & ResultName
6.8.5.24 ResStorageGetDiaryType
Retrieves the type of diary to which the measurement belongs that has been
specified for the storage access object with the last 'RecStorageOpen' or 'RecS-
torageAppend' request.
Information
Parameters Description
Key Identifies the storage access object.
Script function/command:
Function ResStorageGetDiaryType(Key)
Example
Dim Diary, DiaryType
DiaryType = ResStorageGetDiaryType("MyStorage")
Select Case DiaryType
Case eRATest
Diary = "TST"
Case eRAUnitUnderTest
Diary = "UUT"
Case Else 'eRATestbed
Diary = "SYS"
End Select
MsgBox "Diary:" & vbCrLf & Diary
6.8.5.25 ResStorageGetNameList
Retrieves the list of all channel names from the selected access object that were
specified in the last 'ResStorageDefine' request.
Parameters Description
Key Identifies the storage access object.
Script function/command:
Function ResStorageGetNameList(Key)
Example
Dim ChannelList, I, ListString
ChannelList = ResStorageGetNameList("MyStorage")
For i = 0 to Ubound(ChannelList,1)
ListString = ListString & vbCrLf & ChannelList(I)
Next
MsgBox "NameList:" & vbCrLf & ListString
6.8.5.26 ResStorageGetSystemNameList
Retrieves the list of all system names for all channels from the selected access
object that were specified in the last 'ResStorageDefine' request.
Parameters Description
Key Identifies the storage access object.
Script function/command:
Function ResStorageGetSystemNameList(Key)
Example
Dim ChannelList, I, ListString
ChannelList = ResStorageGetSystemNameList("MyStorage")
For i = 0 to Ubound(ChannelList,1)
ListString = ListString & vbCrLf & ChannelList(I)
Next
MsgBox "SystemNameList:" & vbCrLf & ListString
6.8.5.27 ResStorageGetDataTypeList
Retrieves the list of all data type identifiers for all channels from the selected
access object that were specified in the last 'ResStorageDefine' request.
Parameters Description
Key Identifies the storage access object.
Script function/command:
Function ResStorageGetDataTypeList(Key)
Example
Dim DataTypeList, i, ListString
DataTypeList = ResStorageGetDataTypeList("MyStorage")
For i = 0 to Ubound(ChannelList,1)
ListString = ListString & vbCrLf & DataTypeList(i)
Next
MsgBox "DataTypeList:" & vbCrLf & ListString
6.8.5.28 ResStorageAttach
Creates a new storage access object.
Information
If an access object with the same key already exists, a new object is created.
Parameters Description
Key Identifies the storage access object.
Script function/command:
Sub ResStorageAttach(Key)
Example
DResStorageAttach "MyStorage"
6.8.5.29 ResStorageDetach
Releases the specified access object.
Information
Releasing the access object neither 'flushes' any pending result record nor does
it close the measurement in the database.
Parameters Description
Key Identifies the storage access object.
Script function/command:
Sub ResStorageDetach(Key)
Example
ResStorageDetach "MyStorage"
6.8.5.30 ResStorageDSTs
Retrieves the number of defined data storage tables and a list of their names.
Parameters Description
DSTList Contains the names of the defined data
storage tables.
ReturnValue Number of data storage tables.
Script function/command:
Function ResStorageDSTs(DSTList)
Example
Dim NumberOfDSTs
Dim DSTList()
Dim i
NumberOfDSTs = ResStorageDSTs(DSTList)
For i = 0 To NumberOfDSTs -1
MsgBox DSTList(I)
Next
6.8.5.31 ResStorageDSTChannels
Retrieves the number of defined channels as well as their channel names,
system names and data types.
Parameters Description
Index Index of data storages tables or of their
names.
ChannelList() Contains all channel names included in
the data storage table.
SystemNameList() Contains all system names included in
the data storage table.
DataTypeList() Contains all data types of the channels
included in the data storage table.
Script function/command:
Function ResStorageDSTChannels(Index, ChannelList, _
SystemNameList, DataTypeList)
Example
Dim NumberOfChannels
Dim ChannelList()
Dim SystemNameList()
Dim DataTypeList()
Dim i
Application During a test run, additional information on the environmental conditions under
example which the test is run is to be stored in a separate measurement in the database.
This measurement is associated to the Test Diary.
The solution is provided by means of a specific script context that can be used
from BSQ/SSQ or even interactively from SOX and POI.
This script context includes the following three functions:
Open
Snapshot
Close
Script function Opens a new measurement with the name "Name" within the diary ["TST",
"Open" "SYS", "UUT"] and with a list of specific channels that are defined via the "Chan-
nels" attribute. The channels in the channel list are separated by ",". With the
"StorageMode" attribute you determine that the snapshots will be stored in the
database [0...upon "Close", 1...immediately].
Script function Takes a snapshot of all channels specified in the channel list.
"Snapshot"
Script function Closes (and saves) the measurement.
"Close"
Contents of the Dim MyStorage
script context Const MyKey = "MyStorage"
Class Storage
Dim MyStorageMode
Dim MyMaxIndex
Dim MyChannelList
Dim MySystemNameList()
Dim MyDatatypeList()
ReDim MySystemNameList(MyMaxIndex)
ReDim MyDatatypeList(MyMaxIndex)
Dim i
For i = 0 To MyMaxIndex
MySystemNameList(i) = ChnGetSystemName(MyChannelList(i))
MyDatatypeList(i) = ChnGetDataType(MyChannelList(i))
Next
'
' Configure the already existing measurement
'
ResStorageDefine MyKey, MyChannelList, MySystemNameList, MyDatatypeList
End Sub
Sub Snapshot()
'
' Retrieve values and status information for all channels
'
Dim MyValues
Dim MyStatus
ReDim MyValues(MyMaxIndex)
ReDim MyStatus(MyMaxIndex)
Dim i
For i = 0 To MyMaxIndex
MyValues(i) = ChnGet(MyChannelList(i))
MyStatus(i) = ChnGetStatus(MyChannelList(i))
Next
ResStorageStore MyKey, MyStorageMode, MyValues, MyStatus
End Sub
Sub Close()
'
' Store any unstored data and close the measurement
'
ResStorageFlush MyKey
ResStorageClose MyKey
'
' Release the access object
'
ResStorageDetach MyKey
End Sub
End Class
Information
The functions described below are not designed to be used via script contexts.
However, they can be used internally from the PUMA Open system.
Parameters Description
UnitUnderTest Identifies the unit under test.
String.
Script function/command:
Sub ResMountUnitUnderTest(UnitUnderTest)
Example
ResMountUnitUnderTest "MB104C44"
Parameters Description
UnitUnderTest Identifies the unit under test.
String.
Script function/command:
Sub ResDismountUnitUnderTest(UnitUnderTest)
Example
ResDismountUnitUnderTest "MB104C44"
Example
Dim UnitUnderTest
UnitUnderTest = ResGetMountedUnitUnderTest()
MsgBox UnitUnderTest
Parameters Description
FileLocation Path of the file to be saved with the result.
FileName Name of the file to be appended to the
test result
Script function/command:
Function ResAttachFileToResult(FileLocation, FileName)
Parameters Description
FileLocation Path under which the file is stored after
reading it from the test result
FileName Name of the file read from the test result
Script function/command:
Parameters Description
FileName Name of the file deleted from the test
result
Script function/command:
Function ResDeleteFileFromResult(FileName)
6.8.5.38 ResGetFileAttachmentNamesInResult
Retrieves the names of all attachments of the current test result.
Information
Parameters Description
FileAttachmentNames After a successful call, this parameter
keeps the names of all attached files. Indi-
vidual names are separated by '|' (i.e. the
'pipe' sign)
Script function/command:
Function ResGetFileAttachmentNamesInResult(ByRef FileAttachmentNames)
Example
Dim Result
Dim FileAttachmentNames
Result = ResGetFileAttachmentNamesInResult(FileAttachmentNames)
MsgBox "The following files are attached to the current result: " & FileAttach-
mentNames
End If
6.8.5.39 ResAttachFileExistsInResult
Checks if a specified file (name) already is attached to the current test result.
Information
Parameters Description
FileAttachmentNames Name of the attachment (along with its
extension) that the result is checked for,
e.g. "MyResult1.txt"
Script function/command:
Function ResAttachFileExistsInResult(FileAttachmentName)
Example
Dim Result
Result = ResGetFileAttachmentNamesInResult("MyResult1.txt")
End If
6.8.5.40 ResGetFileAttachmentNamesInMeasurement
Retrieves the names of all attachments of the current version of the selected
measurement of current test result.
Information
Only names of attachments from the current version of the measurement from
the local result can be retrieved.
Parameters Description
MeasurementName Literal 'String' or 'NormName'
Name of the measurement the names of
attachments are retrieved from, e.g.
"MyRecorderResult"
FileAttachmentNames Name of the attachment (along with its
extension) that the result is checked for,
e.g. "MyResult1.txt"
Script function/command:
Function ResGetFileAttachmentNamesInMeasurement_|
(MeasurementName, ByRef FileAttachmentNames)
Example
Dim Result
Dim FileAttachmentNames
MsgBox "The following files are attached to the measurement: " & FileAttachment-
Names
End If
6.8.5.41 ResAttachFileExistsInMeasurement
Checks if a specified file (name) already is attached to the current version of the
selected measurement of the current test result.
Information
Only attachments from the current version of the measurement from the local
result can be checked.
Parameters Description
MeasurementName Literal 'String' or 'NormName'
Name of the measurement whose attach-
ments are checked for, e.g. "MyRecorder-
Result"
FileAttachmentNames 'String'
Name of the attachment (along with its
extension) that the result is checked for,
e.g. "MyResult1.txt"
Script function/command:
Function ResAttachFileExistsInMeasurement(MeasurementName, FileAttachmentName)
Example
Dim Result
Result = ResGetFileAttachmentNamesInMeasurement("MyRecorderResult",
"MyResult1.txt")
End If
6.8.5.42 ResGetFileAttachmentNamesInRecovery
Retrieves the names of all attachments of the current version of the recovery
measurement of the current test result.
Information
Parameters Description
FileAttachmentNames After a successful call, this parameter
keeps the names of all attached files. Indi-
vidual names are separated by '|' (i.e. the
'pipe' sign)
Script function/command:
Function ResGetFileAttachmentNamesInRecovery(ByRef FileAttachmentNames)
Example
Dim Result
Dim FileAttachmentNames
Result = ResGetFileAttachmentNamesInRecovery(FileAttachmentNames)
MsgBox "The following files are attached to the current result: " & FileAttach-
mentNames
End If
6.8.5.43 ResAttachFileExistsInRecovery
Checks if a specified file (name) already is attached to the current version of the
recovery measurement of the current test result.
Information
Parameters Description
FileAttachmentNames Name of the attachment (along with its
extension) that the recovery measure-
ment is checked for, e.g. "MyResult1.txt")
Script function/command:
Function ResAttachFileExistsInRecovery(FileAttachmentName)
Example
Dim Result
Result = ResGetFileAttachmentNamesInRecovery("MyResult1.txt")
End If
6.9.1 Parameters
Parameter description
comment Comment to stored parameter set.
Script function/command:
Sub PrmSaveSYS(comment)
Parameters Description
Path Structured parameter access path in the
DRV parameter loadset. String.
Script function/command:
ChnSet "ResultChannel", PrmGetDRVParameter("Path")
Example of path:
Path for the name of the driver curve that controls clutch disengagement in
a manual shift definition:
"Behaviour[0]/MSD[Name=""MyMSD""]/DisengClutchDCVUp/Name"
To obtain the driver curve's x- or y-values:
"Behaviour[0]/MSD[Name=""MyMSD""]/DisengClutchDCVUp/xAxis[1]"
"Behaviour[0]/MSD[Name=""MyMSD""]/DisengClutchDCVUp/yAxis[1]"
To obtain the driver curves directly (but not via a manual shift definition):
"Behaviour[0]/DCVRise[Name=""MyDCV""]/xAxis[1]"
"Behaviour[0]/DCVRise[Name=""MyDCV""]/yAxis[1]"
Information
As more than one MSD parameter entity can be defined within a given DRV
parameter loadset, you can select the appropriate entity by using the
'Name=""MSDName""' clause as selector. The same applies to driver curves.
There are many instances that can be identified by their name or even by their
index ("Behaviour[0]/DCVRise[DCVIndex]/yAxis[Index]").
Information
Information
As the entire path is defined as a string, use two double quotes ("") before and
after the string value to mark a string value within the string.
Parameters Description
Path Structured parameter access path in the
DRV parameter loadset. String.
Value New value for the specified DRV param-
eter entry. Numeric value or expression
string.
Abb. 53
You can check the result from both sequences easily in the online DRV parame-
ters window in POI (menu Functions | Simulation | Driver Gearshift Defini-
tion).
Parameters Description
Path Structured parameter access path in the
DRV parameter set. String.
ResultChannel Name of the system channel on which
result is written. String.
Script function/command:
ChnSet "", PrmGetParameter(Path, ResultChannel)
Parameters Description
Path Structured parameter access path in the
DRV parameter set. String.
ResultChannel Name of the system channel on which
result is written. String.
Script function/command:
ChnSet "", PrmGetParameter(Path, ResultChannel
6.9.1.11 PrmEditDRVParameter
Opens an edit session that allows parameter access beginning with the param-
eter entry specified by its structured path. The current edit session is identified
by an 'Edit Object ID' that must also be used for the subsequent manipulations.
This ID represents a kind of root object that is the basis for further navigation.
Parameters Description
Path Structured parameter access path in the
DRV parameter loadset. String.
EditObjld Output parameter. Identifies the edit
session.
Script function/command:
Sub PrmEditDRVParameter(Path, EditObjId)
6.9.1.12 PrmChangeDRVParameter
Modifies the specific parameter entry.
Parameters Description
EditObjld Identifies the edit session.
ElementName Identifies the parameter entry. String.
Value Identifies the parameter entry. Numeric
value or expression string.
Script function/command:
Function PrmChangeDRVParameter(EditObjId, ElementName, Value)
6.9.1.13 PrmRetrieveDRVParameter
Retrieves the value of the specified parameter element.
Parameters Description
EditObjld Identifies the edit session.
ElementName Identifies the parameter entry. String.
Script function/command:
Function PrmRetrieveDRVParameter(EditObjId, ElementName)
6.9.1.14 PrmRetrieveCountDRVParameter
Retrieves the number of sub-elements of the specified parameter element.
Parameters Description
EditObjld Identifies the edit session.
ElementName Identifies the parameter entry. String.
Script function/command:
Function PrmRetrieveCountDRVParameter(EditObjId, ElementName)
6.9.1.15 PrmCheckDRVParameters
Checks the consistency of the modified parameters.
Parameters Description
EditObjld Identifies the edit session.
ReturnValue Indicates whether OK or Not OK
1...OK
0...NotOK
Script function/command:
Function PrmCheckDRVParameters(EditObjId)
6.9.1.16 PrmApplyDRVParameters
Activates the modified parameters without closing the edit session.
Parameters Description
EditObjld Identifies the edit session.
ReturnValue Indicates whether OK or Not OK
1...OK
0...NotOK
Script function/command:
Function PrmApplyDRVParameters(EditObjId)
6.9.1.17 PrmCancelDRVParameters
Activates the modified parameters and closes the edit session.
Information
Parameters Description
EditObjld Identifies the edit session.
ReturnValue Indicates whether OK or Not OK
1...OK
0...NotOK
Script function/command:
Function PrmCancelDRVParameters(EditObjId)
Parameters Description
aMode 0 = unfreeze
1 = freeze
Script function/command:
Sub EmcFreezeAlphaSetValue( aMode )
Parameters Description
aMode 0 = Passiv
1 = Active
Script function/command:
Sub EmcChangeDynoBehavior( aMode )
Parameters Description
Command Command. String.
Script function/command:
AdvUutDemandValueRelation "$(Command)"
Parameters Description
TorqueSide Input/Output
Script function/command:
AdvUutDemandValueRelationN (Load, Drive)
Information
6.10.2.5 ChangeDrivingDirection
For special purposes it should be possible to redefine the Driving direction
already in neutral gear. That ensures that the Emcon can initialize it's controllers
in proper way to have smooth transitions at gear changes which reverses the
Driving direction.
Parameters Description
Direction 0 = Forward
1 = Reverse
Script function/command:
Sub EmcChangeDrivingDirection( aDirection )
6.10.3.1 A3Change
Changes the name of the binary file.
Parameters Description
ModuleName Name of EEI module. String.
NewBinaryFile Name of new binary file. String.
Script function/command:
Sub EeiA3ChangeBinFileName(ModuleName, NewBinaryFile)
6.10.3.2 A3CopyBinaryFile
Copies the binary file to the specified destination.
Parameters Description
ModuleName Name of EEI module. String.
Target Destination or normname for the destina-
tion. String.
Source Source or normname for the source.
String.
Script function/command:
Sub EeiA3CopyBinFile(ModuleName, Target, Source)
6.10.3.3 A3Emergency
Performs an emergency shutdown; an emergency event number can be speci-
fied.
Parameters Description
ModuleName Name of EEI module. String.
EmergencyEvent Event number or normname for the event
number.
Script function/command:
Sub EeiA3Emergency(ModuleName, EmergencyEvent)
6.10.3.4 A3GetLookupTable
Transfers all data of a map from the MC system to PUMA.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
Script function/command:
Sub EeiA3GetLookupTable(ModuleName, MapName)
6.10.3.5 A3GetOnlineValue
Reads the online value once. The module must be in Offline state.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiA3GetOnlineValue(ModuleName)
6.10.3.6 A3GetParameter
Transfers parameters from the MC system to PUMA.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter. String.
Script function/command:
Sub EeiA3GetParameter(ModuleName, ParameterName)
6.10.3.7 A3Idendify
Identifies versions and names and exchanges them between the MC system and
PUMA.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiA3Identify(ModuleName)
6.10.3.8 A3IncreaseLookupTable
Adds an offset to map values. The map area to be changed is defined by a start
index and a delta value.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
XIndex Start index on x-axis or normname
containing the start index. String.
YIndex Start index on y-axis or normname
containing the start index. String.
X-Delta Area in direction of x-axis or normname
containing the area. String.
Y-Delta Area in direction of y-axis or normname
containing the area. String.
Offset Offset value in direction of z-axis or norm-
name containing the offset. String.
Script function/command:
Sub EeiA3IncreaseLookupTable(ModuleName, MapName, XIndex, _
YIndex, XDelta, YDelta, Offset)
6.10.3.9 A3Init
First command to initialize the MC system.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiA3Init(ModuleName)
6.10.3.10 A3ParameterForValueAcquisition
Transfers the names of the online quantities to be acquired to the MC system.
Optionally, a clear list can be sent.
Parameters Description
ModuleName Name of EEI module. String.
Delete "0" if you want to send a clear list, other-
wise ‘‘‘‘. String.
Script function/command:
Sub EeiA3ParForValAcq(ModuleName, Delete)
6.10.3.11 SelectLoadset
Selection, in MONITOR mode, from which parameter set the MEI blocks should
be taken.
Parameters Description
LoadsetType Name of loadset ("SYS"/ "UUT"/ "TST").
String.
Script function/command:
Sub EeiSelectLoadset(LoadsetType)
6.10.3.12 Disconnect
Disconnects all modules from the EEI.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiDisconnect(ModuleName)
6.10.3.13 Connect
Connects a module to the MC system.
Parameters Description
ModuleName Name of EEI module. String.
DescriptionFile Name of description file. String.
BinaryFile Name of binary file. String.
‘‘‘‘... If the string is empty, the description
file name from the MEI parameter block
will be used.
Destination Destination or normname for the destina-
tion. String.
‘‘‘‘... If the string is empty, the default
destination of the ECU system will be
used.
Script function/command:
Sub EeiConnect(ModuleName, DescriptionFile, BinaryFile, Destination)
6.10.3.14 Activate
Connects a module to an MC system without Init and Identify.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiActivate(ModuleName)
6.10.3.15 MapReset
Resets all modified maps.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiResetAllMaps(ModuleName)
6.10.3.16 ParameterReset
Resets all modified parameters.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiResetAllParameters(ModuleName)
6.10.3.17 GetParameter
Transfers parameters from the MC system to PUMA.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter. String.
Normname Normname that contains the parameter
value.
Script function/command:
Sub EeiGetParameter(ModuleName, ParameterName, Normname)
6.10.3.18 SetParameter
Sets a parameter to the specified value.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter. String.
ParameterValue Value assigned to the parameter or to the
normname containing the value. String.
Script function/command:
Sub EeiSetParameter(ModuleName, ParameterName, ParameterValue)
6.10.3.19 SetMap
Sets a constant in a map. The map area to be changed is defined by the start
values X1 and Y1 and the end values X2 and Y2.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
ZValue Constant value in direction of z-axis or
normname containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
Y1 Start value on y-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
Y2 End value on y-axis or normname
containing the end value. String.
Script function/command:
Sub EeiSetMap(ModuleName, MapName, ZValue, X1, Y1, X2, Y2)
6.10.3.20 SetMapTotal
Sets an entire map to a specified value.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
ZValue Constant value in direction of z-axis or
normname containing the value. String.
Script function/command:
Sub EeiSetMapTotal(ModuleName, MapName, ZValue)
6.10.3.21 SetMapCurve
Sets a constant in a characteristic curve. The curve area to be changed is
defined by the start value X1 and the end value X2.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
ZValue Constant value in direction of z-axis or
normname containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
Script function/command:
Sub EeiSetMapCurve(ModuleName, MapName, ZValue, X1, X2)
6.10.3.22 IncreaseMap
Increases part of a map by a specified value. The map area to be changed is
defined by the start values X1 and Y1 and the end values X2 and Y2.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
ZOffset Offset value in direction of z-axis or norm-
name containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
Y1 Start value on y-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
Y2 End value on y-axis or normname
containing the end value. String.
Script function/command:
Sub EeiIncMap(ModuleName, MapName, ZOffset, X1, Y1, X2, Y2)
6.10.3.23 IncreaseMapTotal
Increases an entire map by a specified value.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
ZOffset Offset value in direction of z-axis or norm-
name containing the offset. String.
Script function/command:
Sub EeiIncMapTotal(ModuleName, MapName, ZOffset)
6.10.3.24 IncreaseMapCurve
Increases part of a curve by a specified value. The curve area to be changed is
defined by the start value X1 and the end value X2.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
ZOffset Offset value in direction of z-axis or norm-
name containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
Script function/command:
Sub EeiIncMapCurve(ModuleName, MapName, ZOffset, X1, X2)
6.10.3.25 GetMap
Transfers all data of a map from the MC system to PUMA.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
Script function/command:
Sub EeiGetMap(ModuleName, MapName)
6.10.3.26 PutMap
Transfers all data of a map to the MC system.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
Script function/command:
Sub EeiPutMap(ModuleName, MapName)
6.10.3.27 GetDimensionOfMap
Retrieves the dimension of a map in the direction of the x- and y-axes.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
XDim Normname that obtains the dimension of
the x-axis. String.
YDim Normname that obtains the dimension of
the y-axis. String.
Script function/command:
Sub EeiGetDimOfMap(ModuleName, MapName, XDim, YDim)
6.10.3.28 GetPointOfMap
Retrieves the x-, y- and z-value of a map point to obtain the required x,y index.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
XIndex Index in direction of x-axis or normname
containing the index. String.
YIndex Index in direction of y-axis or normname
containing the index. String.
Parameters Description
XResult Normname that receives the corre-
sponding x-value. String.
YResult Normname that receives the corre-
sponding y-value. String.
ZResult Normname that receives the corre-
sponding z-value. String.
Script function/command:
Sub EeiGetPointOfMap(ModuleName, MapName, X, Y, XResult, _
YResult, ZResult)
6.10.3.29 Online
Establishes online communication.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiOnline(ModuleName)
6.10.3.30 Offline
Terminates online communication between the MC system and the ECU. The
cyclic transfer of ECU values to PUMA will be stopped.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiOffline(ModuleName)
6.10.3.31 Reset
Resets all modified parameters and maps.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiReset(ModuleName)
6.10.3.32 A3SelectDesAndBinFile
Connects a module to the MC system.
Parameters Description
ModuleName Name of EEI module. String.
DescriptionFile Name of description file. String.
‘‘‘‘... If the string is empty, the description
file name from the MEI parameter block
will be used.
BinaryFile Name of binary file. String.
‘‘‘‘... If the string is empty, the description
file name from the MEI parameter block
will be used.
Destination Destination or normname for the destina-
tion. String.
‘‘‘‘... If the string is empty, the default
destination of the ECU system will be
used.
Script function/command:
Sub EeiA3SelectDesAndBinFile(ModuleName, DescriptionFile, _
BinaryFile, Destination)
6.10.3.33 A3SelectLookupTable
Selects the look-up table with the specified name.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
Script function/command:
Sub EeiA3SelectLookupTable(ModuleName, MapName)
6.10.3.34 A3PutLookupTable
Transfers map data from PUMA to the MC system.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
Script function/command:
Sub EeiA3PutLookupTable(ModuleName, MapName)
6.10.3.35 A3SetLookupTable
Sets a constant in a map. The map area to be changed is defined by a start
index and a delta value.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
XIndex Start index on x-axis or normname
containing the start index. String.
YIndex Start index on y-axis or normname
containing the start index. String.
X-Delta Area in direction of x-axis or normname
containing the area. String.
Y-Delta Area in direction of y-axis or normname
containing the area. String.
Value Constant value in direction of z-axis or
normname containing the value. String.
Script function/command:
Sub EeiA3SetLookupTable(ModuleName, MapName, XIndex, YIndex, _
XDelta, YDelta, Value)
6.10.3.36 A3SetParameter
Sets a parameter to the specified value.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter. String.
ParameterValue Value assigned to the parameter or to the
normname containing the value. String.
Script function/command:
Sub EeiA3SetParameter(ModuleName, ParameterName, ParameterValue)
6.10.3.37 A3SwitchOnOffline
Switches communication between PUMA and MC system on-/offline.
Parameters Description
ModuleName Name of EEI module. String.
OnOff "0" for Offline, "1" for Online, or norm-
name that contains the value 0 or 1.
String.
Script function/command:
Sub EeiA3SwitchOnOffline(ModuleName, OnOff)
6.10.3.38 A3ResetDevice
Resets device and optionally resets all selected LUNs.
Parameters Description
ModuleName Name of EEI module. String.
ResetAll "0" to reset all selected LUNs, otherwise
‘‘‘‘. String.
Script function/command:
Sub EeiA3ResetDevice(ModuleName, ResetAll)
6.10.3.39 A3SetCaseSensitiveLabels
Sets case-sensitive labels.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiA3SetCaseSensitiveLabels(ModuleName)
6.10.3.40 A3GetLookupTableValue
Returns an indexed z-value of the map.
Parameters Description
ModuleName Name of EEI module. String.
MapName Name of map. String.
XIndex Start index on x-axis or normname
containing the start index. String.
YIndex Start index on y-axis or normname
containing the start index. String.
Normname Normname that receives the z-value.
String.
‘‘‘‘...If the string is empty, the defined
normname will automatically be used.
Script function/command:
Sub EeiA3GetLookupTableValue(ModuleName, MapName, XIndex, YIndex, _
Normname)
6.10.3.41 StoreBinFile
Saves a binary file on the MC system.
Parameters Description
ModuleName Name of EEI module. String.
NewBinFileName Name of new binary file. String.
‘‘‘‘If the string is empty, the defined binary
file name will automatically be used.
Script function/command:
Sub EeiStoreBinFile(ModuleName, NewBinFileName)
6.10.3.42 GetAllMapsAndParameter
Loads all maps and parameters of the MC system.
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiGet(ModuleName)
6.10.3.43 A3DefineDesAndBinFile
Connects a module to the MC system. The ASAP3 V2.1 command can be used
alternatively to the command SELECT DESCRIPTION AND BINARY FILE.
Parameters Description
ModuleName Name of EEI module. String.
DescriptionFile Name of description file. String.
‘‘‘‘If the string is empty, the description file
name from the MEI parameter block will
automatically be used.
ProgramCodeFile Name of program code file. String.
‘‘‘‘If the string is empty, the program code
file name from the MEI parameter block
will automatically be used.
CalibrationFile Name of calibration data file. String.
‘‘‘‘If the string is empty, the calibration
data file name from the ECU parameter
block will automatically be used.
Destination Destination or normname for the destina-
tion. String.
‘‘‘‘... If the string is empty, the default
destination of the MC system automati-
cally will be used.
Mode Mode or normname for the mode. String.
‘‘‘‘If the string is empty, the default mode
from the MC system will automatically be
used.
Script function/command:
Sub EeiA3DefineDesAndBinFile(ModuleName, DescriptionFile, _
ProgramCodeFile, CalibrationFile, Destination, Mode)
6.10.3.44 A3SetFormat
Sets the format of the data received from the MC system.
Information
Parameters Description
ModuleName Name of EEI module. String.
LogicalDataType Definition of ASAP3 data type or norm-
name - 0.. all, 1.. map, 2.. parameter,
3..current value
Model Only for extended commands (which are
not supported)!
‘‘‘‘if the string is empty, "0" is sent to the
MC system.
Script function/command:
Sub EeiA3SetFormat(ModuleName, LogicalDataType, Model)
6.10.3.45 A3InitAsMasterClient
Initializes an MC system as the MasterClient of the Asap3Server. An INIT is
executed at the MC system (also for multiple clients connected to the
Asap3Server).
Parameters Description
ModuleName Name of EEI module. String.
Script function/command:
Sub EeiA3InitAsMasterClient(ModuleName)
6.10.3.46 PutParameter
Transfers a parameter from PUMA to the MC system.
Parameters Description
ModuleName Name of EEI module. String.
ParName Name of parameter. String.
Script function/command:
Sub EeiPutParameter(ModuleName, ParName)
6.10.3.47 EeiA3ExtendedQueryAvailableServices
Retrieves a list of all services available in the application system.
Parameters Description
ModuleName Name of EEI module. String.
Timeout Timeout in seconds
Services List of services
ErrorMessage Error message
Script function/command:
Function EeiA3ExtendedQueryAvailableServices(ModuleName, Timeout, Services,_
ErrorMessage)
6.10.3.48 EeiA3ExtendedGetServiceInformation
Retrieves a detailed description of the services.
Parameters Description
ModuleName Name of EEI module. String.
Timeout Timeout in seconds
Services List of services
InfoString Information string to be output
ErrorMessage Error message
Script function/command:
Function EeiA3ExtendedGetServiceInformation(ModuleName, Timeout, Service,_
InfoString, ErrorMessage)
6.10.3.49 EeiA3ParaForValAcquisitionDirect
Displays the data type of the online values.
Parameters Description
ModuleName Name of EEI module. String.
Timeout Timeout in seconds
ScanTime Scanning time (in ms)
ValueNames Information string to be output
DataTypes List of data types of the online channel
names
ErrorMessage Error message
Script function/command:
Function EeiA3ParaForValAcquisitionDirect(ModuleName, Timeout, ScanTime,_
ValueNames, DataTypes, ErrorMessage)
6.10.3.50 EeiA3ExtendedExecuteService
This command executes a service on the application system.
Parameters Description
ModuleName Name of EEI module. String.
Timeout Timeout in seconds
Services List of services
ServiceInput Input parameters for the services
ServiceOutput Output parameters for the services
ErrorMessage Error message
Script function/command:
Function EeiA3ExtendedExecuteService(ModuleName, Timeout, Service, ServiceInput,_|
ServiceOutput, ErrorMessage)
6.10.3.51 EeiAssignOnlineValueToQuantities
Creates system channels and assigns normnames to the online values, as previ-
ously defined in the activation.
Parameters Description
ModuleName Name of EEI module. String.
ValueNames List of online channel names
QuantityNames List of normnames
ErrorMessage Error message
Script function/command:
Function EeiAssignOnlineValueToQuantities(ModuleName, ValueNames, QuantityNames,_
ErrorMessage)
6.10.3.52 EeiRemoveOnlineValues
Removes online channels and system channels from the internal online value
list.
Parameters Description
ModuleName Name of EEI module. String.
ValueNames List of online channel names
ErrorMessage Error message
Script function/command:
Function EeiRemoveOnlineValues(ModuleName, ValueNames, ErrorMessage)
6.10.3.53 EeiA3GetParameterDirect
Parameters Description
ModuleName Name of EEI module. String.
Timeout Input as timeout in seconds.
ParameterName Name of parameter
AddToList 0 = no entry made in internal list
1 = entry made in list
TypeOfValue Parameter type
Value Parameter value to be output
MinValue Lower range of parameter
MaxValue Upper range of parameter
MinInc Minimum increment of parameter
ErrorMessage Error message
Script function/command:
Function EeiA3GetParameterDirect(ModuleName, Timeout, ParameterName, _
AddToList, TypeOfValue, Value, MinValue, MaxValue, MinInc, ErrorMessage)
6.10.3.54 EeiA3SetParameterDirect
Parameters Description
ModuleName Name of EEI module. String.
Timeout Input as timeout in seconds.
ParameterName Name of parameter
Parameters Description
PutInternalValue 0 = value is transferred to application
system
1 = internally stored value is transferred to
application system
Value Parameter value to be output
ErrorMessage Error message
Script function/command:
Function EeiA3SetParameterDirect(ModuleName, Timeout, ParameterName,_
PutInternalValue, Value, ErrorMessage)
6.10.3.55 EeiAssignParameterToQuantity
Creates a PUMA system channel and assigns a quantity to this channel.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter
QuantityName Name of quantity
ErrorMessage Error message
Script function/command:
Function EeiAssignParameterToQuantity(ModuleName, ParameterName,_
QuantityName, ErrorMessage)
6.10.3.56 EeiRemoveParameter
Deletes a parameter (including system channel) from the internal parameter list.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter
ErrorMessage Error message
Script function/command:
Function EeiRemoveParameter(ModuleName, ParameterName, ErrorMessage)
6.10.3.57 EeiSetParameterBit
Sets a parameter bit.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter
BitNumber Number of bits from 0 to 16 for parame-
ters of type Float and 32 for parameters of
type Double.
BitValue Value of the bit (0 or1).
ErrorMessage Error message
Script function/command:
Function EeiSetParameterBit(ModuleName, ParameterName, BitNumber, BitValue,_
ErrorMessage)
6.10.3.58 GetParameterBit
Reads a parameter bit directly from the MC system. Bits 0 to 16 for data type
Float, bits 0 to 32 for data type Double.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter
BitNumber Number of bits from 0 to 16 for parame-
ters of type Float and 32 for parameters of
type Double.
TypeOfValue Normname for the parameter type.
BitValue Value of the bit (0 or1).
Script function/command:
Sub EeiGetParameterBit(ModuleName, ParameterName, BitNumber, TypeOfValue,_
BitValue)
6.10.3.59 SetParameterBit
Sets a parameter bit directly at the MC system. Bits 0 to 16 for data type Float,
bits 0 to 32 for data type Double.
Parameters Description
ModuleName Name of EEI module. String.
ParameterName Name of parameter
BitNumber Number of bits from 0 to 16 for parame-
ters of type Float and 32 for parameters of
type Double.
BitValue Value of the bit (0 or1).
Script function/command:
Sub EeiSetParameterBit(ModuleName, ParameterName, BitNumber, BitValue)
Parameters Description
ModuleName Name of the module
Parametername Name of the parameter. String as input
Normname Name of parameter.
Parameters Description
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiGetParameterSynchronous(ModuleName, ParameterName, NormName, ErrorCodeNorm-
name, BsqException)
Parameters Description
ModuleName Name of the module
ParameterName Name of the parameter. String as input
ParameterValue Name of parameter.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiSetParameterSynchronous(ModuleName, ParameterName, ParameterValue, ErrorC-
NormName, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of the lookup table. String as input
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiGetMapSynchronous(ModuleName, MapName, ErrorNormName, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of the lookup table. String as input
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiGetLookUpTableSynchronous(ModuleName, MapName, ErrorNormName, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
XIndex Start index on x-axis or normname
containing the start index (>= 1). String.
YIndex Start index on y-axis or normname
containing the start index (>= 1). String.
XDelta Area in direction of x-axis or normname
containing the area (>= 1). String.
YDelta Area in direction of y-axis or normname
containing the area (>= 1). String.
Offset Offset value in direction of z-axis or norm-
name containing the offset. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiIncreaseLookUpTableSynchronous(ModuleName, MapName, XIndex, YIndex, XDelta,
_ YDelta, Offset, ErrorNormName, BsqException)
6.10.3.65 A3ResetDevice(Synchronous)
Reset device, optional with reset of all selected LUNs. The command is
executed synchronously.
Parameters Description
ModuleName Name of the module
ResetallLUN "0" to reset all selected LUNs, otherwise
‘‘‘‘. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiResetDeviceSynchronous(ModuleName, ResetallLUN, ErrorNormName, _
BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
XIndex Start index on x-axis or normname
containing the start index (>= 1). String.
YIndex Start index on y-axis or normname
containing the start index. String.
XDelta Area in direction of x-axis or normname
containing the area (>= 1). String.
YDelta Area in direction of y-axis or normname
containing the area (>= 1). String.
Constant Constant value in direction of z-axis or
normname containing the value (>= 1).
String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiA3SetLookupTableSynchronous(ModuleName, MapName, XIndex, YIndex, _
XDelta, YDelta, Constant, ErrorCodeNormname, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
Constant Offset value in direction of z-axis or norm-
name containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
Y1 Start value on y-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
Y2 End value on y-axis or normname
containing the end value. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiIncreaseMapMapSynchronous(ModuleName, MapName, Constant, ErrorCodeNormname,
X1, Y1, X2, Y2, ErrorCodeNormname, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
Constant Offset value in direction of z-axis or norm-
name containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiIncMapCurve(SynchronousModuleName, MapName, Constant, X1, X2, ErrorCode-
Normname, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
Constant Offset value in direction of z-axis or norm-
name containing the offset. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiIncMapTotalSynchronous(ModuleName, MapName, Constant, ErrorCodeNormname,
BsqException)
Parameters Description
ModuleName Name of the module
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiResetAllMaps(ModuleName, ErrorCodeNormname, BsqException)
Parameters Description
ModuleName Name of the module
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiResetAllParametersSynchronous(ModuleName, ErrorCodeNormname, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiPutMap(SynchronousModuleName, MapName, ErrorCodeNormname, BsqException)
Parameters Description
ModuleName Name of the module
ParName Name of parameter. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
Constant Constant value in direction of z-axis or
normname containing the value. String.
X1 Start value on x-axis or normname
containing the start value. String.
Y1 Start value on y-axis or normname
containing the start value. String.
X2 End value on x-axis or normname
containing the end value. String.
Y2 End value on y-axis or normname
containing the end value. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiSetMapSynchronous(ModuleName, MapName, Constant, X1, Y1, X2, Y2, ErrorCode-
Normname, BsqException)
Parameters Description
ModuleName Name of the module
MapName Name of table. String.
Constant Offset value in direction of z-axis or norm-
name containing the offset. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Parameter Beschreibung
ModuleName Name of the module
MapName Name of table. String.
Constant Offset value in direction of z-axis or norm-
name containing the offset. String.
X1 Start value on x-axis or normname
containing the start value. String.
X2 Start value on y-axis or normname
containing the start value. String.
ErrorCodeNormname Optional normname
0 = no error,
unequal 0 = mistake in execution of AO
BsqException Choice for a BSQ exception "Unspecified
Fault"
0 = no exception
1 = exception in case of an error
Script function/command:
Sub EeiSetMapCurveSynchronous (ModuleName, MapName, ZValue, X1, X2, ErrorCodeNorm-
name, BsqException)
6.10.3.77 EEIActivateChangePropagation
With this AO the change propagation mechanism can be activated/deactivated
for the specified module (mode: on/off). When activated, any change of the value
of the NormName that is associated with a parameter or lookup table for the
module will be propagated to the application system and further to the electronic
control unit. The result is the same as if the SetParameter or SetMapTotal
command is used.
Parameter Beschreibung
ModuleName Name of the module
Mode on/off
Script function/command:
Sub EeiActivateChangePropagation(ModuleName, Mode)
6.10.4.5 Reset
This activation resets the point of execution of the current testrun to the very
beginning.
Parameter Description
Device Name of the Device. If an empty name is
specified, then the actual BSQ testrun is
reset.
Script function/command:
Sub TrxReset(DeviceName)
6.10.5.1 Start
Script function/command: Not supported by the PO Script API!
6.10.5.2 Stop
Script function/command: Not supported by the PO Script API!
6.10.5.4 Reset
Script function/command: Not supported by the PO Script API!
6.10.5.12 Pause
Script function/command: Not supported by the PO Script API!
6.10.5.13 Interrupts
Script function/command: Not supported by the PO Script API!
6.10.6 EC-Recorder
6.10.6.1 Start
Starts recording.
Script function/command:
Sub EcrStart()
6.10.6.2 Stop
Stops recording.
Script function/command:
Sub EcrStop()
6.10.7 MCD3D
Parameter Description
Device Name of the Device
Script function/command:
Sub mcd3d_ConnectDSystem(DeviceName)
Parameter Description
Device Name of the Device
Script function/command:
Sub mcd3d_DisconnectDSystem(DeviceName)
Parameter Description
Device Name of the Device
Script function/command:
Sub mcd3d_ConnectModule(DeviceName)
Parameter Description
Device Name of the Device
Script function/command:
Sub mcd3d_DisconnectModule(DeviceName)
Parameter Description
Device Name of the Device
ServiceName Name of the Service
Script function/command:
Sub mcd3d_ExecuteService(DeviceName,ServiceName,ServiceParam)
Parameter Description
Device Name of the Device
ServiceName Name of the Service
Frequency Frequency ID
ServiceParam Parameters of the service
Script function/command:
Sub mcd3d_StartService(DeviceName,ServiceName,Frequency,ServiceParam)
Parameter Description
Device Name of the Device
ServiceName Name of the Service
Script function/command:
Sub mcd3d_StopService(DeviceName, ServiceName)
Parameter Description
Device Name of the Device
Script function/command:
Sub mcd3d_StartAllServices(DeviceName)
Parameter Description
Device Name of the Device
Script function/command:
Sub mcd3d_StopAllServices(DeviceName)
Parameter Description
Device Name of the Device
ServiceName Name of the service
ServiceFrequency Frequency ID
Script function/command:
Sub mcd3d_SetServiceFrequency(DeviceName,ServiceName,ServiceFrequency)
Parameter Description
Device Name of the Device
ServiceName Name of the service
On/Off State of acquisition flag to set.
Script function/command:
Sub mcd3d_SetServiceAcquisitionFlag (DeviceName,ServiceName,OnOff)
Parameter Description
Device Name of the Device
Driving Cycle Name of the cycle
Script function/command:
DriversAidSADAXPSetDrivingCycle "$(DEVICE)","$(Cycle)"
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPRelease "$(DEVICE)"
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPRequest "$(DEVICE)"
6.11.1.4 Reset
Reset Driver's Aid: End and Unload Driving Cycle
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPReset "$(DEVICE)"
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPGetDrivingCycle "$(DEVICE)"
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPRtrvStatus "$(DEVICE)"
Parameter Description
Device Name of the device
Full Command AkCmdString
Script function/command:
DriversAidSADAXPSendCmdString "$(DEVICE)","$(CmdString)"
Parameter Description
Device Name of the device
Displaying Text Text
Script function/command:
DriversAidSADAXPSendUserString "$(DEVICE)","$(UserString)"
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPStartTest "$(DEVICE)"
Parameter Description
Device Name of the Device
Script function/command:
DriversAidSADAXPStopTest "$(DEVICE)"
6.11.2 VECON
Parameters Description
ModelName Name of the model. String.
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_AdjustWheelBase "ModelName", "WaitForCompletion"
Parameters Description
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_BreakCurrentActivities "WaitForCompletion"
Parameters Description
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_CancelStandby "WaitForCompletion"
Parameters Description
Version Name of the version
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_CoastDownSASL "Version", "WaitForCompletion"
Parameters Description
Limits EPA/Definable
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_CoastDownSRAL "Limit", "WaitForCompletion"
Parameters Description
DemandForce Value (N) of the force
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_ForceConstantMode "DemandForce", "WaitForCompletion"
Parameters Description
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_RGSimulationMode "WaitForCompletion"
Parameters Description
Demand velocity Value (km/h) of the velocity
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_SpeedConstantMode "DemandVelocity", "WaitForCompletion"
Parameters Description
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_CancelStandby "WaitForCompletion"
Parameters Description
Blower On/Off
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_HeadWindBlower "Blower", "WaitForCompletion"
Parameters Description
Mode On/Off
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_InertiaReduction "Mode", "WaitForCompletion"
Parameters Description
Lifter Up/Down
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_Lifter "Lifter", "WaitForCompletion"
Parameters Description
ModelName Name of the model
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_LoadVehicleModel "ModelName", "WaitForCompletion"
Parameters Description
Locking On/Off
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_RollerLocking "Locking", "WaitForCompletion"
Parameters Description
AKCommand Name of the AK-Command
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_AKCommand "AKCommand", "WaitForCompletion"
Parameters Description
RoadGradient Road Gradient in %
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_SetRoadGradient "RoadGradient", "WaitForCompletion"
Parameters Description
Channel Channel 1-4
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_StartDistanceMeasurement "Channel", "WaitForCompletion"
Parameters Description
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_StartFromZero "WaitForCompletion"
Parameters Description
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_StaticCalibrationOfTestbed "WaitForCompletion"
Parameters Description
ModelName Name of the model
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_UpdateUUTParameters "ModelName", "WaitForCompletion"
Parameters Description
ModelName Name of the model
WaitForCompletion Yes/No
Script function/command:
Cdh_AVLCDC_UpdateVehicleModel "ModelName", "WaitForCompletion"
6.12 Scripting
6.12.1.1 Execute
Activates an individual script in a defined script context.
Parameters Description
Scriptlet Statements in VBScript syntax. String.
6.12.1.2 Script
All script functions and script context functions declared as "public" cannot only
be accessed via scriptlet base functions but also using a DOT-notation based
syntax. Activation is synchronized.
Information
Avoid recursive activation when calling up user defined script functions from
other user defined script contexts, e.g. function 'A1' of context 'CtxA' calls up
function 'B' of context 'CtxB', which itself tries to call up function 'A2' of context
'CtxA'.
Parameters Description
Name Name of the script context within which
the scriptlet is executed.
String.
Script function/command:
Function Script(Name)
Example
Dim Result, C
C=99
Result = Script("CtxB").B(C)
The following list of functions enables the user to access user-defined scripts
(which have been defined by means of a special script context) within other
user-defined script contexts.
6.12.1.3 ScrExecute
Executes the defined scriptlet within an assigned script context. Scriptlet execu-
tion is synchronized, i.e. the activation is not returned before the scriptlet has
been executed.
Parameters Description
ContextName Context within which the scriptlet is
executed.
String.
MonitorTimeout Checks whether or not the script to be
executed should monitor execution.
Enumeration:
0...do not monitor
1...monitor
Parameters Description
Timeout Is active if "MonitorTimeout" has been
enabled. This parameter monitors the
current time-out [s].
Scriptlet Set of instructions in the VBScript syntax.
String.
Script function/command:
State = ScrExecute("ContextName", MonitorTimeout, Timeout, "Scriptlet")
6.12.1.4 ScrExecuteEx
Similar to function ScrExecute, the only difference being that you can addition-
ally specify a context ID and a module name.
Parameters Description
ContextName Context within which the scriptlet is
executed.
String.
ContextId A script context may contain identical
execution contexts which are processed
separately and are identified by their
context ID. Every user-defined context
consists of an execution context, which is
identified by its ID.
Long
ModuleName All coding in a PO script context is subdi-
vided into modules. All of the PO Script
API functions are loaded into the main
module (default module) and all
user-defined scripts are loaded into the
user module.
String.
MonitorTimeout Checks whether or not the script to be
executed should monitor execution.
Enumeration:
0...do not monitor
1...monitor
Timeout Is active if "MonitorTimeout" has been
enabled. This parameter monitors the
current time-out [s].
Scriptlet Set of instructions in the VBScript syntax.
String.
6.12.1.5 ScrStartExecute
Starts to execute a defined scriptlet within the assigned script context.
Parameters Description
ContextName Context within which the scriptlet is
executed.
String.
MonitorTimeout Checks whether or not the script to be
executed should monitor execution.
Enumeration:
0...do not monitor
1...monitor
Timeout Is active if "MonitorTimeout" has been
enabled. This parameter monitors the
current time-out [s].
Scriptlet Set of instructions in the VBScript syntax.
String.
Script function/command:
SyncObj = ScrStartExecute("ContextName", MonitorTimeout, Timeout,_ "Scriptlet")
6.12.1.6 ScrStartExecuteEx
Similar to "ScrStartExecute", the difference being that you can also specify a
context ID and a module name.
Parameters Description
ContextName Context within which the scriptlet is
executed.
String.
ContextId A script context may contain identical
execution contexts which are processed
separately and are identified by their
context ID. Every user-defined context
consists of an execution context, which is
identified by its ID "0".
Long
ModuleName All coding in a PO script context is subdi-
vided into modules. All of the PO Script
API functions are loaded into the main
module (default module) and all
user-defined scripts are loaded into the
user module.
String.
MonitorTimeout Checks whether or not the script to be
executed should monitor execution.
Enumeration:
0...do not monitor
1...monitor
Timeout Is active if "MonitorTimeout" has been
enabled. This parameter monitors the
current time-out [s].
Scriptlet Set of instructions in the VBScript syntax.
String.
Script function/command:
SyncObj = ScrStartExecute("ContextName", ContextId, "ModuleName" MonitorTimeout,_
Timeout, "Scriptlet")
6.12.1.7 ScrSynchronize
Waits until a previously started script activation has been processed.
Parameters Description
SyncObject The returned value of the function repre-
sents a synchronized object that can be
used via "ScrSychronize".
Object
6.12.1.8 Script
All script functions and script context functions declared as "public" cannot only
be accessed via one of the script-based functions described above but also
using a DOT-notation based syntax.
Example
Avoid recursive activation when calling up user defined script functions from
other user defined script contexts, i.e. function 'A1' of context 'CtxA' calls up
function 'B' of context 'CtxB' which itself tries to call up function 'A2' of context
'CtxA'.
Parameters Description
ContextName Name of script context within which the
scriptlet is executed. String.
Parameter1..n List of script function parameters that
have been defined within the script
context.
Script function/command:
Result = Script("ContextName").Function(Parameter1, …, ParameterN)
6.13 Service
Parameters Description
Dyno Dyno index (1..5; 0=all dynos)
Index Index of parameter (0...4000)
SubIndex Subindex of parameter (0...32767)
Script function/command:
Sub DynGetParameter(Dyno, Index, SubIndex)
Parameters Description
Dyno Dyno index (1..5; 0=all dynos)
Index Index of parameter (0...4000)
SubIndex Subindex of parameter (0...32767)
Value Value of dyno parameter
Script function/command:
Sub DynSetParameter(Dyno, Index, SubIndex, Value)
6.14 Miscellaneous
Parameters Description
Application Name of the application to be started
including path. String.
WaitUntilClosed Halts processing until the application is
closed (in BSQ or script only). Counter
0...‘No‘
1...‘Yes‘
Script function/command:
Sub CmnStartApplication(Application, WaitUntilClosed)
Example
If the parameter "Application" contains blanks (e.g. because the application's
path contains blanks), the entire parameter contents must be put between
double quotes.
Abb. 54
Information
Example
"""C:\Program Files\Common Files\Microsoft Shared\PhotoEd\PhotoEd.exe""",0
Information
Parameters Description
Condition Logical expression that is monitored
about 10 times a second. Expression
string.
Timeout Maximum monitoring time-out (s).
Numeric value or expression string.
6.14.1.3 Wait
Halts test run execution (in BSQ or script) until the time-out has elapsed.
Information
Parameters Description
Timeout Maximum monitoring time-out (s).
Numeric value or expression string.
6.14.1.6 VarEvaluate
Evaluates the expression specified in the VBScript syntax. The standard
VBScript functions and operators can be used and normnames can be accessed
in this expression.
Parameters Description
Expression Numeric value or formula expression
string in VBScript syntax.
Script function/command:
Function VarEvaluate(Expression)
Example
ChnSet "RESCHA40", VarEvaluate("RESCHA41/RESCHA42+RESCHA43")
6.14.1.7 VarEvaluateEx
Evaluates the expression specified in the VBScript syntax according to the 'Eval-
uationMode' parameter.
Parameters Description
Expression Numeric value or formula expression
string in VBScript syntax.
EvaluationMode Determines how to interpret the assigned
Expression parameter.
· eNoEvaluation = 0: Expression is
not interpreted and is returned.
· eEvaluateChannel = 1: If the
expression can also be interpreted
as channel name (e.g. RESCHA40),
the value of the channel is returned.
Otherwise, the expression is not
interpreted and is returned.
eEvaluateExpression = 2: The
expression is interpreted as a mathe-
matical expression (e.g.
"12.99+RESCHA40*RESCHA41+R
ESCHA42") and the result is
returned.
Information
Script function/command:
Function VarEvaluateEx(Expression, EvaluationMode)
Example
ChnSet "RESCHA40", VarEvaluateEx("RESCHA41/RESCHA42+RESCHA43",_
eEvaluateExpression)
6.14.1.8 VarExecute
Executes the expression specified in the VBScript syntax. The standard
VBScript functions and operators can be used and normnames can be accessed
in this expression.
Parameters Description
Expression Expression in VBScript syntax.
Script function/command:
Function VarExecute(Expression)
Example
VarExecute("RESCHA40=RESCHA41/RESCHA42+RESCHA43")
Information
6.14.1.9 VarIsVariable
Checks whether the specified channel name actually denotes a normname,
bitname or temporary name.
Parameters Description
Variable Name of variable. String.
Script function/command:
Function VarIsVariable(Variable)
Example
Dim ChannelName
ChannelName="Charly"
If VarIsVariable(ChannelName) Then
ChnSet ChannelName, 123.4
Else
PoiSendMessage 4, "Invalid channel Name: " & ChannelName
End If
6.14.1.10 DevIsDevice
Checks whether the specified device name really denotes a device or device
class.
Parameters Description
DeviceName Name of device or device class.
Data type: String.
Format 'ClassName.DeviceName' or
'ClassName'.
Possible result values:
eDQRNotFound = 0
eDQRIsDevice = 1
eDQRIsClass = 2
Script function/command:
Function DevIsDevice(DeviceName)
Example
Dim DeviceName
DeviceName ="LookupTable.ENGMAP"
If DevIsDevice(ChannelName) = eDQRIsDevice Then
PoiSendMessage 1, "Device '" & DeviceName & "' exists!", 0
Else
PoiSendMessage 1, "Device '" & DeviceName & "' does not exist!", 0
End If
6.14.1.11 DevGetClasses
Searches for all registered device classes of a given device category and returns
them in a string. The individual device class names are separated by ';'.
Parameters Description
Category Identifies an amount of device classes.
The same device class can be used in
several categories.
Data type: Long
Possible categories:
eCatAll =0
eCatQuantity =1
eCatSystemChannel =2
eCatIOSystem =8
eCatMeasurementDevice= 16
eCatSequenceComponent= 32
eCatVirtualDevice = 64
eCatUtility = 128
eCatMiscellaneous = 4096
Script function/command:
Function DevGetClasses(Category)
Example
Dim Classes
Classes = Split(DevGetClasses(eCatAll), ";")
For I = 0 To Ubound(Classes)
MsgBox Classes(I)
Next
6.14.1.12
Searches for all registered devices of a specified device class. The individual
device names are separated by ';'.
Parameters Description
ClassName Identifies a device class.
Data type: String.
Script function/command:
Function DevGetDevices(ClassName)
Example
Dim Devices
Devices = Split(DevGetDevices("LookupTable"), ";")
For I = 0 To Ubound(Devices)
MsgBox Devices(I)
Next
6.14.1.13 DevGetChannels
Searches for all channels of a device belonging to a given device class. The indi-
vidual channel names are separated by ';'.
Parameters Description
DeviceName Identifies a device.
Data type: String.
Format 'ClassName.DeviceName'
QueryMode Identifies whether the channel list
includes the input channel list, output
channel list or both.
Data type: Long
eDCQModeBoth = 0
eDCQModeInput = 1
eDCQModeOutput = 2
ChannelAttribute Identifies the channel name.
Data type: Long
eDCASystemChannelName = 0
eDCADeviceChannelName = 1
eDCASystemName =2
eDCANormName =3
eDCANormSystemName = 4
eDCADeviceName =5
If a given name has not been set, the
character '*' is returned instead.
Script function/command:
Function DevGetChannels(DeviceName, QueryMode, ChannelAttribute)
Example
Dim Channels
Channels = _
DevGetChannels("LookupTable.ENGMAP",eDCQModeBoth,eDCADeviceChannelName)
Channels = Split(Channels,";")
For I = 0 To Ubound(Channels)
MsgBox Channels (I)
Next
6.14.1.14 DevGetChannelCount
Returns the number of input/output channels of a device.
Parameters Description
DeviceName Identifies a device.
Data type: String.
Format 'ClassName.DeviceName'
QueryMode Identifies whether the input channel list or
the output channel list is evaluated.
Data type: Long
eDCQModeInput = 1
eDCQModeOutput = 2
Script function/command:
Function DevGetChannelCount(DeviceName, QueryMode)
Example
Dim NumberOfChannels
NumberOfChannels = DevGetChannelCount("LookupTable.ENGMAP",eDCQModeInput)
MsgBox "Number of input channels: " & NumberOfChannels
NumberOfChannels = DevGetChannelCount("LookupTable.ENGMAP",eDCQModeOutput)
MsgBox "Number of output channels: " & NumberOfChannels
6.14.1.15 DevGetChannelInfo
Returns one of the many name attributes of a device channel.
Parameters Description
DeviceName Identifies a device.
Data type: String.
Format 'ClassName.DeviceName'
Index Identifies an entry in the input or output
channel list.
Data type: Long
0 <= index < number of channels
Parameters Description
QueryMode Identifies whether the input channel list or
the output channel list is evaluated.
Data type: Long
eDCQModeInput = 1
eDCQModeOutput = 2
ChannelAttribute Identifies the channel name.
Data type: Long
eDCASystemChannelName = 0
eDCADeviceChannelName = 1
eDCASystemName =2
eDCANormName =3
eDCANormSystemName = 4
eDCADeviceName =5
If a given name has not been set, the
character '*' is returned instead.
Script function/command:
Function DevGetChannelInfo(DeviceName, Index, QueryMode, ChannelAttribute)
Example
Dim Name
Name = DevGetChannelInfo("LookupTable.ENGMAP",0, eDCQModeInput,_
eDCADeviceChannelName)
MsgBox "Device channel name of input 0: " & Name
Name = DevGetChannelInfo("LookupTable.ENGMAP",0,eDCQModeInput, eDCANormName)
MsgBox "Normname of input 0: " & Name
6.14.1.16 StartApplicationEx
Starts the specified application and returns the application's exit code.
Parameters Description
Application Name of the application to be started
including its path. String.
WindowStyle Specifies whether the application window
is minimized or maximized, etc. Enumer-
ator.
0...hides window and activates another
window
1...Activates and displays window. If the
window has been minimized or maxi-
mized, the system restores it to its original
size and position. An application should
specify this flag as soon as the window is
displayed for the first time.
2...Activates window and displays it mini-
mized
3...Activates window and displays it maxi-
mized
4...Shows window in its usual size and
position
5...Activates window in its usual size and
position
6...Minimizes the specified window and
activates the window on the next level in
the Z-order.
7...Displays minimized window; window
remains active.
8...Displays window in its current status.
The active window remains active.
9...Activates and displays window. If the
window has been minimized or maxi-
mized, the system restores it to its original
size and position. An application should
specify this flag as soon as the window is
displayed for the first time.
10...Sets the display status based on the
status of the program that started the
application.
Parameters Description
WaitUntilClosed Execution, if specified, is halted until the
application is closed again (only if used in
a BSQ test run or script). Enumerator.
0...No
1...Yes
Attribute Identifies the channel name.
Data type: Long
eDCASystemChannelName = 0
eDCADeviceChannelName = 1
eDCASystemName =2
eDCANormName =3
eDCANormSystemName = 4
eDCADeviceName =5
If a given name has not been set, the
character '*' is returned instead.
Script function/command:
Function CmnStartApplicationEx(Application, _
Windowstyle, WaitUntilClosed)
Example
Sub MyStartApplication(Application)
Dim Res
Res = CmnStartApplicationEx(Application, 0, 1)
PoiSendMessage 1, "Return code '" & Res & "' for command '" & Application & "'",
0
Select Case Res
Case 1
'do this…
'
Case 2
'do that…
'
Case 3
'do something else…
'
Case Else
'don't know what to do…
'
End Select
End Sub
6.14.2 CameoAgentConnection
6.14.2.1 Reconnect
Reconnects to Cameo's CameoAgent Agent.
Script function/command:
CagReConnect
Parameters Description
ContinueTestrun Jes/No
Script function/command:
CagStartCameo "$(Continue)"
Parameters Description
FDUName Name of global resource.
The following values may be returned:
eTddRefOk = 0
eTddRefError = 1
eTddRefErrorTimeOut = 2 (default
timeout value = 60 s)
eTddRefErrorNotFound = 3
Script function/command:
Function TddRefresh(FduName)
Parameters Description
GroupName Name of selected group.
Parameters Description
GroupName Name of selected group.
InstanceName Name of selected instance.
6.15 Monitoring
Parameters Description
Name Name of device to be activated.
Script function/command:
Sub LimActivate(Name)
Parameters Description
ChannelName (Quantity) name of the system channel for
which monitoring is disabled.
Script function/command:
Sub LimDeactivateChannel(ChannelName)
Parameters Description
ChannelName (Quantity) name of the system channel for
which monitoring is enabled.
Script function/command:
Sub LimActivateChannel(ChannelName)
Parameters Description
Name Name of the device that is switched on
Script function/command:
Sub LimEnable(Name)
Parameters Description
Name Name of the device that is switched on
Script function/command:
Sub LimDisable(Name)
Parameters Description
Timeout Timeout
Numeric value or expression string.
Script function/command:
Sub LimSetWarningTimeout(Timeout)
Parameters Description
TimerName Quantity name of the timer that is to be
started.
String, no default value.
Script function/command:
Sub OdmStartTimer(TimerName)
Example
OdmStartTimer (TMR1)
Parameters Description
TimerName Quantity name of the timer that is to be
stopped.
String, no default value.
Script function/command:
Sub OdmStopTimer(TimerName)
Example
OdmStopTimer (TMR1)
Parameters Description
DeviceName Name of the ODA device; the default
name "Operational Data Monitor" is used
if an empty string is provided.
TimerName Quantity name of the timer that is to be
attached to the formula.
String, no default value.
Script function/command:
OdmUseFormula (TimerName)
Example
OdmUseFormula (TMR1)
Parameters Description
TimerName Quantity name to be used to identify the
counter that is to be incremented.
String, no default value.
Script function/command:
Sub OdmIncrementCounter(TimerName)
Example
OdmIncrementCounter (CNT1)
Parameters Description
TimerName Quantity name of timer or event counter
to be preset, or reset group number (1...8)
if more than one timer is to be changed,
or $ALL for all defined timers.
String, no default value.
Script function/command:
Sub OdmPresetTimer(TimerName)
Example
OdmPreset (TMR1)
6.15.2.6 Store
Stores all defined timers/counters in a $S record. The $S definition from the
TFP/KEY block is no longer used. Instead, all timers/counters defined in OPDA-
DEFF.TX are stored.
Script function/command:
Sub OdmStore()
Example
OdmStore
Parameters Description
TimerName Name of the ODA device; the default
name "Operational Data Monitor" is used
if an empty string is provided.
Value Time value to be subtracted from the idle
timer (seconds).
Default value: 0
Script function/command:
Sub OdmDebit(TimerName, Value)
Example
OdmDebit (TMR1, 600)
Parameters Description
Group Timer group.
Script function/command:
Sub OdmResetTimerGroup(Group)
Example
OdmResetTimerGroup (4)
6.15.3 PostMortem
Parameters Description
Timeout Timeout
Numeric value or expression string.
Script function/command:
Sub PmrSetAutoSaveTimeout(Timeout)
Parameters Description
Name Name of the Reference Cycle
Sourcetype Enum. File or File attachment
Sourcename Source identifier. Filename or File attach-
ment name.
Script function/command:
Sub RCMLoadProfile(Name, SourceType, SourceName)
Parameters Description
Name Name of the Reference Cycle
Targettype Enum. File or File attachment
Targetname Source identifier. Filename or File attach-
ment name.
Script function/command:
Sub RCMSaveProfile(Name, TargetType, TargetName)
Function Old Group New Group Old Script Function New Script Function
Create new measure- Measure- Result DstKeyEndMeas ResNewMeasurementVersion
ment version ment Access
See: Create new
measurement version
on page 287.
Steady state measure- Measure- Measure- MEAS "Stepname" Sub MrqMeasure _ And-
ment with storing ment ment Store(Name, _
MeasTime, Key, _
MonitorTimeout, Timeout)
Index
A IndiCom … 243
Activation object dialog … 37
Activation objects … 9 L
AO … 9 Limit Monitoring … 373
Limit monitoring … 27
B Limit violations … 25
Block Sequence Editor … 9 Limits AO Server TCC … 16
Breakpoints … 44
BSQ … 9, 37 M
Measurement … 271
C Messages … 40
Call Stack … 45 MSTM Script Debugger … 41
Window … 46 Multi Function Generator … 79
CDH Horiba CVS-9000 … 222
Classification … 259 O
Command Window … 23 OMP7Tracer … 40
Concerto … 278
Configurable Device Handler … 234 P
CVS (CDH) … 135 Parameters … 311
CVS Device … 236 Particle Sampler (VDOS) … 126
PLU 4000 Fuel Meter … 126
D POI … 9, 23
Debug Tracer window … 40 PTCC … 9
Debugging … 37, 40, 44 PUMA Open
Default context … 24 Messages window … 40
DEGUFLOW (CDH) … 205 Script API … 40
DiGas4000 (CDH) … 232 PUMA Open Interface … 9
Dyno Access … 359
R
E Recorder … 261
EMC-AccService … 95 Regression Analysis … 280
Emission bench 1/2/3 (VDOS) … 113 Result Access … 281
Emission Bench Handler … 240
Engine Electronic Interface … 318 S
Excel … 29
Script … 23-24
Executing scripts … 40
Script context … 26, 31, 33, 44
Script Debugger … 41-42
F Script function … 27, 31-32, 38
FEM-AnalogIn … 94 SOX … 9, 37
FEM-CounterIn … 94 SSQ … 9
FFEM-AnalogIn … 95 Statements … 44
FFEM-CounterIn … 95 Step Sequence Commands … 345
FFEM-FastAnalogIn … 95 Step Sequence Editor … 9
Filter Functions … 63 Stop debugging … 43
Flexible Parameters … 67 Subroutine … 44
Formula Calculator … 68 System Explorer … 9
Fuel balance P730 (VDOS) … 128
Fuel balance S730 (VDOS) … 125 T
Test Cell Control … 9
G Testing … 37, 49
GSS-AnalogIn … 95 Interactively … 37
Step by step … 39
H Toolbar … 44
Horiba CVS-7000 for Bosch (CDH) … 216 Tracer … 40
Horiba CVS-7000 Standard (CDH) … 210
Horiba PMU-7100 (CDH) … 227 U
User-defined context … 23, 25
I
Indicating device I670 (VDOS) … 128
V
Variables … 45
Vendor CD1 … 41