Optionally it may be given a name. The attribute argument must be specified as objectname.attributename. The attribute must be numerical (i.e., have type i or f).
realtime-period and simtime-period determines how often to poll the attribute, in seconds of real and simulated time, respectively.