Ejemplo n.º 1
0
        /// <summary>
        /// This operation reads an 16-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 short Peek16(IntPtr addr)
        {
            short value;

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