VISA Peek 8 Function
- Updated2025-07-30
- 2 minute(s) read
Reads an 8-bit value from the address location specified in offset.
You must use the VISA Map Address function to map the address before you call this function. The address must be a valid memory address in the current process.

Inputs/Outputs
VISA resource name
—
VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
offset (0)
—
offset contains the offset, in bytes, from the register location originally mapped in the mapped memory space.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out
—
VISA resource name out is a copy of the VISA resource name that VISA functions return.
value
—
value contains the read data.
error out
—
error out contains error information. This output provides standard error out functionality. |
If you use NI I/O Trace to debug this function, enable the Force peek/poke calls to appear in NI I/O Trace option in Measurement & Automation Explorer (Windows), visaconf (Linux), or NI-VISA Configuration (Mac OS X). If you do not enable this function, NI I/O Trace might not log this function.
VISA resource name
—
offset (0)
—
error in (no error)
—
VISA resource name out
—
value
—
error out
—