1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  *  comedi/drivers/ni_routing/ni_device_routes/pxi-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_pxi_6251_device_routes = {
31 	.device = "pxi-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_CtrInternalOutput(0),
48 				NI_CtrInternalOutput(1),
49 				PXI_Star,
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_CtrInternalOutput(0),
79 				NI_CtrInternalOutput(1),
80 				PXI_Star,
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_CtrInternalOutput(0),
110 				NI_CtrInternalOutput(1),
111 				PXI_Star,
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_CtrInternalOutput(0),
141 				NI_CtrInternalOutput(1),
142 				PXI_Star,
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_CtrInternalOutput(0),
172 				NI_CtrInternalOutput(1),
173 				PXI_Star,
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_CtrInternalOutput(0),
203 				NI_CtrInternalOutput(1),
204 				PXI_Star,
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_CtrInternalOutput(0),
234 				NI_CtrInternalOutput(1),
235 				PXI_Star,
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_CtrInternalOutput(0),
265 				NI_CtrInternalOutput(1),
266 				PXI_Star,
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_CtrInternalOutput(0),
296 				NI_CtrInternalOutput(1),
297 				PXI_Star,
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_CtrInternalOutput(0),
327 				NI_CtrInternalOutput(1),
328 				PXI_Star,
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_CtrInternalOutput(0),
358 				NI_CtrInternalOutput(1),
359 				PXI_Star,
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_CtrInternalOutput(0),
389 				NI_CtrInternalOutput(1),
390 				PXI_Star,
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_CtrInternalOutput(0),
420 				NI_CtrInternalOutput(1),
421 				PXI_Star,
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_CtrInternalOutput(0),
451 				NI_CtrInternalOutput(1),
452 				PXI_Star,
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_CtrInternalOutput(0),
482 				NI_CtrInternalOutput(1),
483 				PXI_Star,
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_CtrInternalOutput(0),
513 				NI_CtrInternalOutput(1),
514 				PXI_Star,
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_CtrInternalOutput(0),
542 				NI_CtrInternalOutput(1),
543 				NI_AI_SampleClock,
544 				NI_AI_StartTrigger,
545 				NI_AI_ReferenceTrigger,
546 				NI_AI_ConvertClock,
547 				NI_AO_SampleClock,
548 				NI_AO_StartTrigger,
549 				NI_10MHzRefClock,
550 				NI_FrequencyOutput,
551 				NI_ChangeDetectionEvent,
552 				NI_AnalogComparisonEvent,
553 				0, /* Termination */
554 			}
555 		},
556 		{
557 			.dest = TRIGGER_LINE(1),
558 			.src = (int[]){
559 				NI_PFI(0),
560 				NI_PFI(1),
561 				NI_PFI(2),
562 				NI_PFI(3),
563 				NI_PFI(4),
564 				NI_PFI(5),
565 				NI_CtrSource(0),
566 				NI_CtrSource(1),
567 				NI_CtrGate(0),
568 				NI_CtrInternalOutput(0),
569 				NI_CtrInternalOutput(1),
570 				NI_AI_SampleClock,
571 				NI_AI_StartTrigger,
572 				NI_AI_ReferenceTrigger,
573 				NI_AI_ConvertClock,
574 				NI_AO_SampleClock,
575 				NI_AO_StartTrigger,
576 				NI_10MHzRefClock,
577 				NI_FrequencyOutput,
578 				NI_ChangeDetectionEvent,
579 				NI_AnalogComparisonEvent,
580 				0, /* Termination */
581 			}
582 		},
583 		{
584 			.dest = TRIGGER_LINE(2),
585 			.src = (int[]){
586 				NI_PFI(0),
587 				NI_PFI(1),
588 				NI_PFI(2),
589 				NI_PFI(3),
590 				NI_PFI(4),
591 				NI_PFI(5),
592 				NI_CtrSource(0),
593 				NI_CtrSource(1),
594 				NI_CtrGate(0),
595 				NI_CtrInternalOutput(0),
596 				NI_CtrInternalOutput(1),
597 				NI_AI_SampleClock,
598 				NI_AI_StartTrigger,
599 				NI_AI_ReferenceTrigger,
600 				NI_AI_ConvertClock,
601 				NI_AO_SampleClock,
602 				NI_AO_StartTrigger,
603 				NI_10MHzRefClock,
604 				NI_FrequencyOutput,
605 				NI_ChangeDetectionEvent,
606 				NI_AnalogComparisonEvent,
607 				0, /* Termination */
608 			}
609 		},
610 		{
611 			.dest = TRIGGER_LINE(3),
612 			.src = (int[]){
613 				NI_PFI(0),
614 				NI_PFI(1),
615 				NI_PFI(2),
616 				NI_PFI(3),
617 				NI_PFI(4),
618 				NI_PFI(5),
619 				NI_CtrSource(0),
620 				NI_CtrSource(1),
621 				NI_CtrGate(0),
622 				NI_CtrInternalOutput(0),
623 				NI_CtrInternalOutput(1),
624 				NI_AI_SampleClock,
625 				NI_AI_StartTrigger,
626 				NI_AI_ReferenceTrigger,
627 				NI_AI_ConvertClock,
628 				NI_AO_SampleClock,
629 				NI_AO_StartTrigger,
630 				NI_10MHzRefClock,
631 				NI_FrequencyOutput,
632 				NI_ChangeDetectionEvent,
633 				NI_AnalogComparisonEvent,
634 				0, /* Termination */
635 			}
636 		},
637 		{
638 			.dest = TRIGGER_LINE(4),
639 			.src = (int[]){
640 				NI_PFI(0),
641 				NI_PFI(1),
642 				NI_PFI(2),
643 				NI_PFI(3),
644 				NI_PFI(4),
645 				NI_PFI(5),
646 				NI_CtrSource(0),
647 				NI_CtrSource(1),
648 				NI_CtrGate(0),
649 				NI_CtrInternalOutput(0),
650 				NI_CtrInternalOutput(1),
651 				NI_AI_SampleClock,
652 				NI_AI_StartTrigger,
653 				NI_AI_ReferenceTrigger,
654 				NI_AI_ConvertClock,
655 				NI_AO_SampleClock,
656 				NI_AO_StartTrigger,
657 				NI_10MHzRefClock,
658 				NI_FrequencyOutput,
659 				NI_ChangeDetectionEvent,
660 				NI_AnalogComparisonEvent,
661 				0, /* Termination */
662 			}
663 		},
664 		{
665 			.dest = TRIGGER_LINE(5),
666 			.src = (int[]){
667 				NI_PFI(0),
668 				NI_PFI(1),
669 				NI_PFI(2),
670 				NI_PFI(3),
671 				NI_PFI(4),
672 				NI_PFI(5),
673 				NI_CtrSource(0),
674 				NI_CtrSource(1),
675 				NI_CtrGate(0),
676 				NI_CtrInternalOutput(0),
677 				NI_CtrInternalOutput(1),
678 				NI_AI_SampleClock,
679 				NI_AI_StartTrigger,
680 				NI_AI_ReferenceTrigger,
681 				NI_AI_ConvertClock,
682 				NI_AO_SampleClock,
683 				NI_AO_StartTrigger,
684 				NI_10MHzRefClock,
685 				NI_FrequencyOutput,
686 				NI_ChangeDetectionEvent,
687 				NI_AnalogComparisonEvent,
688 				0, /* Termination */
689 			}
690 		},
691 		{
692 			.dest = TRIGGER_LINE(6),
693 			.src = (int[]){
694 				NI_PFI(0),
695 				NI_PFI(1),
696 				NI_PFI(2),
697 				NI_PFI(3),
698 				NI_PFI(4),
699 				NI_PFI(5),
700 				NI_CtrSource(0),
701 				NI_CtrSource(1),
702 				NI_CtrGate(0),
703 				NI_CtrInternalOutput(0),
704 				NI_CtrInternalOutput(1),
705 				NI_AI_SampleClock,
706 				NI_AI_StartTrigger,
707 				NI_AI_ReferenceTrigger,
708 				NI_AI_ConvertClock,
709 				NI_AO_SampleClock,
710 				NI_AO_StartTrigger,
711 				NI_10MHzRefClock,
712 				NI_FrequencyOutput,
713 				NI_ChangeDetectionEvent,
714 				NI_AnalogComparisonEvent,
715 				0, /* Termination */
716 			}
717 		},
718 		{
719 			.dest = TRIGGER_LINE(7),
720 			.src = (int[]){
721 				NI_PFI(0),
722 				NI_PFI(1),
723 				NI_PFI(2),
724 				NI_PFI(3),
725 				NI_PFI(4),
726 				NI_PFI(5),
727 				NI_CtrSource(0),
728 				NI_CtrSource(1),
729 				NI_CtrGate(0),
730 				NI_CtrInternalOutput(0),
731 				NI_CtrInternalOutput(1),
732 				NI_AI_SampleClock,
733 				NI_AI_StartTrigger,
734 				NI_AI_ReferenceTrigger,
735 				NI_AI_ConvertClock,
736 				NI_AO_SampleClock,
737 				NI_AO_StartTrigger,
738 				NI_10MHzRefClock,
739 				NI_FrequencyOutput,
740 				NI_ChangeDetectionEvent,
741 				NI_AnalogComparisonEvent,
742 				0, /* Termination */
743 			}
744 		},
745 		{
746 			.dest = NI_CtrSource(0),
747 			.src = (int[]){
748 				NI_PFI(0),
749 				NI_PFI(1),
750 				NI_PFI(2),
751 				NI_PFI(3),
752 				NI_PFI(4),
753 				NI_PFI(5),
754 				NI_PFI(6),
755 				NI_PFI(7),
756 				NI_PFI(8),
757 				NI_PFI(9),
758 				NI_PFI(10),
759 				NI_PFI(11),
760 				NI_PFI(12),
761 				NI_PFI(13),
762 				NI_PFI(14),
763 				NI_PFI(15),
764 				TRIGGER_LINE(0),
765 				TRIGGER_LINE(1),
766 				TRIGGER_LINE(2),
767 				TRIGGER_LINE(3),
768 				TRIGGER_LINE(4),
769 				TRIGGER_LINE(5),
770 				TRIGGER_LINE(6),
771 				TRIGGER_LINE(7),
772 				PXI_Star,
773 				PXI_Clk10,
774 				NI_20MHzTimebase,
775 				NI_80MHzTimebase,
776 				NI_100kHzTimebase,
777 				NI_AnalogComparisonEvent,
778 				0, /* Termination */
779 			}
780 		},
781 		{
782 			.dest = NI_CtrSource(1),
783 			.src = (int[]){
784 				NI_PFI(0),
785 				NI_PFI(1),
786 				NI_PFI(2),
787 				NI_PFI(3),
788 				NI_PFI(4),
789 				NI_PFI(5),
790 				NI_PFI(6),
791 				NI_PFI(7),
792 				NI_PFI(8),
793 				NI_PFI(9),
794 				NI_PFI(10),
795 				NI_PFI(11),
796 				NI_PFI(12),
797 				NI_PFI(13),
798 				NI_PFI(14),
799 				NI_PFI(15),
800 				TRIGGER_LINE(0),
801 				TRIGGER_LINE(1),
802 				TRIGGER_LINE(2),
803 				TRIGGER_LINE(3),
804 				TRIGGER_LINE(4),
805 				TRIGGER_LINE(5),
806 				TRIGGER_LINE(6),
807 				TRIGGER_LINE(7),
808 				NI_CtrGate(0),
809 				PXI_Star,
810 				PXI_Clk10,
811 				NI_20MHzTimebase,
812 				NI_80MHzTimebase,
813 				NI_100kHzTimebase,
814 				NI_AnalogComparisonEvent,
815 				0, /* Termination */
816 			}
817 		},
818 		{
819 			.dest = NI_CtrGate(0),
820 			.src = (int[]){
821 				NI_PFI(0),
822 				NI_PFI(1),
823 				NI_PFI(2),
824 				NI_PFI(3),
825 				NI_PFI(4),
826 				NI_PFI(5),
827 				NI_PFI(6),
828 				NI_PFI(7),
829 				NI_PFI(8),
830 				NI_PFI(9),
831 				NI_PFI(10),
832 				NI_PFI(11),
833 				NI_PFI(12),
834 				NI_PFI(13),
835 				NI_PFI(14),
836 				NI_PFI(15),
837 				TRIGGER_LINE(0),
838 				TRIGGER_LINE(1),
839 				TRIGGER_LINE(2),
840 				TRIGGER_LINE(3),
841 				TRIGGER_LINE(4),
842 				TRIGGER_LINE(5),
843 				TRIGGER_LINE(6),
844 				TRIGGER_LINE(7),
845 				NI_CtrSource(1),
846 				NI_CtrInternalOutput(1),
847 				PXI_Star,
848 				NI_AI_StartTrigger,
849 				NI_AI_ReferenceTrigger,
850 				NI_AnalogComparisonEvent,
851 				0, /* Termination */
852 			}
853 		},
854 		{
855 			.dest = NI_CtrGate(1),
856 			.src = (int[]){
857 				NI_PFI(0),
858 				NI_PFI(1),
859 				NI_PFI(2),
860 				NI_PFI(3),
861 				NI_PFI(4),
862 				NI_PFI(5),
863 				NI_PFI(6),
864 				NI_PFI(7),
865 				NI_PFI(8),
866 				NI_PFI(9),
867 				NI_PFI(10),
868 				NI_PFI(11),
869 				NI_PFI(12),
870 				NI_PFI(13),
871 				NI_PFI(14),
872 				NI_PFI(15),
873 				TRIGGER_LINE(0),
874 				TRIGGER_LINE(1),
875 				TRIGGER_LINE(2),
876 				TRIGGER_LINE(3),
877 				TRIGGER_LINE(4),
878 				TRIGGER_LINE(5),
879 				TRIGGER_LINE(6),
880 				TRIGGER_LINE(7),
881 				NI_CtrSource(0),
882 				NI_CtrInternalOutput(0),
883 				PXI_Star,
884 				NI_AI_StartTrigger,
885 				NI_AI_ReferenceTrigger,
886 				NI_AnalogComparisonEvent,
887 				0, /* Termination */
888 			}
889 		},
890 		{
891 			.dest = NI_CtrAux(0),
892 			.src = (int[]){
893 				NI_PFI(0),
894 				NI_PFI(1),
895 				NI_PFI(2),
896 				NI_PFI(3),
897 				NI_PFI(4),
898 				NI_PFI(5),
899 				NI_PFI(6),
900 				NI_PFI(7),
901 				NI_PFI(8),
902 				NI_PFI(9),
903 				NI_PFI(10),
904 				NI_PFI(11),
905 				NI_PFI(12),
906 				NI_PFI(13),
907 				NI_PFI(14),
908 				NI_PFI(15),
909 				TRIGGER_LINE(0),
910 				TRIGGER_LINE(1),
911 				TRIGGER_LINE(2),
912 				TRIGGER_LINE(3),
913 				TRIGGER_LINE(4),
914 				TRIGGER_LINE(5),
915 				TRIGGER_LINE(6),
916 				TRIGGER_LINE(7),
917 				NI_CtrSource(1),
918 				NI_CtrGate(0),
919 				NI_CtrInternalOutput(1),
920 				PXI_Star,
921 				NI_AI_StartTrigger,
922 				NI_AI_ReferenceTrigger,
923 				NI_AnalogComparisonEvent,
924 				0, /* Termination */
925 			}
926 		},
927 		{
928 			.dest = NI_CtrAux(1),
929 			.src = (int[]){
930 				NI_PFI(0),
931 				NI_PFI(1),
932 				NI_PFI(2),
933 				NI_PFI(3),
934 				NI_PFI(4),
935 				NI_PFI(5),
936 				NI_PFI(6),
937 				NI_PFI(7),
938 				NI_PFI(8),
939 				NI_PFI(9),
940 				NI_PFI(10),
941 				NI_PFI(11),
942 				NI_PFI(12),
943 				NI_PFI(13),
944 				NI_PFI(14),
945 				NI_PFI(15),
946 				TRIGGER_LINE(0),
947 				TRIGGER_LINE(1),
948 				TRIGGER_LINE(2),
949 				TRIGGER_LINE(3),
950 				TRIGGER_LINE(4),
951 				TRIGGER_LINE(5),
952 				TRIGGER_LINE(6),
953 				TRIGGER_LINE(7),
954 				NI_CtrSource(0),
955 				NI_CtrGate(0),
956 				NI_CtrInternalOutput(0),
957 				PXI_Star,
958 				NI_AI_StartTrigger,
959 				NI_AI_ReferenceTrigger,
960 				NI_AnalogComparisonEvent,
961 				0, /* Termination */
962 			}
963 		},
964 		{
965 			.dest = NI_CtrA(0),
966 			.src = (int[]){
967 				NI_PFI(0),
968 				NI_PFI(1),
969 				NI_PFI(2),
970 				NI_PFI(3),
971 				NI_PFI(4),
972 				NI_PFI(5),
973 				NI_PFI(6),
974 				NI_PFI(7),
975 				NI_PFI(8),
976 				NI_PFI(9),
977 				NI_PFI(10),
978 				NI_PFI(11),
979 				NI_PFI(12),
980 				NI_PFI(13),
981 				NI_PFI(14),
982 				NI_PFI(15),
983 				TRIGGER_LINE(0),
984 				TRIGGER_LINE(1),
985 				TRIGGER_LINE(2),
986 				TRIGGER_LINE(3),
987 				TRIGGER_LINE(4),
988 				TRIGGER_LINE(5),
989 				TRIGGER_LINE(6),
990 				TRIGGER_LINE(7),
991 				PXI_Star,
992 				NI_AnalogComparisonEvent,
993 				0, /* Termination */
994 			}
995 		},
996 		{
997 			.dest = NI_CtrA(1),
998 			.src = (int[]){
999 				NI_PFI(0),
1000 				NI_PFI(1),
1001 				NI_PFI(2),
1002 				NI_PFI(3),
1003 				NI_PFI(4),
1004 				NI_PFI(5),
1005 				NI_PFI(6),
1006 				NI_PFI(7),
1007 				NI_PFI(8),
1008 				NI_PFI(9),
1009 				NI_PFI(10),
1010 				NI_PFI(11),
1011 				NI_PFI(12),
1012 				NI_PFI(13),
1013 				NI_PFI(14),
1014 				NI_PFI(15),
1015 				TRIGGER_LINE(0),
1016 				TRIGGER_LINE(1),
1017 				TRIGGER_LINE(2),
1018 				TRIGGER_LINE(3),
1019 				TRIGGER_LINE(4),
1020 				TRIGGER_LINE(5),
1021 				TRIGGER_LINE(6),
1022 				TRIGGER_LINE(7),
1023 				PXI_Star,
1024 				NI_AnalogComparisonEvent,
1025 				0, /* Termination */
1026 			}
1027 		},
1028 		{
1029 			.dest = NI_CtrB(0),
1030 			.src = (int[]){
1031 				NI_PFI(0),
1032 				NI_PFI(1),
1033 				NI_PFI(2),
1034 				NI_PFI(3),
1035 				NI_PFI(4),
1036 				NI_PFI(5),
1037 				NI_PFI(6),
1038 				NI_PFI(7),
1039 				NI_PFI(8),
1040 				NI_PFI(9),
1041 				NI_PFI(10),
1042 				NI_PFI(11),
1043 				NI_PFI(12),
1044 				NI_PFI(13),
1045 				NI_PFI(14),
1046 				NI_PFI(15),
1047 				TRIGGER_LINE(0),
1048 				TRIGGER_LINE(1),
1049 				TRIGGER_LINE(2),
1050 				TRIGGER_LINE(3),
1051 				TRIGGER_LINE(4),
1052 				TRIGGER_LINE(5),
1053 				TRIGGER_LINE(6),
1054 				TRIGGER_LINE(7),
1055 				PXI_Star,
1056 				NI_AnalogComparisonEvent,
1057 				0, /* Termination */
1058 			}
1059 		},
1060 		{
1061 			.dest = NI_CtrB(1),
1062 			.src = (int[]){
1063 				NI_PFI(0),
1064 				NI_PFI(1),
1065 				NI_PFI(2),
1066 				NI_PFI(3),
1067 				NI_PFI(4),
1068 				NI_PFI(5),
1069 				NI_PFI(6),
1070 				NI_PFI(7),
1071 				NI_PFI(8),
1072 				NI_PFI(9),
1073 				NI_PFI(10),
1074 				NI_PFI(11),
1075 				NI_PFI(12),
1076 				NI_PFI(13),
1077 				NI_PFI(14),
1078 				NI_PFI(15),
1079 				TRIGGER_LINE(0),
1080 				TRIGGER_LINE(1),
1081 				TRIGGER_LINE(2),
1082 				TRIGGER_LINE(3),
1083 				TRIGGER_LINE(4),
1084 				TRIGGER_LINE(5),
1085 				TRIGGER_LINE(6),
1086 				TRIGGER_LINE(7),
1087 				PXI_Star,
1088 				NI_AnalogComparisonEvent,
1089 				0, /* Termination */
1090 			}
1091 		},
1092 		{
1093 			.dest = NI_CtrZ(0),
1094 			.src = (int[]){
1095 				NI_PFI(0),
1096 				NI_PFI(1),
1097 				NI_PFI(2),
1098 				NI_PFI(3),
1099 				NI_PFI(4),
1100 				NI_PFI(5),
1101 				NI_PFI(6),
1102 				NI_PFI(7),
1103 				NI_PFI(8),
1104 				NI_PFI(9),
1105 				NI_PFI(10),
1106 				NI_PFI(11),
1107 				NI_PFI(12),
1108 				NI_PFI(13),
1109 				NI_PFI(14),
1110 				NI_PFI(15),
1111 				TRIGGER_LINE(0),
1112 				TRIGGER_LINE(1),
1113 				TRIGGER_LINE(2),
1114 				TRIGGER_LINE(3),
1115 				TRIGGER_LINE(4),
1116 				TRIGGER_LINE(5),
1117 				TRIGGER_LINE(6),
1118 				TRIGGER_LINE(7),
1119 				PXI_Star,
1120 				NI_AnalogComparisonEvent,
1121 				0, /* Termination */
1122 			}
1123 		},
1124 		{
1125 			.dest = NI_CtrZ(1),
1126 			.src = (int[]){
1127 				NI_PFI(0),
1128 				NI_PFI(1),
1129 				NI_PFI(2),
1130 				NI_PFI(3),
1131 				NI_PFI(4),
1132 				NI_PFI(5),
1133 				NI_PFI(6),
1134 				NI_PFI(7),
1135 				NI_PFI(8),
1136 				NI_PFI(9),
1137 				NI_PFI(10),
1138 				NI_PFI(11),
1139 				NI_PFI(12),
1140 				NI_PFI(13),
1141 				NI_PFI(14),
1142 				NI_PFI(15),
1143 				TRIGGER_LINE(0),
1144 				TRIGGER_LINE(1),
1145 				TRIGGER_LINE(2),
1146 				TRIGGER_LINE(3),
1147 				TRIGGER_LINE(4),
1148 				TRIGGER_LINE(5),
1149 				TRIGGER_LINE(6),
1150 				TRIGGER_LINE(7),
1151 				PXI_Star,
1152 				NI_AnalogComparisonEvent,
1153 				0, /* Termination */
1154 			}
1155 		},
1156 		{
1157 			.dest = NI_CtrArmStartTrigger(0),
1158 			.src = (int[]){
1159 				NI_PFI(0),
1160 				NI_PFI(1),
1161 				NI_PFI(2),
1162 				NI_PFI(3),
1163 				NI_PFI(4),
1164 				NI_PFI(5),
1165 				NI_PFI(6),
1166 				NI_PFI(7),
1167 				NI_PFI(8),
1168 				NI_PFI(9),
1169 				NI_PFI(10),
1170 				NI_PFI(11),
1171 				NI_PFI(12),
1172 				NI_PFI(13),
1173 				NI_PFI(14),
1174 				NI_PFI(15),
1175 				TRIGGER_LINE(0),
1176 				TRIGGER_LINE(1),
1177 				TRIGGER_LINE(2),
1178 				TRIGGER_LINE(3),
1179 				TRIGGER_LINE(4),
1180 				TRIGGER_LINE(5),
1181 				TRIGGER_LINE(6),
1182 				TRIGGER_LINE(7),
1183 				NI_CtrInternalOutput(1),
1184 				PXI_Star,
1185 				NI_AI_StartTrigger,
1186 				NI_AI_ReferenceTrigger,
1187 				NI_AnalogComparisonEvent,
1188 				0, /* Termination */
1189 			}
1190 		},
1191 		{
1192 			.dest = NI_CtrArmStartTrigger(1),
1193 			.src = (int[]){
1194 				NI_PFI(0),
1195 				NI_PFI(1),
1196 				NI_PFI(2),
1197 				NI_PFI(3),
1198 				NI_PFI(4),
1199 				NI_PFI(5),
1200 				NI_PFI(6),
1201 				NI_PFI(7),
1202 				NI_PFI(8),
1203 				NI_PFI(9),
1204 				NI_PFI(10),
1205 				NI_PFI(11),
1206 				NI_PFI(12),
1207 				NI_PFI(13),
1208 				NI_PFI(14),
1209 				NI_PFI(15),
1210 				TRIGGER_LINE(0),
1211 				TRIGGER_LINE(1),
1212 				TRIGGER_LINE(2),
1213 				TRIGGER_LINE(3),
1214 				TRIGGER_LINE(4),
1215 				TRIGGER_LINE(5),
1216 				TRIGGER_LINE(6),
1217 				TRIGGER_LINE(7),
1218 				NI_CtrInternalOutput(0),
1219 				PXI_Star,
1220 				NI_AI_StartTrigger,
1221 				NI_AI_ReferenceTrigger,
1222 				NI_AnalogComparisonEvent,
1223 				0, /* Termination */
1224 			}
1225 		},
1226 		{
1227 			.dest = NI_AI_SampleClock,
1228 			.src = (int[]){
1229 				NI_PFI(0),
1230 				NI_PFI(1),
1231 				NI_PFI(2),
1232 				NI_PFI(3),
1233 				NI_PFI(4),
1234 				NI_PFI(5),
1235 				NI_PFI(6),
1236 				NI_PFI(7),
1237 				NI_PFI(8),
1238 				NI_PFI(9),
1239 				NI_PFI(10),
1240 				NI_PFI(11),
1241 				NI_PFI(12),
1242 				NI_PFI(13),
1243 				NI_PFI(14),
1244 				NI_PFI(15),
1245 				TRIGGER_LINE(0),
1246 				TRIGGER_LINE(1),
1247 				TRIGGER_LINE(2),
1248 				TRIGGER_LINE(3),
1249 				TRIGGER_LINE(4),
1250 				TRIGGER_LINE(5),
1251 				TRIGGER_LINE(6),
1252 				TRIGGER_LINE(7),
1253 				NI_CtrInternalOutput(0),
1254 				NI_CtrInternalOutput(1),
1255 				PXI_Star,
1256 				NI_AI_SampleClockTimebase,
1257 				NI_AnalogComparisonEvent,
1258 				0, /* Termination */
1259 			}
1260 		},
1261 		{
1262 			.dest = NI_AI_SampleClockTimebase,
1263 			.src = (int[]){
1264 				NI_PFI(0),
1265 				NI_PFI(1),
1266 				NI_PFI(2),
1267 				NI_PFI(3),
1268 				NI_PFI(4),
1269 				NI_PFI(5),
1270 				NI_PFI(6),
1271 				NI_PFI(7),
1272 				NI_PFI(8),
1273 				NI_PFI(9),
1274 				NI_PFI(10),
1275 				NI_PFI(11),
1276 				NI_PFI(12),
1277 				NI_PFI(13),
1278 				NI_PFI(14),
1279 				NI_PFI(15),
1280 				TRIGGER_LINE(0),
1281 				TRIGGER_LINE(1),
1282 				TRIGGER_LINE(2),
1283 				TRIGGER_LINE(3),
1284 				TRIGGER_LINE(4),
1285 				TRIGGER_LINE(5),
1286 				TRIGGER_LINE(6),
1287 				TRIGGER_LINE(7),
1288 				PXI_Star,
1289 				PXI_Clk10,
1290 				NI_20MHzTimebase,
1291 				NI_100kHzTimebase,
1292 				NI_AnalogComparisonEvent,
1293 				0, /* Termination */
1294 			}
1295 		},
1296 		{
1297 			.dest = NI_AI_StartTrigger,
1298 			.src = (int[]){
1299 				NI_PFI(0),
1300 				NI_PFI(1),
1301 				NI_PFI(2),
1302 				NI_PFI(3),
1303 				NI_PFI(4),
1304 				NI_PFI(5),
1305 				NI_PFI(6),
1306 				NI_PFI(7),
1307 				NI_PFI(8),
1308 				NI_PFI(9),
1309 				NI_PFI(10),
1310 				NI_PFI(11),
1311 				NI_PFI(12),
1312 				NI_PFI(13),
1313 				NI_PFI(14),
1314 				NI_PFI(15),
1315 				TRIGGER_LINE(0),
1316 				TRIGGER_LINE(1),
1317 				TRIGGER_LINE(2),
1318 				TRIGGER_LINE(3),
1319 				TRIGGER_LINE(4),
1320 				TRIGGER_LINE(5),
1321 				TRIGGER_LINE(6),
1322 				TRIGGER_LINE(7),
1323 				NI_CtrInternalOutput(0),
1324 				NI_CtrInternalOutput(1),
1325 				PXI_Star,
1326 				NI_AnalogComparisonEvent,
1327 				0, /* Termination */
1328 			}
1329 		},
1330 		{
1331 			.dest = NI_AI_ReferenceTrigger,
1332 			.src = (int[]){
1333 				NI_PFI(0),
1334 				NI_PFI(1),
1335 				NI_PFI(2),
1336 				NI_PFI(3),
1337 				NI_PFI(4),
1338 				NI_PFI(5),
1339 				NI_PFI(6),
1340 				NI_PFI(7),
1341 				NI_PFI(8),
1342 				NI_PFI(9),
1343 				NI_PFI(10),
1344 				NI_PFI(11),
1345 				NI_PFI(12),
1346 				NI_PFI(13),
1347 				NI_PFI(14),
1348 				NI_PFI(15),
1349 				TRIGGER_LINE(0),
1350 				TRIGGER_LINE(1),
1351 				TRIGGER_LINE(2),
1352 				TRIGGER_LINE(3),
1353 				TRIGGER_LINE(4),
1354 				TRIGGER_LINE(5),
1355 				TRIGGER_LINE(6),
1356 				TRIGGER_LINE(7),
1357 				PXI_Star,
1358 				NI_AnalogComparisonEvent,
1359 				0, /* Termination */
1360 			}
1361 		},
1362 		{
1363 			.dest = NI_AI_ConvertClock,
1364 			.src = (int[]){
1365 				NI_PFI(0),
1366 				NI_PFI(1),
1367 				NI_PFI(2),
1368 				NI_PFI(3),
1369 				NI_PFI(4),
1370 				NI_PFI(5),
1371 				NI_PFI(6),
1372 				NI_PFI(7),
1373 				NI_PFI(8),
1374 				NI_PFI(9),
1375 				NI_PFI(10),
1376 				NI_PFI(11),
1377 				NI_PFI(12),
1378 				NI_PFI(13),
1379 				NI_PFI(14),
1380 				NI_PFI(15),
1381 				TRIGGER_LINE(0),
1382 				TRIGGER_LINE(1),
1383 				TRIGGER_LINE(2),
1384 				TRIGGER_LINE(3),
1385 				TRIGGER_LINE(4),
1386 				TRIGGER_LINE(5),
1387 				TRIGGER_LINE(6),
1388 				TRIGGER_LINE(7),
1389 				NI_CtrInternalOutput(0),
1390 				NI_CtrInternalOutput(1),
1391 				PXI_Star,
1392 				NI_AI_ConvertClockTimebase,
1393 				NI_AnalogComparisonEvent,
1394 				0, /* Termination */
1395 			}
1396 		},
1397 		{
1398 			.dest = NI_AI_ConvertClockTimebase,
1399 			.src = (int[]){
1400 				NI_AI_SampleClockTimebase,
1401 				NI_20MHzTimebase,
1402 				0, /* Termination */
1403 			}
1404 		},
1405 		{
1406 			.dest = NI_AI_PauseTrigger,
1407 			.src = (int[]){
1408 				NI_PFI(0),
1409 				NI_PFI(1),
1410 				NI_PFI(2),
1411 				NI_PFI(3),
1412 				NI_PFI(4),
1413 				NI_PFI(5),
1414 				NI_PFI(6),
1415 				NI_PFI(7),
1416 				NI_PFI(8),
1417 				NI_PFI(9),
1418 				NI_PFI(10),
1419 				NI_PFI(11),
1420 				NI_PFI(12),
1421 				NI_PFI(13),
1422 				NI_PFI(14),
1423 				NI_PFI(15),
1424 				TRIGGER_LINE(0),
1425 				TRIGGER_LINE(1),
1426 				TRIGGER_LINE(2),
1427 				TRIGGER_LINE(3),
1428 				TRIGGER_LINE(4),
1429 				TRIGGER_LINE(5),
1430 				TRIGGER_LINE(6),
1431 				TRIGGER_LINE(7),
1432 				PXI_Star,
1433 				NI_AnalogComparisonEvent,
1434 				0, /* Termination */
1435 			}
1436 		},
1437 		{
1438 			.dest = NI_AO_SampleClock,
1439 			.src = (int[]){
1440 				NI_PFI(0),
1441 				NI_PFI(1),
1442 				NI_PFI(2),
1443 				NI_PFI(3),
1444 				NI_PFI(4),
1445 				NI_PFI(5),
1446 				NI_PFI(6),
1447 				NI_PFI(7),
1448 				NI_PFI(8),
1449 				NI_PFI(9),
1450 				NI_PFI(10),
1451 				NI_PFI(11),
1452 				NI_PFI(12),
1453 				NI_PFI(13),
1454 				NI_PFI(14),
1455 				NI_PFI(15),
1456 				TRIGGER_LINE(0),
1457 				TRIGGER_LINE(1),
1458 				TRIGGER_LINE(2),
1459 				TRIGGER_LINE(3),
1460 				TRIGGER_LINE(4),
1461 				TRIGGER_LINE(5),
1462 				TRIGGER_LINE(6),
1463 				TRIGGER_LINE(7),
1464 				NI_CtrInternalOutput(0),
1465 				NI_CtrInternalOutput(1),
1466 				PXI_Star,
1467 				NI_AO_SampleClockTimebase,
1468 				NI_AnalogComparisonEvent,
1469 				0, /* Termination */
1470 			}
1471 		},
1472 		{
1473 			.dest = NI_AO_SampleClockTimebase,
1474 			.src = (int[]){
1475 				NI_PFI(0),
1476 				NI_PFI(1),
1477 				NI_PFI(2),
1478 				NI_PFI(3),
1479 				NI_PFI(4),
1480 				NI_PFI(5),
1481 				NI_PFI(6),
1482 				NI_PFI(7),
1483 				NI_PFI(8),
1484 				NI_PFI(9),
1485 				NI_PFI(10),
1486 				NI_PFI(11),
1487 				NI_PFI(12),
1488 				NI_PFI(13),
1489 				NI_PFI(14),
1490 				NI_PFI(15),
1491 				TRIGGER_LINE(0),
1492 				TRIGGER_LINE(1),
1493 				TRIGGER_LINE(2),
1494 				TRIGGER_LINE(3),
1495 				TRIGGER_LINE(4),
1496 				TRIGGER_LINE(5),
1497 				TRIGGER_LINE(6),
1498 				TRIGGER_LINE(7),
1499 				PXI_Star,
1500 				PXI_Clk10,
1501 				NI_20MHzTimebase,
1502 				NI_100kHzTimebase,
1503 				NI_AnalogComparisonEvent,
1504 				0, /* Termination */
1505 			}
1506 		},
1507 		{
1508 			.dest = NI_AO_StartTrigger,
1509 			.src = (int[]){
1510 				NI_PFI(0),
1511 				NI_PFI(1),
1512 				NI_PFI(2),
1513 				NI_PFI(3),
1514 				NI_PFI(4),
1515 				NI_PFI(5),
1516 				NI_PFI(6),
1517 				NI_PFI(7),
1518 				NI_PFI(8),
1519 				NI_PFI(9),
1520 				NI_PFI(10),
1521 				NI_PFI(11),
1522 				NI_PFI(12),
1523 				NI_PFI(13),
1524 				NI_PFI(14),
1525 				NI_PFI(15),
1526 				TRIGGER_LINE(0),
1527 				TRIGGER_LINE(1),
1528 				TRIGGER_LINE(2),
1529 				TRIGGER_LINE(3),
1530 				TRIGGER_LINE(4),
1531 				TRIGGER_LINE(5),
1532 				TRIGGER_LINE(6),
1533 				TRIGGER_LINE(7),
1534 				PXI_Star,
1535 				NI_AI_StartTrigger,
1536 				NI_AnalogComparisonEvent,
1537 				0, /* Termination */
1538 			}
1539 		},
1540 		{
1541 			.dest = NI_AO_PauseTrigger,
1542 			.src = (int[]){
1543 				NI_PFI(0),
1544 				NI_PFI(1),
1545 				NI_PFI(2),
1546 				NI_PFI(3),
1547 				NI_PFI(4),
1548 				NI_PFI(5),
1549 				NI_PFI(6),
1550 				NI_PFI(7),
1551 				NI_PFI(8),
1552 				NI_PFI(9),
1553 				NI_PFI(10),
1554 				NI_PFI(11),
1555 				NI_PFI(12),
1556 				NI_PFI(13),
1557 				NI_PFI(14),
1558 				NI_PFI(15),
1559 				TRIGGER_LINE(0),
1560 				TRIGGER_LINE(1),
1561 				TRIGGER_LINE(2),
1562 				TRIGGER_LINE(3),
1563 				TRIGGER_LINE(4),
1564 				TRIGGER_LINE(5),
1565 				TRIGGER_LINE(6),
1566 				TRIGGER_LINE(7),
1567 				PXI_Star,
1568 				NI_AnalogComparisonEvent,
1569 				0, /* Termination */
1570 			}
1571 		},
1572 		{
1573 			.dest = NI_DI_SampleClock,
1574 			.src = (int[]){
1575 				NI_PFI(0),
1576 				NI_PFI(1),
1577 				NI_PFI(2),
1578 				NI_PFI(3),
1579 				NI_PFI(4),
1580 				NI_PFI(5),
1581 				NI_PFI(6),
1582 				NI_PFI(7),
1583 				NI_PFI(8),
1584 				NI_PFI(9),
1585 				NI_PFI(10),
1586 				NI_PFI(11),
1587 				NI_PFI(12),
1588 				NI_PFI(13),
1589 				NI_PFI(14),
1590 				NI_PFI(15),
1591 				TRIGGER_LINE(0),
1592 				TRIGGER_LINE(1),
1593 				TRIGGER_LINE(2),
1594 				TRIGGER_LINE(3),
1595 				TRIGGER_LINE(4),
1596 				TRIGGER_LINE(5),
1597 				TRIGGER_LINE(6),
1598 				TRIGGER_LINE(7),
1599 				NI_CtrInternalOutput(0),
1600 				NI_CtrInternalOutput(1),
1601 				PXI_Star,
1602 				NI_AI_SampleClock,
1603 				NI_AI_ConvertClock,
1604 				NI_AO_SampleClock,
1605 				NI_FrequencyOutput,
1606 				NI_ChangeDetectionEvent,
1607 				NI_AnalogComparisonEvent,
1608 				0, /* Termination */
1609 			}
1610 		},
1611 		{
1612 			.dest = NI_DO_SampleClock,
1613 			.src = (int[]){
1614 				NI_PFI(0),
1615 				NI_PFI(1),
1616 				NI_PFI(2),
1617 				NI_PFI(3),
1618 				NI_PFI(4),
1619 				NI_PFI(5),
1620 				NI_PFI(6),
1621 				NI_PFI(7),
1622 				NI_PFI(8),
1623 				NI_PFI(9),
1624 				NI_PFI(10),
1625 				NI_PFI(11),
1626 				NI_PFI(12),
1627 				NI_PFI(13),
1628 				NI_PFI(14),
1629 				NI_PFI(15),
1630 				TRIGGER_LINE(0),
1631 				TRIGGER_LINE(1),
1632 				TRIGGER_LINE(2),
1633 				TRIGGER_LINE(3),
1634 				TRIGGER_LINE(4),
1635 				TRIGGER_LINE(5),
1636 				TRIGGER_LINE(6),
1637 				TRIGGER_LINE(7),
1638 				NI_CtrInternalOutput(0),
1639 				NI_CtrInternalOutput(1),
1640 				PXI_Star,
1641 				NI_AI_SampleClock,
1642 				NI_AI_ConvertClock,
1643 				NI_AO_SampleClock,
1644 				NI_FrequencyOutput,
1645 				NI_ChangeDetectionEvent,
1646 				NI_AnalogComparisonEvent,
1647 				0, /* Termination */
1648 			}
1649 		},
1650 		{ /* Termination of list */
1651 			.dest = 0,
1652 		},
1653 	},
1654 };
1655