NOTES
1.
Channels referenced by algorithms when they are defined are only placed in the
channel list before INIT. The list cannot be changed after INIT. If an algorithm
is redefined (by swapping) after INIT and it references channels not already in
the channel list, it will not be able to access the newly referenced channels. No
error message will be generated. To make sure all required channels are
included in the channel list, define <
alg_name
> and re-define all algorithms that
will replace <
alg_name
> by swapping them before sending INIT. This insures
that all channels referenced in these algorithms will be available after INIT.
2.
If an algorithm is redefined (by swapping) after INIT and it declares an existing
variable, the declaration-initialization statement (e.g.
static float
my_var = 3.5
) will not change the current value of that variable.
3.
The driver only calculates overall execution time for algorithms defined before
INIT. This calculation is used to set the default output delay (same as executing
ALG:OUTP:DELAY AUTO). If an algorithm is swapped after INIT that take
longer to execute than the original, the output delay will behave as if set by
ALG:OUTP:DEL 0, rather than AUTO (see ALG:OUTP:DEL command). Use
the same procedure from note 1 to make sure the longest algorithm execution
time is used to set ALG:OUTP:DEL AUTO before INIT.
ALGorithm[:EXPLicit]:SCALar
ALGorithm[:EXPLicit]:SCALar <
alg_name
>,<
var_name
>,<
value
>
sets the
value of the scalar variable <
var_name
> for algorithm <
alg_name
> into the Update
Queue. This update is then pending until ALG:UPD is sent or an update event (as
set by ALG:UPD:CHANNEL) occurs.
NOTE
ALG:SCALAR places a variable update request in the Update Queue. Do not place
more update requests in the Update Queue than are allowed by the current setting of
ALG:UPD:WINDOW or a “Too many updates — send ALG:UPDATE command”
error message will be generated.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
alg_name
string
ALG1 - ALG32 or GLOBALS
none
var_name
string
valid ‘C’ variable name
none
value
numeric (float32)
IEEE-754 32-bit floating point number
none
Comments
·
To send values to a global scalar variable, set the <
alg_name
> parameter to
‘GLOBALS’. To define a scalar global variable see the ALGorithm:DEFine
command.
VT1419A Command Reference
ALGorithm
192
Chapter 6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание VT1419A Multifunction Plus
Страница 5: ...4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 15: ...14 Contents Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 25: ...24 Chapter 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 173: ...Notes 172 Chapter 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 332: ...332 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 333: ...Appendix A 333 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 334: ...334 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 335: ...Appendix A 335 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 336: ...336 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 337: ...Appendix A 337 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 338: ...338 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 339: ...Appendix A 339 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 340: ...340 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 341: ...Appendix A 341 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 342: ...342 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 343: ...Appendix A 343 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 344: ...344 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 345: ...Appendix A 345 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 346: ...346 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 347: ...Appendix A 347 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 348: ...348 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 349: ...Appendix A 349 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 350: ...350 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 351: ...Appendix A 351 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 352: ...352 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 353: ...Appendix A 353 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 354: ...354 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 355: ...Appendix A 355 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 356: ...356 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 357: ...Appendix A 357 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 358: ...358 Appendix A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 370: ...Notes 370 Appendix C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...