Subject: Re: Handle Peek and Poke
From: Gregg Fowler greggf@natinst.com
Date: Fri, 22 Apr 1994 10:59:26 -0500


References: <2p1tib$ptp@natinst.com>
Organization: National Instruments

In article <2p1tib$ptp@natinst.com>, you wrote:

> Reply to: RE>Info-LabVIEW Digest for 14
> We too are looking at programming physical memory locations in a 486 system
> using LV 3.0.1. We've only just started so the following information is
> somewhat tentative.
> Contrary to one message, there still seems to be a useable peek and poke.
> Handle peek and Handle poke in the Miscellaneous menu takes a two bit I/O space
> address so if your board is at C000, use that address as the handle and you
> should be able to access your board. We've managed to manipulate a serial port
> with this method.
> If you make any progress along these lines, please keep us updated.
> John_Hodgson@physci.ucla.edu

I don't see how what you are describing could possibly work.

The diagram functions Handle Poke and Handle Peek are used to store and
retrieve data in a "Handle",
which is a block allocated using Size Handle. They are not general "memory
write/read"
functions. You cannot wire up a numeric address to the Handle Poke or
Handle Peek function.
As such, I am not sure how you could have wired up an address of C000 and
had it work.
I would strongly suggest looking at your code, because I doubt that it
works correctly.

We frequently hear questions from customers mistakenly thinking of them as
"Memory Poke"
or "Memory Peek" functions. Because of the confusion they cause, and
because they don't
really add any significant functionality, we've decided to remove them from
LabVIEW in
the next release.

(CIN Users: note, we are not removing the CIN handle functions -- we are
removing the three
handle functions that are present in the MISC palette.)

Please contact me if you are currently using any of the handle functions.

Gregg Fowler (greggf@natinst.com)
LabVIEW Product Support Manager