ni_sync_rs/
bindings.rs

1/* automatically generated by rust-bindgen 0.59.1 */
2
3pub const NISYNC_MAJOR_VERSION: i32 = 23;
4pub const NISYNC_MINOR_VERSION: i32 = 8;
5pub const NISYNC_ATTR_BASE: i32 = 1150000;
6pub const NISYNC_ATTR_INTF_NUM: i32 = 1150000;
7pub const NISYNC_ATTR_SERIAL_NUM: i32 = 1150001;
8pub const NISYNC_ATTR_PFI0_THRESHOLD: i32 = 1150100;
9pub const NISYNC_ATTR_PFI1_THRESHOLD: i32 = 1150101;
10pub const NISYNC_ATTR_PFI2_THRESHOLD: i32 = 1150102;
11pub const NISYNC_ATTR_PFI3_THRESHOLD: i32 = 1150103;
12pub const NISYNC_ATTR_PFI4_THRESHOLD: i32 = 1150104;
13pub const NISYNC_ATTR_PFI5_THRESHOLD: i32 = 1150105;
14pub const NISYNC_ATTR_OSCILLATOR_VOLTAGE: i32 = 1150106;
15pub const NISYNC_ATTR_CLK10_PHASE_ADJUST: i32 = 1150107;
16pub const NISYNC_ATTR_DDS_VCXO_VOLTAGE: i32 = 1150108;
17pub const NISYNC_ATTR_DDS_PHASE_ADJUST: i32 = 1150109;
18pub const NISYNC_ATTR_PFI0_1KOHM_ENABLE: i32 = 1150110;
19pub const NISYNC_ATTR_PFI1_1KOHM_ENABLE: i32 = 1150111;
20pub const NISYNC_ATTR_PFI2_1KOHM_ENABLE: i32 = 1150112;
21pub const NISYNC_ATTR_PFI3_1KOHM_ENABLE: i32 = 1150113;
22pub const NISYNC_ATTR_PFI4_1KOHM_ENABLE: i32 = 1150114;
23pub const NISYNC_ATTR_PFI5_1KOHM_ENABLE: i32 = 1150115;
24pub const NISYNC_ATTR_PFI0_10KOHM_ENABLE: i32 = 1150116;
25pub const NISYNC_ATTR_PFI1_10KOHM_ENABLE: i32 = 1150117;
26pub const NISYNC_ATTR_PFI2_10KOHM_ENABLE: i32 = 1150118;
27pub const NISYNC_ATTR_PFI3_10KOHM_ENABLE: i32 = 1150119;
28pub const NISYNC_ATTR_PFI4_10KOHM_ENABLE: i32 = 1150120;
29pub const NISYNC_ATTR_PFI5_10KOHM_ENABLE: i32 = 1150121;
30pub const NISYNC_ATTR_FRONT_SYNC_CLK_SRC: i32 = 1150200;
31pub const NISYNC_ATTR_REAR_SYNC_CLK_SRC: i32 = 1150201;
32pub const NISYNC_ATTR_SYNC_CLK_DIV1: i32 = 1150202;
33pub const NISYNC_ATTR_SYNC_CLK_DIV2: i32 = 1150203;
34pub const NISYNC_ATTR_SYNC_CLK_RST_PXITRIG_NUM: i32 = 1150204;
35pub const NISYNC_ATTR_SYNC_CLK_PFI0_FREQ: i32 = 1150205;
36pub const NISYNC_ATTR_SYNC_CLK_RST_DDS_CNTR_ON_PXITRIG: i32 = 1150206;
37pub const NISYNC_ATTR_SYNC_CLK_RST_PFI0_CNTR_ON_PXITRIG: i32 = 1150207;
38pub const NISYNC_ATTR_SYNC_CLK_RST_CLK10_CNTR_ON_PXITRIG: i32 = 1150208;
39pub const NISYNC_ATTR_TERMINAL_STATE_PXISTAR: i32 = 1150300;
40pub const NISYNC_ATTR_TERMINAL_STATE_PXITRIG: i32 = 1150301;
41pub const NISYNC_ATTR_TERMINAL_STATE_PFI: i32 = 1150302;
42pub const NISYNC_ATTR_TERMINAL_STATE_PXIEDSTARC: i32 = 1150303;
43pub const NISYNC_ATTR_TERMINAL_STATE_PFILVDS: i32 = 1150304;
44pub const NISYNC_ATTR_TERMINAL_STATE_PXIEDSTARCPERIPHERAL: i32 = 1150305;
45pub const NISYNC_ATTR_TERMINAL_STATE_PXIEDSTARBPERIPHERAL: i32 = 1150306;
46pub const NISYNC_ATTR_TERMINAL_STATE_PXISTARPERIPHERAL: i32 = 1150307;
47pub const NISYNC_ATTR_DDS_FREQ: i32 = 1150400;
48pub const NISYNC_ATTR_DDS_UPDATE_SOURCE: i32 = 1150401;
49pub const NISYNC_ATTR_DDS_INITIAL_DELAY: i32 = 1150402;
50pub const NISYNC_ATTR_CLKIN_PLL_FREQ: i32 = 1150500;
51pub const NISYNC_ATTR_CLKIN_USE_PLL: i32 = 1150501;
52pub const NISYNC_ATTR_CLKIN_PLL_LOCKED: i32 = 1150502;
53pub const NISYNC_ATTR_CLKOUT_GAIN_ENABLE: i32 = 1150503;
54pub const NISYNC_ATTR_PXICLK10_PRESENT: i32 = 1150504;
55pub const NISYNC_ATTR_CLKIN_ATTENUATION_DISABLE: i32 = 1150505;
56pub const NISYNC_ATTR_USER_LED_STATE: i32 = 1150600;
57pub const NISYNC_ATTR_1588_IP_ADDRESS: i32 = 1150700;
58pub const NISYNC_ATTR_1588_CLOCK_STATE: i32 = 1150712;
59pub const NISYNC_ATTR_1588_TIMESTAMP_BUF_SIZE: i32 = 1150718;
60pub const NISYNC_ATTR_1588_AVAIL_TIMESTAMPS: i32 = 1150719;
61pub const NISYNC_ATTR_1588_CLK_RESOLUTION: i32 = 1150720;
62pub const NISYNC_ATTR_1588_CLOCK_ID: i32 = 1150729;
63pub const NISYNC_ATTR_1588_CLOCK_CLASS: i32 = 1150730;
64pub const NISYNC_ATTR_1588_CLOCK_ACCURACY: i32 = 1150731;
65pub const NISYNC_ATTR_1588_PRIORITY1: i32 = 1150732;
66pub const NISYNC_ATTR_1588_PRIORITY2: i32 = 1150733;
67pub const NISYNC_ATTR_1588_GRANDMASTER_CLOCK_ID: i32 = 1150734;
68pub const NISYNC_ATTR_1588_GRANDMASTER_CLOCK_CLASS: i32 = 1150735;
69pub const NISYNC_ATTR_1588_GRANDMASTER_CLOCK_ACCURACY: i32 = 1150736;
70pub const NISYNC_ATTR_1588_GRANDMASTER_PRIORITY1: i32 = 1150737;
71pub const NISYNC_ATTR_1588_GRANDMASTER_PRIORITY2: i32 = 1150738;
72pub const NISYNC_ATTR_1588_STEPS_TO_GRANDMASTER: i32 = 1150716;
73pub const NISYNC_ATTR_1588_LOG_SYNC_INTERVAL: i32 = 1150739;
74pub const NISYNC_ATTR_1588_MEAN_PATH_DELAY: i32 = 1150740;
75pub const NISYNC_ATTR_1588_GRANDMASTER_IP_ADDRESS: i32 = 1150741;
76pub const NISYNC_ATTR_1588_BMCA_MODE: i32 = 1150742;
77pub const NISYNC_ATTR_1588_INTERFACE_NAME: i32 = 1150743;
78pub const NISYNC_ATTR_1588_OFFSET_SCALED_LOG_VARIANCE: i32 = 1150752;
79pub const NISYNC_ATTR_1588_LEAP59: i32 = 1150763;
80pub const NISYNC_ATTR_1588_LEAP61: i32 = 1150764;
81pub const NISYNC_ATTR_1588_TIME_TRACEABLE: i32 = 1150765;
82pub const NISYNC_ATTR_1588_FREQUENCY_TRACEABLE: i32 = 1150766;
83pub const NISYNC_ATTR_1588_TIME_SOURCE: i32 = 1150768;
84pub const NISYNC_ATTR_TIMEREF_PRESENT: i32 = 1150800;
85pub const NISYNC_ATTR_TIMEREF_OFFSET: i32 = 1150802;
86pub const NISYNC_ATTR_TIMEREF_OFFSET_NS: i32 = 1150808;
87pub const NISYNC_ATTR_TIMEREF_CORRECTION: i32 = 1150804;
88pub const NISYNC_ATTR_TIMEREF_UTC_OFFSET: i32 = 1150805;
89pub const NISYNC_ATTR_TIMEREF_UTC_OFFSET_VALID: i32 = 1150806;
90pub const NISYNC_ATTR_TIMEREF_LAST_SYNC_ID: i32 = 1150807;
91pub const NISYNC_ATTR_TIMEREF_SELECTED_TYPE: i32 = 1150809;
92pub const NISYNC_ATTR_TIMEREF_TYPE: i32 = 1150810;
93pub const NISYNC_ATTR_TIMEREF_SELECTED_NAME: i32 = 1150811;
94pub const NISYNC_ATTR_TIMEREF_ENABLED: i32 = 1150812;
95pub const NISYNC_ATTR_TIMEREF_IS_SELECTED: i32 = 1150813;
96pub const NISYNC_ATTR_GPS_ANTENNA_CONNECTED: i32 = 1150900;
97pub const NISYNC_ATTR_GPS_RECALCULATE_POSITION: i32 = 1150901;
98pub const NISYNC_ATTR_GPS_SATELLITES_AVAILABLE: i32 = 1150902;
99pub const NISYNC_ATTR_GPS_SELF_SURVEY: i32 = 1150903;
100pub const NISYNC_ATTR_GPS_MOBILE_MODE: i32 = 1150904;
101pub const NISYNC_ATTR_GPS_STATUS: i32 = 1150905;
102pub const NISYNC_ATTR_TIMEREF_CURRENT: i32 = 1150801;
103pub const NISYNC_ATTR_TIMEREF_CLK_ADJ_OFFSET: i32 = 1150803;
104pub const NISYNC_ATTR_GPS_UTC_OFFSET: i32 = 1150906;
105pub const NISYNC_ATTR_IRIG_TAI_OFFSET: i32 = 1151000;
106pub const NISYNC_ATTR_8021AS_PORT_STATE: i32 = 1151100;
107pub const NISYNC_ATTR_8021AS_CLOCK_ID: i32 = 1151101;
108pub const NISYNC_ATTR_8021AS_CLOCK_CLASS: i32 = 1151102;
109pub const NISYNC_ATTR_8021AS_CLOCK_ACCURACY: i32 = 1151103;
110pub const NISYNC_ATTR_8021AS_PRIORITY1: i32 = 1151104;
111pub const NISYNC_ATTR_8021AS_PRIORITY2: i32 = 1151105;
112pub const NISYNC_ATTR_8021AS_GRANDMASTER_CLOCK_ID: i32 = 1151106;
113pub const NISYNC_ATTR_8021AS_GRANDMASTER_CLOCK_CLASS: i32 = 1151107;
114pub const NISYNC_ATTR_8021AS_GRANDMASTER_CLOCK_ACCURACY: i32 = 1151108;
115pub const NISYNC_ATTR_8021AS_GRANDMASTER_PRIORITY1: i32 = 1151109;
116pub const NISYNC_ATTR_8021AS_GRANDMASTER_PRIORITY2: i32 = 1151110;
117pub const NISYNC_ATTR_8021AS_LOG_SYNC_INTERVAL: i32 = 1151111;
118pub const NISYNC_ATTR_8021AS_LOG_ANNOUNCE_INTERVAL: i32 = 1151112;
119pub const NISYNC_ATTR_8021AS_INTERFACE_NAME: i32 = 1151113;
120pub const NISYNC_ATTR_8021AS_NEIGHBOR_PROP_DELAY_THRESH: i32 = 1151114;
121pub const NISYNC_ATTR_8021AS_AS_CAPABLE: i32 = 1151115;
122pub const NISYNC_VAL_PXITRIG0: &'static [u8; 10usize] = b"PXI_Trig0\0";
123pub const NISYNC_VAL_PXITRIG1: &'static [u8; 10usize] = b"PXI_Trig1\0";
124pub const NISYNC_VAL_PXITRIG2: &'static [u8; 10usize] = b"PXI_Trig2\0";
125pub const NISYNC_VAL_PXITRIG3: &'static [u8; 10usize] = b"PXI_Trig3\0";
126pub const NISYNC_VAL_PXITRIG4: &'static [u8; 10usize] = b"PXI_Trig4\0";
127pub const NISYNC_VAL_PXITRIG5: &'static [u8; 10usize] = b"PXI_Trig5\0";
128pub const NISYNC_VAL_PXITRIG6: &'static [u8; 10usize] = b"PXI_Trig6\0";
129pub const NISYNC_VAL_PXITRIG7: &'static [u8; 10usize] = b"PXI_Trig7\0";
130pub const NISYNC_VAL_PXISTAR0: &'static [u8; 10usize] = b"PXI_Star0\0";
131pub const NISYNC_VAL_PXISTAR1: &'static [u8; 10usize] = b"PXI_Star1\0";
132pub const NISYNC_VAL_PXISTAR2: &'static [u8; 10usize] = b"PXI_Star2\0";
133pub const NISYNC_VAL_PXISTAR3: &'static [u8; 10usize] = b"PXI_Star3\0";
134pub const NISYNC_VAL_PXISTAR4: &'static [u8; 10usize] = b"PXI_Star4\0";
135pub const NISYNC_VAL_PXISTAR5: &'static [u8; 10usize] = b"PXI_Star5\0";
136pub const NISYNC_VAL_PXISTAR6: &'static [u8; 10usize] = b"PXI_Star6\0";
137pub const NISYNC_VAL_PXISTAR7: &'static [u8; 10usize] = b"PXI_Star7\0";
138pub const NISYNC_VAL_PXISTAR8: &'static [u8; 10usize] = b"PXI_Star8\0";
139pub const NISYNC_VAL_PXISTAR9: &'static [u8; 10usize] = b"PXI_Star9\0";
140pub const NISYNC_VAL_PXISTAR10: &'static [u8; 11usize] = b"PXI_Star10\0";
141pub const NISYNC_VAL_PXISTAR11: &'static [u8; 11usize] = b"PXI_Star11\0";
142pub const NISYNC_VAL_PXISTAR12: &'static [u8; 11usize] = b"PXI_Star12\0";
143pub const NISYNC_VAL_PXISTAR13: &'static [u8; 11usize] = b"PXI_Star13\0";
144pub const NISYNC_VAL_PXISTAR14: &'static [u8; 11usize] = b"PXI_Star14\0";
145pub const NISYNC_VAL_PXISTAR15: &'static [u8; 11usize] = b"PXI_Star15\0";
146pub const NISYNC_VAL_PXISTAR16: &'static [u8; 11usize] = b"PXI_Star16\0";
147pub const NISYNC_VAL_PXISTAR: &'static [u8; 9usize] = b"PXI_Star\0";
148pub const NISYNC_VAL_PXIEDSTARA0: &'static [u8; 13usize] = b"PXIe_DStarA0\0";
149pub const NISYNC_VAL_PXIEDSTARA1: &'static [u8; 13usize] = b"PXIe_DStarA1\0";
150pub const NISYNC_VAL_PXIEDSTARA2: &'static [u8; 13usize] = b"PXIe_DStarA2\0";
151pub const NISYNC_VAL_PXIEDSTARA3: &'static [u8; 13usize] = b"PXIe_DStarA3\0";
152pub const NISYNC_VAL_PXIEDSTARA4: &'static [u8; 13usize] = b"PXIe_DStarA4\0";
153pub const NISYNC_VAL_PXIEDSTARA5: &'static [u8; 13usize] = b"PXIe_DStarA5\0";
154pub const NISYNC_VAL_PXIEDSTARA6: &'static [u8; 13usize] = b"PXIe_DStarA6\0";
155pub const NISYNC_VAL_PXIEDSTARA7: &'static [u8; 13usize] = b"PXIe_DStarA7\0";
156pub const NISYNC_VAL_PXIEDSTARA8: &'static [u8; 13usize] = b"PXIe_DStarA8\0";
157pub const NISYNC_VAL_PXIEDSTARA9: &'static [u8; 13usize] = b"PXIe_DStarA9\0";
158pub const NISYNC_VAL_PXIEDSTARA10: &'static [u8; 14usize] = b"PXIe_DStarA10\0";
159pub const NISYNC_VAL_PXIEDSTARA11: &'static [u8; 14usize] = b"PXIe_DStarA11\0";
160pub const NISYNC_VAL_PXIEDSTARA12: &'static [u8; 14usize] = b"PXIe_DStarA12\0";
161pub const NISYNC_VAL_PXIEDSTARA13: &'static [u8; 14usize] = b"PXIe_DStarA13\0";
162pub const NISYNC_VAL_PXIEDSTARA14: &'static [u8; 14usize] = b"PXIe_DStarA14\0";
163pub const NISYNC_VAL_PXIEDSTARA15: &'static [u8; 14usize] = b"PXIe_DStarA15\0";
164pub const NISYNC_VAL_PXIEDSTARA16: &'static [u8; 14usize] = b"PXIe_DStarA16\0";
165pub const NISYNC_VAL_PXIEDSTARA: &'static [u8; 12usize] = b"PXIe_DStarA\0";
166pub const NISYNC_VAL_PXIEDSTARB0: &'static [u8; 13usize] = b"PXIe_DStarB0\0";
167pub const NISYNC_VAL_PXIEDSTARB1: &'static [u8; 13usize] = b"PXIe_DStarB1\0";
168pub const NISYNC_VAL_PXIEDSTARB2: &'static [u8; 13usize] = b"PXIe_DStarB2\0";
169pub const NISYNC_VAL_PXIEDSTARB3: &'static [u8; 13usize] = b"PXIe_DStarB3\0";
170pub const NISYNC_VAL_PXIEDSTARB4: &'static [u8; 13usize] = b"PXIe_DStarB4\0";
171pub const NISYNC_VAL_PXIEDSTARB5: &'static [u8; 13usize] = b"PXIe_DStarB5\0";
172pub const NISYNC_VAL_PXIEDSTARB6: &'static [u8; 13usize] = b"PXIe_DStarB6\0";
173pub const NISYNC_VAL_PXIEDSTARB7: &'static [u8; 13usize] = b"PXIe_DStarB7\0";
174pub const NISYNC_VAL_PXIEDSTARB8: &'static [u8; 13usize] = b"PXIe_DStarB8\0";
175pub const NISYNC_VAL_PXIEDSTARB9: &'static [u8; 13usize] = b"PXIe_DStarB9\0";
176pub const NISYNC_VAL_PXIEDSTARB10: &'static [u8; 14usize] = b"PXIe_DStarB10\0";
177pub const NISYNC_VAL_PXIEDSTARB11: &'static [u8; 14usize] = b"PXIe_DStarB11\0";
178pub const NISYNC_VAL_PXIEDSTARB12: &'static [u8; 14usize] = b"PXIe_DStarB12\0";
179pub const NISYNC_VAL_PXIEDSTARB13: &'static [u8; 14usize] = b"PXIe_DStarB13\0";
180pub const NISYNC_VAL_PXIEDSTARB14: &'static [u8; 14usize] = b"PXIe_DStarB14\0";
181pub const NISYNC_VAL_PXIEDSTARB15: &'static [u8; 14usize] = b"PXIe_DStarB15\0";
182pub const NISYNC_VAL_PXIEDSTARB16: &'static [u8; 14usize] = b"PXIe_DStarB16\0";
183pub const NISYNC_VAL_PXIEDSTARB: &'static [u8; 12usize] = b"PXIe_DStarB\0";
184pub const NISYNC_VAL_PXIEDSTARC0: &'static [u8; 13usize] = b"PXIe_DStarC0\0";
185pub const NISYNC_VAL_PXIEDSTARC1: &'static [u8; 13usize] = b"PXIe_DStarC1\0";
186pub const NISYNC_VAL_PXIEDSTARC2: &'static [u8; 13usize] = b"PXIe_DStarC2\0";
187pub const NISYNC_VAL_PXIEDSTARC3: &'static [u8; 13usize] = b"PXIe_DStarC3\0";
188pub const NISYNC_VAL_PXIEDSTARC4: &'static [u8; 13usize] = b"PXIe_DStarC4\0";
189pub const NISYNC_VAL_PXIEDSTARC5: &'static [u8; 13usize] = b"PXIe_DStarC5\0";
190pub const NISYNC_VAL_PXIEDSTARC6: &'static [u8; 13usize] = b"PXIe_DStarC6\0";
191pub const NISYNC_VAL_PXIEDSTARC7: &'static [u8; 13usize] = b"PXIe_DStarC7\0";
192pub const NISYNC_VAL_PXIEDSTARC8: &'static [u8; 13usize] = b"PXIe_DStarC8\0";
193pub const NISYNC_VAL_PXIEDSTARC9: &'static [u8; 13usize] = b"PXIe_DStarC9\0";
194pub const NISYNC_VAL_PXIEDSTARC10: &'static [u8; 14usize] = b"PXIe_DStarC10\0";
195pub const NISYNC_VAL_PXIEDSTARC11: &'static [u8; 14usize] = b"PXIe_DStarC11\0";
196pub const NISYNC_VAL_PXIEDSTARC12: &'static [u8; 14usize] = b"PXIe_DStarC12\0";
197pub const NISYNC_VAL_PXIEDSTARC13: &'static [u8; 14usize] = b"PXIe_DStarC13\0";
198pub const NISYNC_VAL_PXIEDSTARC14: &'static [u8; 14usize] = b"PXIe_DStarC14\0";
199pub const NISYNC_VAL_PXIEDSTARC15: &'static [u8; 14usize] = b"PXIe_DStarC15\0";
200pub const NISYNC_VAL_PXIEDSTARC16: &'static [u8; 14usize] = b"PXIe_DStarC16\0";
201pub const NISYNC_VAL_PXIEDSTARC: &'static [u8; 12usize] = b"PXIe_DStarC\0";
202pub const NISYNC_VAL_PFILVDS0: &'static [u8; 10usize] = b"PFI_LVDS0\0";
203pub const NISYNC_VAL_PFILVDS1: &'static [u8; 10usize] = b"PFI_LVDS1\0";
204pub const NISYNC_VAL_PFILVDS2: &'static [u8; 10usize] = b"PFI_LVDS2\0";
205pub const NISYNC_VAL_PFI0: &'static [u8; 5usize] = b"PFI0\0";
206pub const NISYNC_VAL_PFI1: &'static [u8; 5usize] = b"PFI1\0";
207pub const NISYNC_VAL_PFI2: &'static [u8; 5usize] = b"PFI2\0";
208pub const NISYNC_VAL_PFI3: &'static [u8; 5usize] = b"PFI3\0";
209pub const NISYNC_VAL_PFI4: &'static [u8; 5usize] = b"PFI4\0";
210pub const NISYNC_VAL_PFI5: &'static [u8; 5usize] = b"PFI5\0";
211pub const NISYNC_VAL_GND: &'static [u8; 7usize] = b"Ground\0";
212pub const NISYNC_VAL_SYNC_CLK_FULLSPEED: &'static [u8; 17usize] = b"SyncClkFullSpeed\0";
213pub const NISYNC_VAL_SYNC_CLK_DIV1: &'static [u8; 16usize] = b"SyncClkDivided1\0";
214pub const NISYNC_VAL_SYNC_CLK_DIV2: &'static [u8; 16usize] = b"SyncClkDivided2\0";
215pub const NISYNC_VAL_SYNC_CLK_ASYNC: &'static [u8; 13usize] = b"SyncClkAsync\0";
216pub const NISYNC_VAL_SWTRIG_GLOBAL: &'static [u8; 22usize] = b"GlobalSoftwareTrigger\0";
217pub const NISYNC_VAL_CLK10: &'static [u8; 10usize] = b"PXI_Clk10\0";
218pub const NISYNC_VAL_CLK10_IN: &'static [u8; 13usize] = b"PXI_Clk10_In\0";
219pub const NISYNC_VAL_CLKIN: &'static [u8; 6usize] = b"ClkIn\0";
220pub const NISYNC_VAL_CLKOUT: &'static [u8; 7usize] = b"ClkOut\0";
221pub const NISYNC_VAL_OSCILLATOR: &'static [u8; 11usize] = b"Oscillator\0";
222pub const NISYNC_VAL_DDS: &'static [u8; 4usize] = b"DDS\0";
223pub const NISYNC_VAL_CLK100: &'static [u8; 12usize] = b"PXIe_Clk100\0";
224pub const NISYNC_VAL_ALL_CONNECTED: &'static [u8; 13usize] = b"AllConnected\0";
225pub const NISYNC_VAL_DONT_INVERT: i32 = 0;
226pub const NISYNC_VAL_INVERT: i32 = 1;
227pub const NISYNC_VAL_UPDATE_EDGE_RISING: i32 = 0;
228pub const NISYNC_VAL_UPDATE_EDGE_FALLING: i32 = 1;
229pub const NISYNC_VAL_DDS_UPDATE_IMMEDIATE: &'static [u8; 20usize] = b"DDS_UpdateImmediate\0";
230pub const NISYNC_VAL_RTSI0: &'static [u8; 6usize] = b"RTSI0\0";
231pub const NISYNC_VAL_RTSI1: &'static [u8; 6usize] = b"RTSI1\0";
232pub const NISYNC_VAL_RTSI2: &'static [u8; 6usize] = b"RTSI2\0";
233pub const NISYNC_VAL_RTSI3: &'static [u8; 6usize] = b"RTSI3\0";
234pub const NISYNC_VAL_RTSI4: &'static [u8; 6usize] = b"RTSI4\0";
235pub const NISYNC_VAL_RTSI5: &'static [u8; 6usize] = b"RTSI5\0";
236pub const NISYNC_VAL_RTSI6: &'static [u8; 6usize] = b"RTSI6\0";
237pub const NISYNC_VAL_RTSI7: &'static [u8; 6usize] = b"RTSI7\0";
238pub const NISYNC_VAL_BOARD_CLK: &'static [u8; 9usize] = b"BoardClk\0";
239pub const NISYNC_VAL_INIT_TIME_SRC_SYSTEM_CLK: i32 = 0;
240pub const NISYNC_VAL_INIT_TIME_SRC_MANUAL: i32 = 1;
241pub const NISYNC_VAL_LEVEL_LOW: i32 = 0;
242pub const NISYNC_VAL_LEVEL_HIGH: i32 = 1;
243pub const NISYNC_VAL_EDGE_RISING: i32 = 0;
244pub const NISYNC_VAL_EDGE_FALLING: i32 = 1;
245pub const NISYNC_VAL_EDGE_ANY: i32 = 2;
246pub const NISYNC_VAL_1588_CLK_STATE_NOT_DEFINED: i32 = -1;
247pub const NISYNC_VAL_1588_CLK_STATE_INIT: i32 = 0;
248pub const NISYNC_VAL_1588_CLK_STATE_FAULT: i32 = 1;
249pub const NISYNC_VAL_1588_CLK_STATE_DISABLE: i32 = 2;
250pub const NISYNC_VAL_1588_CLK_STATE_LISTENING: i32 = 3;
251pub const NISYNC_VAL_1588_CLK_STATE_PREMASTER: i32 = 4;
252pub const NISYNC_VAL_1588_CLK_STATE_MASTER: i32 = 5;
253pub const NISYNC_VAL_1588_CLK_STATE_PASSIVE: i32 = 6;
254pub const NISYNC_VAL_1588_CLK_STATE_UNCALIBRATED: i32 = 7;
255pub const NISYNC_VAL_1588_CLK_STATE_SLAVE: i32 = 8;
256pub const NISYNC_VAL_1588_CLK_STATE_STOPPED: i32 = 9;
257pub const NISYNC_VAL_1588_CLK_CLASS_DEFAULT: i32 = 248;
258pub const NISYNC_VAL_SYNC_INTERVAL_125_MSEC: i32 = -3;
259pub const NISYNC_VAL_SYNC_INTERVAL_250_MSEC: i32 = -2;
260pub const NISYNC_VAL_SYNC_INTERVAL_HALF_SEC: i32 = -1;
261pub const NISYNC_VAL_SYNC_INTERVAL_ONE_SEC: i32 = 0;
262pub const NISYNC_VAL_SYNC_INTERVAL_TWO_SEC: i32 = 1;
263pub const NISYNC_VAL_1588_CLK_ACCURACY_UNKNOWN: i32 = 0;
264pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_25_NSEC: i32 = 1;
265pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_100_NSEC: i32 = 2;
266pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_250_NSEC: i32 = 3;
267pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_1_USEC: i32 = 4;
268pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_2500_NSEC: i32 = 5;
269pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_10_USEC: i32 = 6;
270pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_25_USEC: i32 = 7;
271pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_100_USEC: i32 = 8;
272pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_250_USEC: i32 = 9;
273pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_1_MSEC: i32 = 10;
274pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_2500_USEC: i32 = 11;
275pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_10_MSEC: i32 = 12;
276pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_25_MSEC: i32 = 13;
277pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_100_MSEC: i32 = 14;
278pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_250_MSEC: i32 = 15;
279pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_1_SEC: i32 = 16;
280pub const NISYNC_VAL_1588_CLK_ACCURACY_WITHIN_10_SEC: i32 = 17;
281pub const NISYNC_VAL_1588_CLK_ACCURACY_GREATER_THAN_10_SEC: i32 = 18;
282pub const NISYNC_VAL_8021AS_CLK_ACCURACY_UNKNOWN: i32 = 254;
283pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_25_NSEC: i32 = 32;
284pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_100_NSEC: i32 = 33;
285pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_250_NSEC: i32 = 34;
286pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_1_USEC: i32 = 35;
287pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_2500_NSEC: i32 = 36;
288pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_10_USEC: i32 = 37;
289pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_25_USEC: i32 = 38;
290pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_100_USEC: i32 = 39;
291pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_250_USEC: i32 = 40;
292pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_1_MSEC: i32 = 41;
293pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_2500_USEC: i32 = 42;
294pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_10_MSEC: i32 = 43;
295pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_25_MSEC: i32 = 44;
296pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_100_MSEC: i32 = 45;
297pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_250_MSEC: i32 = 46;
298pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_1_SEC: i32 = 47;
299pub const NISYNC_VAL_8021AS_CLK_ACCURACY_WITHIN_10_SEC: i32 = 48;
300pub const NISYNC_VAL_8021AS_CLK_ACCURACY_GREATER_THAN_10_SEC: i32 = 49;
301pub const NISYNC_VAL_IRIG_TYPE_IRIGB_DC: i32 = 0;
302pub const NISYNC_VAL_IRIG_TYPE_IRIGB_AM: i32 = 1;
303pub const NISYNC_VAL_GPS_UNINITIALIZED: i32 = 0;
304pub const NISYNC_VAL_GPS_ANTENNA_ERROR: i32 = 1;
305pub const NISYNC_VAL_GPS_NO_USEABLE_SATELLITE: i32 = 2;
306pub const NISYNC_VAL_GPS_ONE_USEABLE_SATELLITE: i32 = 3;
307pub const NISYNC_VAL_GPS_TWO_USEABLE_SATELLITES: i32 = 4;
308pub const NISYNC_VAL_GPS_THREE_USEABLE_SATELLITES: i32 = 5;
309pub const NISYNC_VAL_GPS_NO_GPS_TIME: i32 = 6;
310pub const NISYNC_VAL_GPS_PDOP_TOO_HIGH: i32 = 7;
311pub const NISYNC_VAL_GPS_UNUSABLE_SATELLITE: i32 = 8;
312pub const NISYNC_VAL_GPS_FIX_REJECTED: i32 = 9;
313pub const NISYNC_VAL_GPS_SELF_SURVEY_COMPLETE: i32 = 10;
314pub const NISYNC_VAL_GPS_SELF_SURVEY_NOT_COMPLETE: i32 = 11;
315pub const NISYNC_VAL_TIMEREF_GPS: i32 = 0;
316pub const NISYNC_VAL_TIMEREF_IRIG: i32 = 1;
317pub const NISYNC_VAL_TIMEREF_PPS: i32 = 2;
318pub const NISYNC_VAL_TIMEREF_1588_ORDINARY_CLOCK: i32 = 3;
319pub const NISYNC_VAL_TIMEREF_FREERUNNING: i32 = 4;
320pub const NISYNC_VAL_TIMEREF_8021AS: i32 = 5;
321pub const NISYNC_VAL_BMCA_MODE_SLAVE_ONLY: i32 = 0;
322pub const NISYNC_VAL_BMCA_MODE_MASTER_SLAVE: i32 = 1;
323pub const NISYNC_VAL_8021AS_PORT_STATE_DISABLED: i32 = 3;
324pub const NISYNC_VAL_8021AS_PORT_STATE_MASTER: i32 = 6;
325pub const NISYNC_VAL_8021AS_PORT_STATE_PASSIVE: i32 = 7;
326pub const NISYNC_VAL_8021AS_PORT_STATE_SLAVE: i32 = 9;
327pub const NISYNC_VAL_1588_TIME_SOURCE_UNKNOWN: i32 = 0;
328pub const NISYNC_VAL_1588_TIME_SOURCE_ATOMIC_CLOCK: i32 = 1;
329pub const NISYNC_VAL_1588_TIME_SOURCE_GPS: i32 = 2;
330pub const NISYNC_VAL_1588_TIME_SOURCE_TERRESTRIAL_RADIO: i32 = 3;
331pub const NISYNC_VAL_1588_TIME_SOURCE_PTP: i32 = 4;
332pub const NISYNC_VAL_1588_TIME_SOURCE_NTP: i32 = 5;
333pub const NISYNC_VAL_1588_TIME_SOURCE_HAND_SET: i32 = 6;
334pub const NISYNC_VAL_1588_TIME_SOURCE_OTHER: i32 = 7;
335pub const NISYNC_VAL_1588_TIME_SOURCE_INTERNAL_OSCILLATOR: i32 = 8;
336pub const NISYNC_VAL_1588_TIME_SOURCE_ALTERNATE_PTP: i32 = 9;
337pub const NISYNC_VAL_1588_TIME_SOURCE_RESERVED: i32 = 10;
338pub const NISYNC_VAL_EXT_CAL_ABORT: i32 = 0;
339pub const NISYNC_VAL_EXT_CAL_COMMIT: i32 = 1;
340pub const NISYNC_VAL_GPS_UNUSEABLE_SATELLITE: i32 = 8;
341pub const NISYNC_WARN_UNKNOWN_STATUS: i32 = 1073676421;
342pub const NISYNC_WARNMSG_CAL_UNCALIBRATED: &'static [u8; 40usize] =
343    b"This device is not properly calibrated.\0";
344pub const NISYNC_WARNMSG_NETWORK_CLIENT_IN_PROGRESS : & 'static [u8 ; 136usize] = b"The request has been accepted by the remote device but processing has not been completed. Wait and attempt to query the property again.\0" ;
345pub const NISYNC_WARNMSG_UNKNOWN_STATUS: &'static [u8; 66usize] =
346    b"The status code passed to the operation could not be interpreted.\0";
347pub const NISYNC_ERROR_INV_PARAMETER: i32 = -1073807240;
348pub const NISYNC_ERROR_NSUP_ATTR: i32 = -1073807331;
349pub const NISYNC_ERROR_NSUP_ATTR_STATE: i32 = -1073807330;
350pub const NISYNC_ERROR_ATTR_READONLY: i32 = -1073807329;
351pub const NISYNC_ERROR_ALLOCATION_FAILED: i32 = -1073807300;
352pub const NISYNC_ERROR_SYSTEM_ERROR: i32 = -1073807360;
353pub const NISYNC_ERROR_INV_OBJECT: i32 = -1073807346;
354pub const NISYNC_ERROR_RSRC_NFOUND: i32 = -1073807343;
355pub const NISYNC_ERROR_NIMPL_OPER: i32 = -1073807231;
356pub const NISYNC_ERROR_DEST_TERMINAL_IN_USE: i32 = -1073807294;
357pub const NISYNC_ERRMSG_INV_PARAMETER: &'static [u8; 43usize] =
358    b"A parameter for this operation is invalid.\0";
359pub const NISYNC_ERRMSG_NSUP_ATTR: &'static [u8; 42usize] =
360    b"The specified attribute is not supported.\0";
361pub const NISYNC_ERRMSG_NSUP_ATTR_STATE: &'static [u8; 48usize] =
362    b"The specified attribute state is not supported.\0";
363pub const NISYNC_ERRMSG_ATTR_READONLY: &'static [u8; 38usize] =
364    b"The specified attribute is read-only.\0";
365pub const NISYNC_ERRMSG_ALLOCATION_FAILED: &'static [u8; 70usize] =
366    b"Insufficient system resources to perform necessary memory allocation.\0";
367pub const NISYNC_ERRMSG_SYSTEM_ERROR: &'static [u8; 44usize] =
368    b"Unknown system error (miscellaneous error).\0";
369pub const NISYNC_ERRMSG_INV_OBJECT: &'static [u8; 50usize] =
370    b"The given session or object reference is invalid.\0";
371pub const NISYNC_ERRMSG_RSRC_NFOUND: &'static [u8; 90usize] =
372    b"Insufficient location information or the device or resource is not present in the system.\0";
373pub const NISYNC_ERRMSG_NIMPL_OPER: &'static [u8; 40usize] =
374    b"The given operation is not implemented.\0";
375pub const NISYNC_ERRMSG_INVALID_DESCRIPTOR: &'static [u8; 48usize] =
376    b"The specified instrument descriptor is invalid.\0";
377pub const NISYNC_ERRMSG_INVALID_MODE: &'static [u8; 40usize] =
378    b"The mode for this operation is invalid.\0";
379pub const NISYNC_ERRMSG_FEATURE_NOT_SUPPORTED: &'static [u8; 57usize] =
380    b"This operation requires a feature that is not supported.\0";
381pub const NISYNC_ERRMSG_VERSION_MISMATCH: &'static [u8; 29usize] =
382    b"There is a version mismatch.\0";
383pub const NISYNC_ERRMSG_INTERNAL_SOFTWARE: &'static [u8; 37usize] =
384    b"An internal software error occurred.\0";
385pub const NISYNC_ERRMSG_FILE_IO: &'static [u8; 51usize] =
386    b"An error occurred while reading or writing a file.\0";
387pub const NISYNC_ERRMSG_RESET_NOT_SUPPORTED: &'static [u8; 36usize] =
388    b"This device does not support Reset.\0";
389pub const NISYNC_ERRMSG_INVALID_TYPE: &'static [u8; 54usize] =
390    b"A parameter for this operation is of an invalid type.\0";
391pub const NISYNC_ERRMSG_API_SUPPORT_INCOMPATIBLE_WITH_RUNTIME : & 'static [u8 ; 129usize] = b"The NI-Sync API Support is unable to communicate with the NI-Sync Runtime. To resolve this issue, install NI-Sync 18.0 or later.\0" ;
392pub const NISYNC_ERRMSG_DRIVER_INITIALIZATION: &'static [u8; 49usize] =
393    b"An error occurred while initializing the driver.\0";
394pub const NISYNC_ERRMSG_DRIVER_TIMEOUT: &'static [u8; 52usize] =
395    b"The driver timed out while performing an operation.\0";
396pub const NISYNC_ERRMSG_READ_FAILURE: &'static [u8; 50usize] =
397    b"A failure occurred while reading from the device.\0";
398pub const NISYNC_ERRMSG_WRITE_FAILURE: &'static [u8; 48usize] =
399    b"A failure occurred while writing to the device.\0";
400pub const NISYNC_ERRMSG_DEVICE_NOT_FOUND: &'static [u8; 36usize] =
401    b"The specified device was not found.\0";
402pub const NISYNC_ERRMSG_DEVICE_NOT_READY: &'static [u8; 35usize] =
403    b"The specified device is not ready.\0";
404pub const NISYNC_ERRMSG_INTERNAL_HARDWARE: &'static [u8; 37usize] =
405    b"An internal hardware error occurred.\0";
406pub const NISYNC_ERRMSG_OVERFLOW: &'static [u8; 32usize] = b"An overflow condition occurred.\0";
407pub const NISYNC_ERRMSG_REMOTE_DEVICE: &'static [u8; 74usize] =
408    b"The specified device is a remote device.  Remote devices are not allowed.\0";
409pub const NISYNC_ERRMSG_FIRMWARE_LOAD: &'static [u8; 29usize] = b"The firmware failed to load.\0";
410pub const NISYNC_ERRMSG_DEVICE_NOT_INITIALIZED: &'static [u8; 31usize] =
411    b"The device is not initialized.\0";
412pub const NISYNC_ERRMSG_CLK10_NOT_PRESENT: &'static [u8; 26usize] = b"PXI_Clk10 is not present.\0";
413pub const NISYNC_ERRMSG_PLL_NOT_PRESENT: &'static [u8; 36usize] =
414    b"This device does not support a PLL.\0";
415pub const NISYNC_ERRMSG_DDS_NOT_PRESENT: &'static [u8; 35usize] =
416    b"The device does not support a DDS.\0";
417pub const NISYNC_ERRMSG_DDS_ALREADY_STARTED: &'static [u8; 74usize] =
418    b"The specified attribute cannot be set because the DDS is already running.\0";
419pub const NISYNC_ERRMSG_DDS_SYNC_CLK_COMBO_INVALID : & 'static [u8 ; 113usize] = b"The current DDS frequency is incompatible as a synchronization clock, either the DDS is off or running too fast.\0" ;
420pub const NISYNC_ERRMSG_DEST_TERMINAL_IN_USE: &'static [u8; 46usize] =
421    b"The specified destination terminal is in use.\0";
422pub const NISYNC_ERRMSG_SRC_TERMINAL_INVALID: &'static [u8; 61usize] =
423    b"The specified source terminal is invalid for this operation.\0";
424pub const NISYNC_ERRMSG_DEST_TERMINAL_INVALID: &'static [u8; 66usize] =
425    b"The specified destination terminal is invalid for this operation.\0";
426pub const NISYNC_ERRMSG_TERMINAL_NOT_CONNECTED: &'static [u8; 41usize] =
427    b"The specified terminal is not connected.\0";
428pub const NISYNC_ERRMSG_SYNC_CLK_INVALID: &'static [u8; 67usize] =
429    b"The specified synchronization clock is invalid for this operation.\0";
430pub const NISYNC_ERRMSG_TERMINAL_INVALID: &'static [u8; 36usize] =
431    b"Terminal for the device is invalid.\0";
432pub const NISYNC_ERRMSG_SRC_TERMINAL_PXI_CHASSIS_NOT_IDENTIFIED : & 'static [u8 ; 209usize] = b"Route failed because the PXI chassis is not identified. The existence of the source terminal depends on the chassis being identified. Use the Measurements & Automation Explorer (MAX) to identify your chassis.\0" ;
433pub const NISYNC_ERRMSG_DEST_TERMINAL_PXI_CHASSIS_NOT_IDENTIFIED : & 'static [u8 ; 214usize] = b"Route failed because the PXI chassis is not identified. The existence of the destination terminal depends on the chassis being identified. Use the Measurements & Automation Explorer (MAX) to identify your chassis.\0" ;
434pub const NISYNC_ERRMSG_SRC_TERMINAL_PXI_STARX_NOT_IN_SYS_TIMING_SLOT : & 'static [u8 ; 150usize] = b"PXI_Star<n> is available as a source terminal only for devices in a system timing slot. To use PXI_Star<n>, move your device to a system timing slot.\0" ;
435pub const NISYNC_ERRMSG_DEST_TERMINAL_PXI_STARX_NOT_IN_SYS_TIMING_SLOT : & 'static [u8 ; 155usize] = b"PXI_Star<n> is available as a destination terminal only for devices in a system timing slot. To use PXI_Star<n>, move your device to a system timing slot.\0" ;
436pub const NISYNC_ERRMSG_DEST_TERMINAL_PXI_CLK10_IN_NOT_IN_SYS_TIMING_SLOT : & 'static [u8 ; 136usize] = b"PXI_Clk10_In is available as a destination terminal only for devices in a system timing slot. Move your device to a system timing slot.\0" ;
437pub const NISYNC_ERRMSG_CAL_INCORRECT_PASSWORD: &'static [u8; 57usize] =
438    b"The supplied external calibration password is incorrect.\0";
439pub const NISYNC_ERRMSG_CAL_PASSWORD_TOO_LARGE: &'static [u8; 64usize] =
440    b"The external calibration password contains too many characters.\0";
441pub const NISYNC_ERRMSG_CAL_NOT_PERMITTED: &'static [u8; 75usize] =
442    b"The specified calibration operation is not permitted on this session type.\0";
443pub const NISYNC_ERRMSG_RSRC_UNAVAILABLE : & 'static [u8 ; 121usize] = b"A resource necessary to complete the specified operation is not available; therefore, the operation cannot be completed.\0" ;
444pub const NISYNC_ERRMSG_RSRC_RESERVED : & 'static [u8 ; 169usize] = b"A resource necessary to complete the specified operation is already reserved by a previous operation and cannot be shared; therefore, the operation cannot be completed.\0" ;
445pub const NISYNC_ERRMSG_RSRC_NOT_RESERVED : & 'static [u8 ; 148usize] = b"A resource necessary to complete the specified operation is not reserved and should have already been; therefore, the operation cannot be completed\0" ;
446pub const NISYNC_ERRMSG_HW_BUFFER_FULL : & 'static [u8 ; 132usize] = b"A hardware buffer necessary to complete the specified operation is unexpectedly full; therefore, the operation cannot be completed.\0" ;
447pub const NISYNC_ERRMSG_SW_BUFFER_FULL : & 'static [u8 ; 132usize] = b"A software buffer necessary to complete the specified operation is unexpectedly full; therefore, the operation cannot be completed.\0" ;
448pub const NISYNC_ERRMSG_SOCKET_FAILURE : & 'static [u8 ; 134usize] = b"A network socket necessary to complete the specified operation has generated a failure; therefore, the operation cannot be completed.\0" ;
449pub const NISYNC_ERRMSG_SESSION_ABORTED : & 'static [u8 ; 244usize] = b"The specified operation cannot be performed because a session has been aborted or a device has been removed from the system. Handle this situation as required by the application and then, if appropriate, attempt to perform the operation again.\0" ;
450pub const NISYNC_ERRMSG_SESSION_ABORTING : & 'static [u8 ; 249usize] = b"The specified operation cannot be performed because a session is in the process of being aborted or a device is in the process of being removed from the system. Wait until the abort operation is complete, and attempt to perform the operation again.\0" ;
451pub const NISYNC_ERRMSG_TERMINAL_NOT_SPECIFIED: &'static [u8; 85usize] =
452    b"The specified operation cannot be performed since the Active Item was not specified.\0";
453pub const NISYNC_ERRMSG_TIME_OVERFLOW: &'static [u8; 72usize] =
454    b"A 1588 time value has overflowed.  The resulting value is not accurate.\0";
455pub const NISYNC_ERRMSG_TIME_TOO_EARLY: &'static [u8; 78usize] =
456    b"The specified time value is too early to be represented as a 1588 time value.\0";
457pub const NISYNC_ERRMSG_TIME_TOO_LATE: &'static [u8; 77usize] =
458    b"The specified time value is too late to be represetned as a 1588 time value.\0";
459pub const NISYNC_ERRMSG_PTP_ALREADY_STARTED : & 'static [u8 ; 114usize] = b"The Precision Time Protocol (PTP) has already been started on this device; therefore, it cannot be started again.\0" ;
460pub const NISYNC_ERRMSG_PTP_NOT_STARTED : & 'static [u8 ; 104usize] = b"The Precision Time Protocol (PTP) has not been started on this device; therefore, it cannot be stopped.\0" ;
461pub const NISYNC_ERRMSG_INVALID_CLOCK_STATE : & 'static [u8 ; 102usize] = b"The specified attribute cannot be set when the Precision Time Protocol (PTP) is in its current state.\0" ;
462pub const NISYNC_ERRMSG_IP_ADDRESS : & 'static [u8 ; 118usize] = b"The IP address for the specified device cannot be determined; therefore, the specified operation cannot be completed.\0" ;
463pub const NISYNC_ERRMSG_FUTURE_TIME_EVENT_TOO_SOON : & 'static [u8 ; 143usize] = b"The time for the specified future time event is too soon, or may be in the past, and cannot be programmed in the device before it would occur.\0" ;
464pub const NISYNC_ERRMSG_CLOCK_PERIOD_TOO_SHORT: &'static [u8; 78usize] =
465    b"A clock with the specified period is too short to be generated by the device.\0";
466pub const NISYNC_ERRMSG_DUP_FUTURE_TIME_EVENT : & 'static [u8 ; 204usize] = b"A future time event with the same time and same terminal as the specified future time event has already been created.  Multiple future time events on the same terminal at the same time cannot be created.\0" ;
467pub const NISYNC_ERRMSG_SYNC_INTERVAL_MISMACH : & 'static [u8 ; 256usize] = b"The specified sync interval for this 1588 clock is different than the sync interval specified for other 1588 clocks participating in the PTP.  Adjust the sync interval on this 1588 clock or the other 1588 clocks participating in the PTP to the same value.\0" ;
468pub const NISYNC_ERRMSG_INVALID_INITIAL_TIME : & 'static [u8 ; 126usize] = b"The specified initial time is invalid.  Initial times must be after 0 hours 1 January 2000 and before 0 hours 1 January 2100.\0" ;
469pub const NISYNC_ERRMSG_CLK_ADJ_TOO_LARGE : & 'static [u8 ; 135usize] = b"The specified 1588 clock adjustment offset is too large.  The clock adjustment cannot be more than +1 seconds or less than -1 seconds.\0" ;
470pub const NISYNC_ERRMSG_CLOCK_PERIOD_TOO_LARGE: &'static [u8; 78usize] =
471    b"A clock with the specified period is too large to be generated by the device.\0";
472pub const NISYNC_ERRMSG_NETWORK_ADAPTER_NOT_FOUND : & 'static [u8 ; 153usize] = b"The network interface associated with the device was not found.  Ensure that the associated NIC (network interface controller) is installed and enabled.\0" ;
473pub const NISYNC_ERRMSG_NO_COMMON_TRIG_LINE_FOR_ROUTE : & 'static [u8 ; 186usize] = b"There are no shared trigger lines between the two devices which are acceptable to both devices. Consider routing the signal through the I/O connectors of the two devices, if applicable.\0" ;
474pub const NISYNC_ERRMSG_TIMESTAMP_DECIMATION_NOT_SUPPORTED: &'static [u8; 51usize] =
475    b"This device does not support timestamp decimation.\0";
476pub const NISYNC_ERRMSG_TIMESTAMP_DECIMATION_COUNT_TOO_SMALL: &'static [u8; 71usize] =
477    b"The timestamp decimation count must be greater than 0 for this device.\0";
478pub const NISYNC_ERRMSG_TIMESTAMP_DECIMATION_COUNT_TOO_LARGE: &'static [u8; 71usize] =
479    b"The specified timestamp decimation count is too great for this device.\0";
480pub const NISYNC_ERRMSG_FUTURE_TIME_EVENT_REARM_TIME_VIOLATION: &'static [u8; 89usize] =
481    b"The specified future time event violates the rearm time of the future time event engine.\0";
482pub const NISYNC_ERRMSG_TIME_SNAPPED: &'static [u8; 48usize] =
483    b"Board time was snapped back during measurement.\0";
484pub const NISYNC_ERRMSG_TR_TYPE_MISMATCH : & 'static [u8 ; 96usize] = b"The requested property is not supported by the time reference specified on the Active Terminal.\0" ;
485pub const NISYNC_ERRMSG_TR_INSTANCE_NOT_FOUND: &'static [u8; 53usize] =
486    b"The requested time reference instance was not found.\0";
487pub const NISYNC_ERRMSG_REMOTE_DEVICE_READ_FAILURE : & 'static [u8 ; 103usize] = b"The data received from the remote device could not be interpreted. Try to perform the operation again.\0" ;
488pub const NISYNC_ERRMSG_REMOTE_DEVICE_COMMUNICATION_FAILURE : & 'static [u8 ; 102usize] = b"A failure occured while communicating with the remote device. Ensure the remote device is accessible.\0" ;
489pub const NISYNC_ERRMSG_LIB_LOAD_FAILURE: &'static [u8; 78usize] =
490    b"Unable to load an internal library. If the error persists contact NI support.\0";
491pub const NISYNC_ERRMSG_INVALID_RESOURCE_NAME_FORMAT: &'static [u8; 37usize] =
492    b"The resource name format is invalid.\0";
493pub const NISYNC_ERRMSG_TR_INSTANCE_ALREADY_EXISTS: &'static [u8; 45usize] =
494    b"The specified time reference already exists.\0";
495pub const NISYNC_ERRMSG_REMOTE_DEVICE_RESOURCE_NOT_FOUND : & 'static [u8 ; 215usize] = b"Requested resource not found on a remote device. This may be because the device was not reachable or has experienced an internal error. It may also mean you need to update software or firmware on the remote device.\0" ;
496pub const NISYNC_ERRMSG_CONFLICTING_TR_INSTANCES : & 'static [u8 ; 179usize] = b"The time reference you are trying to enable conflicts with a time reference already running on the same interface. Disable the conflicting time reference and retry the operation.\0" ;
497pub const NISYNC_ERRMSG_TR_ATTR_NOT_FOUND : & 'static [u8 ; 144usize] = b"The requested attribute is not currently available. This may be because the time reference is disabled, not ready, or has encountered an error.\0" ;
498pub const NISYNC_ERRMSG_COMMUNICATIONS_FAULT : & 'static [u8 ; 157usize] = b"A failure occured while communicating with a required software service running on the device. Restart the device. If the error persists, contact NI support.\0" ;
499pub type ViUInt32 = ::std::os::raw::c_uint;
500pub type ViInt32 = ::std::os::raw::c_int;
501pub type ViUInt16 = ::std::os::raw::c_ushort;
502pub type ViInt16 = ::std::os::raw::c_short;
503pub type ViChar = ::std::os::raw::c_char;
504pub type ViPChar = *mut ViChar;
505pub type ViReal64 = f64;
506pub type ViString = ViPChar;
507pub type ViConstString = *const ViChar;
508pub type ViRsrc = ViString;
509pub type ViBoolean = ViUInt16;
510pub type ViStatus = ViInt32;
511pub type ViObject = ViUInt32;
512pub type ViSession = ViObject;
513pub type ViAttr = ViUInt32;
514extern "C" {
515    pub fn niSync_init(
516        resourceName: ViRsrc,
517        IDQuery: ViBoolean,
518        resetDevice: ViBoolean,
519        vi: *mut ViSession,
520    ) -> ViStatus;
521}
522extern "C" {
523    pub fn niSync_close(vi: ViSession) -> ViStatus;
524}
525extern "C" {
526    pub fn niSync_GetTimeReferenceNames(
527        vi: ViSession,
528        bufferSize: ViUInt32,
529        timeReferenceNames: *mut ViChar,
530    ) -> ViStatus;
531}
532extern "C" {
533    pub fn niSync_error_message(
534        vi: ViSession,
535        errorCode: ViStatus,
536        errorMessage: *mut ViChar,
537    ) -> ViStatus;
538}
539extern "C" {
540    pub fn niSync_reset(vi: ViSession) -> ViStatus;
541}
542extern "C" {
543    pub fn niSync_PersistConfig(vi: ViSession) -> ViStatus;
544}
545extern "C" {
546    pub fn niSync_self_test(
547        vi: ViSession,
548        selfTestResult: *mut ViInt16,
549        selfTestMessage: *mut ViChar,
550    ) -> ViStatus;
551}
552extern "C" {
553    pub fn niSync_revision_query(
554        vi: ViSession,
555        instrumentDriverRevision: *mut ViChar,
556        firmwareRevision: *mut ViChar,
557    ) -> ViStatus;
558}
559extern "C" {
560    pub fn niSync_ConfigureFPGA(vi: ViSession, fpgaProgramPath: ViConstString) -> ViStatus;
561}
562extern "C" {
563    pub fn niSync_ConnectTrigTerminals(
564        vi: ViSession,
565        srcTerminal: ViConstString,
566        destTerminal: ViConstString,
567        syncClock: ViConstString,
568        invert: ViInt32,
569        updateEdge: ViInt32,
570    ) -> ViStatus;
571}
572extern "C" {
573    pub fn niSync_DisconnectTrigTerminals(
574        vi: ViSession,
575        srcTerminal: ViConstString,
576        destTerminal: ViConstString,
577    ) -> ViStatus;
578}
579extern "C" {
580    pub fn niSync_GetTrigTerminalConnectionInfo(
581        vi: ViSession,
582        destTerminal: ViConstString,
583        srcTerminal: *mut ViChar,
584        syncClock: *mut ViChar,
585        invert: *mut ViInt32,
586        updateEdge: *mut ViInt32,
587    ) -> ViStatus;
588}
589extern "C" {
590    pub fn niSync_ConnectSWTrigToTerminal(
591        vi: ViSession,
592        srcTerminal: ViConstString,
593        destTerminal: ViConstString,
594        syncClock: ViConstString,
595        invert: ViInt32,
596        updateEdge: ViInt32,
597        delay: ViReal64,
598    ) -> ViStatus;
599}
600extern "C" {
601    pub fn niSync_DisconnectSWTrigFromTerminal(
602        vi: ViSession,
603        srcTerminal: ViConstString,
604        destTerminal: ViConstString,
605    ) -> ViStatus;
606}
607extern "C" {
608    pub fn niSync_GetSWTrigConnectionInfo(
609        vi: ViSession,
610        destTerminal: ViConstString,
611        srcTerminal: *mut ViChar,
612        syncClk: *mut ViChar,
613        invert: *mut ViInt32,
614        updateEdge: *mut ViInt32,
615        delay: *mut ViReal64,
616    ) -> ViStatus;
617}
618extern "C" {
619    pub fn niSync_SendSoftwareTrigger(vi: ViSession, srcTerminal: ViConstString) -> ViStatus;
620}
621extern "C" {
622    pub fn niSync_ConnectClkTerminals(
623        vi: ViSession,
624        srcTerminal: ViConstString,
625        destTerminal: ViConstString,
626    ) -> ViStatus;
627}
628extern "C" {
629    pub fn niSync_DisconnectClkTerminals(
630        vi: ViSession,
631        srcTerminal: ViConstString,
632        destTerminal: ViConstString,
633    ) -> ViStatus;
634}
635extern "C" {
636    pub fn niSync_GetClkTerminalConnectionInfo(
637        vi: ViSession,
638        destTerminal: ViConstString,
639        srcTerminal: *mut ViChar,
640    ) -> ViStatus;
641}
642extern "C" {
643    pub fn niSync_MeasureFrequency(
644        vi: ViSession,
645        srcTerminal: ViConstString,
646        duration: ViReal64,
647        actualDuration: *mut ViReal64,
648        frequency: *mut ViReal64,
649        frequencyError: *mut ViReal64,
650    ) -> ViStatus;
651}
652extern "C" {
653    pub fn niSync_MeasureFrequencyEx(
654        vi: ViSession,
655        srcTerminal: ViConstString,
656        duration: ViReal64,
657        decimationCount: ViUInt32,
658        actualDuration: *mut ViReal64,
659        frequency: *mut ViReal64,
660        frequencyError: *mut ViReal64,
661    ) -> ViStatus;
662}
663extern "C" {
664    pub fn niSync_Start1588(vi: ViSession) -> ViStatus;
665}
666extern "C" {
667    pub fn niSync_Stop1588(vi: ViSession) -> ViStatus;
668}
669extern "C" {
670    pub fn niSync_SetTime(
671        vi: ViSession,
672        timeSource: ViInt32,
673        timeSeconds: ViUInt32,
674        timeNanoseconds: ViUInt32,
675        timeFractionalNanoseconds: ViUInt16,
676    ) -> ViStatus;
677}
678extern "C" {
679    pub fn niSync_GetTime(
680        vi: ViSession,
681        timeSeconds: *mut ViUInt32,
682        timeNanoseconds: *mut ViUInt32,
683        timeFractionalNanoseconds: *mut ViUInt16,
684    ) -> ViStatus;
685}
686extern "C" {
687    pub fn niSync_ResetFrequency(vi: ViSession) -> ViStatus;
688}
689extern "C" {
690    pub fn niSync_CreateFutureTimeEvent(
691        vi: ViSession,
692        terminal: ViConstString,
693        outputLevel: ViInt32,
694        timeSeconds: ViUInt32,
695        timeNanoseconds: ViUInt32,
696        timeFractionalNanoseconds: ViUInt16,
697    ) -> ViStatus;
698}
699extern "C" {
700    pub fn niSync_ClearFutureTimeEvents(vi: ViSession, terminal: ViConstString) -> ViStatus;
701}
702extern "C" {
703    pub fn niSync_EnableTimeStampTrigger(
704        vi: ViSession,
705        terminal: ViConstString,
706        activeEdge: ViInt32,
707    ) -> ViStatus;
708}
709extern "C" {
710    pub fn niSync_EnableTimeStampTriggerWithDecimation(
711        vi: ViSession,
712        terminal: ViConstString,
713        activeEdge: ViInt32,
714        decimationCount: ViUInt32,
715    ) -> ViStatus;
716}
717extern "C" {
718    pub fn niSync_ReadTriggerTimeStamp(
719        vi: ViSession,
720        terminal: ViConstString,
721        timeout: ViReal64,
722        timeSeconds: *mut ViUInt32,
723        timeNanoseconds: *mut ViUInt32,
724        timeFractionalNanoseconds: *mut ViUInt16,
725        detectedEdge: *mut ViInt32,
726    ) -> ViStatus;
727}
728extern "C" {
729    pub fn niSync_ReadMultipleTriggerTimeStamp(
730        vi: ViSession,
731        terminal: ViConstString,
732        timestampsToRead: ViUInt32,
733        timeout: ViReal64,
734        timeSecondsBuffer: *mut ViUInt32,
735        timeNanosecondsBuffer: *mut ViUInt32,
736        timeFractionalNanosecondsBuffer: *mut ViUInt16,
737        detectedEdgeBuffer: *mut ViInt32,
738        timestampsRead: *mut ViUInt32,
739    ) -> ViStatus;
740}
741extern "C" {
742    pub fn niSync_DisableTimeStampTrigger(vi: ViSession, terminal: ViConstString) -> ViStatus;
743}
744extern "C" {
745    pub fn niSync_CreateClock(
746        vi: ViSession,
747        terminal: ViConstString,
748        highTicks: ViUInt32,
749        lowTicks: ViUInt32,
750        startTimeSeconds: ViUInt32,
751        startTimeNanoseconds: ViUInt32,
752        startTimeFractionalNanoseconds: ViUInt16,
753        stopTimeSeconds: ViUInt32,
754        stopTimeNanoseconds: ViUInt32,
755        stopTimeFractionalNanoseconds: ViUInt16,
756    ) -> ViStatus;
757}
758extern "C" {
759    pub fn niSync_ClearClock(vi: ViSession, terminal: ViConstString) -> ViStatus;
760}
761extern "C" {
762    pub fn niSync_Start8021AS(vi: ViSession) -> ViStatus;
763}
764extern "C" {
765    pub fn niSync_Stop8021AS(vi: ViSession) -> ViStatus;
766}
767extern "C" {
768    pub fn niSync_SetTimeReferenceFreeRunning(vi: ViSession) -> ViStatus;
769}
770extern "C" {
771    pub fn niSync_SetTimeReferenceGPS(vi: ViSession) -> ViStatus;
772}
773extern "C" {
774    pub fn niSync_SetTimeReferenceIRIG(
775        vi: ViSession,
776        irigType: ViInt32,
777        terminalName: ViConstString,
778    ) -> ViStatus;
779}
780extern "C" {
781    pub fn niSync_SetTimeReferencePPS(
782        vi: ViSession,
783        terminalName: ViConstString,
784        useManualTime: ViBoolean,
785        initialTimeSeconds: ViUInt32,
786        initialTimeNanoseconds: ViUInt32,
787        initialTimeFractionalNanoseconds: ViUInt16,
788    ) -> ViStatus;
789}
790extern "C" {
791    pub fn niSync_SetTimeReference1588OrdinaryClock(vi: ViSession) -> ViStatus;
792}
793extern "C" {
794    pub fn niSync_SetTimeReference8021AS(vi: ViSession) -> ViStatus;
795}
796extern "C" {
797    pub fn niSync_EnableGPSTimestamping(vi: ViSession) -> ViStatus;
798}
799extern "C" {
800    pub fn niSync_EnableIRIGTimestamping(
801        vi: ViSession,
802        irigType: ViInt32,
803        terminalName: ViConstString,
804    ) -> ViStatus;
805}
806extern "C" {
807    pub fn niSync_ReadLastGPSTimestamp(
808        vi: ViSession,
809        timestampSeconds: *mut ViUInt32,
810        timestampNanoseconds: *mut ViUInt32,
811        timestampFractionalNanoseconds: *mut ViUInt16,
812        gpsSeconds: *mut ViUInt32,
813        gpsNanoseconds: *mut ViUInt32,
814        gpsFractionalNanoseconds: *mut ViUInt16,
815    ) -> ViStatus;
816}
817extern "C" {
818    pub fn niSync_ReadLastIRIGTimestamp(
819        vi: ViSession,
820        terminal: ViConstString,
821        timestampSeconds: *mut ViUInt32,
822        timestampNanoseconds: *mut ViUInt32,
823        timestampFractionalNanoseconds: *mut ViUInt16,
824        irigbSeconds: *mut ViUInt32,
825        irigbNanoseconds: *mut ViUInt32,
826        irigbFractionalNanoseconds: *mut ViUInt16,
827    ) -> ViStatus;
828}
829extern "C" {
830    pub fn niSync_DisableGPSTimestamping(vi: ViSession) -> ViStatus;
831}
832extern "C" {
833    pub fn niSync_DisableIRIGTimestamping(vi: ViSession, terminalName: ViConstString) -> ViStatus;
834}
835extern "C" {
836    pub fn niSync_GetVelocity(
837        vi: ViSession,
838        eastVelocity: *mut ViReal64,
839        northVelocity: *mut ViReal64,
840        upVelocity: *mut ViReal64,
841    ) -> ViStatus;
842}
843extern "C" {
844    pub fn niSync_GetLocation(
845        vi: ViSession,
846        latitude: *mut ViReal64,
847        longitude: *mut ViReal64,
848        altitude: *mut ViReal64,
849    ) -> ViStatus;
850}
851extern "C" {
852    pub fn niSync_GetAttributeViInt32(
853        vi: ViSession,
854        activeItem: ViConstString,
855        attribute: ViAttr,
856        value: *mut ViInt32,
857    ) -> ViStatus;
858}
859extern "C" {
860    pub fn niSync_GetAttributeViReal64(
861        vi: ViSession,
862        activeItem: ViConstString,
863        attribute: ViAttr,
864        value: *mut ViReal64,
865    ) -> ViStatus;
866}
867extern "C" {
868    pub fn niSync_GetAttributeViBoolean(
869        vi: ViSession,
870        activeItem: ViConstString,
871        attribute: ViAttr,
872        value: *mut ViBoolean,
873    ) -> ViStatus;
874}
875extern "C" {
876    pub fn niSync_GetAttributeViString(
877        vi: ViSession,
878        activeItem: ViConstString,
879        attribute: ViAttr,
880        bufferSize: ViInt32,
881        value: *mut ViChar,
882    ) -> ViStatus;
883}
884extern "C" {
885    pub fn niSync_SetAttributeViInt32(
886        vi: ViSession,
887        activeItem: ViConstString,
888        attribute: ViAttr,
889        value: ViInt32,
890    ) -> ViStatus;
891}
892extern "C" {
893    pub fn niSync_SetAttributeViReal64(
894        vi: ViSession,
895        activeItem: ViConstString,
896        attribute: ViAttr,
897        value: ViReal64,
898    ) -> ViStatus;
899}
900extern "C" {
901    pub fn niSync_SetAttributeViBoolean(
902        vi: ViSession,
903        activeItem: ViConstString,
904        attribute: ViAttr,
905        value: ViBoolean,
906    ) -> ViStatus;
907}
908extern "C" {
909    pub fn niSync_SetAttributeViString(
910        vi: ViSession,
911        activeItem: ViConstString,
912        attribute: ViAttr,
913        value: ViConstString,
914    ) -> ViStatus;
915}
916extern "C" {
917    pub fn niSync_GetExtCalLastDateAndTime(
918        vi: ViSession,
919        year: *mut ViInt32,
920        month: *mut ViInt32,
921        day: *mut ViInt32,
922        hour: *mut ViInt32,
923        minute: *mut ViInt32,
924    ) -> ViStatus;
925}
926extern "C" {
927    pub fn niSync_GetExtCalLastTemp(vi: ViSession, temp: *mut ViReal64) -> ViStatus;
928}
929extern "C" {
930    pub fn niSync_GetExtCalRecommendedInterval(vi: ViSession, months: *mut ViInt32) -> ViStatus;
931}
932extern "C" {
933    pub fn niSync_ChangeExtCalPassword(
934        vi: ViSession,
935        oldPassword: ViConstString,
936        newPassword: ViConstString,
937    ) -> ViStatus;
938}
939extern "C" {
940    pub fn niSync_ReadCurrentTemperature(vi: ViSession, temperature: *mut ViReal64) -> ViStatus;
941}
942extern "C" {
943    pub fn niSync_CalGetOscillatorVoltage(vi: ViSession, voltage: *mut ViReal64) -> ViStatus;
944}
945extern "C" {
946    pub fn niSync_CalGetClk10PhaseVoltage(vi: ViSession, voltage: *mut ViReal64) -> ViStatus;
947}
948extern "C" {
949    pub fn niSync_CalGetDDSStartPulsePhaseVoltage(
950        vi: ViSession,
951        voltage: *mut ViReal64,
952    ) -> ViStatus;
953}
954extern "C" {
955    pub fn niSync_CalGetDDSInitialPhase(vi: ViSession, phase: *mut ViReal64) -> ViStatus;
956}
957extern "C" {
958    pub fn niSync_InitExtCal(
959        resourceName: ViRsrc,
960        password: ViConstString,
961        extCalVi: *mut ViSession,
962    ) -> ViStatus;
963}
964extern "C" {
965    pub fn niSync_CloseExtCal(extCalVi: ViSession, action: ViInt32) -> ViStatus;
966}
967extern "C" {
968    pub fn niSync_CalAdjustOscillatorVoltage(
969        extCalVi: ViSession,
970        measuredVoltage: ViReal64,
971        oldVoltage: *mut ViReal64,
972    ) -> ViStatus;
973}
974extern "C" {
975    pub fn niSync_CalAdjustClk10PhaseVoltage(
976        extCalVi: ViSession,
977        measuredVoltage: ViReal64,
978        oldVoltage: *mut ViReal64,
979    ) -> ViStatus;
980}
981extern "C" {
982    pub fn niSync_CalAdjustDDSStartPulsePhaseVoltage(
983        extCalVi: ViSession,
984        measuredVoltage: ViReal64,
985        oldVoltage: *mut ViReal64,
986    ) -> ViStatus;
987}
988extern "C" {
989    pub fn niSync_CalAdjustDDSInitialPhase(
990        extCalVi: ViSession,
991        measuredPhase: ViReal64,
992        oldPhase: *mut ViReal64,
993    ) -> ViStatus;
994}
995extern "C" {
996    pub fn niSync_StartPTP(
997        vi: ViSession,
998        initialTimeSource: ViInt32,
999        initialTimeSeconds: ViUInt32,
1000        initialTimeNanoseconds: ViUInt32,
1001        initialTimeFractionalNanoseconds: ViUInt16,
1002    ) -> ViStatus;
1003}
1004extern "C" {
1005    pub fn niSync_StopPTP(vi: ViSession) -> ViStatus;
1006}
1007extern "C" {
1008    pub fn niSync_Get1588Time(
1009        vi: ViSession,
1010        timeSeconds: *mut ViUInt32,
1011        timeNanoseconds: *mut ViUInt32,
1012        timeFractionalNanoseconds: *mut ViUInt16,
1013    ) -> ViStatus;
1014}