DNA/DNR-IRIG-650 IRIG Timing Layer
Chapter 2
12
Programming with the High Level API
Tel: 508-921-4600
www.ueidaq.com
Vers:
4.6
Date: March 2019
DNx-IRIG-650 Chap2x.fm
© Copyright 2019
United Electronic Industries, Inc.
•
Sub PPS enabled:
Select whether external timebase is slower than
1PPS or is not derived from the timecode.
•
Initial time:
The initial time loaded in time keeper.
2.2.2
IRIG Output
Use the method
CreateIRIGOutputChannel()
to configure the time code
output on your IRIG-650.
It configures the following parameters:
•
Timecode Format:
the format used to generate the time code.
–
UeiIRIGTimeCodeFormatA
: IRIG-A
–
UeiIRIGTimeCodeFormatB
: IRIG-B
–
UeiIRIGTimeCodeFormatE_100Hz
: IRIG-E 100Hz
–
UeiIRIGTimeCodeFormatE_1000Hz
: IRIG-E 1000Hz
–
UeiIRIGTimeCodeFormatG
: IRIG-G
In addition you can set the following parameter using the channel object
methods (under LabVIEW use property node):
•
Start when input is valid:
If selected, the output time coder waits for
the input time decoder to receive a valid time code before starting.
// Disable sub PPS
pTKChannel->EnableSubPPS(false);
// Initial Time
tUeiANSITime now;…
pTKChannel->SetInitialTime(now)
// configure the time code output
CUeiIRIGOutputChannel* pOutChannel =
irigSession.CreateIRIGOutputChannel(
"pdna://192.168.100.2/Dev1/Irig0",
timeCodeformat);
// start when input is valid
pOutChan->EnableStartWhenInputValid(true);