long FirmwareAddressGet ( long  hostAddress  ) 

Description:
FirmwareAddressGet converts and returns a host controller address to a firmware address.
Parameters:
hostAddress Any address (host) in the controller's memory.
Returns:
(long) Host address.
Sample Code:
enter string as seen in VM3.
  // -- C++ -- //
  long addr = controller->AddressFromStringGet("Motor[0].IO.DedicatedOut.Ptr", "c:\\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:\\synqnet\\stdmei.map");
  Console.WriteLine("Host address is 0x{0}   Firmware Address is 0x{1}", addr, controller.FirmwareAddressGet(addr));
See also:
MemorySet, MemoryGet, AddressFromStringGet
Examples:
memory.cpp.