Use the following techniques to troubleshoot errors you might encounter while setting and locking to an external timer reference.
Ensure the time reference is available to the device using the Is Time Reference Present? property of niSync Properties.
Ensure that you set your device to the right external time reference using the Time Reference property.
Correct for the offset from the time reference using the Time Reference Correction property. You can return the offset using the Offset from Time Reference property.