Function & Argument Type(s)
|
Description
|
Example |
TNano() Return Type: long |
Get Time Nanosecond (Wall Clock), each unit represents 1 nsec. |
x = TNano() |
TNanoDelta (long time_last) Return Type: double |
Get Time Nano, input is TNano, subtracted from current TNano (Wall Clock) as double. |
>> a = TNano() |
TReal() Return Type: long |
Get Time Real (Wall Clock) each unit represents 1 msec. |
x = TReal() |
TRealDelta (long time_last) Return Type: double |
Get Time Real Delta, input is TReal, subtracted from current TReal (Wall Clock) as double. |
>> a = TReal() |
TNow.getSlotCycle (Cycle_Time, Total_Slot_Time) |
Get current clock count using getClockCycle with the Cycle_Time as an argument. Get the current slot cycle by passing the Cycle_Time, Total_Slot_Time arguments. Both use TNow as the double token to call the functions. |
MyIntegerClockNumber = TNow.getClockCycle(Cycle_Time) MyIntegerSlotNumber = TNow.getSlotCycle(Cycle_Time, Total_Slot_Time) |
Created with the Personal Edition of HelpNDoc: Full-featured Documentation generator