The input and output SCP’s are configured using the SCPI programming language.
Analog SCP’s are measured with the VT1419A’s A/D. Configuring analog SCP’s
includes specifying what type of Engineering Unit (EU) conversion are desired for
each analog input channel. For example, one channel may require a type T
thermocouple conversion and another may be a resistance measurement. The
on-board Digital Signal Processor (DSP) converts the voltage read across the
analog input channel and applies a high-speed conversion which results in
temperature, resistance, etc. Digital input SCP’s perform their own conversions as
configured by the SCPI language.
When the Trigger System is configured and either generates its own trigger or
accepts a trigger from an external source, all digital input SCP’s latch their current
input state and the A/D starts scanning the analog channels. All measurement data
is represented as 32-bit real numbers even if the input channel is inherently integer.
The EU-converted numbers such as temperature, strain, resistance, volts, state,
frequency, etc. are stored in an Input Buffer and later accessed by ‘C’ programs
executing on the VT1419A card. Approximately 2,000 lines of user-written ‘C’
code can be downloaded into the VT1419A’s memory and can be split among up to
32 algorithms. VXI Technology refers to these as algorithms because an algorithm
is a step-by-step procedure for solving some problem or accomplishing some end.
Though the documentation continues to refer to the ‘C’ code as algorithms, they
may be thought of in traditional terms with each algorithm representing a ‘C’
function with a main() program which calls them.
The user-written ‘C’ algorithms execute after all analog/digital inputs have been
stored in the Input Buffer. The ‘C’ code accesses the measurement data like
constants with the names of I100-I163 representing the 32-bit real EU-converted
numbers. As seen in Figure 3-1, the algorithms have access to both local and global
variables and arrays. The I-variables are inherently global and accessible by any
algorithm. Local variables are only visible to the particular algorithm (just like in
‘C’ functions). Declared global variables can be shared by any algorithm.
Agilent's VEE can read or write any local or global variable in any algorithm by
using SCPI syntax that actually identifies the variable by name, but a more efficient
means of reading data is available through the VT1419A’s FIFO and Current Value
Table (CVT). As seen in Figure 3-1, any algorithm can write any expression or
constant to the FIFO/CVT. Agilent VEE can then read the FIFO/CVT to
characterize what’s happening inside the VT1419A and to provide an operator view
of any input/output channel, variable, or constant.
Output SCP’s derive their channel values from O-variables that are written by the
algorithms. O100-O163 are read/write global variables that are read after all
algorithms have finished executing. The 32-bit real values are converted to the
appropriate units as defined by the SCPI configuration commands and written to the
various output SCP’s by channel number.
Programming the VT1419A Multifunction
Plus
Overview of the VT1419A Multifunction
Plus
Chapter 3
49
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...