示例#1
0
        /// <summary>
        /// This operation reads an 32-bit value from the address location specified in addr. The address
        /// must be a valid memory address in the current process mapped by a previous MapAddress() call.
        /// </summary>
        /// <param name="addr">Specifies the source address to read the value.</param>
        /// <returns></returns>
        public int Peek32(IntPtr addr)
        {
            int value;

            AgVisa32.viPeek32(mSession, addr, out value);
            return(value);
        }