1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  *  comedi/drivers/ni_routing/ni_device_routes/pxie-6251.c
4  *  List of valid routes for specific NI boards.
5  *
6  *  COMEDI - Linux Control and Measurement Device Interface
7  *  Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu>
8  *
9  *  This program is free software; you can redistribute it and/or modify
10  *  it under the terms of the GNU General Public License as published by
11  *  the Free Software Foundation; either version 2 of the License, or
12  *  (at your option) any later version.
13  *
14  *  This program is distributed in the hope that it will be useful,
15  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  *  GNU General Public License for more details.
18  */
19 
20 /*
21  * The contents of this file are generated using the tools in
22  * comedi/drivers/ni_routing/tools
23  *
24  * Please use those tools to help maintain the contents of this file.
25  */
26 
27 #include "../ni_device_routes.h"
28 #include "all.h"
29 
30 struct ni_device_routes ni_pxie_6251_device_routes = {
31 	.device = "pxie-6251",
32 	.routes = (struct ni_route_set[]){
33 		{
34 			.dest = NI_PFI(0),
35 			.src = (int[]){
36 				TRIGGER_LINE(0),
37 				TRIGGER_LINE(1),
38 				TRIGGER_LINE(2),
39 				TRIGGER_LINE(3),
40 				TRIGGER_LINE(4),
41 				TRIGGER_LINE(5),
42 				TRIGGER_LINE(6),
43 				TRIGGER_LINE(7),
44 				NI_CtrSource(0),
45 				NI_CtrSource(1),
46 				NI_CtrGate(0),
47 				NI_CtrGate(1),
48 				NI_CtrInternalOutput(0),
49 				NI_CtrInternalOutput(1),
50 				NI_AI_SampleClock,
51 				NI_AI_StartTrigger,
52 				NI_AI_ReferenceTrigger,
53 				NI_AI_ConvertClock,
54 				NI_AO_SampleClock,
55 				NI_AO_StartTrigger,
56 				NI_DI_SampleClock,
57 				NI_DO_SampleClock,
58 				NI_FrequencyOutput,
59 				NI_ChangeDetectionEvent,
60 				NI_AnalogComparisonEvent,
61 				0, /* Termination */
62 			}
63 		},
64 		{
65 			.dest = NI_PFI(1),
66 			.src = (int[]){
67 				TRIGGER_LINE(0),
68 				TRIGGER_LINE(1),
69 				TRIGGER_LINE(2),
70 				TRIGGER_LINE(3),
71 				TRIGGER_LINE(4),
72 				TRIGGER_LINE(5),
73 				TRIGGER_LINE(6),
74 				TRIGGER_LINE(7),
75 				NI_CtrSource(0),
76 				NI_CtrSource(1),
77 				NI_CtrGate(0),
78 				NI_CtrGate(1),
79 				NI_CtrInternalOutput(0),
80 				NI_CtrInternalOutput(1),
81 				NI_AI_SampleClock,
82 				NI_AI_StartTrigger,
83 				NI_AI_ReferenceTrigger,
84 				NI_AI_ConvertClock,
85 				NI_AO_SampleClock,
86 				NI_AO_StartTrigger,
87 				NI_DI_SampleClock,
88 				NI_DO_SampleClock,
89 				NI_FrequencyOutput,
90 				NI_ChangeDetectionEvent,
91 				NI_AnalogComparisonEvent,
92 				0, /* Termination */
93 			}
94 		},
95 		{
96 			.dest = NI_PFI(2),
97 			.src = (int[]){
98 				TRIGGER_LINE(0),
99 				TRIGGER_LINE(1),
100 				TRIGGER_LINE(2),
101 				TRIGGER_LINE(3),
102 				TRIGGER_LINE(4),
103 				TRIGGER_LINE(5),
104 				TRIGGER_LINE(6),
105 				TRIGGER_LINE(7),
106 				NI_CtrSource(0),
107 				NI_CtrSource(1),
108 				NI_CtrGate(0),
109 				NI_CtrGate(1),
110 				NI_CtrInternalOutput(0),
111 				NI_CtrInternalOutput(1),
112 				NI_AI_SampleClock,
113 				NI_AI_StartTrigger,
114 				NI_AI_ReferenceTrigger,
115 				NI_AI_ConvertClock,
116 				NI_AO_SampleClock,
117 				NI_AO_StartTrigger,
118 				NI_DI_SampleClock,
119 				NI_DO_SampleClock,
120 				NI_FrequencyOutput,
121 				NI_ChangeDetectionEvent,
122 				NI_AnalogComparisonEvent,
123 				0, /* Termination */
124 			}
125 		},
126 		{
127 			.dest = NI_PFI(3),
128 			.src = (int[]){
129 				TRIGGER_LINE(0),
130 				TRIGGER_LINE(1),
131 				TRIGGER_LINE(2),
132 				TRIGGER_LINE(3),
133 				TRIGGER_LINE(4),
134 				TRIGGER_LINE(5),
135 				TRIGGER_LINE(6),
136 				TRIGGER_LINE(7),
137 				NI_CtrSource(0),
138 				NI_CtrSource(1),
139 				NI_CtrGate(0),
140 				NI_CtrGate(1),
141 				NI_CtrInternalOutput(0),
142 				NI_CtrInternalOutput(1),
143 				NI_AI_SampleClock,
144 				NI_AI_StartTrigger,
145 				NI_AI_ReferenceTrigger,
146 				NI_AI_ConvertClock,
147 				NI_AO_SampleClock,
148 				NI_AO_StartTrigger,
149 				NI_DI_SampleClock,
150 				NI_DO_SampleClock,
151 				NI_FrequencyOutput,
152 				NI_ChangeDetectionEvent,
153 				NI_AnalogComparisonEvent,
154 				0, /* Termination */
155 			}
156 		},
157 		{
158 			.dest = NI_PFI(4),
159 			.src = (int[]){
160 				TRIGGER_LINE(0),
161 				TRIGGER_LINE(1),
162 				TRIGGER_LINE(2),
163 				TRIGGER_LINE(3),
164 				TRIGGER_LINE(4),
165 				TRIGGER_LINE(5),
166 				TRIGGER_LINE(6),
167 				TRIGGER_LINE(7),
168 				NI_CtrSource(0),
169 				NI_CtrSource(1),
170 				NI_CtrGate(0),
171 				NI_CtrGate(1),
172 				NI_CtrInternalOutput(0),
173 				NI_CtrInternalOutput(1),
174 				NI_AI_SampleClock,
175 				NI_AI_StartTrigger,
176 				NI_AI_ReferenceTrigger,
177 				NI_AI_ConvertClock,
178 				NI_AO_SampleClock,
179 				NI_AO_StartTrigger,
180 				NI_DI_SampleClock,
181 				NI_DO_SampleClock,
182 				NI_FrequencyOutput,
183 				NI_ChangeDetectionEvent,
184 				NI_AnalogComparisonEvent,
185 				0, /* Termination */
186 			}
187 		},
188 		{
189 			.dest = NI_PFI(5),
190 			.src = (int[]){
191 				TRIGGER_LINE(0),
192 				TRIGGER_LINE(1),
193 				TRIGGER_LINE(2),
194 				TRIGGER_LINE(3),
195 				TRIGGER_LINE(4),
196 				TRIGGER_LINE(5),
197 				TRIGGER_LINE(6),
198 				TRIGGER_LINE(7),
199 				NI_CtrSource(0),
200 				NI_CtrSource(1),
201 				NI_CtrGate(0),
202 				NI_CtrGate(1),
203 				NI_CtrInternalOutput(0),
204 				NI_CtrInternalOutput(1),
205 				NI_AI_SampleClock,
206 				NI_AI_StartTrigger,
207 				NI_AI_ReferenceTrigger,
208 				NI_AI_ConvertClock,
209 				NI_AO_SampleClock,
210 				NI_AO_StartTrigger,
211 				NI_DI_SampleClock,
212 				NI_DO_SampleClock,
213 				NI_FrequencyOutput,
214 				NI_ChangeDetectionEvent,
215 				NI_AnalogComparisonEvent,
216 				0, /* Termination */
217 			}
218 		},
219 		{
220 			.dest = NI_PFI(6),
221 			.src = (int[]){
222 				TRIGGER_LINE(0),
223 				TRIGGER_LINE(1),
224 				TRIGGER_LINE(2),
225 				TRIGGER_LINE(3),
226 				TRIGGER_LINE(4),
227 				TRIGGER_LINE(5),
228 				TRIGGER_LINE(6),
229 				TRIGGER_LINE(7),
230 				NI_CtrSource(0),
231 				NI_CtrSource(1),
232 				NI_CtrGate(0),
233 				NI_CtrGate(1),
234 				NI_CtrInternalOutput(0),
235 				NI_CtrInternalOutput(1),
236 				NI_AI_SampleClock,
237 				NI_AI_StartTrigger,
238 				NI_AI_ReferenceTrigger,
239 				NI_AI_ConvertClock,
240 				NI_AO_SampleClock,
241 				NI_AO_StartTrigger,
242 				NI_DI_SampleClock,
243 				NI_DO_SampleClock,
244 				NI_FrequencyOutput,
245 				NI_ChangeDetectionEvent,
246 				NI_AnalogComparisonEvent,
247 				0, /* Termination */
248 			}
249 		},
250 		{
251 			.dest = NI_PFI(7),
252 			.src = (int[]){
253 				TRIGGER_LINE(0),
254 				TRIGGER_LINE(1),
255 				TRIGGER_LINE(2),
256 				TRIGGER_LINE(3),
257 				TRIGGER_LINE(4),
258 				TRIGGER_LINE(5),
259 				TRIGGER_LINE(6),
260 				TRIGGER_LINE(7),
261 				NI_CtrSource(0),
262 				NI_CtrSource(1),
263 				NI_CtrGate(0),
264 				NI_CtrGate(1),
265 				NI_CtrInternalOutput(0),
266 				NI_CtrInternalOutput(1),
267 				NI_AI_SampleClock,
268 				NI_AI_StartTrigger,
269 				NI_AI_ReferenceTrigger,
270 				NI_AI_ConvertClock,
271 				NI_AO_SampleClock,
272 				NI_AO_StartTrigger,
273 				NI_DI_SampleClock,
274 				NI_DO_SampleClock,
275 				NI_FrequencyOutput,
276 				NI_ChangeDetectionEvent,
277 				NI_AnalogComparisonEvent,
278 				0, /* Termination */
279 			}
280 		},
281 		{
282 			.dest = NI_PFI(8),
283 			.src = (int[]){
284 				TRIGGER_LINE(0),
285 				TRIGGER_LINE(1),
286 				TRIGGER_LINE(2),
287 				TRIGGER_LINE(3),
288 				TRIGGER_LINE(4),
289 				TRIGGER_LINE(5),
290 				TRIGGER_LINE(6),
291 				TRIGGER_LINE(7),
292 				NI_CtrSource(0),
293 				NI_CtrSource(1),
294 				NI_CtrGate(0),
295 				NI_CtrGate(1),
296 				NI_CtrInternalOutput(0),
297 				NI_CtrInternalOutput(1),
298 				NI_AI_SampleClock,
299 				NI_AI_StartTrigger,
300 				NI_AI_ReferenceTrigger,
301 				NI_AI_ConvertClock,
302 				NI_AO_SampleClock,
303 				NI_AO_StartTrigger,
304 				NI_DI_SampleClock,
305 				NI_DO_SampleClock,
306 				NI_FrequencyOutput,
307 				NI_ChangeDetectionEvent,
308 				NI_AnalogComparisonEvent,
309 				0, /* Termination */
310 			}
311 		},
312 		{
313 			.dest = NI_PFI(9),
314 			.src = (int[]){
315 				TRIGGER_LINE(0),
316 				TRIGGER_LINE(1),
317 				TRIGGER_LINE(2),
318 				TRIGGER_LINE(3),
319 				TRIGGER_LINE(4),
320 				TRIGGER_LINE(5),
321 				TRIGGER_LINE(6),
322 				TRIGGER_LINE(7),
323 				NI_CtrSource(0),
324 				NI_CtrSource(1),
325 				NI_CtrGate(0),
326 				NI_CtrGate(1),
327 				NI_CtrInternalOutput(0),
328 				NI_CtrInternalOutput(1),
329 				NI_AI_SampleClock,
330 				NI_AI_StartTrigger,
331 				NI_AI_ReferenceTrigger,
332 				NI_AI_ConvertClock,
333 				NI_AO_SampleClock,
334 				NI_AO_StartTrigger,
335 				NI_DI_SampleClock,
336 				NI_DO_SampleClock,
337 				NI_FrequencyOutput,
338 				NI_ChangeDetectionEvent,
339 				NI_AnalogComparisonEvent,
340 				0, /* Termination */
341 			}
342 		},
343 		{
344 			.dest = NI_PFI(10),
345 			.src = (int[]){
346 				TRIGGER_LINE(0),
347 				TRIGGER_LINE(1),
348 				TRIGGER_LINE(2),
349 				TRIGGER_LINE(3),
350 				TRIGGER_LINE(4),
351 				TRIGGER_LINE(5),
352 				TRIGGER_LINE(6),
353 				TRIGGER_LINE(7),
354 				NI_CtrSource(0),
355 				NI_CtrSource(1),
356 				NI_CtrGate(0),
357 				NI_CtrGate(1),
358 				NI_CtrInternalOutput(0),
359 				NI_CtrInternalOutput(1),
360 				NI_AI_SampleClock,
361 				NI_AI_StartTrigger,
362 				NI_AI_ReferenceTrigger,
363 				NI_AI_ConvertClock,
364 				NI_AO_SampleClock,
365 				NI_AO_StartTrigger,
366 				NI_DI_SampleClock,
367 				NI_DO_SampleClock,
368 				NI_FrequencyOutput,
369 				NI_ChangeDetectionEvent,
370 				NI_AnalogComparisonEvent,
371 				0, /* Termination */
372 			}
373 		},
374 		{
375 			.dest = NI_PFI(11),
376 			.src = (int[]){
377 				TRIGGER_LINE(0),
378 				TRIGGER_LINE(1),
379 				TRIGGER_LINE(2),
380 				TRIGGER_LINE(3),
381 				TRIGGER_LINE(4),
382 				TRIGGER_LINE(5),
383 				TRIGGER_LINE(6),
384 				TRIGGER_LINE(7),
385 				NI_CtrSource(0),
386 				NI_CtrSource(1),
387 				NI_CtrGate(0),
388 				NI_CtrGate(1),
389 				NI_CtrInternalOutput(0),
390 				NI_CtrInternalOutput(1),
391 				NI_AI_SampleClock,
392 				NI_AI_StartTrigger,
393 				NI_AI_ReferenceTrigger,
394 				NI_AI_ConvertClock,
395 				NI_AO_SampleClock,
396 				NI_AO_StartTrigger,
397 				NI_DI_SampleClock,
398 				NI_DO_SampleClock,
399 				NI_FrequencyOutput,
400 				NI_ChangeDetectionEvent,
401 				NI_AnalogComparisonEvent,
402 				0, /* Termination */
403 			}
404 		},
405 		{
406 			.dest = NI_PFI(12),
407 			.src = (int[]){
408 				TRIGGER_LINE(0),
409 				TRIGGER_LINE(1),
410 				TRIGGER_LINE(2),
411 				TRIGGER_LINE(3),
412 				TRIGGER_LINE(4),
413 				TRIGGER_LINE(5),
414 				TRIGGER_LINE(6),
415 				TRIGGER_LINE(7),
416 				NI_CtrSource(0),
417 				NI_CtrSource(1),
418 				NI_CtrGate(0),
419 				NI_CtrGate(1),
420 				NI_CtrInternalOutput(0),
421 				NI_CtrInternalOutput(1),
422 				NI_AI_SampleClock,
423 				NI_AI_StartTrigger,
424 				NI_AI_ReferenceTrigger,
425 				NI_AI_ConvertClock,
426 				NI_AO_SampleClock,
427 				NI_AO_StartTrigger,
428 				NI_DI_SampleClock,
429 				NI_DO_SampleClock,
430 				NI_FrequencyOutput,
431 				NI_ChangeDetectionEvent,
432 				NI_AnalogComparisonEvent,
433 				0, /* Termination */
434 			}
435 		},
436 		{
437 			.dest = NI_PFI(13),
438 			.src = (int[]){
439 				TRIGGER_LINE(0),
440 				TRIGGER_LINE(1),
441 				TRIGGER_LINE(2),
442 				TRIGGER_LINE(3),
443 				TRIGGER_LINE(4),
444 				TRIGGER_LINE(5),
445 				TRIGGER_LINE(6),
446 				TRIGGER_LINE(7),
447 				NI_CtrSource(0),
448 				NI_CtrSource(1),
449 				NI_CtrGate(0),
450 				NI_CtrGate(1),
451 				NI_CtrInternalOutput(0),
452 				NI_CtrInternalOutput(1),
453 				NI_AI_SampleClock,
454 				NI_AI_StartTrigger,
455 				NI_AI_ReferenceTrigger,
456 				NI_AI_ConvertClock,
457 				NI_AO_SampleClock,
458 				NI_AO_StartTrigger,
459 				NI_DI_SampleClock,
460 				NI_DO_SampleClock,
461 				NI_FrequencyOutput,
462 				NI_ChangeDetectionEvent,
463 				NI_AnalogComparisonEvent,
464 				0, /* Termination */
465 			}
466 		},
467 		{
468 			.dest = NI_PFI(14),
469 			.src = (int[]){
470 				TRIGGER_LINE(0),
471 				TRIGGER_LINE(1),
472 				TRIGGER_LINE(2),
473 				TRIGGER_LINE(3),
474 				TRIGGER_LINE(4),
475 				TRIGGER_LINE(5),
476 				TRIGGER_LINE(6),
477 				TRIGGER_LINE(7),
478 				NI_CtrSource(0),
479 				NI_CtrSource(1),
480 				NI_CtrGate(0),
481 				NI_CtrGate(1),
482 				NI_CtrInternalOutput(0),
483 				NI_CtrInternalOutput(1),
484 				NI_AI_SampleClock,
485 				NI_AI_StartTrigger,
486 				NI_AI_ReferenceTrigger,
487 				NI_AI_ConvertClock,
488 				NI_AO_SampleClock,
489 				NI_AO_StartTrigger,
490 				NI_DI_SampleClock,
491 				NI_DO_SampleClock,
492 				NI_FrequencyOutput,
493 				NI_ChangeDetectionEvent,
494 				NI_AnalogComparisonEvent,
495 				0, /* Termination */
496 			}
497 		},
498 		{
499 			.dest = NI_PFI(15),
500 			.src = (int[]){
501 				TRIGGER_LINE(0),
502 				TRIGGER_LINE(1),
503 				TRIGGER_LINE(2),
504 				TRIGGER_LINE(3),
505 				TRIGGER_LINE(4),
506 				TRIGGER_LINE(5),
507 				TRIGGER_LINE(6),
508 				TRIGGER_LINE(7),
509 				NI_CtrSource(0),
510 				NI_CtrSource(1),
511 				NI_CtrGate(0),
512 				NI_CtrGate(1),
513 				NI_CtrInternalOutput(0),
514 				NI_CtrInternalOutput(1),
515 				NI_AI_SampleClock,
516 				NI_AI_StartTrigger,
517 				NI_AI_ReferenceTrigger,
518 				NI_AI_ConvertClock,
519 				NI_AO_SampleClock,
520 				NI_AO_StartTrigger,
521 				NI_DI_SampleClock,
522 				NI_DO_SampleClock,
523 				NI_FrequencyOutput,
524 				NI_ChangeDetectionEvent,
525 				NI_AnalogComparisonEvent,
526 				0, /* Termination */
527 			}
528 		},
529 		{
530 			.dest = TRIGGER_LINE(0),
531 			.src = (int[]){
532 				NI_PFI(0),
533 				NI_PFI(1),
534 				NI_PFI(2),
535 				NI_PFI(3),
536 				NI_PFI(4),
537 				NI_PFI(5),
538 				NI_CtrSource(0),
539 				NI_CtrSource(1),
540 				NI_CtrGate(0),
541 				NI_CtrGate(1),
542 				NI_CtrInternalOutput(0),
543 				NI_CtrInternalOutput(1),
544 				NI_AI_SampleClock,
545 				NI_AI_StartTrigger,
546 				NI_AI_ReferenceTrigger,
547 				NI_AI_ConvertClock,
548 				NI_AI_PauseTrigger,
549 				NI_AO_SampleClock,
550 				NI_AO_StartTrigger,
551 				NI_AO_PauseTrigger,
552 				NI_10MHzRefClock,
553 				NI_FrequencyOutput,
554 				NI_ChangeDetectionEvent,
555 				NI_AnalogComparisonEvent,
556 				0, /* Termination */
557 			}
558 		},
559 		{
560 			.dest = TRIGGER_LINE(1),
561 			.src = (int[]){
562 				NI_PFI(0),
563 				NI_PFI(1),
564 				NI_PFI(2),
565 				NI_PFI(3),
566 				NI_PFI(4),
567 				NI_PFI(5),
568 				NI_CtrSource(0),
569 				NI_CtrSource(1),
570 				NI_CtrGate(0),
571 				NI_CtrGate(1),
572 				NI_CtrInternalOutput(0),
573 				NI_CtrInternalOutput(1),
574 				NI_AI_SampleClock,
575 				NI_AI_StartTrigger,
576 				NI_AI_ReferenceTrigger,
577 				NI_AI_ConvertClock,
578 				NI_AI_PauseTrigger,
579 				NI_AO_SampleClock,
580 				NI_AO_StartTrigger,
581 				NI_AO_PauseTrigger,
582 				NI_10MHzRefClock,
583 				NI_FrequencyOutput,
584 				NI_ChangeDetectionEvent,
585 				NI_AnalogComparisonEvent,
586 				0, /* Termination */
587 			}
588 		},
589 		{
590 			.dest = TRIGGER_LINE(2),
591 			.src = (int[]){
592 				NI_PFI(0),
593 				NI_PFI(1),
594 				NI_PFI(2),
595 				NI_PFI(3),
596 				NI_PFI(4),
597 				NI_PFI(5),
598 				NI_CtrSource(0),
599 				NI_CtrSource(1),
600 				NI_CtrGate(0),
601 				NI_CtrGate(1),
602 				NI_CtrInternalOutput(0),
603 				NI_CtrInternalOutput(1),
604 				NI_AI_SampleClock,
605 				NI_AI_StartTrigger,
606 				NI_AI_ReferenceTrigger,
607 				NI_AI_ConvertClock,
608 				NI_AI_PauseTrigger,
609 				NI_AO_SampleClock,
610 				NI_AO_StartTrigger,
611 				NI_AO_PauseTrigger,
612 				NI_10MHzRefClock,
613 				NI_FrequencyOutput,
614 				NI_ChangeDetectionEvent,
615 				NI_AnalogComparisonEvent,
616 				0, /* Termination */
617 			}
618 		},
619 		{
620 			.dest = TRIGGER_LINE(3),
621 			.src = (int[]){
622 				NI_PFI(0),
623 				NI_PFI(1),
624 				NI_PFI(2),
625 				NI_PFI(3),
626 				NI_PFI(4),
627 				NI_PFI(5),
628 				NI_CtrSource(0),
629 				NI_CtrSource(1),
630 				NI_CtrGate(0),
631 				NI_CtrGate(1),
632 				NI_CtrInternalOutput(0),
633 				NI_CtrInternalOutput(1),
634 				NI_AI_SampleClock,
635 				NI_AI_StartTrigger,
636 				NI_AI_ReferenceTrigger,
637 				NI_AI_ConvertClock,
638 				NI_AI_PauseTrigger,
639 				NI_AO_SampleClock,
640 				NI_AO_StartTrigger,
641 				NI_AO_PauseTrigger,
642 				NI_10MHzRefClock,
643 				NI_FrequencyOutput,
644 				NI_ChangeDetectionEvent,
645 				NI_AnalogComparisonEvent,
646 				0, /* Termination */
647 			}
648 		},
649 		{
650 			.dest = TRIGGER_LINE(4),
651 			.src = (int[]){
652 				NI_PFI(0),
653 				NI_PFI(1),
654 				NI_PFI(2),
655 				NI_PFI(3),
656 				NI_PFI(4),
657 				NI_PFI(5),
658 				NI_CtrSource(0),
659 				NI_CtrSource(1),
660 				NI_CtrGate(0),
661 				NI_CtrGate(1),
662 				NI_CtrInternalOutput(0),
663 				NI_CtrInternalOutput(1),
664 				NI_AI_SampleClock,
665 				NI_AI_StartTrigger,
666 				NI_AI_ReferenceTrigger,
667 				NI_AI_ConvertClock,
668 				NI_AI_PauseTrigger,
669 				NI_AO_SampleClock,
670 				NI_AO_StartTrigger,
671 				NI_AO_PauseTrigger,
672 				NI_10MHzRefClock,
673 				NI_FrequencyOutput,
674 				NI_ChangeDetectionEvent,
675 				NI_AnalogComparisonEvent,
676 				0, /* Termination */
677 			}
678 		},
679 		{
680 			.dest = TRIGGER_LINE(5),
681 			.src = (int[]){
682 				NI_PFI(0),
683 				NI_PFI(1),
684 				NI_PFI(2),
685 				NI_PFI(3),
686 				NI_PFI(4),
687 				NI_PFI(5),
688 				NI_CtrSource(0),
689 				NI_CtrSource(1),
690 				NI_CtrGate(0),
691 				NI_CtrGate(1),
692 				NI_CtrInternalOutput(0),
693 				NI_CtrInternalOutput(1),
694 				NI_AI_SampleClock,
695 				NI_AI_StartTrigger,
696 				NI_AI_ReferenceTrigger,
697 				NI_AI_ConvertClock,
698 				NI_AI_PauseTrigger,
699 				NI_AO_SampleClock,
700 				NI_AO_StartTrigger,
701 				NI_AO_PauseTrigger,
702 				NI_10MHzRefClock,
703 				NI_FrequencyOutput,
704 				NI_ChangeDetectionEvent,
705 				NI_AnalogComparisonEvent,
706 				0, /* Termination */
707 			}
708 		},
709 		{
710 			.dest = TRIGGER_LINE(6),
711 			.src = (int[]){
712 				NI_PFI(0),
713 				NI_PFI(1),
714 				NI_PFI(2),
715 				NI_PFI(3),
716 				NI_PFI(4),
717 				NI_PFI(5),
718 				NI_CtrSource(0),
719 				NI_CtrSource(1),
720 				NI_CtrGate(0),
721 				NI_CtrGate(1),
722 				NI_CtrInternalOutput(0),
723 				NI_CtrInternalOutput(1),
724 				NI_AI_SampleClock,
725 				NI_AI_StartTrigger,
726 				NI_AI_ReferenceTrigger,
727 				NI_AI_ConvertClock,
728 				NI_AI_PauseTrigger,
729 				NI_AO_SampleClock,
730 				NI_AO_StartTrigger,
731 				NI_AO_PauseTrigger,
732 				NI_10MHzRefClock,
733 				NI_FrequencyOutput,
734 				NI_ChangeDetectionEvent,
735 				NI_AnalogComparisonEvent,
736 				0, /* Termination */
737 			}
738 		},
739 		{
740 			.dest = TRIGGER_LINE(7),
741 			.src = (int[]){
742 				NI_PFI(0),
743 				NI_PFI(1),
744 				NI_PFI(2),
745 				NI_PFI(3),
746 				NI_PFI(4),
747 				NI_PFI(5),
748 				NI_CtrSource(0),
749 				NI_CtrSource(1),
750 				NI_CtrGate(0),
751 				NI_CtrGate(1),
752 				NI_CtrInternalOutput(0),
753 				NI_CtrInternalOutput(1),
754 				NI_AI_SampleClock,
755 				NI_AI_StartTrigger,
756 				NI_AI_ReferenceTrigger,
757 				NI_AI_ConvertClock,
758 				NI_AI_PauseTrigger,
759 				NI_AO_SampleClock,
760 				NI_AO_StartTrigger,
761 				NI_AO_PauseTrigger,
762 				NI_10MHzRefClock,
763 				NI_FrequencyOutput,
764 				NI_ChangeDetectionEvent,
765 				NI_AnalogComparisonEvent,
766 				0, /* Termination */
767 			}
768 		},
769 		{
770 			.dest = NI_CtrSource(0),
771 			.src = (int[]){
772 				NI_PFI(0),
773 				NI_PFI(1),
774 				NI_PFI(2),
775 				NI_PFI(3),
776 				NI_PFI(4),
777 				NI_PFI(5),
778 				NI_PFI(6),
779 				NI_PFI(7),
780 				NI_PFI(8),
781 				NI_PFI(9),
782 				NI_PFI(10),
783 				NI_PFI(11),
784 				NI_PFI(12),
785 				NI_PFI(13),
786 				NI_PFI(14),
787 				NI_PFI(15),
788 				TRIGGER_LINE(0),
789 				TRIGGER_LINE(1),
790 				TRIGGER_LINE(2),
791 				TRIGGER_LINE(3),
792 				TRIGGER_LINE(4),
793 				TRIGGER_LINE(5),
794 				TRIGGER_LINE(6),
795 				TRIGGER_LINE(7),
796 				NI_CtrGate(1),
797 				PXI_Clk10,
798 				NI_20MHzTimebase,
799 				NI_80MHzTimebase,
800 				NI_100kHzTimebase,
801 				NI_AnalogComparisonEvent,
802 				0, /* Termination */
803 			}
804 		},
805 		{
806 			.dest = NI_CtrSource(1),
807 			.src = (int[]){
808 				NI_PFI(0),
809 				NI_PFI(1),
810 				NI_PFI(2),
811 				NI_PFI(3),
812 				NI_PFI(4),
813 				NI_PFI(5),
814 				NI_PFI(6),
815 				NI_PFI(7),
816 				NI_PFI(8),
817 				NI_PFI(9),
818 				NI_PFI(10),
819 				NI_PFI(11),
820 				NI_PFI(12),
821 				NI_PFI(13),
822 				NI_PFI(14),
823 				NI_PFI(15),
824 				TRIGGER_LINE(0),
825 				TRIGGER_LINE(1),
826 				TRIGGER_LINE(2),
827 				TRIGGER_LINE(3),
828 				TRIGGER_LINE(4),
829 				TRIGGER_LINE(5),
830 				TRIGGER_LINE(6),
831 				TRIGGER_LINE(7),
832 				NI_CtrGate(0),
833 				PXI_Clk10,
834 				NI_20MHzTimebase,
835 				NI_80MHzTimebase,
836 				NI_100kHzTimebase,
837 				NI_AnalogComparisonEvent,
838 				0, /* Termination */
839 			}
840 		},
841 		{
842 			.dest = NI_CtrGate(0),
843 			.src = (int[]){
844 				NI_PFI(0),
845 				NI_PFI(1),
846 				NI_PFI(2),
847 				NI_PFI(3),
848 				NI_PFI(4),
849 				NI_PFI(5),
850 				NI_PFI(6),
851 				NI_PFI(7),
852 				NI_PFI(8),
853 				NI_PFI(9),
854 				NI_PFI(10),
855 				NI_PFI(11),
856 				NI_PFI(12),
857 				NI_PFI(13),
858 				NI_PFI(14),
859 				NI_PFI(15),
860 				TRIGGER_LINE(0),
861 				TRIGGER_LINE(1),
862 				TRIGGER_LINE(2),
863 				TRIGGER_LINE(3),
864 				TRIGGER_LINE(4),
865 				TRIGGER_LINE(5),
866 				TRIGGER_LINE(6),
867 				TRIGGER_LINE(7),
868 				NI_CtrSource(1),
869 				NI_CtrInternalOutput(1),
870 				NI_AI_StartTrigger,
871 				NI_AI_ReferenceTrigger,
872 				NI_AnalogComparisonEvent,
873 				0, /* Termination */
874 			}
875 		},
876 		{
877 			.dest = NI_CtrGate(1),
878 			.src = (int[]){
879 				NI_PFI(0),
880 				NI_PFI(1),
881 				NI_PFI(2),
882 				NI_PFI(3),
883 				NI_PFI(4),
884 				NI_PFI(5),
885 				NI_PFI(6),
886 				NI_PFI(7),
887 				NI_PFI(8),
888 				NI_PFI(9),
889 				NI_PFI(10),
890 				NI_PFI(11),
891 				NI_PFI(12),
892 				NI_PFI(13),
893 				NI_PFI(14),
894 				NI_PFI(15),
895 				TRIGGER_LINE(0),
896 				TRIGGER_LINE(1),
897 				TRIGGER_LINE(2),
898 				TRIGGER_LINE(3),
899 				TRIGGER_LINE(4),
900 				TRIGGER_LINE(5),
901 				TRIGGER_LINE(6),
902 				TRIGGER_LINE(7),
903 				NI_CtrSource(0),
904 				NI_CtrInternalOutput(0),
905 				NI_AI_StartTrigger,
906 				NI_AI_ReferenceTrigger,
907 				NI_AnalogComparisonEvent,
908 				0, /* Termination */
909 			}
910 		},
911 		{
912 			.dest = NI_CtrAux(0),
913 			.src = (int[]){
914 				NI_PFI(0),
915 				NI_PFI(1),
916 				NI_PFI(2),
917 				NI_PFI(3),
918 				NI_PFI(4),
919 				NI_PFI(5),
920 				NI_PFI(6),
921 				NI_PFI(7),
922 				NI_PFI(8),
923 				NI_PFI(9),
924 				NI_PFI(10),
925 				NI_PFI(11),
926 				NI_PFI(12),
927 				NI_PFI(13),
928 				NI_PFI(14),
929 				NI_PFI(15),
930 				TRIGGER_LINE(0),
931 				TRIGGER_LINE(1),
932 				TRIGGER_LINE(2),
933 				TRIGGER_LINE(3),
934 				TRIGGER_LINE(4),
935 				TRIGGER_LINE(5),
936 				TRIGGER_LINE(6),
937 				TRIGGER_LINE(7),
938 				NI_CtrSource(1),
939 				NI_CtrGate(0),
940 				NI_CtrGate(1),
941 				NI_CtrInternalOutput(1),
942 				NI_AI_StartTrigger,
943 				NI_AI_ReferenceTrigger,
944 				NI_AnalogComparisonEvent,
945 				0, /* Termination */
946 			}
947 		},
948 		{
949 			.dest = NI_CtrAux(1),
950 			.src = (int[]){
951 				NI_PFI(0),
952 				NI_PFI(1),
953 				NI_PFI(2),
954 				NI_PFI(3),
955 				NI_PFI(4),
956 				NI_PFI(5),
957 				NI_PFI(6),
958 				NI_PFI(7),
959 				NI_PFI(8),
960 				NI_PFI(9),
961 				NI_PFI(10),
962 				NI_PFI(11),
963 				NI_PFI(12),
964 				NI_PFI(13),
965 				NI_PFI(14),
966 				NI_PFI(15),
967 				TRIGGER_LINE(0),
968 				TRIGGER_LINE(1),
969 				TRIGGER_LINE(2),
970 				TRIGGER_LINE(3),
971 				TRIGGER_LINE(4),
972 				TRIGGER_LINE(5),
973 				TRIGGER_LINE(6),
974 				TRIGGER_LINE(7),
975 				NI_CtrSource(0),
976 				NI_CtrGate(0),
977 				NI_CtrGate(1),
978 				NI_CtrInternalOutput(0),
979 				NI_AI_StartTrigger,
980 				NI_AI_ReferenceTrigger,
981 				NI_AnalogComparisonEvent,
982 				0, /* Termination */
983 			}
984 		},
985 		{
986 			.dest = NI_CtrA(0),
987 			.src = (int[]){
988 				NI_PFI(0),
989 				NI_PFI(1),
990 				NI_PFI(2),
991 				NI_PFI(3),
992 				NI_PFI(4),
993 				NI_PFI(5),
994 				NI_PFI(6),
995 				NI_PFI(7),
996 				NI_PFI(8),
997 				NI_PFI(9),
998 				NI_PFI(10),
999 				NI_PFI(11),
1000 				NI_PFI(12),
1001 				NI_PFI(13),
1002 				NI_PFI(14),
1003 				NI_PFI(15),
1004 				TRIGGER_LINE(0),
1005 				TRIGGER_LINE(1),
1006 				TRIGGER_LINE(2),
1007 				TRIGGER_LINE(3),
1008 				TRIGGER_LINE(4),
1009 				TRIGGER_LINE(5),
1010 				TRIGGER_LINE(6),
1011 				TRIGGER_LINE(7),
1012 				NI_AnalogComparisonEvent,
1013 				0, /* Termination */
1014 			}
1015 		},
1016 		{
1017 			.dest = NI_CtrA(1),
1018 			.src = (int[]){
1019 				NI_PFI(0),
1020 				NI_PFI(1),
1021 				NI_PFI(2),
1022 				NI_PFI(3),
1023 				NI_PFI(4),
1024 				NI_PFI(5),
1025 				NI_PFI(6),
1026 				NI_PFI(7),
1027 				NI_PFI(8),
1028 				NI_PFI(9),
1029 				NI_PFI(10),
1030 				NI_PFI(11),
1031 				NI_PFI(12),
1032 				NI_PFI(13),
1033 				NI_PFI(14),
1034 				NI_PFI(15),
1035 				TRIGGER_LINE(0),
1036 				TRIGGER_LINE(1),
1037 				TRIGGER_LINE(2),
1038 				TRIGGER_LINE(3),
1039 				TRIGGER_LINE(4),
1040 				TRIGGER_LINE(5),
1041 				TRIGGER_LINE(6),
1042 				TRIGGER_LINE(7),
1043 				NI_AnalogComparisonEvent,
1044 				0, /* Termination */
1045 			}
1046 		},
1047 		{
1048 			.dest = NI_CtrB(0),
1049 			.src = (int[]){
1050 				NI_PFI(0),
1051 				NI_PFI(1),
1052 				NI_PFI(2),
1053 				NI_PFI(3),
1054 				NI_PFI(4),
1055 				NI_PFI(5),
1056 				NI_PFI(6),
1057 				NI_PFI(7),
1058 				NI_PFI(8),
1059 				NI_PFI(9),
1060 				NI_PFI(10),
1061 				NI_PFI(11),
1062 				NI_PFI(12),
1063 				NI_PFI(13),
1064 				NI_PFI(14),
1065 				NI_PFI(15),
1066 				TRIGGER_LINE(0),
1067 				TRIGGER_LINE(1),
1068 				TRIGGER_LINE(2),
1069 				TRIGGER_LINE(3),
1070 				TRIGGER_LINE(4),
1071 				TRIGGER_LINE(5),
1072 				TRIGGER_LINE(6),
1073 				TRIGGER_LINE(7),
1074 				NI_AnalogComparisonEvent,
1075 				0, /* Termination */
1076 			}
1077 		},
1078 		{
1079 			.dest = NI_CtrB(1),
1080 			.src = (int[]){
1081 				NI_PFI(0),
1082 				NI_PFI(1),
1083 				NI_PFI(2),
1084 				NI_PFI(3),
1085 				NI_PFI(4),
1086 				NI_PFI(5),
1087 				NI_PFI(6),
1088 				NI_PFI(7),
1089 				NI_PFI(8),
1090 				NI_PFI(9),
1091 				NI_PFI(10),
1092 				NI_PFI(11),
1093 				NI_PFI(12),
1094 				NI_PFI(13),
1095 				NI_PFI(14),
1096 				NI_PFI(15),
1097 				TRIGGER_LINE(0),
1098 				TRIGGER_LINE(1),
1099 				TRIGGER_LINE(2),
1100 				TRIGGER_LINE(3),
1101 				TRIGGER_LINE(4),
1102 				TRIGGER_LINE(5),
1103 				TRIGGER_LINE(6),
1104 				TRIGGER_LINE(7),
1105 				NI_AnalogComparisonEvent,
1106 				0, /* Termination */
1107 			}
1108 		},
1109 		{
1110 			.dest = NI_CtrZ(0),
1111 			.src = (int[]){
1112 				NI_PFI(0),
1113 				NI_PFI(1),
1114 				NI_PFI(2),
1115 				NI_PFI(3),
1116 				NI_PFI(4),
1117 				NI_PFI(5),
1118 				NI_PFI(6),
1119 				NI_PFI(7),
1120 				NI_PFI(8),
1121 				NI_PFI(9),
1122 				NI_PFI(10),
1123 				NI_PFI(11),
1124 				NI_PFI(12),
1125 				NI_PFI(13),
1126 				NI_PFI(14),
1127 				NI_PFI(15),
1128 				TRIGGER_LINE(0),
1129 				TRIGGER_LINE(1),
1130 				TRIGGER_LINE(2),
1131 				TRIGGER_LINE(3),
1132 				TRIGGER_LINE(4),
1133 				TRIGGER_LINE(5),
1134 				TRIGGER_LINE(6),
1135 				TRIGGER_LINE(7),
1136 				NI_AnalogComparisonEvent,
1137 				0, /* Termination */
1138 			}
1139 		},
1140 		{
1141 			.dest = NI_CtrZ(1),
1142 			.src = (int[]){
1143 				NI_PFI(0),
1144 				NI_PFI(1),
1145 				NI_PFI(2),
1146 				NI_PFI(3),
1147 				NI_PFI(4),
1148 				NI_PFI(5),
1149 				NI_PFI(6),
1150 				NI_PFI(7),
1151 				NI_PFI(8),
1152 				NI_PFI(9),
1153 				NI_PFI(10),
1154 				NI_PFI(11),
1155 				NI_PFI(12),
1156 				NI_PFI(13),
1157 				NI_PFI(14),
1158 				NI_PFI(15),
1159 				TRIGGER_LINE(0),
1160 				TRIGGER_LINE(1),
1161 				TRIGGER_LINE(2),
1162 				TRIGGER_LINE(3),
1163 				TRIGGER_LINE(4),
1164 				TRIGGER_LINE(5),
1165 				TRIGGER_LINE(6),
1166 				TRIGGER_LINE(7),
1167 				NI_AnalogComparisonEvent,
1168 				0, /* Termination */
1169 			}
1170 		},
1171 		{
1172 			.dest = NI_CtrArmStartTrigger(0),
1173 			.src = (int[]){
1174 				NI_PFI(0),
1175 				NI_PFI(1),
1176 				NI_PFI(2),
1177 				NI_PFI(3),
1178 				NI_PFI(4),
1179 				NI_PFI(5),
1180 				NI_PFI(6),
1181 				NI_PFI(7),
1182 				NI_PFI(8),
1183 				NI_PFI(9),
1184 				NI_PFI(10),
1185 				NI_PFI(11),
1186 				NI_PFI(12),
1187 				NI_PFI(13),
1188 				NI_PFI(14),
1189 				NI_PFI(15),
1190 				TRIGGER_LINE(0),
1191 				TRIGGER_LINE(1),
1192 				TRIGGER_LINE(2),
1193 				TRIGGER_LINE(3),
1194 				TRIGGER_LINE(4),
1195 				TRIGGER_LINE(5),
1196 				TRIGGER_LINE(6),
1197 				TRIGGER_LINE(7),
1198 				NI_CtrInternalOutput(1),
1199 				NI_AI_StartTrigger,
1200 				NI_AI_ReferenceTrigger,
1201 				NI_AnalogComparisonEvent,
1202 				0, /* Termination */
1203 			}
1204 		},
1205 		{
1206 			.dest = NI_CtrArmStartTrigger(1),
1207 			.src = (int[]){
1208 				NI_PFI(0),
1209 				NI_PFI(1),
1210 				NI_PFI(2),
1211 				NI_PFI(3),
1212 				NI_PFI(4),
1213 				NI_PFI(5),
1214 				NI_PFI(6),
1215 				NI_PFI(7),
1216 				NI_PFI(8),
1217 				NI_PFI(9),
1218 				NI_PFI(10),
1219 				NI_PFI(11),
1220 				NI_PFI(12),
1221 				NI_PFI(13),
1222 				NI_PFI(14),
1223 				NI_PFI(15),
1224 				TRIGGER_LINE(0),
1225 				TRIGGER_LINE(1),
1226 				TRIGGER_LINE(2),
1227 				TRIGGER_LINE(3),
1228 				TRIGGER_LINE(4),
1229 				TRIGGER_LINE(5),
1230 				TRIGGER_LINE(6),
1231 				TRIGGER_LINE(7),
1232 				NI_CtrInternalOutput(0),
1233 				NI_AI_StartTrigger,
1234 				NI_AI_ReferenceTrigger,
1235 				NI_AnalogComparisonEvent,
1236 				0, /* Termination */
1237 			}
1238 		},
1239 		{
1240 			.dest = NI_AI_SampleClock,
1241 			.src = (int[]){
1242 				NI_PFI(0),
1243 				NI_PFI(1),
1244 				NI_PFI(2),
1245 				NI_PFI(3),
1246 				NI_PFI(4),
1247 				NI_PFI(5),
1248 				NI_PFI(6),
1249 				NI_PFI(7),
1250 				NI_PFI(8),
1251 				NI_PFI(9),
1252 				NI_PFI(10),
1253 				NI_PFI(11),
1254 				NI_PFI(12),
1255 				NI_PFI(13),
1256 				NI_PFI(14),
1257 				NI_PFI(15),
1258 				TRIGGER_LINE(0),
1259 				TRIGGER_LINE(1),
1260 				TRIGGER_LINE(2),
1261 				TRIGGER_LINE(3),
1262 				TRIGGER_LINE(4),
1263 				TRIGGER_LINE(5),
1264 				TRIGGER_LINE(6),
1265 				TRIGGER_LINE(7),
1266 				NI_CtrInternalOutput(0),
1267 				NI_CtrInternalOutput(1),
1268 				NI_AI_SampleClockTimebase,
1269 				NI_AnalogComparisonEvent,
1270 				0, /* Termination */
1271 			}
1272 		},
1273 		{
1274 			.dest = NI_AI_SampleClockTimebase,
1275 			.src = (int[]){
1276 				NI_PFI(0),
1277 				NI_PFI(1),
1278 				NI_PFI(2),
1279 				NI_PFI(3),
1280 				NI_PFI(4),
1281 				NI_PFI(5),
1282 				NI_PFI(6),
1283 				NI_PFI(7),
1284 				NI_PFI(8),
1285 				NI_PFI(9),
1286 				NI_PFI(10),
1287 				NI_PFI(11),
1288 				NI_PFI(12),
1289 				NI_PFI(13),
1290 				NI_PFI(14),
1291 				NI_PFI(15),
1292 				TRIGGER_LINE(0),
1293 				TRIGGER_LINE(1),
1294 				TRIGGER_LINE(2),
1295 				TRIGGER_LINE(3),
1296 				TRIGGER_LINE(4),
1297 				TRIGGER_LINE(5),
1298 				TRIGGER_LINE(6),
1299 				TRIGGER_LINE(7),
1300 				PXI_Clk10,
1301 				NI_20MHzTimebase,
1302 				NI_100kHzTimebase,
1303 				NI_AnalogComparisonEvent,
1304 				0, /* Termination */
1305 			}
1306 		},
1307 		{
1308 			.dest = NI_AI_StartTrigger,
1309 			.src = (int[]){
1310 				NI_PFI(0),
1311 				NI_PFI(1),
1312 				NI_PFI(2),
1313 				NI_PFI(3),
1314 				NI_PFI(4),
1315 				NI_PFI(5),
1316 				NI_PFI(6),
1317 				NI_PFI(7),
1318 				NI_PFI(8),
1319 				NI_PFI(9),
1320 				NI_PFI(10),
1321 				NI_PFI(11),
1322 				NI_PFI(12),
1323 				NI_PFI(13),
1324 				NI_PFI(14),
1325 				NI_PFI(15),
1326 				TRIGGER_LINE(0),
1327 				TRIGGER_LINE(1),
1328 				TRIGGER_LINE(2),
1329 				TRIGGER_LINE(3),
1330 				TRIGGER_LINE(4),
1331 				TRIGGER_LINE(5),
1332 				TRIGGER_LINE(6),
1333 				TRIGGER_LINE(7),
1334 				NI_CtrInternalOutput(0),
1335 				NI_CtrInternalOutput(1),
1336 				NI_AnalogComparisonEvent,
1337 				0, /* Termination */
1338 			}
1339 		},
1340 		{
1341 			.dest = NI_AI_ReferenceTrigger,
1342 			.src = (int[]){
1343 				NI_PFI(0),
1344 				NI_PFI(1),
1345 				NI_PFI(2),
1346 				NI_PFI(3),
1347 				NI_PFI(4),
1348 				NI_PFI(5),
1349 				NI_PFI(6),
1350 				NI_PFI(7),
1351 				NI_PFI(8),
1352 				NI_PFI(9),
1353 				NI_PFI(10),
1354 				NI_PFI(11),
1355 				NI_PFI(12),
1356 				NI_PFI(13),
1357 				NI_PFI(14),
1358 				NI_PFI(15),
1359 				TRIGGER_LINE(0),
1360 				TRIGGER_LINE(1),
1361 				TRIGGER_LINE(2),
1362 				TRIGGER_LINE(3),
1363 				TRIGGER_LINE(4),
1364 				TRIGGER_LINE(5),
1365 				TRIGGER_LINE(6),
1366 				TRIGGER_LINE(7),
1367 				NI_AnalogComparisonEvent,
1368 				0, /* Termination */
1369 			}
1370 		},
1371 		{
1372 			.dest = NI_AI_ConvertClock,
1373 			.src = (int[]){
1374 				NI_PFI(0),
1375 				NI_PFI(1),
1376 				NI_PFI(2),
1377 				NI_PFI(3),
1378 				NI_PFI(4),
1379 				NI_PFI(5),
1380 				NI_PFI(6),
1381 				NI_PFI(7),
1382 				NI_PFI(8),
1383 				NI_PFI(9),
1384 				NI_PFI(10),
1385 				NI_PFI(11),
1386 				NI_PFI(12),
1387 				NI_PFI(13),
1388 				NI_PFI(14),
1389 				NI_PFI(15),
1390 				TRIGGER_LINE(0),
1391 				TRIGGER_LINE(1),
1392 				TRIGGER_LINE(2),
1393 				TRIGGER_LINE(3),
1394 				TRIGGER_LINE(4),
1395 				TRIGGER_LINE(5),
1396 				TRIGGER_LINE(6),
1397 				TRIGGER_LINE(7),
1398 				NI_CtrInternalOutput(0),
1399 				NI_CtrInternalOutput(1),
1400 				NI_AI_ConvertClockTimebase,
1401 				NI_AnalogComparisonEvent,
1402 				0, /* Termination */
1403 			}
1404 		},
1405 		{
1406 			.dest = NI_AI_ConvertClockTimebase,
1407 			.src = (int[]){
1408 				NI_AI_SampleClockTimebase,
1409 				NI_20MHzTimebase,
1410 				0, /* Termination */
1411 			}
1412 		},
1413 		{
1414 			.dest = NI_AI_PauseTrigger,
1415 			.src = (int[]){
1416 				NI_PFI(0),
1417 				NI_PFI(1),
1418 				NI_PFI(2),
1419 				NI_PFI(3),
1420 				NI_PFI(4),
1421 				NI_PFI(5),
1422 				NI_PFI(6),
1423 				NI_PFI(7),
1424 				NI_PFI(8),
1425 				NI_PFI(9),
1426 				NI_PFI(10),
1427 				NI_PFI(11),
1428 				NI_PFI(12),
1429 				NI_PFI(13),
1430 				NI_PFI(14),
1431 				NI_PFI(15),
1432 				TRIGGER_LINE(0),
1433 				TRIGGER_LINE(1),
1434 				TRIGGER_LINE(2),
1435 				TRIGGER_LINE(3),
1436 				TRIGGER_LINE(4),
1437 				TRIGGER_LINE(5),
1438 				TRIGGER_LINE(6),
1439 				TRIGGER_LINE(7),
1440 				NI_AnalogComparisonEvent,
1441 				0, /* Termination */
1442 			}
1443 		},
1444 		{
1445 			.dest = NI_AO_SampleClock,
1446 			.src = (int[]){
1447 				NI_PFI(0),
1448 				NI_PFI(1),
1449 				NI_PFI(2),
1450 				NI_PFI(3),
1451 				NI_PFI(4),
1452 				NI_PFI(5),
1453 				NI_PFI(6),
1454 				NI_PFI(7),
1455 				NI_PFI(8),
1456 				NI_PFI(9),
1457 				NI_PFI(10),
1458 				NI_PFI(11),
1459 				NI_PFI(12),
1460 				NI_PFI(13),
1461 				NI_PFI(14),
1462 				NI_PFI(15),
1463 				TRIGGER_LINE(0),
1464 				TRIGGER_LINE(1),
1465 				TRIGGER_LINE(2),
1466 				TRIGGER_LINE(3),
1467 				TRIGGER_LINE(4),
1468 				TRIGGER_LINE(5),
1469 				TRIGGER_LINE(6),
1470 				TRIGGER_LINE(7),
1471 				NI_CtrInternalOutput(0),
1472 				NI_CtrInternalOutput(1),
1473 				NI_AO_SampleClockTimebase,
1474 				NI_AnalogComparisonEvent,
1475 				0, /* Termination */
1476 			}
1477 		},
1478 		{
1479 			.dest = NI_AO_SampleClockTimebase,
1480 			.src = (int[]){
1481 				NI_PFI(0),
1482 				NI_PFI(1),
1483 				NI_PFI(2),
1484 				NI_PFI(3),
1485 				NI_PFI(4),
1486 				NI_PFI(5),
1487 				NI_PFI(6),
1488 				NI_PFI(7),
1489 				NI_PFI(8),
1490 				NI_PFI(9),
1491 				NI_PFI(10),
1492 				NI_PFI(11),
1493 				NI_PFI(12),
1494 				NI_PFI(13),
1495 				NI_PFI(14),
1496 				NI_PFI(15),
1497 				TRIGGER_LINE(0),
1498 				TRIGGER_LINE(1),
1499 				TRIGGER_LINE(2),
1500 				TRIGGER_LINE(3),
1501 				TRIGGER_LINE(4),
1502 				TRIGGER_LINE(5),
1503 				TRIGGER_LINE(6),
1504 				TRIGGER_LINE(7),
1505 				PXI_Clk10,
1506 				NI_20MHzTimebase,
1507 				NI_100kHzTimebase,
1508 				NI_AnalogComparisonEvent,
1509 				0, /* Termination */
1510 			}
1511 		},
1512 		{
1513 			.dest = NI_AO_StartTrigger,
1514 			.src = (int[]){
1515 				NI_PFI(0),
1516 				NI_PFI(1),
1517 				NI_PFI(2),
1518 				NI_PFI(3),
1519 				NI_PFI(4),
1520 				NI_PFI(5),
1521 				NI_PFI(6),
1522 				NI_PFI(7),
1523 				NI_PFI(8),
1524 				NI_PFI(9),
1525 				NI_PFI(10),
1526 				NI_PFI(11),
1527 				NI_PFI(12),
1528 				NI_PFI(13),
1529 				NI_PFI(14),
1530 				NI_PFI(15),
1531 				TRIGGER_LINE(0),
1532 				TRIGGER_LINE(1),
1533 				TRIGGER_LINE(2),
1534 				TRIGGER_LINE(3),
1535 				TRIGGER_LINE(4),
1536 				TRIGGER_LINE(5),
1537 				TRIGGER_LINE(6),
1538 				TRIGGER_LINE(7),
1539 				NI_AI_StartTrigger,
1540 				NI_AnalogComparisonEvent,
1541 				0, /* Termination */
1542 			}
1543 		},
1544 		{
1545 			.dest = NI_AO_PauseTrigger,
1546 			.src = (int[]){
1547 				NI_PFI(0),
1548 				NI_PFI(1),
1549 				NI_PFI(2),
1550 				NI_PFI(3),
1551 				NI_PFI(4),
1552 				NI_PFI(5),
1553 				NI_PFI(6),
1554 				NI_PFI(7),
1555 				NI_PFI(8),
1556 				NI_PFI(9),
1557 				NI_PFI(10),
1558 				NI_PFI(11),
1559 				NI_PFI(12),
1560 				NI_PFI(13),
1561 				NI_PFI(14),
1562 				NI_PFI(15),
1563 				TRIGGER_LINE(0),
1564 				TRIGGER_LINE(1),
1565 				TRIGGER_LINE(2),
1566 				TRIGGER_LINE(3),
1567 				TRIGGER_LINE(4),
1568 				TRIGGER_LINE(5),
1569 				TRIGGER_LINE(6),
1570 				TRIGGER_LINE(7),
1571 				NI_AnalogComparisonEvent,
1572 				0, /* Termination */
1573 			}
1574 		},
1575 		{
1576 			.dest = NI_DI_SampleClock,
1577 			.src = (int[]){
1578 				NI_PFI(0),
1579 				NI_PFI(1),
1580 				NI_PFI(2),
1581 				NI_PFI(3),
1582 				NI_PFI(4),
1583 				NI_PFI(5),
1584 				NI_PFI(6),
1585 				NI_PFI(7),
1586 				NI_PFI(8),
1587 				NI_PFI(9),
1588 				NI_PFI(10),
1589 				NI_PFI(11),
1590 				NI_PFI(12),
1591 				NI_PFI(13),
1592 				NI_PFI(14),
1593 				NI_PFI(15),
1594 				TRIGGER_LINE(0),
1595 				TRIGGER_LINE(1),
1596 				TRIGGER_LINE(2),
1597 				TRIGGER_LINE(3),
1598 				TRIGGER_LINE(4),
1599 				TRIGGER_LINE(5),
1600 				TRIGGER_LINE(6),
1601 				TRIGGER_LINE(7),
1602 				NI_CtrInternalOutput(0),
1603 				NI_CtrInternalOutput(1),
1604 				NI_AI_SampleClock,
1605 				NI_AI_ConvertClock,
1606 				NI_AO_SampleClock,
1607 				NI_FrequencyOutput,
1608 				NI_ChangeDetectionEvent,
1609 				NI_AnalogComparisonEvent,
1610 				0, /* Termination */
1611 			}
1612 		},
1613 		{
1614 			.dest = NI_DO_SampleClock,
1615 			.src = (int[]){
1616 				NI_PFI(0),
1617 				NI_PFI(1),
1618 				NI_PFI(2),
1619 				NI_PFI(3),
1620 				NI_PFI(4),
1621 				NI_PFI(5),
1622 				NI_PFI(6),
1623 				NI_PFI(7),
1624 				NI_PFI(8),
1625 				NI_PFI(9),
1626 				NI_PFI(10),
1627 				NI_PFI(11),
1628 				NI_PFI(12),
1629 				NI_PFI(13),
1630 				NI_PFI(14),
1631 				NI_PFI(15),
1632 				TRIGGER_LINE(0),
1633 				TRIGGER_LINE(1),
1634 				TRIGGER_LINE(2),
1635 				TRIGGER_LINE(3),
1636 				TRIGGER_LINE(4),
1637 				TRIGGER_LINE(5),
1638 				TRIGGER_LINE(6),
1639 				TRIGGER_LINE(7),
1640 				NI_CtrInternalOutput(0),
1641 				NI_CtrInternalOutput(1),
1642 				NI_AI_SampleClock,
1643 				NI_AI_ConvertClock,
1644 				NI_AO_SampleClock,
1645 				NI_FrequencyOutput,
1646 				NI_ChangeDetectionEvent,
1647 				NI_AnalogComparisonEvent,
1648 				0, /* Termination */
1649 			}
1650 		},
1651 		{ /* Termination of list */
1652 			.dest = 0,
1653 		},
1654 	},
1655 };
1656