API Guide
2-1068 API Functions 601355 Rev A
VSCMD_
RequestQuery_Set
Defaults
VSCMD_RequestQuery_SetDefaults sets the
command-level default parameters for Request Query
commands.
Two levels of default parameter settings are used in the API
software—global defaults and command-specific defaults.
Global defaults for all commands are initialized at startup
and can be set or retrieved using VS_Global_SetFields
and VS_Global_GetFields function calls.
Command-specific parameter defaults for Request Query
commands are set with
VSCMD_RequestQuery_SetDefaults. If
command-specific defaults are set for Request Query
commands, they override the global defaults for all
commands.
Synopsis VST_BOOLEAN VSCMD_RequestQuery_SetDefaults
( “…”,
VSID_ENDFIELD)
Arguments “…” = Variable length argument list consisting of pairs of
Arguments. Each pair of Arguments consists of a parameter
identifier, followed by the value to be used as a command
Tip
To override a default (global or command-specific)
parameter value for a specific instance of a Request Query
command, the parameter identifier and the value to be
used for the parameter can be submitted on the specific
request itself.