| config PRD.MICROSECONDS // module-wide |
 |
The number of microseconds between ticks
PRD.MICROSECONDS = Float 0.0;
| config PRD.OBJMEMSEG // module-wide |
 |
The memory segment containing the PRD objects
| config PRD.USECLK // module-wide |
 |
This property is no longer supported
PRD.USECLK = Bool undefined;
| Instance Config Parameters |
 |
var params = new PRD.Params;
// Instance config-params object
params.arg0 = UArg 0;
// Argument for the user-specified function
params.arg1 = UArg undefined;
// This property is no longer supported
params.comment = String "<add comments here>";
// Type a comment to identify this object
params.fxn = String undefined;
// Type a comment to identify this object
params.mode = String "continuous";
// Determines whether function executes every period or just once
params.name = String "";
// Specify the name of the object
params.order = UInt16 undefined;
// This property is no longer supported
params.period = UInt 0;
// The number of ticks represented by the period
| config PRD.arg0 // instance |
 |
Argument for the user-specified function
var params = new PRD.Params;
...
params.arg0 = UArg 0;
| config PRD.arg1 // instance |
 |
This property is no longer supported
var params = new PRD.Params;
...
params.arg1 = UArg undefined;
| config PRD.comment // instance |
 |
Type a comment to identify this object
var params = new PRD.Params;
...
params.comment = String "<add comments here>";
| config PRD.fxn // instance |
 |
Type a comment to identify this object
var params = new PRD.Params;
...
params.fxn = String undefined;
| config PRD.mode // instance |
 |
Determines whether function executes every period or just once
var params = new PRD.Params;
...
params.mode = String "continuous";
| config PRD.name // instance |
 |
Specify the name of the object
var params = new PRD.Params;
...
params.name = String "";
| config PRD.order // instance |
 |
This property is no longer supported
var params = new PRD.Params;
...
params.order = UInt16 undefined;
| config PRD.period // instance |
 |
The number of ticks represented by the period
var params = new PRD.Params;
...
params.period = UInt 0;
| Instance Creation |
 |
// Allocate instance config-params
params.config = ...
// Assign individual configs
var inst = PRD.create(String name, params);
// Create an instance-object