Description: This function returns a byte, word, or longword of RAM memory.
Returns: Varies
Usage: Script or Steady State
Format: MemIn(Address, Type)
Parameters: Address { numeric } { required } { no default }
Any numeric expression which gives the RAM address to read. This may be specified using the @ operator.
Type { numeric } { required } { no default }
Any numeric expression giving the type of read to perform.
|
Type |
Read Type |
|
0 |
Read 8 bit byte |
|
1 |
Read 16 bit word |
|
2 |
Read 32 bit long word |
Comments: This function requires that the VTSIO driver be installed. Please refer to the topic, Communicating Directly With Hardware for more details.
This is a high priority function; if used in a statement or action trigger, it will be evaluated at a very fast rate. MemIn should be used sparingly to avoid reduced system performance.
In certain cases, the registry may need to be modified to allow access to the memory location.
See Also: