Skip to content

Python Core API HF2 Only Functions

programRT(dev, filename)

Program RT. Only relevant for a HF2 device.


Name Type Description Default
dev str

Device identifier e.g. 'dev99'.

filename str

File name of the RT program.



Check if additional devices are attached.

Only revelant for connections to an HF2 Data Server. This function is not needed for servers running under windows as devices will be detected automatically.


Deprecated, see the 'sync' command.

Sends an echo command to a device and blocks until answer is received. This is useful to flush all buffers between API and device to enforce that further code is only executed after the device executed a previous command. Args: dev: Device string e.g. 'dev100'.


Deprecated, see the 'sync' command.

The flush command is identical to the sync command.