long AddressFromStringGet ( char *  addressName,
char *  mapFileName 
)

Description:
AddressFromStringGet returns a host address of the controller's memory.
Parameters:
addressName An address (host) in the controller's memory.
mapFileName A full path link to stdmei.map.
Returns:
(long) Host address.
Sample Code:
  // enter string as seen in VM3.
  // -- C++ -- //
  long addr = controller->AddressFromStringGet("Motor[0].IO.DedicatedOut.Ptr", "c:\\rsi\\synqnet\\stdmei.map");
  printf("Host address is 0x%x   Firmware Address is 0x%x\n", addr, controller->FirmwareAddressGet(addr));

  addr = controller->AddressFromStringGet("&0xa66fc", "c:\\rsi\\synqnet\\stdmei.map");
  printf("Host address is 0x%x   Firmware Address is 0x%x\n", addr, controller->FirmwareAddressGet(addr));
  // -- C# -- //
  int addr = controller.AddressFromStringGet("Motor[0].IO.DedicatedOut.Ptr", "c:\\rsi\\synqnet\\stdmei.map");
  Console.WriteLine("Host address is 0x{0}   Firmware Address is 0x{1}", addr, controller.FirmwareAddressGet(addr));

  addr = controller.AddressFromStringGet("&0xa66fc", "c:\\rsi\\synqnet\\stdmei.map");
  Console.WriteLine("Host address is 0x{0}   Firmware Address is 0x{1}", addr, controller.FirmwareAddressGet(addr));
Notes:
String parameters can be derived from the .map files of the C:\RSI\SynqNet directory.
See also:
MemorySet, MemoryGet, FirmwareAddressGet
Examples:
memory.cpp, recorder.cpp, sequencerDigitalOutput.cpp, and watchdog.cpp.