Advanced Programming with the VT1529B 175
Chapter 5
Temperature
Conversion
Sequence
Below is an example VXI
plug&play
command sequence. Note that this is
not executable; it has been simplified for easier reading. The C++ example
source file (
tcpost.cpp
) is on the CD supplied with the instrument. View the
readme.txt file provided with the VXI
plug&play
driver for example
program file location.
/* set up reference thermistor measurement
note that ch 10006 is excitation voltage, 10007 is thermistor voltage */
errStatus = hpe1422_cmd(vi, "sens:ref:post ther,5000,(@10006),(@10007)");
/* set function to temperature on channels 10000-10005 */
errStatus = hpe1422_cmd(vi, "sens:func:temp:post TC,J,(@10000:10005)");
/* associate TC channels with reference thermistor channel */
errStatus = hpe1422_cmd(vi, "sens:ref:chan:post (@10007),(@10000:10005)");
/* optionally set VT1529B input filters (2, 10 or 100 Hz) */
errStatus = hpe1422_cmd(vi, "inp:filt:freq 10,(@10000:10005)");
errStatus = hpe1422_cmd(vi, "inp:filt:stat on,(@10000:10005)");
/* set up the scan list to include the TC, thermistor and excitation channels */
errStatus = hpe1422_cmd(vi,"rout:seq:def (@10000:10007)");
/* set up the trigger system to make one scan for each trigger.
Note that the default is one scan per trigger and trigger source
is TIMer, so we only have to INITiate the trigger system to
take readings.
errStatus = hpe1422_cmd(vi,"trig:coun 1"); /* *RST default */
errStatus = hpe1422_cmd(vi,"trig:sour tim"); /* *RST default */
errStatus = hpe1422_cmd(vi,"arm:sour imm"); /* *RST default */
/* set up the sample timer. This controls the channel-to-channel scan
rate and can be important when channels need more than the default
40 us sample time. */
errStatus = hpe1422_cmd(vi,"samp:tim 40e-6"); /* *RST default */
/* INITiate the trigger system to execute a measurement scan */
errStatus = hpe1422_cmd(vi,"init:imm");
/* retrieve one scan’s data from the FIFO */
errStatus = hpe1422_readFifoPost_Q(vi, 1, 0, 65024, f64_array);
Voltage Measurements
With the VT1529B, low- or high-level dc voltage measurements can also be
made for sensors such as LVDT and string pots. While the VT1422A does
not provide built-in engineering units conversions for these sensor types,
custom EU conversions can be provided by the user.
Note
If a custom EU conversion is provided on a high-level dc voltage path, use
the SENSe:FUNCtion:CUSTom:HVOLtage command. Also see the
DIAGnostic:CUSTom:MXB command for specifying the custom
conversion parameters.
Содержание VT1422A
Страница 2: ...This page is blank...
Страница 8: ...8 Notes...
Страница 22: ...22 Support...
Страница 57: ...Field Wiring 57 Chapter 2...
Страница 58: ...58 Field Wiring Chapter 2...
Страница 96: ...94 Programming the VT1422A VT1529A B for Remote Strain Measurement Chapter 3...
Страница 162: ...160 Programming the VT1422A for Data Acquisition and Control Chapter 4...
Страница 224: ...222 Creating and Running Algorithms Chapter 6...
Страница 419: ...VT1422A Command Reference 417 Chapter 7 Notes...
Страница 420: ...418 VT1422A Command Reference Chapter 7 Notes...
Страница 425: ...Specifications 423 Appendix A Thermocouple Type E 200 800 C SCPs VT1501 02 03A...
Страница 426: ...424 Specifications Appendix A Thermocouple Type E 200 800 C SCPs VT1508 09A...
Страница 427: ...Specifications 425 Appendix A Thermocouple Type E 0 800 C SCPs VT1501A 02A 03A...
Страница 428: ...426 Specifications Appendix A Thermocouple Type E 0 800 C SCPs VT1508A 09A...
Страница 429: ...Specifications 427 Appendix A Thermocouple Type E Extended SCPs VT1501A 02A 03A...
Страница 430: ...428 Specifications Appendix A Thermocouple Type E Extended SCPs VT1508A 09A...
Страница 431: ...Specifications 429 Appendix A Thermocouple Type J SCPs VT1501A 02A 03A...
Страница 432: ...430 Specifications Appendix A Thermocouple Type J SCPs VT1508A 09A...
Страница 433: ...Specifications 431 Appendix A Thermocouple Type K SCPs VT1501A 02A 03A...
Страница 434: ...432 Specifications Appendix A Thermocouple Type R SCPs VT1501A 02A 03A...
Страница 435: ...Specifications 433 Appendix A Thermocouple Type R SCPs VT1508A 09A...
Страница 436: ...434 Specifications Appendix A Thermocouple Type S SCPs VT1501A 02A 03A...
Страница 437: ...Specifications 435 Appendix A Thermocouple Type S SCPs VT1508A 09A...
Страница 438: ...436 Specifications Appendix A Thermocouple Type T SCPs VT1501A 02A 03A...
Страница 439: ...Specifications 437 Appendix A Thermocouple Type T SCPs VT1508A 09A...
Страница 440: ...438 Specifications Appendix A 5k Thermistor Reference SCPs VT1501A 02A 03A...
Страница 441: ...Specifications 439 Appendix A 5k Thermistor Reference SCPs VT1508A 09A...
Страница 442: ...440 Specifications Appendix A RTD Reference SCPs VT1501A 02A 03A...
Страница 443: ...Specifications 441 Appendix A RTD SCPs VT1501A 02A 03A...
Страница 444: ...442 Specifications Appendix A RTD SCPs VT1508A 09A...
Страница 445: ...Specifications 443 Appendix A 2250 Thermistor SCPs VT1501A 02A 03A...
Страница 446: ...444 Specifications Appendix A 2250 Thermistor SCPs VT1508A 09A...
Страница 447: ...Specifications 445 Appendix A 5k Thermistor SCPs VT1501A 02A 03A...
Страница 448: ...446 Specifications Appendix A 5k Thermistor SCPs VT1508A 09A...
Страница 449: ...Specifications 447 Appendix A 10k Thermistor SCPs VT1501A 02A 03A...
Страница 450: ...448 Specifications Appendix A 10k Thermistor SCPs VT1508A 09A...
Страница 454: ...452 Specifications Appendix A...
Страница 480: ...478 VT1529A B Verification Calibration Appendix C...
Страница 484: ...482 Glossary Appendix D Notes...