Programming the VT1422A & VT1529A/B for Remote Strain Measurement 89
Chapter 3
/* set channel function for voltage readings (autorange) */
errStatus=hpe1422_cmd(sessn,"sens:func:voltage auto,(@10000:10007)");
/* set bridge configuration switches */
errStatus=hpe1422_cmd(sessn,"sens:str:bridge fben,(@10000:10007)");
/* optionally set VT1529A/B input filters (2, 10 or 100 Hz) */
errStatus = hpe1422_cmd(sessn,"input:filter:frequency 10,(@10000:10007)");
/* optionally enable VT1529A/B input filters (approx 100 kHz when OFF) */
errStatus = hpe1422_cmd(sessn,"input:filter:state ON,(@10000:10007)");
/* enable excitation voltage to strain bridges. Note that excitation is
switched in banks of channels. So "VT1529A/B relative" channels to switch
are 0, 8, 16 and 24. The channel-range shown works too and is easier. */
errStatus=hpe1422_cmd(sessn,"sense:strain:excitation:state ON,(@10000:10007)");
/* set the data FIFO format for the command module to 64-bit */
errStatus=hpe1422_cmd(sessn,"FORM PACK,64");
/* measure the excitation voltage at each bridge. The values go to the
FIFO. We'll put them in their own array */
errStatus=hpe1422_cmdInt16_Q(sessn,"meas:volt:excitation? (@10000:10007)", &result16);
/* read the values from the FIFO. count returns number actually read */
errStatus=hpe1422_readFifo_Q(sessn, 0, 512, exc_array, &count);
/* measure the unstrained bridge voltage at each bridge. The values go to the
FIFO. We'll put them in their own array */
errStatus=hpe1422_cmdInt16_Q(sessn,"meas:volt:unstrained? (@10000:10007)", &result16);
/* read the values from the FIFO. count returns number actually read */
errStatus=hpe1422_readFifo_Q(sessn, 0, 512, uns_array, &count);
/* set up the scan list to include the strain channels to measure bridge outputs */
errStatus=hpe1422_cmd(sessn,"route:sequence:define (@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(sessn,"trigger:count 1"); /* *RST default */
errStatus=hpe1422_cmd(sessn,"trigger:source TIMer"); /* *RST default */
errStatus=hpe1422_cmd(sessn,"arm:source IMMediate"); /* *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 microsecond sample time. */
errStatus=hpe1422_cmd(sessn,"sample:timer 40E-6"); /* *RST default */
/* INITiate the trigger system to execute a measurement scan */
errStatus=hpe1422_cmd(sessn,"INIT:IMMediate");
/* retrieve readings from FIFO. Notice that for each scan, we read the
number of values in the FIFO (sens:data:fifo:count?), then apply
that value to control the number of readings we read with the
hpe1422_readFifo_Q() function. For continuous data acquisition, see
Chapter 4 of the manual under "Reading Fifo Data." */
errStatus=hpe1422_cmd(sessn,"INIT:IMMediate");
/* find the number of readings present in the FIFO */
errStatus=hpe1422_cmdInt32_Q(sessn,"sense:data:fifo:count?",&result32);
/* read the values from the FIFO. count returns number actually read */
errStatus=hpe1422_readFifo_Q(sessn, result32, 512, brdg_array, &count);
/********************** Strain post-processing ***********************
* *
* here you take the values for excitation (exc_array), unstrained *
* (uns_array), bridge output values (brdg_array) and gage factor *
* and calculate individual strain values for each channel using *
* your own equations. *
* *
*********************************************************************/
Содержание 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...