◆ HostAddressGet()

virtual uint64_t HostAddressGet ( uint32_t  firmwareAddress)
pure virtual

Convert a firmware address to a host controller address.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
HostAddressGet converts and returns a firmware address to a host controller address.
Parameters
firmwareAddressAny address (firmware) in the controller's memory, as you would see it in VM3.
Returns
(uint64_t) Host address.
Sample Code:
// enter string as seen in VM3.
// -- C++ -- //
printf("Host address is 0x%x Firmware Address is 0x%x\n", controller->HostAddressGet(firmwareAddr), firmwareAddr);
// -- C# -- //
Console.WriteLine("Host address is 0x{0} Firmware Address is 0x{1}", controller.HostAddressGet(firmwareAddr), firmwareAddr);
See also
MemorySet, MemoryGet, AddressFromStringGet, FirmwareAddressGet
Examples
MotionHoldReleasedBySoftwareAddress.cpp.