Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ viPoke8(3) — HP-UX Instrument Control Library G.03.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

viPoke8(3)

HP-UX

NAME

viPoke8 − Stores an 8-bit value into memory

SYNOPSIS

viPoke8(ViSession vi, ViAddr addr, ViUInt8 val8);

 
 

Description

 
This function takes an 8-bit value and stores its content to the address pointed to by addr.  The address must be a valid memory address in the current process mapped by a previous viMapAddress call.
 

Parameters

 

vi An input parameter. Unique logical identifier to a session. 
 

addr An input parameter. Specifies the destination address to store the value. 
 

val8 An input parameter.  Data read from bus (8-bits). 
 
 
 
NOTE ViAddr is defined as a void *.  To do pointer arithmetic, you must cast this to an appropriate type (ViUInt8 or ViUInt16). Then be sure the offset is correct for the type of pointer you are using.  For example, (ViUInt8 *)addr + 4 points to the same location as (ViUInt16 *)addr + 2.
 
 

Return Values

 
None.
 

See Also

 
viPeek8 and viPeek16, viMapAddress
 

AUTHOR

viPoke8 was developed by HP
 

Hewlett-Packard Comapny  —  September 29, 1999

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026