138 Programming the VT1422A for Data Acquisition and Control
Chapter 4
Modifying Running Algorithm Variables
Updating
Algorithm Variables
and Coefficients
The values sent with the ALG:SCALAR and ALG:ARRAY command are
kept in the Update Queue until an ALGorithm:UPDate command is received.
ALG:UPD
cause changes to take place
Updates are performed during phase 2 of the instrument operation cycle
(see Figure 4-7 on page 132). The UPDate:WINDow <
num_updates
>
command can be used to specify how many updates need to be performed
during phase 2 (UPDATE phase) and assigns a constant window of time to
accomplish all of the updates that will be made. The default value for
<
num_updates
> is 20. Fewer updates (shorter window) means slightly faster
loop execution times. Each update takes approximately 1.4
μ
s.
To set the Update Window to allow 10 updates in phase 2:
ALG:UPD:WIND 10
allows slightly faster execution
than default of 20 updates
A way to synchronize variable updates with an external event is to send the
ALGorithm:UPDate:CHANnel ’<
dig_chan/bit
>’ command.
•
The <
dig_chan/bit
> parameter specifies the digital channel/bit that
controls execution of the update operation.
When the ALG:UPD:CHAN command is received, the module checks the
current state of the digital bit. When the bit next changes state, pending
updates are made in the next UPDATE Phase.
ALG:UPD:CHAN ’I133.B0’
perform updates when bit zero
of VT1533A at channel 133
changes state
For VXIplug&play Users:
Use the functions hpe1422_algArray,
hpe1422_algScal to send new values to algorithm variables and
hpe1422_cmd to send the ALG:UPD... SCPI command. See the VT1422A
plug&play
driver Help file.
Enabling and
Disabling
Algorithms
An algorithm is enabled by default when it is defined. To enable or disable
an algorithm, use the ALG:STATe <
alg_name
>, ON | OFF command.
When an individual algorithm is enabled, it executes when the module is
triggered. When disabled, the algorithm does not execute.
NOTE
The command ALG:STATE <
alg_name
>, ON | OFF does not take effect
until an ALG:UPDATE command is received. This allows multiple
ALG:STATE commands to be sent with a synchronized effect.
Summary of Contents for VT1422A
Page 2: ...This page is blank...
Page 8: ...8 Notes...
Page 22: ...22 Support...
Page 57: ...Field Wiring 57 Chapter 2...
Page 58: ...58 Field Wiring Chapter 2...
Page 96: ...94 Programming the VT1422A VT1529A B for Remote Strain Measurement Chapter 3...
Page 162: ...160 Programming the VT1422A for Data Acquisition and Control Chapter 4...
Page 224: ...222 Creating and Running Algorithms Chapter 6...
Page 419: ...VT1422A Command Reference 417 Chapter 7 Notes...
Page 420: ...418 VT1422A Command Reference Chapter 7 Notes...
Page 425: ...Specifications 423 Appendix A Thermocouple Type E 200 800 C SCPs VT1501 02 03A...
Page 426: ...424 Specifications Appendix A Thermocouple Type E 200 800 C SCPs VT1508 09A...
Page 427: ...Specifications 425 Appendix A Thermocouple Type E 0 800 C SCPs VT1501A 02A 03A...
Page 428: ...426 Specifications Appendix A Thermocouple Type E 0 800 C SCPs VT1508A 09A...
Page 429: ...Specifications 427 Appendix A Thermocouple Type E Extended SCPs VT1501A 02A 03A...
Page 430: ...428 Specifications Appendix A Thermocouple Type E Extended SCPs VT1508A 09A...
Page 431: ...Specifications 429 Appendix A Thermocouple Type J SCPs VT1501A 02A 03A...
Page 432: ...430 Specifications Appendix A Thermocouple Type J SCPs VT1508A 09A...
Page 433: ...Specifications 431 Appendix A Thermocouple Type K SCPs VT1501A 02A 03A...
Page 434: ...432 Specifications Appendix A Thermocouple Type R SCPs VT1501A 02A 03A...
Page 435: ...Specifications 433 Appendix A Thermocouple Type R SCPs VT1508A 09A...
Page 436: ...434 Specifications Appendix A Thermocouple Type S SCPs VT1501A 02A 03A...
Page 437: ...Specifications 435 Appendix A Thermocouple Type S SCPs VT1508A 09A...
Page 438: ...436 Specifications Appendix A Thermocouple Type T SCPs VT1501A 02A 03A...
Page 439: ...Specifications 437 Appendix A Thermocouple Type T SCPs VT1508A 09A...
Page 440: ...438 Specifications Appendix A 5k Thermistor Reference SCPs VT1501A 02A 03A...
Page 441: ...Specifications 439 Appendix A 5k Thermistor Reference SCPs VT1508A 09A...
Page 442: ...440 Specifications Appendix A RTD Reference SCPs VT1501A 02A 03A...
Page 443: ...Specifications 441 Appendix A RTD SCPs VT1501A 02A 03A...
Page 444: ...442 Specifications Appendix A RTD SCPs VT1508A 09A...
Page 445: ...Specifications 443 Appendix A 2250 Thermistor SCPs VT1501A 02A 03A...
Page 446: ...444 Specifications Appendix A 2250 Thermistor SCPs VT1508A 09A...
Page 447: ...Specifications 445 Appendix A 5k Thermistor SCPs VT1501A 02A 03A...
Page 448: ...446 Specifications Appendix A 5k Thermistor SCPs VT1508A 09A...
Page 449: ...Specifications 447 Appendix A 10k Thermistor SCPs VT1501A 02A 03A...
Page 450: ...448 Specifications Appendix A 10k Thermistor SCPs VT1508A 09A...
Page 454: ...452 Specifications Appendix A...
Page 480: ...478 VT1529A B Verification Calibration Appendix C...
Page 484: ...482 Glossary Appendix D Notes...