Target.ptpd
Description
A Target.ptpd
object represents the RTOS PTP daemon that runs
on a Speedgoat® target computer and
provides access to methods and properties related to the PTP daemon.
The object provides access to methods and properties that:
Start and stop the PTP daemon.
Configure the PTP daemon startup command.
Enable auto start of the PTP daemon.
Retrieve status information about the PTP daemon.
Function names are case-sensitive. Type the entire name. Property names are not case-sensitive. You do not need to type the entire name if the characters you type are unique for the property.
Creation
A Target.ptpd
object is created when you create a Target
object
by using the slrealtime
command. After you create and
connect to the Target
object,
you can access the Target.ptpd
object. This example creates and connects to
Target
object
tg
, and then starts the PTP daemon on the target computer.
tg = slrealtime('TargetPC1'); connect(tg); start(tg.ptpd);
Properties
Object Functions
Examples
Version History
Introduced in R2020b