1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 #include "../ni_device_routes.h"
29 #include "all.h"
30
31 struct ni_device_routes ni_pci_6602_device_routes = {
32 .device = "pci-6602",
33 .routes = (struct ni_route_set[]){
34 {
35 .dest = NI_PFI(2),
36 .src = (int[]){
37 NI_80MHzTimebase,
38 0,
39 }
40 },
41 {
42 .dest = NI_PFI(3),
43 .src = (int[]){
44 NI_100kHzTimebase,
45 0,
46 }
47 },
48 {
49 .dest = NI_PFI(4),
50 .src = (int[]){
51 NI_20MHzTimebase,
52 0,
53 }
54 },
55 {
56 .dest = NI_PFI(6),
57 .src = (int[]){
58 NI_80MHzTimebase,
59 0,
60 }
61 },
62 {
63 .dest = NI_PFI(7),
64 .src = (int[]){
65 TRIGGER_LINE(7),
66 0,
67 }
68 },
69 {
70 .dest = NI_PFI(8),
71 .src = (int[]){
72 NI_PFI(7),
73 NI_PFI(15),
74 NI_PFI(23),
75 NI_PFI(31),
76 NI_PFI(39),
77 TRIGGER_LINE(0),
78 TRIGGER_LINE(1),
79 TRIGGER_LINE(2),
80 TRIGGER_LINE(3),
81 TRIGGER_LINE(4),
82 TRIGGER_LINE(5),
83 TRIGGER_LINE(6),
84 TRIGGER_LINE(7),
85 NI_CtrInternalOutput(0),
86 NI_CtrInternalOutput(1),
87 NI_CtrInternalOutput(2),
88 NI_CtrInternalOutput(3),
89 NI_CtrInternalOutput(4),
90 NI_CtrInternalOutput(5),
91 NI_CtrInternalOutput(6),
92 NI_CtrInternalOutput(7),
93 NI_LogicLow,
94 NI_LogicHigh,
95 0,
96 }
97 },
98 {
99 .dest = NI_PFI(9),
100 .src = (int[]){
101 NI_PFI(7),
102 NI_PFI(15),
103 NI_PFI(23),
104 NI_PFI(31),
105 NI_PFI(39),
106 TRIGGER_LINE(0),
107 TRIGGER_LINE(1),
108 TRIGGER_LINE(2),
109 TRIGGER_LINE(3),
110 TRIGGER_LINE(4),
111 TRIGGER_LINE(5),
112 TRIGGER_LINE(6),
113 TRIGGER_LINE(7),
114 NI_CtrInternalOutput(0),
115 NI_CtrInternalOutput(1),
116 NI_CtrInternalOutput(2),
117 NI_CtrInternalOutput(3),
118 NI_CtrInternalOutput(4),
119 NI_CtrInternalOutput(5),
120 NI_CtrInternalOutput(6),
121 NI_CtrInternalOutput(7),
122 NI_LogicLow,
123 NI_LogicHigh,
124 0,
125 }
126 },
127 {
128 .dest = NI_PFI(10),
129 .src = (int[]){
130 NI_CtrGate(7),
131 NI_LogicLow,
132 0,
133 }
134 },
135 {
136 .dest = NI_PFI(11),
137 .src = (int[]){
138 NI_CtrSource(7),
139 NI_LogicLow,
140 0,
141 }
142 },
143 {
144 .dest = NI_PFI(12),
145 .src = (int[]){
146 NI_PFI(6),
147 NI_PFI(14),
148 NI_PFI(22),
149 NI_PFI(30),
150 NI_PFI(38),
151 TRIGGER_LINE(0),
152 TRIGGER_LINE(1),
153 TRIGGER_LINE(2),
154 TRIGGER_LINE(3),
155 TRIGGER_LINE(4),
156 TRIGGER_LINE(5),
157 TRIGGER_LINE(6),
158 TRIGGER_LINE(7),
159 NI_CtrInternalOutput(0),
160 NI_CtrInternalOutput(1),
161 NI_CtrInternalOutput(2),
162 NI_CtrInternalOutput(3),
163 NI_CtrInternalOutput(4),
164 NI_CtrInternalOutput(5),
165 NI_CtrInternalOutput(6),
166 NI_CtrInternalOutput(7),
167 NI_LogicLow,
168 NI_LogicHigh,
169 0,
170 }
171 },
172 {
173 .dest = NI_PFI(13),
174 .src = (int[]){
175 NI_PFI(6),
176 NI_PFI(14),
177 NI_PFI(22),
178 NI_PFI(30),
179 NI_PFI(38),
180 TRIGGER_LINE(0),
181 TRIGGER_LINE(1),
182 TRIGGER_LINE(2),
183 TRIGGER_LINE(3),
184 TRIGGER_LINE(4),
185 TRIGGER_LINE(5),
186 TRIGGER_LINE(6),
187 TRIGGER_LINE(7),
188 NI_CtrInternalOutput(0),
189 NI_CtrInternalOutput(1),
190 NI_CtrInternalOutput(2),
191 NI_CtrInternalOutput(3),
192 NI_CtrInternalOutput(4),
193 NI_CtrInternalOutput(5),
194 NI_CtrInternalOutput(6),
195 NI_CtrInternalOutput(7),
196 NI_LogicLow,
197 NI_LogicHigh,
198 0,
199 }
200 },
201 {
202 .dest = NI_PFI(14),
203 .src = (int[]){
204 NI_CtrGate(6),
205 NI_LogicLow,
206 0,
207 }
208 },
209 {
210 .dest = NI_PFI(15),
211 .src = (int[]){
212 NI_CtrSource(6),
213 NI_LogicLow,
214 0,
215 }
216 },
217 {
218 .dest = NI_PFI(16),
219 .src = (int[]){
220 NI_PFI(5),
221 NI_PFI(13),
222 NI_PFI(21),
223 NI_PFI(29),
224 NI_PFI(37),
225 TRIGGER_LINE(0),
226 TRIGGER_LINE(1),
227 TRIGGER_LINE(2),
228 TRIGGER_LINE(3),
229 TRIGGER_LINE(4),
230 TRIGGER_LINE(5),
231 TRIGGER_LINE(6),
232 TRIGGER_LINE(7),
233 NI_CtrInternalOutput(0),
234 NI_CtrInternalOutput(1),
235 NI_CtrInternalOutput(2),
236 NI_CtrInternalOutput(3),
237 NI_CtrInternalOutput(4),
238 NI_CtrInternalOutput(5),
239 NI_CtrInternalOutput(6),
240 NI_CtrInternalOutput(7),
241 NI_LogicLow,
242 NI_LogicHigh,
243 0,
244 }
245 },
246 {
247 .dest = NI_PFI(17),
248 .src = (int[]){
249 NI_PFI(5),
250 NI_PFI(13),
251 NI_PFI(21),
252 NI_PFI(29),
253 NI_PFI(37),
254 TRIGGER_LINE(0),
255 TRIGGER_LINE(1),
256 TRIGGER_LINE(2),
257 TRIGGER_LINE(3),
258 TRIGGER_LINE(4),
259 TRIGGER_LINE(5),
260 TRIGGER_LINE(6),
261 TRIGGER_LINE(7),
262 NI_CtrInternalOutput(0),
263 NI_CtrInternalOutput(1),
264 NI_CtrInternalOutput(2),
265 NI_CtrInternalOutput(3),
266 NI_CtrInternalOutput(4),
267 NI_CtrInternalOutput(5),
268 NI_CtrInternalOutput(6),
269 NI_CtrInternalOutput(7),
270 NI_LogicLow,
271 NI_LogicHigh,
272 0,
273 }
274 },
275 {
276 .dest = NI_PFI(18),
277 .src = (int[]){
278 NI_CtrGate(5),
279 NI_LogicLow,
280 0,
281 }
282 },
283 {
284 .dest = NI_PFI(19),
285 .src = (int[]){
286 NI_CtrSource(5),
287 0,
288 }
289 },
290 {
291 .dest = NI_PFI(20),
292 .src = (int[]){
293 NI_PFI(4),
294 NI_PFI(12),
295 NI_PFI(28),
296 NI_PFI(36),
297 TRIGGER_LINE(0),
298 TRIGGER_LINE(1),
299 TRIGGER_LINE(2),
300 TRIGGER_LINE(3),
301 TRIGGER_LINE(4),
302 TRIGGER_LINE(5),
303 TRIGGER_LINE(6),
304 TRIGGER_LINE(7),
305 NI_CtrInternalOutput(0),
306 NI_CtrInternalOutput(1),
307 NI_CtrInternalOutput(2),
308 NI_CtrInternalOutput(3),
309 NI_CtrInternalOutput(4),
310 NI_CtrInternalOutput(5),
311 NI_CtrInternalOutput(6),
312 NI_CtrInternalOutput(7),
313 NI_LogicLow,
314 NI_LogicHigh,
315 0,
316 }
317 },
318 {
319 .dest = NI_PFI(21),
320 .src = (int[]){
321 NI_PFI(4),
322 NI_PFI(12),
323 NI_PFI(20),
324 NI_PFI(28),
325 NI_PFI(36),
326 TRIGGER_LINE(0),
327 TRIGGER_LINE(1),
328 TRIGGER_LINE(2),
329 TRIGGER_LINE(3),
330 TRIGGER_LINE(4),
331 TRIGGER_LINE(5),
332 TRIGGER_LINE(6),
333 TRIGGER_LINE(7),
334 NI_CtrInternalOutput(0),
335 NI_CtrInternalOutput(1),
336 NI_CtrInternalOutput(2),
337 NI_CtrInternalOutput(3),
338 NI_CtrInternalOutput(4),
339 NI_CtrInternalOutput(5),
340 NI_CtrInternalOutput(6),
341 NI_CtrInternalOutput(7),
342 NI_LogicLow,
343 NI_LogicHigh,
344 0,
345 }
346 },
347 {
348 .dest = NI_PFI(22),
349 .src = (int[]){
350 NI_CtrGate(4),
351 0,
352 }
353 },
354 {
355 .dest = NI_PFI(23),
356 .src = (int[]){
357 NI_CtrSource(4),
358 NI_LogicLow,
359 0,
360 }
361 },
362 {
363 .dest = NI_PFI(24),
364 .src = (int[]){
365 NI_PFI(3),
366 NI_PFI(11),
367 NI_PFI(19),
368 NI_PFI(27),
369 NI_PFI(35),
370 TRIGGER_LINE(0),
371 TRIGGER_LINE(1),
372 TRIGGER_LINE(2),
373 TRIGGER_LINE(3),
374 TRIGGER_LINE(4),
375 TRIGGER_LINE(5),
376 TRIGGER_LINE(6),
377 TRIGGER_LINE(7),
378 NI_CtrSource(3),
379 NI_CtrSource(7),
380 NI_CtrGate(3),
381 NI_CtrGate(7),
382 NI_CtrInternalOutput(0),
383 NI_CtrInternalOutput(1),
384 NI_CtrInternalOutput(2),
385 NI_CtrInternalOutput(3),
386 NI_CtrInternalOutput(4),
387 NI_CtrInternalOutput(5),
388 NI_CtrInternalOutput(6),
389 NI_CtrInternalOutput(7),
390 NI_LogicLow,
391 NI_LogicHigh,
392 0,
393 }
394 },
395 {
396 .dest = NI_PFI(25),
397 .src = (int[]){
398 NI_PFI(3),
399 NI_PFI(11),
400 NI_PFI(19),
401 NI_PFI(27),
402 NI_PFI(35),
403 TRIGGER_LINE(0),
404 TRIGGER_LINE(1),
405 TRIGGER_LINE(2),
406 TRIGGER_LINE(3),
407 TRIGGER_LINE(4),
408 TRIGGER_LINE(5),
409 TRIGGER_LINE(6),
410 TRIGGER_LINE(7),
411 NI_CtrSource(3),
412 NI_CtrSource(7),
413 NI_CtrGate(3),
414 NI_CtrGate(7),
415 NI_CtrInternalOutput(0),
416 NI_CtrInternalOutput(1),
417 NI_CtrInternalOutput(2),
418 NI_CtrInternalOutput(3),
419 NI_CtrInternalOutput(4),
420 NI_CtrInternalOutput(5),
421 NI_CtrInternalOutput(6),
422 NI_CtrInternalOutput(7),
423 NI_LogicLow,
424 NI_LogicHigh,
425 0,
426 }
427 },
428 {
429 .dest = NI_PFI(26),
430 .src = (int[]){
431 NI_CtrGate(3),
432 0,
433 }
434 },
435 {
436 .dest = NI_PFI(27),
437 .src = (int[]){
438 NI_CtrSource(3),
439 0,
440 }
441 },
442 {
443 .dest = NI_PFI(28),
444 .src = (int[]){
445 NI_PFI(2),
446 NI_PFI(10),
447 NI_PFI(18),
448 NI_PFI(26),
449 NI_PFI(34),
450 TRIGGER_LINE(0),
451 TRIGGER_LINE(1),
452 TRIGGER_LINE(2),
453 TRIGGER_LINE(3),
454 TRIGGER_LINE(4),
455 TRIGGER_LINE(5),
456 TRIGGER_LINE(6),
457 TRIGGER_LINE(7),
458 NI_CtrSource(2),
459 NI_CtrSource(6),
460 NI_CtrGate(2),
461 NI_CtrInternalOutput(0),
462 NI_CtrInternalOutput(1),
463 NI_CtrInternalOutput(2),
464 NI_CtrInternalOutput(3),
465 NI_CtrInternalOutput(4),
466 NI_CtrInternalOutput(5),
467 NI_CtrInternalOutput(6),
468 NI_CtrInternalOutput(7),
469 NI_LogicLow,
470 NI_LogicHigh,
471 0,
472 }
473 },
474 {
475 .dest = NI_PFI(29),
476 .src = (int[]){
477 NI_PFI(2),
478 NI_PFI(10),
479 NI_PFI(18),
480 NI_PFI(26),
481 NI_PFI(34),
482 TRIGGER_LINE(0),
483 TRIGGER_LINE(1),
484 TRIGGER_LINE(2),
485 TRIGGER_LINE(3),
486 TRIGGER_LINE(4),
487 TRIGGER_LINE(5),
488 TRIGGER_LINE(6),
489 TRIGGER_LINE(7),
490 NI_CtrSource(2),
491 NI_CtrSource(6),
492 NI_CtrGate(2),
493 NI_CtrInternalOutput(0),
494 NI_CtrInternalOutput(1),
495 NI_CtrInternalOutput(2),
496 NI_CtrInternalOutput(3),
497 NI_CtrInternalOutput(4),
498 NI_CtrInternalOutput(5),
499 NI_CtrInternalOutput(6),
500 NI_CtrInternalOutput(7),
501 NI_LogicLow,
502 NI_LogicHigh,
503 0,
504 }
505 },
506 {
507 .dest = NI_PFI(30),
508 .src = (int[]){
509 NI_CtrGate(2),
510 0,
511 }
512 },
513 {
514 .dest = NI_PFI(31),
515 .src = (int[]){
516 NI_CtrSource(2),
517 0,
518 }
519 },
520 {
521 .dest = NI_PFI(32),
522 .src = (int[]){
523 NI_PFI(1),
524 NI_PFI(9),
525 NI_PFI(17),
526 NI_PFI(25),
527 NI_PFI(33),
528 TRIGGER_LINE(0),
529 TRIGGER_LINE(1),
530 TRIGGER_LINE(2),
531 TRIGGER_LINE(3),
532 TRIGGER_LINE(4),
533 TRIGGER_LINE(5),
534 TRIGGER_LINE(6),
535 TRIGGER_LINE(7),
536 NI_CtrSource(1),
537 NI_CtrSource(5),
538 NI_CtrGate(1),
539 NI_CtrInternalOutput(0),
540 NI_CtrInternalOutput(1),
541 NI_CtrInternalOutput(2),
542 NI_CtrInternalOutput(3),
543 NI_CtrInternalOutput(4),
544 NI_CtrInternalOutput(5),
545 NI_CtrInternalOutput(6),
546 NI_CtrInternalOutput(7),
547 NI_LogicLow,
548 NI_LogicHigh,
549 0,
550 }
551 },
552 {
553 .dest = NI_PFI(33),
554 .src = (int[]){
555 NI_PFI(1),
556 NI_PFI(9),
557 NI_PFI(17),
558 NI_PFI(25),
559 TRIGGER_LINE(0),
560 TRIGGER_LINE(1),
561 TRIGGER_LINE(2),
562 TRIGGER_LINE(3),
563 TRIGGER_LINE(4),
564 TRIGGER_LINE(5),
565 TRIGGER_LINE(6),
566 TRIGGER_LINE(7),
567 NI_CtrSource(1),
568 NI_CtrSource(5),
569 NI_CtrGate(1),
570 NI_CtrInternalOutput(0),
571 NI_CtrInternalOutput(1),
572 NI_CtrInternalOutput(2),
573 NI_CtrInternalOutput(3),
574 NI_CtrInternalOutput(4),
575 NI_CtrInternalOutput(5),
576 NI_CtrInternalOutput(6),
577 NI_CtrInternalOutput(7),
578 NI_LogicLow,
579 NI_LogicHigh,
580 0,
581 }
582 },
583 {
584 .dest = NI_PFI(34),
585 .src = (int[]){
586 NI_CtrGate(1),
587 0,
588 }
589 },
590 {
591 .dest = NI_PFI(35),
592 .src = (int[]){
593 NI_CtrSource(1),
594 0,
595 }
596 },
597 {
598 .dest = NI_PFI(36),
599 .src = (int[]){
600 NI_PFI(0),
601 NI_PFI(1),
602 NI_PFI(2),
603 NI_PFI(3),
604 NI_PFI(4),
605 NI_PFI(5),
606 NI_PFI(6),
607 NI_PFI(7),
608 NI_PFI(8),
609 NI_PFI(9),
610 NI_PFI(10),
611 NI_PFI(11),
612 NI_PFI(12),
613 NI_PFI(13),
614 NI_PFI(14),
615 NI_PFI(15),
616 NI_PFI(16),
617 NI_PFI(17),
618 NI_PFI(18),
619 NI_PFI(19),
620 NI_PFI(20),
621 NI_PFI(21),
622 NI_PFI(22),
623 NI_PFI(23),
624 NI_PFI(24),
625 NI_PFI(25),
626 NI_PFI(26),
627 NI_PFI(27),
628 NI_PFI(28),
629 NI_PFI(29),
630 NI_PFI(30),
631 NI_PFI(31),
632 NI_PFI(32),
633 NI_PFI(33),
634 NI_PFI(34),
635 NI_PFI(35),
636 NI_PFI(37),
637 NI_PFI(38),
638 NI_PFI(39),
639 TRIGGER_LINE(0),
640 TRIGGER_LINE(1),
641 TRIGGER_LINE(2),
642 TRIGGER_LINE(3),
643 TRIGGER_LINE(4),
644 TRIGGER_LINE(5),
645 TRIGGER_LINE(6),
646 TRIGGER_LINE(7),
647 NI_CtrSource(0),
648 NI_CtrSource(5),
649 NI_CtrGate(0),
650 NI_CtrInternalOutput(0),
651 NI_CtrInternalOutput(1),
652 NI_CtrInternalOutput(2),
653 NI_CtrInternalOutput(3),
654 NI_CtrInternalOutput(4),
655 NI_CtrInternalOutput(5),
656 NI_CtrInternalOutput(6),
657 NI_CtrInternalOutput(7),
658 NI_LogicLow,
659 NI_LogicHigh,
660 0,
661 }
662 },
663 {
664 .dest = NI_PFI(37),
665 .src = (int[]){
666 NI_PFI(0),
667 NI_PFI(1),
668 NI_PFI(2),
669 NI_PFI(3),
670 NI_PFI(4),
671 NI_PFI(5),
672 NI_PFI(6),
673 NI_PFI(7),
674 NI_PFI(8),
675 NI_PFI(9),
676 NI_PFI(10),
677 NI_PFI(11),
678 NI_PFI(12),
679 NI_PFI(13),
680 NI_PFI(14),
681 NI_PFI(15),
682 NI_PFI(16),
683 NI_PFI(17),
684 NI_PFI(18),
685 NI_PFI(19),
686 NI_PFI(20),
687 NI_PFI(21),
688 NI_PFI(22),
689 NI_PFI(23),
690 NI_PFI(24),
691 NI_PFI(25),
692 NI_PFI(26),
693 NI_PFI(27),
694 NI_PFI(28),
695 NI_PFI(29),
696 NI_PFI(30),
697 NI_PFI(31),
698 NI_PFI(32),
699 NI_PFI(33),
700 NI_PFI(34),
701 NI_PFI(35),
702 NI_PFI(36),
703 NI_PFI(38),
704 NI_PFI(39),
705 TRIGGER_LINE(0),
706 TRIGGER_LINE(1),
707 TRIGGER_LINE(2),
708 TRIGGER_LINE(3),
709 TRIGGER_LINE(4),
710 TRIGGER_LINE(5),
711 TRIGGER_LINE(6),
712 TRIGGER_LINE(7),
713 NI_CtrSource(0),
714 NI_CtrSource(5),
715 NI_CtrGate(0),
716 NI_CtrInternalOutput(0),
717 NI_CtrInternalOutput(1),
718 NI_CtrInternalOutput(2),
719 NI_CtrInternalOutput(3),
720 NI_CtrInternalOutput(4),
721 NI_CtrInternalOutput(5),
722 NI_CtrInternalOutput(6),
723 NI_CtrInternalOutput(7),
724 NI_LogicLow,
725 NI_LogicHigh,
726 0,
727 }
728 },
729 {
730 .dest = NI_PFI(38),
731 .src = (int[]){
732 NI_CtrGate(0),
733 0,
734 }
735 },
736 {
737 .dest = NI_PFI(39),
738 .src = (int[]){
739 NI_CtrSource(0),
740 0,
741 }
742 },
743 {
744 .dest = TRIGGER_LINE(0),
745 .src = (int[]){
746 NI_PFI(0),
747 NI_PFI(1),
748 NI_PFI(2),
749 NI_PFI(3),
750 NI_PFI(4),
751 NI_PFI(5),
752 NI_PFI(6),
753 NI_PFI(7),
754 NI_PFI(8),
755 NI_PFI(9),
756 NI_PFI(10),
757 NI_PFI(11),
758 NI_PFI(12),
759 NI_PFI(13),
760 NI_PFI(14),
761 NI_PFI(15),
762 NI_PFI(16),
763 NI_PFI(17),
764 NI_PFI(18),
765 NI_PFI(19),
766 NI_PFI(20),
767 NI_PFI(21),
768 NI_PFI(22),
769 NI_PFI(23),
770 NI_PFI(24),
771 NI_PFI(25),
772 NI_PFI(26),
773 NI_PFI(27),
774 NI_PFI(28),
775 NI_PFI(29),
776 NI_PFI(30),
777 NI_PFI(31),
778 NI_PFI(32),
779 NI_PFI(33),
780 NI_PFI(34),
781 NI_PFI(35),
782 NI_PFI(36),
783 NI_PFI(37),
784 NI_PFI(38),
785 NI_PFI(39),
786 NI_CtrSource(0),
787 NI_CtrSource(1),
788 NI_CtrSource(2),
789 NI_CtrSource(3),
790 NI_CtrSource(4),
791 NI_CtrSource(5),
792 NI_CtrSource(6),
793 NI_CtrSource(7),
794 NI_CtrGate(0),
795 NI_CtrGate(1),
796 NI_CtrGate(2),
797 NI_CtrGate(3),
798 NI_CtrGate(4),
799 NI_CtrGate(5),
800 NI_CtrGate(6),
801 NI_CtrGate(7),
802 NI_CtrInternalOutput(0),
803 NI_CtrInternalOutput(1),
804 NI_CtrInternalOutput(2),
805 NI_CtrInternalOutput(3),
806 NI_CtrInternalOutput(4),
807 NI_CtrInternalOutput(5),
808 NI_CtrInternalOutput(6),
809 NI_CtrInternalOutput(7),
810 NI_LogicLow,
811 NI_LogicHigh,
812 0,
813 }
814 },
815 {
816 .dest = TRIGGER_LINE(1),
817 .src = (int[]){
818 NI_PFI(0),
819 NI_PFI(1),
820 NI_PFI(2),
821 NI_PFI(3),
822 NI_PFI(4),
823 NI_PFI(5),
824 NI_PFI(6),
825 NI_PFI(7),
826 NI_PFI(8),
827 NI_PFI(9),
828 NI_PFI(10),
829 NI_PFI(11),
830 NI_PFI(12),
831 NI_PFI(13),
832 NI_PFI(14),
833 NI_PFI(15),
834 NI_PFI(16),
835 NI_PFI(17),
836 NI_PFI(18),
837 NI_PFI(19),
838 NI_PFI(20),
839 NI_PFI(21),
840 NI_PFI(22),
841 NI_PFI(23),
842 NI_PFI(24),
843 NI_PFI(25),
844 NI_PFI(26),
845 NI_PFI(27),
846 NI_PFI(28),
847 NI_PFI(29),
848 NI_PFI(30),
849 NI_PFI(31),
850 NI_PFI(32),
851 NI_PFI(33),
852 NI_PFI(34),
853 NI_PFI(35),
854 NI_PFI(36),
855 NI_PFI(37),
856 NI_PFI(38),
857 NI_PFI(39),
858 NI_CtrSource(0),
859 NI_CtrSource(1),
860 NI_CtrSource(2),
861 NI_CtrSource(3),
862 NI_CtrSource(4),
863 NI_CtrSource(5),
864 NI_CtrSource(6),
865 NI_CtrSource(7),
866 NI_CtrGate(0),
867 NI_CtrGate(1),
868 NI_CtrGate(2),
869 NI_CtrGate(3),
870 NI_CtrGate(4),
871 NI_CtrGate(5),
872 NI_CtrGate(6),
873 NI_CtrGate(7),
874 NI_CtrInternalOutput(0),
875 NI_CtrInternalOutput(1),
876 NI_CtrInternalOutput(2),
877 NI_CtrInternalOutput(3),
878 NI_CtrInternalOutput(4),
879 NI_CtrInternalOutput(5),
880 NI_CtrInternalOutput(6),
881 NI_CtrInternalOutput(7),
882 NI_LogicLow,
883 NI_LogicHigh,
884 0,
885 }
886 },
887 {
888 .dest = TRIGGER_LINE(2),
889 .src = (int[]){
890 NI_PFI(0),
891 NI_PFI(1),
892 NI_PFI(2),
893 NI_PFI(3),
894 NI_PFI(4),
895 NI_PFI(5),
896 NI_PFI(6),
897 NI_PFI(7),
898 NI_PFI(8),
899 NI_PFI(9),
900 NI_PFI(10),
901 NI_PFI(11),
902 NI_PFI(12),
903 NI_PFI(13),
904 NI_PFI(14),
905 NI_PFI(15),
906 NI_PFI(16),
907 NI_PFI(17),
908 NI_PFI(18),
909 NI_PFI(19),
910 NI_PFI(20),
911 NI_PFI(21),
912 NI_PFI(22),
913 NI_PFI(23),
914 NI_PFI(24),
915 NI_PFI(25),
916 NI_PFI(26),
917 NI_PFI(27),
918 NI_PFI(28),
919 NI_PFI(29),
920 NI_PFI(30),
921 NI_PFI(31),
922 NI_PFI(32),
923 NI_PFI(33),
924 NI_PFI(34),
925 NI_PFI(35),
926 NI_PFI(36),
927 NI_PFI(37),
928 NI_PFI(38),
929 NI_PFI(39),
930 NI_CtrSource(0),
931 NI_CtrSource(1),
932 NI_CtrSource(2),
933 NI_CtrSource(3),
934 NI_CtrSource(4),
935 NI_CtrSource(5),
936 NI_CtrSource(6),
937 NI_CtrSource(7),
938 NI_CtrGate(0),
939 NI_CtrGate(1),
940 NI_CtrGate(2),
941 NI_CtrGate(3),
942 NI_CtrGate(4),
943 NI_CtrGate(5),
944 NI_CtrGate(6),
945 NI_CtrGate(7),
946 NI_CtrInternalOutput(0),
947 NI_CtrInternalOutput(1),
948 NI_CtrInternalOutput(2),
949 NI_CtrInternalOutput(3),
950 NI_CtrInternalOutput(4),
951 NI_CtrInternalOutput(5),
952 NI_CtrInternalOutput(6),
953 NI_CtrInternalOutput(7),
954 NI_LogicLow,
955 NI_LogicHigh,
956 0,
957 }
958 },
959 {
960 .dest = TRIGGER_LINE(3),
961 .src = (int[]){
962 NI_PFI(0),
963 NI_PFI(1),
964 NI_PFI(2),
965 NI_PFI(3),
966 NI_PFI(4),
967 NI_PFI(5),
968 NI_PFI(6),
969 NI_PFI(7),
970 NI_PFI(8),
971 NI_PFI(9),
972 NI_PFI(10),
973 NI_PFI(11),
974 NI_PFI(12),
975 NI_PFI(13),
976 NI_PFI(14),
977 NI_PFI(15),
978 NI_PFI(16),
979 NI_PFI(17),
980 NI_PFI(18),
981 NI_PFI(19),
982 NI_PFI(20),
983 NI_PFI(21),
984 NI_PFI(22),
985 NI_PFI(23),
986 NI_PFI(24),
987 NI_PFI(25),
988 NI_PFI(26),
989 NI_PFI(27),
990 NI_PFI(28),
991 NI_PFI(29),
992 NI_PFI(30),
993 NI_PFI(31),
994 NI_PFI(32),
995 NI_PFI(33),
996 NI_PFI(34),
997 NI_PFI(35),
998 NI_PFI(36),
999 NI_PFI(37),
1000 NI_PFI(38),
1001 NI_PFI(39),
1002 NI_CtrSource(0),
1003 NI_CtrSource(1),
1004 NI_CtrSource(2),
1005 NI_CtrSource(3),
1006 NI_CtrSource(4),
1007 NI_CtrSource(5),
1008 NI_CtrSource(6),
1009 NI_CtrSource(7),
1010 NI_CtrGate(0),
1011 NI_CtrGate(1),
1012 NI_CtrGate(2),
1013 NI_CtrGate(3),
1014 NI_CtrGate(4),
1015 NI_CtrGate(5),
1016 NI_CtrGate(6),
1017 NI_CtrGate(7),
1018 NI_CtrInternalOutput(0),
1019 NI_CtrInternalOutput(1),
1020 NI_CtrInternalOutput(2),
1021 NI_CtrInternalOutput(3),
1022 NI_CtrInternalOutput(4),
1023 NI_CtrInternalOutput(5),
1024 NI_CtrInternalOutput(6),
1025 NI_CtrInternalOutput(7),
1026 NI_LogicLow,
1027 NI_LogicHigh,
1028 0,
1029 }
1030 },
1031 {
1032 .dest = TRIGGER_LINE(4),
1033 .src = (int[]){
1034 NI_PFI(0),
1035 NI_PFI(1),
1036 NI_PFI(2),
1037 NI_PFI(3),
1038 NI_PFI(4),
1039 NI_PFI(5),
1040 NI_PFI(6),
1041 NI_PFI(7),
1042 NI_PFI(8),
1043 NI_PFI(9),
1044 NI_PFI(10),
1045 NI_PFI(11),
1046 NI_PFI(12),
1047 NI_PFI(13),
1048 NI_PFI(14),
1049 NI_PFI(15),
1050 NI_PFI(16),
1051 NI_PFI(17),
1052 NI_PFI(18),
1053 NI_PFI(19),
1054 NI_PFI(20),
1055 NI_PFI(21),
1056 NI_PFI(22),
1057 NI_PFI(23),
1058 NI_PFI(24),
1059 NI_PFI(25),
1060 NI_PFI(26),
1061 NI_PFI(27),
1062 NI_PFI(28),
1063 NI_PFI(29),
1064 NI_PFI(30),
1065 NI_PFI(31),
1066 NI_PFI(32),
1067 NI_PFI(33),
1068 NI_PFI(34),
1069 NI_PFI(35),
1070 NI_PFI(36),
1071 NI_PFI(37),
1072 NI_PFI(38),
1073 NI_PFI(39),
1074 NI_CtrSource(0),
1075 NI_CtrSource(1),
1076 NI_CtrSource(2),
1077 NI_CtrSource(3),
1078 NI_CtrSource(4),
1079 NI_CtrSource(5),
1080 NI_CtrSource(6),
1081 NI_CtrSource(7),
1082 NI_CtrGate(0),
1083 NI_CtrGate(1),
1084 NI_CtrGate(2),
1085 NI_CtrGate(3),
1086 NI_CtrGate(4),
1087 NI_CtrGate(5),
1088 NI_CtrGate(6),
1089 NI_CtrGate(7),
1090 NI_CtrInternalOutput(0),
1091 NI_CtrInternalOutput(1),
1092 NI_CtrInternalOutput(2),
1093 NI_CtrInternalOutput(3),
1094 NI_CtrInternalOutput(4),
1095 NI_CtrInternalOutput(5),
1096 NI_CtrInternalOutput(6),
1097 NI_CtrInternalOutput(7),
1098 NI_LogicLow,
1099 NI_LogicHigh,
1100 0,
1101 }
1102 },
1103 {
1104 .dest = TRIGGER_LINE(5),
1105 .src = (int[]){
1106 NI_PFI(0),
1107 NI_PFI(1),
1108 NI_PFI(2),
1109 NI_PFI(3),
1110 NI_PFI(4),
1111 NI_PFI(5),
1112 NI_PFI(6),
1113 NI_PFI(7),
1114 NI_PFI(8),
1115 NI_PFI(9),
1116 NI_PFI(10),
1117 NI_PFI(11),
1118 NI_PFI(12),
1119 NI_PFI(13),
1120 NI_PFI(14),
1121 NI_PFI(15),
1122 NI_PFI(16),
1123 NI_PFI(17),
1124 NI_PFI(18),
1125 NI_PFI(19),
1126 NI_PFI(20),
1127 NI_PFI(21),
1128 NI_PFI(22),
1129 NI_PFI(23),
1130 NI_PFI(24),
1131 NI_PFI(25),
1132 NI_PFI(26),
1133 NI_PFI(27),
1134 NI_PFI(28),
1135 NI_PFI(29),
1136 NI_PFI(30),
1137 NI_PFI(31),
1138 NI_PFI(32),
1139 NI_PFI(33),
1140 NI_PFI(34),
1141 NI_PFI(35),
1142 NI_PFI(36),
1143 NI_PFI(37),
1144 NI_PFI(38),
1145 NI_PFI(39),
1146 NI_CtrSource(0),
1147 NI_CtrSource(1),
1148 NI_CtrSource(2),
1149 NI_CtrSource(3),
1150 NI_CtrSource(4),
1151 NI_CtrSource(5),
1152 NI_CtrSource(6),
1153 NI_CtrSource(7),
1154 NI_CtrGate(0),
1155 NI_CtrGate(1),
1156 NI_CtrGate(2),
1157 NI_CtrGate(3),
1158 NI_CtrGate(4),
1159 NI_CtrGate(5),
1160 NI_CtrGate(6),
1161 NI_CtrGate(7),
1162 NI_CtrInternalOutput(0),
1163 NI_CtrInternalOutput(1),
1164 NI_CtrInternalOutput(2),
1165 NI_CtrInternalOutput(3),
1166 NI_CtrInternalOutput(4),
1167 NI_CtrInternalOutput(5),
1168 NI_CtrInternalOutput(6),
1169 NI_CtrInternalOutput(7),
1170 NI_LogicLow,
1171 NI_LogicHigh,
1172 0,
1173 }
1174 },
1175 {
1176 .dest = TRIGGER_LINE(6),
1177 .src = (int[]){
1178 NI_PFI(0),
1179 NI_PFI(1),
1180 NI_PFI(2),
1181 NI_PFI(3),
1182 NI_PFI(4),
1183 NI_PFI(5),
1184 NI_PFI(6),
1185 NI_PFI(7),
1186 NI_PFI(8),
1187 NI_PFI(9),
1188 NI_PFI(10),
1189 NI_PFI(11),
1190 NI_PFI(12),
1191 NI_PFI(13),
1192 NI_PFI(14),
1193 NI_PFI(15),
1194 NI_PFI(16),
1195 NI_PFI(17),
1196 NI_PFI(18),
1197 NI_PFI(19),
1198 NI_PFI(20),
1199 NI_PFI(21),
1200 NI_PFI(22),
1201 NI_PFI(23),
1202 NI_PFI(24),
1203 NI_PFI(25),
1204 NI_PFI(26),
1205 NI_PFI(27),
1206 NI_PFI(28),
1207 NI_PFI(29),
1208 NI_PFI(30),
1209 NI_PFI(31),
1210 NI_PFI(32),
1211 NI_PFI(33),
1212 NI_PFI(34),
1213 NI_PFI(35),
1214 NI_PFI(36),
1215 NI_PFI(37),
1216 NI_PFI(38),
1217 NI_PFI(39),
1218 NI_CtrSource(0),
1219 NI_CtrSource(1),
1220 NI_CtrSource(2),
1221 NI_CtrSource(3),
1222 NI_CtrSource(4),
1223 NI_CtrSource(5),
1224 NI_CtrSource(6),
1225 NI_CtrSource(7),
1226 NI_CtrGate(0),
1227 NI_CtrGate(1),
1228 NI_CtrGate(2),
1229 NI_CtrGate(3),
1230 NI_CtrGate(4),
1231 NI_CtrGate(5),
1232 NI_CtrGate(6),
1233 NI_CtrGate(7),
1234 NI_CtrInternalOutput(0),
1235 NI_CtrInternalOutput(1),
1236 NI_CtrInternalOutput(2),
1237 NI_CtrInternalOutput(3),
1238 NI_CtrInternalOutput(4),
1239 NI_CtrInternalOutput(5),
1240 NI_CtrInternalOutput(6),
1241 NI_CtrInternalOutput(7),
1242 NI_LogicLow,
1243 NI_LogicHigh,
1244 0,
1245 }
1246 },
1247 {
1248 .dest = TRIGGER_LINE(7),
1249 .src = (int[]){
1250 NI_20MHzTimebase,
1251 0,
1252 }
1253 },
1254 {
1255 .dest = NI_CtrSource(0),
1256 .src = (int[]){
1257 NI_PFI(0),
1258 NI_PFI(1),
1259 NI_PFI(2),
1260 NI_PFI(3),
1261 NI_PFI(4),
1262 NI_PFI(5),
1263 NI_PFI(6),
1264 NI_PFI(7),
1265 NI_PFI(8),
1266 NI_PFI(9),
1267 NI_PFI(10),
1268 NI_PFI(11),
1269 NI_PFI(12),
1270 NI_PFI(13),
1271 NI_PFI(14),
1272 NI_PFI(15),
1273 NI_PFI(16),
1274 NI_PFI(17),
1275 NI_PFI(18),
1276 NI_PFI(19),
1277 NI_PFI(20),
1278 NI_PFI(21),
1279 NI_PFI(22),
1280 NI_PFI(23),
1281 NI_PFI(24),
1282 NI_PFI(25),
1283 NI_PFI(26),
1284 NI_PFI(27),
1285 NI_PFI(28),
1286 NI_PFI(29),
1287 NI_PFI(30),
1288 NI_PFI(31),
1289 NI_PFI(32),
1290 NI_PFI(33),
1291 NI_PFI(34),
1292 NI_PFI(35),
1293 NI_PFI(36),
1294 NI_PFI(37),
1295 NI_PFI(38),
1296 NI_PFI(39),
1297 TRIGGER_LINE(0),
1298 TRIGGER_LINE(1),
1299 TRIGGER_LINE(2),
1300 TRIGGER_LINE(3),
1301 TRIGGER_LINE(4),
1302 TRIGGER_LINE(5),
1303 TRIGGER_LINE(6),
1304 TRIGGER_LINE(7),
1305 NI_CtrSource(1),
1306 NI_CtrSource(2),
1307 NI_CtrSource(3),
1308 NI_CtrGate(1),
1309 NI_CtrGate(2),
1310 NI_CtrGate(3),
1311 NI_CtrInternalOutput(1),
1312 NI_CtrInternalOutput(2),
1313 NI_CtrInternalOutput(3),
1314 NI_20MHzTimebase,
1315 NI_80MHzTimebase,
1316 NI_100kHzTimebase,
1317 NI_LogicLow,
1318 NI_LogicHigh,
1319 0,
1320 }
1321 },
1322 {
1323 .dest = NI_CtrSource(1),
1324 .src = (int[]){
1325 NI_PFI(0),
1326 NI_PFI(1),
1327 NI_PFI(2),
1328 NI_PFI(3),
1329 NI_PFI(4),
1330 NI_PFI(5),
1331 NI_PFI(6),
1332 NI_PFI(7),
1333 NI_PFI(8),
1334 NI_PFI(9),
1335 NI_PFI(10),
1336 NI_PFI(11),
1337 NI_PFI(12),
1338 NI_PFI(13),
1339 NI_PFI(14),
1340 NI_PFI(15),
1341 NI_PFI(16),
1342 NI_PFI(17),
1343 NI_PFI(18),
1344 NI_PFI(19),
1345 NI_PFI(20),
1346 NI_PFI(21),
1347 NI_PFI(22),
1348 NI_PFI(23),
1349 NI_PFI(24),
1350 NI_PFI(25),
1351 NI_PFI(26),
1352 NI_PFI(27),
1353 NI_PFI(28),
1354 NI_PFI(29),
1355 NI_PFI(30),
1356 NI_PFI(31),
1357 NI_PFI(32),
1358 NI_PFI(33),
1359 NI_PFI(34),
1360 NI_PFI(35),
1361 NI_PFI(36),
1362 NI_PFI(37),
1363 NI_PFI(38),
1364 NI_PFI(39),
1365 TRIGGER_LINE(0),
1366 TRIGGER_LINE(1),
1367 TRIGGER_LINE(2),
1368 TRIGGER_LINE(3),
1369 TRIGGER_LINE(4),
1370 TRIGGER_LINE(5),
1371 TRIGGER_LINE(6),
1372 TRIGGER_LINE(7),
1373 NI_CtrSource(0),
1374 NI_CtrSource(2),
1375 NI_CtrSource(3),
1376 NI_CtrGate(0),
1377 NI_CtrGate(2),
1378 NI_CtrGate(3),
1379 NI_CtrInternalOutput(0),
1380 NI_CtrInternalOutput(2),
1381 NI_CtrInternalOutput(3),
1382 NI_20MHzTimebase,
1383 NI_80MHzTimebase,
1384 NI_100kHzTimebase,
1385 NI_LogicLow,
1386 NI_LogicHigh,
1387 0,
1388 }
1389 },
1390 {
1391 .dest = NI_CtrSource(2),
1392 .src = (int[]){
1393 NI_PFI(0),
1394 NI_PFI(1),
1395 NI_PFI(2),
1396 NI_PFI(3),
1397 NI_PFI(4),
1398 NI_PFI(5),
1399 NI_PFI(6),
1400 NI_PFI(7),
1401 NI_PFI(8),
1402 NI_PFI(9),
1403 NI_PFI(10),
1404 NI_PFI(11),
1405 NI_PFI(12),
1406 NI_PFI(13),
1407 NI_PFI(14),
1408 NI_PFI(15),
1409 NI_PFI(16),
1410 NI_PFI(17),
1411 NI_PFI(18),
1412 NI_PFI(19),
1413 NI_PFI(20),
1414 NI_PFI(21),
1415 NI_PFI(22),
1416 NI_PFI(23),
1417 NI_PFI(24),
1418 NI_PFI(25),
1419 NI_PFI(26),
1420 NI_PFI(27),
1421 NI_PFI(28),
1422 NI_PFI(29),
1423 NI_PFI(30),
1424 NI_PFI(31),
1425 NI_PFI(32),
1426 NI_PFI(33),
1427 NI_PFI(34),
1428 NI_PFI(35),
1429 NI_PFI(36),
1430 NI_PFI(37),
1431 NI_PFI(38),
1432 NI_PFI(39),
1433 TRIGGER_LINE(0),
1434 TRIGGER_LINE(1),
1435 TRIGGER_LINE(2),
1436 TRIGGER_LINE(3),
1437 TRIGGER_LINE(4),
1438 TRIGGER_LINE(5),
1439 TRIGGER_LINE(6),
1440 TRIGGER_LINE(7),
1441 NI_CtrSource(0),
1442 NI_CtrSource(1),
1443 NI_CtrSource(3),
1444 NI_CtrGate(0),
1445 NI_CtrGate(1),
1446 NI_CtrGate(3),
1447 NI_CtrInternalOutput(0),
1448 NI_CtrInternalOutput(1),
1449 NI_CtrInternalOutput(3),
1450 NI_20MHzTimebase,
1451 NI_80MHzTimebase,
1452 NI_100kHzTimebase,
1453 NI_LogicLow,
1454 NI_LogicHigh,
1455 0,
1456 }
1457 },
1458 {
1459 .dest = NI_CtrSource(3),
1460 .src = (int[]){
1461 NI_PFI(0),
1462 NI_PFI(1),
1463 NI_PFI(2),
1464 NI_PFI(3),
1465 NI_PFI(4),
1466 NI_PFI(5),
1467 NI_PFI(6),
1468 NI_PFI(7),
1469 NI_PFI(8),
1470 NI_PFI(9),
1471 NI_PFI(10),
1472 NI_PFI(11),
1473 NI_PFI(12),
1474 NI_PFI(13),
1475 NI_PFI(14),
1476 NI_PFI(15),
1477 NI_PFI(16),
1478 NI_PFI(17),
1479 NI_PFI(18),
1480 NI_PFI(19),
1481 NI_PFI(20),
1482 NI_PFI(21),
1483 NI_PFI(22),
1484 NI_PFI(23),
1485 NI_PFI(24),
1486 NI_PFI(25),
1487 NI_PFI(26),
1488 NI_PFI(27),
1489 NI_PFI(28),
1490 NI_PFI(29),
1491 NI_PFI(30),
1492 NI_PFI(31),
1493 NI_PFI(32),
1494 NI_PFI(33),
1495 NI_PFI(34),
1496 NI_PFI(35),
1497 NI_PFI(36),
1498 NI_PFI(37),
1499 NI_PFI(38),
1500 NI_PFI(39),
1501 TRIGGER_LINE(0),
1502 TRIGGER_LINE(1),
1503 TRIGGER_LINE(2),
1504 TRIGGER_LINE(3),
1505 TRIGGER_LINE(4),
1506 TRIGGER_LINE(5),
1507 TRIGGER_LINE(6),
1508 TRIGGER_LINE(7),
1509 NI_CtrSource(0),
1510 NI_CtrSource(1),
1511 NI_CtrSource(2),
1512 NI_CtrGate(0),
1513 NI_CtrGate(1),
1514 NI_CtrGate(2),
1515 NI_CtrInternalOutput(0),
1516 NI_CtrInternalOutput(1),
1517 NI_CtrInternalOutput(2),
1518 NI_20MHzTimebase,
1519 NI_80MHzTimebase,
1520 NI_100kHzTimebase,
1521 NI_LogicLow,
1522 NI_LogicHigh,
1523 0,
1524 }
1525 },
1526 {
1527 .dest = NI_CtrSource(4),
1528 .src = (int[]){
1529 NI_PFI(0),
1530 NI_PFI(1),
1531 NI_PFI(2),
1532 NI_PFI(3),
1533 NI_PFI(4),
1534 NI_PFI(5),
1535 NI_PFI(6),
1536 NI_PFI(7),
1537 NI_PFI(8),
1538 NI_PFI(9),
1539 NI_PFI(10),
1540 NI_PFI(11),
1541 NI_PFI(12),
1542 NI_PFI(13),
1543 NI_PFI(14),
1544 NI_PFI(15),
1545 NI_PFI(16),
1546 NI_PFI(17),
1547 NI_PFI(18),
1548 NI_PFI(19),
1549 NI_PFI(20),
1550 NI_PFI(21),
1551 NI_PFI(22),
1552 NI_PFI(23),
1553 NI_PFI(24),
1554 NI_PFI(25),
1555 NI_PFI(26),
1556 NI_PFI(27),
1557 NI_PFI(28),
1558 NI_PFI(29),
1559 NI_PFI(30),
1560 NI_PFI(31),
1561 NI_PFI(32),
1562 NI_PFI(33),
1563 NI_PFI(34),
1564 NI_PFI(35),
1565 NI_PFI(36),
1566 NI_PFI(37),
1567 NI_PFI(38),
1568 NI_PFI(39),
1569 TRIGGER_LINE(0),
1570 TRIGGER_LINE(1),
1571 TRIGGER_LINE(2),
1572 TRIGGER_LINE(3),
1573 TRIGGER_LINE(4),
1574 TRIGGER_LINE(5),
1575 TRIGGER_LINE(6),
1576 TRIGGER_LINE(7),
1577 NI_CtrSource(5),
1578 NI_CtrSource(6),
1579 NI_CtrSource(7),
1580 NI_CtrGate(5),
1581 NI_CtrGate(6),
1582 NI_CtrGate(7),
1583 NI_CtrInternalOutput(5),
1584 NI_CtrInternalOutput(6),
1585 NI_CtrInternalOutput(7),
1586 NI_20MHzTimebase,
1587 NI_80MHzTimebase,
1588 NI_100kHzTimebase,
1589 NI_LogicLow,
1590 NI_LogicHigh,
1591 0,
1592 }
1593 },
1594 {
1595 .dest = NI_CtrSource(5),
1596 .src = (int[]){
1597 NI_PFI(0),
1598 NI_PFI(1),
1599 NI_PFI(2),
1600 NI_PFI(3),
1601 NI_PFI(4),
1602 NI_PFI(5),
1603 NI_PFI(6),
1604 NI_PFI(7),
1605 NI_PFI(8),
1606 NI_PFI(9),
1607 NI_PFI(10),
1608 NI_PFI(11),
1609 NI_PFI(12),
1610 NI_PFI(13),
1611 NI_PFI(14),
1612 NI_PFI(15),
1613 NI_PFI(16),
1614 NI_PFI(17),
1615 NI_PFI(18),
1616 NI_PFI(19),
1617 NI_PFI(20),
1618 NI_PFI(21),
1619 NI_PFI(22),
1620 NI_PFI(23),
1621 NI_PFI(24),
1622 NI_PFI(25),
1623 NI_PFI(26),
1624 NI_PFI(27),
1625 NI_PFI(28),
1626 NI_PFI(29),
1627 NI_PFI(30),
1628 NI_PFI(31),
1629 NI_PFI(32),
1630 NI_PFI(33),
1631 NI_PFI(34),
1632 NI_PFI(35),
1633 NI_PFI(36),
1634 NI_PFI(37),
1635 NI_PFI(38),
1636 NI_PFI(39),
1637 TRIGGER_LINE(0),
1638 TRIGGER_LINE(1),
1639 TRIGGER_LINE(2),
1640 TRIGGER_LINE(3),
1641 TRIGGER_LINE(4),
1642 TRIGGER_LINE(5),
1643 TRIGGER_LINE(6),
1644 TRIGGER_LINE(7),
1645 NI_CtrSource(4),
1646 NI_CtrSource(6),
1647 NI_CtrSource(7),
1648 NI_CtrGate(4),
1649 NI_CtrGate(6),
1650 NI_CtrGate(7),
1651 NI_CtrInternalOutput(4),
1652 NI_CtrInternalOutput(6),
1653 NI_CtrInternalOutput(7),
1654 NI_20MHzTimebase,
1655 NI_80MHzTimebase,
1656 NI_100kHzTimebase,
1657 NI_LogicLow,
1658 NI_LogicHigh,
1659 0,
1660 }
1661 },
1662 {
1663 .dest = NI_CtrSource(6),
1664 .src = (int[]){
1665 NI_PFI(0),
1666 NI_PFI(1),
1667 NI_PFI(2),
1668 NI_PFI(3),
1669 NI_PFI(4),
1670 NI_PFI(5),
1671 NI_PFI(6),
1672 NI_PFI(7),
1673 NI_PFI(8),
1674 NI_PFI(9),
1675 NI_PFI(10),
1676 NI_PFI(11),
1677 NI_PFI(12),
1678 NI_PFI(13),
1679 NI_PFI(14),
1680 NI_PFI(15),
1681 NI_PFI(16),
1682 NI_PFI(17),
1683 NI_PFI(18),
1684 NI_PFI(19),
1685 NI_PFI(20),
1686 NI_PFI(21),
1687 NI_PFI(22),
1688 NI_PFI(23),
1689 NI_PFI(24),
1690 NI_PFI(25),
1691 NI_PFI(26),
1692 NI_PFI(27),
1693 NI_PFI(28),
1694 NI_PFI(29),
1695 NI_PFI(30),
1696 NI_PFI(31),
1697 NI_PFI(32),
1698 NI_PFI(33),
1699 NI_PFI(34),
1700 NI_PFI(35),
1701 NI_PFI(36),
1702 NI_PFI(37),
1703 NI_PFI(38),
1704 NI_PFI(39),
1705 TRIGGER_LINE(0),
1706 TRIGGER_LINE(1),
1707 TRIGGER_LINE(2),
1708 TRIGGER_LINE(3),
1709 TRIGGER_LINE(4),
1710 TRIGGER_LINE(5),
1711 TRIGGER_LINE(6),
1712 TRIGGER_LINE(7),
1713 NI_CtrSource(4),
1714 NI_CtrSource(5),
1715 NI_CtrSource(7),
1716 NI_CtrGate(4),
1717 NI_CtrGate(5),
1718 NI_CtrGate(7),
1719 NI_CtrInternalOutput(4),
1720 NI_CtrInternalOutput(5),
1721 NI_CtrInternalOutput(7),
1722 NI_20MHzTimebase,
1723 NI_80MHzTimebase,
1724 NI_100kHzTimebase,
1725 NI_LogicLow,
1726 NI_LogicHigh,
1727 0,
1728 }
1729 },
1730 {
1731 .dest = NI_CtrSource(7),
1732 .src = (int[]){
1733 NI_PFI(0),
1734 NI_PFI(1),
1735 NI_PFI(2),
1736 NI_PFI(3),
1737 NI_PFI(4),
1738 NI_PFI(5),
1739 NI_PFI(6),
1740 NI_PFI(7),
1741 NI_PFI(8),
1742 NI_PFI(9),
1743 NI_PFI(10),
1744 NI_PFI(11),
1745 NI_PFI(12),
1746 NI_PFI(13),
1747 NI_PFI(14),
1748 NI_PFI(15),
1749 NI_PFI(16),
1750 NI_PFI(17),
1751 NI_PFI(18),
1752 NI_PFI(19),
1753 NI_PFI(20),
1754 NI_PFI(21),
1755 NI_PFI(22),
1756 NI_PFI(23),
1757 NI_PFI(24),
1758 NI_PFI(25),
1759 NI_PFI(26),
1760 NI_PFI(27),
1761 NI_PFI(28),
1762 NI_PFI(29),
1763 NI_PFI(30),
1764 NI_PFI(31),
1765 NI_PFI(32),
1766 NI_PFI(33),
1767 NI_PFI(34),
1768 NI_PFI(35),
1769 NI_PFI(36),
1770 NI_PFI(37),
1771 NI_PFI(38),
1772 NI_PFI(39),
1773 TRIGGER_LINE(0),
1774 TRIGGER_LINE(1),
1775 TRIGGER_LINE(2),
1776 TRIGGER_LINE(3),
1777 TRIGGER_LINE(4),
1778 TRIGGER_LINE(5),
1779 TRIGGER_LINE(6),
1780 TRIGGER_LINE(7),
1781 NI_CtrSource(4),
1782 NI_CtrSource(5),
1783 NI_CtrSource(6),
1784 NI_CtrGate(4),
1785 NI_CtrGate(5),
1786 NI_CtrGate(6),
1787 NI_CtrInternalOutput(4),
1788 NI_CtrInternalOutput(5),
1789 NI_CtrInternalOutput(6),
1790 NI_20MHzTimebase,
1791 NI_80MHzTimebase,
1792 NI_100kHzTimebase,
1793 NI_LogicLow,
1794 NI_LogicHigh,
1795 0,
1796 }
1797 },
1798 {
1799 .dest = NI_CtrGate(0),
1800 .src = (int[]){
1801 NI_PFI(0),
1802 NI_PFI(1),
1803 NI_PFI(2),
1804 NI_PFI(3),
1805 NI_PFI(4),
1806 NI_PFI(5),
1807 NI_PFI(6),
1808 NI_PFI(7),
1809 NI_PFI(8),
1810 NI_PFI(9),
1811 NI_PFI(10),
1812 NI_PFI(11),
1813 NI_PFI(12),
1814 NI_PFI(13),
1815 NI_PFI(14),
1816 NI_PFI(15),
1817 NI_PFI(16),
1818 NI_PFI(17),
1819 NI_PFI(18),
1820 NI_PFI(19),
1821 NI_PFI(20),
1822 NI_PFI(21),
1823 NI_PFI(22),
1824 NI_PFI(23),
1825 NI_PFI(24),
1826 NI_PFI(25),
1827 NI_PFI(26),
1828 NI_PFI(27),
1829 NI_PFI(28),
1830 NI_PFI(29),
1831 NI_PFI(30),
1832 NI_PFI(31),
1833 NI_PFI(32),
1834 NI_PFI(33),
1835 NI_PFI(34),
1836 NI_PFI(35),
1837 NI_PFI(36),
1838 NI_PFI(37),
1839 NI_PFI(38),
1840 NI_PFI(39),
1841 TRIGGER_LINE(0),
1842 TRIGGER_LINE(1),
1843 TRIGGER_LINE(2),
1844 TRIGGER_LINE(3),
1845 TRIGGER_LINE(4),
1846 TRIGGER_LINE(5),
1847 TRIGGER_LINE(6),
1848 TRIGGER_LINE(7),
1849 NI_CtrSource(1),
1850 NI_CtrSource(2),
1851 NI_CtrSource(3),
1852 NI_CtrGate(1),
1853 NI_CtrGate(2),
1854 NI_CtrGate(3),
1855 NI_CtrInternalOutput(1),
1856 NI_CtrInternalOutput(2),
1857 NI_CtrInternalOutput(3),
1858 NI_LogicLow,
1859 NI_LogicHigh,
1860 0,
1861 }
1862 },
1863 {
1864 .dest = NI_CtrGate(1),
1865 .src = (int[]){
1866 NI_PFI(0),
1867 NI_PFI(1),
1868 NI_PFI(2),
1869 NI_PFI(3),
1870 NI_PFI(4),
1871 NI_PFI(5),
1872 NI_PFI(6),
1873 NI_PFI(7),
1874 NI_PFI(8),
1875 NI_PFI(9),
1876 NI_PFI(10),
1877 NI_PFI(11),
1878 NI_PFI(12),
1879 NI_PFI(13),
1880 NI_PFI(14),
1881 NI_PFI(15),
1882 NI_PFI(16),
1883 NI_PFI(17),
1884 NI_PFI(18),
1885 NI_PFI(19),
1886 NI_PFI(20),
1887 NI_PFI(21),
1888 NI_PFI(22),
1889 NI_PFI(23),
1890 NI_PFI(24),
1891 NI_PFI(25),
1892 NI_PFI(26),
1893 NI_PFI(27),
1894 NI_PFI(28),
1895 NI_PFI(29),
1896 NI_PFI(30),
1897 NI_PFI(31),
1898 NI_PFI(32),
1899 NI_PFI(33),
1900 NI_PFI(34),
1901 NI_PFI(35),
1902 NI_PFI(36),
1903 NI_PFI(37),
1904 NI_PFI(38),
1905 NI_PFI(39),
1906 TRIGGER_LINE(0),
1907 TRIGGER_LINE(1),
1908 TRIGGER_LINE(2),
1909 TRIGGER_LINE(3),
1910 TRIGGER_LINE(4),
1911 TRIGGER_LINE(5),
1912 TRIGGER_LINE(6),
1913 TRIGGER_LINE(7),
1914 NI_CtrSource(0),
1915 NI_CtrSource(2),
1916 NI_CtrSource(3),
1917 NI_CtrGate(0),
1918 NI_CtrGate(2),
1919 NI_CtrGate(3),
1920 NI_CtrInternalOutput(0),
1921 NI_CtrInternalOutput(2),
1922 NI_CtrInternalOutput(3),
1923 NI_LogicLow,
1924 NI_LogicHigh,
1925 0,
1926 }
1927 },
1928 {
1929 .dest = NI_CtrGate(2),
1930 .src = (int[]){
1931 NI_PFI(0),
1932 NI_PFI(1),
1933 NI_PFI(2),
1934 NI_PFI(3),
1935 NI_PFI(4),
1936 NI_PFI(5),
1937 NI_PFI(6),
1938 NI_PFI(7),
1939 NI_PFI(8),
1940 NI_PFI(9),
1941 NI_PFI(10),
1942 NI_PFI(11),
1943 NI_PFI(12),
1944 NI_PFI(13),
1945 NI_PFI(14),
1946 NI_PFI(15),
1947 NI_PFI(16),
1948 NI_PFI(17),
1949 NI_PFI(18),
1950 NI_PFI(19),
1951 NI_PFI(20),
1952 NI_PFI(21),
1953 NI_PFI(22),
1954 NI_PFI(23),
1955 NI_PFI(24),
1956 NI_PFI(25),
1957 NI_PFI(26),
1958 NI_PFI(27),
1959 NI_PFI(28),
1960 NI_PFI(29),
1961 NI_PFI(30),
1962 NI_PFI(31),
1963 NI_PFI(32),
1964 NI_PFI(33),
1965 NI_PFI(34),
1966 NI_PFI(35),
1967 NI_PFI(36),
1968 NI_PFI(37),
1969 NI_PFI(38),
1970 NI_PFI(39),
1971 TRIGGER_LINE(0),
1972 TRIGGER_LINE(1),
1973 TRIGGER_LINE(2),
1974 TRIGGER_LINE(3),
1975 TRIGGER_LINE(4),
1976 TRIGGER_LINE(5),
1977 TRIGGER_LINE(6),
1978 TRIGGER_LINE(7),
1979 NI_CtrSource(0),
1980 NI_CtrSource(1),
1981 NI_CtrSource(3),
1982 NI_CtrGate(0),
1983 NI_CtrGate(1),
1984 NI_CtrGate(3),
1985 NI_CtrInternalOutput(0),
1986 NI_CtrInternalOutput(1),
1987 NI_CtrInternalOutput(3),
1988 NI_LogicLow,
1989 NI_LogicHigh,
1990 0,
1991 }
1992 },
1993 {
1994 .dest = NI_CtrGate(3),
1995 .src = (int[]){
1996 NI_PFI(0),
1997 NI_PFI(1),
1998 NI_PFI(2),
1999 NI_PFI(3),
2000 NI_PFI(4),
2001 NI_PFI(5),
2002 NI_PFI(6),
2003 NI_PFI(7),
2004 NI_PFI(8),
2005 NI_PFI(9),
2006 NI_PFI(10),
2007 NI_PFI(11),
2008 NI_PFI(12),
2009 NI_PFI(13),
2010 NI_PFI(14),
2011 NI_PFI(15),
2012 NI_PFI(16),
2013 NI_PFI(17),
2014 NI_PFI(18),
2015 NI_PFI(19),
2016 NI_PFI(20),
2017 NI_PFI(21),
2018 NI_PFI(22),
2019 NI_PFI(23),
2020 NI_PFI(24),
2021 NI_PFI(25),
2022 NI_PFI(26),
2023 NI_PFI(27),
2024 NI_PFI(28),
2025 NI_PFI(29),
2026 NI_PFI(30),
2027 NI_PFI(31),
2028 NI_PFI(32),
2029 NI_PFI(33),
2030 NI_PFI(34),
2031 NI_PFI(35),
2032 NI_PFI(36),
2033 NI_PFI(37),
2034 NI_PFI(38),
2035 NI_PFI(39),
2036 TRIGGER_LINE(0),
2037 TRIGGER_LINE(1),
2038 TRIGGER_LINE(2),
2039 TRIGGER_LINE(3),
2040 TRIGGER_LINE(4),
2041 TRIGGER_LINE(5),
2042 TRIGGER_LINE(6),
2043 TRIGGER_LINE(7),
2044 NI_CtrSource(0),
2045 NI_CtrSource(1),
2046 NI_CtrSource(2),
2047 NI_CtrGate(0),
2048 NI_CtrGate(1),
2049 NI_CtrGate(2),
2050 NI_CtrInternalOutput(0),
2051 NI_CtrInternalOutput(1),
2052 NI_CtrInternalOutput(2),
2053 NI_LogicLow,
2054 NI_LogicHigh,
2055 0,
2056 }
2057 },
2058 {
2059 .dest = NI_CtrGate(4),
2060 .src = (int[]){
2061 NI_PFI(0),
2062 NI_PFI(1),
2063 NI_PFI(2),
2064 NI_PFI(3),
2065 NI_PFI(4),
2066 NI_PFI(5),
2067 NI_PFI(6),
2068 NI_PFI(7),
2069 NI_PFI(8),
2070 NI_PFI(9),
2071 NI_PFI(10),
2072 NI_PFI(11),
2073 NI_PFI(12),
2074 NI_PFI(13),
2075 NI_PFI(14),
2076 NI_PFI(15),
2077 NI_PFI(16),
2078 NI_PFI(17),
2079 NI_PFI(18),
2080 NI_PFI(19),
2081 NI_PFI(20),
2082 NI_PFI(21),
2083 NI_PFI(22),
2084 NI_PFI(23),
2085 NI_PFI(24),
2086 NI_PFI(25),
2087 NI_PFI(26),
2088 NI_PFI(27),
2089 NI_PFI(28),
2090 NI_PFI(29),
2091 NI_PFI(30),
2092 NI_PFI(31),
2093 NI_PFI(32),
2094 NI_PFI(33),
2095 NI_PFI(34),
2096 NI_PFI(35),
2097 NI_PFI(36),
2098 NI_PFI(37),
2099 NI_PFI(38),
2100 NI_PFI(39),
2101 TRIGGER_LINE(0),
2102 TRIGGER_LINE(1),
2103 TRIGGER_LINE(2),
2104 TRIGGER_LINE(3),
2105 TRIGGER_LINE(4),
2106 TRIGGER_LINE(5),
2107 TRIGGER_LINE(6),
2108 TRIGGER_LINE(7),
2109 NI_CtrSource(5),
2110 NI_CtrSource(6),
2111 NI_CtrSource(7),
2112 NI_CtrGate(5),
2113 NI_CtrGate(6),
2114 NI_CtrGate(7),
2115 NI_CtrInternalOutput(5),
2116 NI_CtrInternalOutput(6),
2117 NI_CtrInternalOutput(7),
2118 NI_LogicLow,
2119 NI_LogicHigh,
2120 0,
2121 }
2122 },
2123 {
2124 .dest = NI_CtrGate(5),
2125 .src = (int[]){
2126 NI_PFI(0),
2127 NI_PFI(1),
2128 NI_PFI(2),
2129 NI_PFI(3),
2130 NI_PFI(4),
2131 NI_PFI(5),
2132 NI_PFI(6),
2133 NI_PFI(7),
2134 NI_PFI(8),
2135 NI_PFI(9),
2136 NI_PFI(10),
2137 NI_PFI(11),
2138 NI_PFI(12),
2139 NI_PFI(13),
2140 NI_PFI(14),
2141 NI_PFI(15),
2142 NI_PFI(16),
2143 NI_PFI(17),
2144 NI_PFI(18),
2145 NI_PFI(19),
2146 NI_PFI(20),
2147 NI_PFI(21),
2148 NI_PFI(22),
2149 NI_PFI(23),
2150 NI_PFI(24),
2151 NI_PFI(25),
2152 NI_PFI(26),
2153 NI_PFI(27),
2154 NI_PFI(28),
2155 NI_PFI(29),
2156 NI_PFI(30),
2157 NI_PFI(31),
2158 NI_PFI(32),
2159 NI_PFI(33),
2160 NI_PFI(34),
2161 NI_PFI(35),
2162 NI_PFI(36),
2163 NI_PFI(37),
2164 NI_PFI(38),
2165 NI_PFI(39),
2166 TRIGGER_LINE(0),
2167 TRIGGER_LINE(1),
2168 TRIGGER_LINE(2),
2169 TRIGGER_LINE(3),
2170 TRIGGER_LINE(4),
2171 TRIGGER_LINE(5),
2172 TRIGGER_LINE(6),
2173 TRIGGER_LINE(7),
2174 NI_CtrSource(4),
2175 NI_CtrSource(6),
2176 NI_CtrSource(7),
2177 NI_CtrGate(4),
2178 NI_CtrGate(6),
2179 NI_CtrGate(7),
2180 NI_CtrInternalOutput(4),
2181 NI_CtrInternalOutput(6),
2182 NI_CtrInternalOutput(7),
2183 NI_LogicLow,
2184 NI_LogicHigh,
2185 0,
2186 }
2187 },
2188 {
2189 .dest = NI_CtrGate(6),
2190 .src = (int[]){
2191 NI_PFI(0),
2192 NI_PFI(1),
2193 NI_PFI(2),
2194 NI_PFI(3),
2195 NI_PFI(4),
2196 NI_PFI(5),
2197 NI_PFI(6),
2198 NI_PFI(7),
2199 NI_PFI(8),
2200 NI_PFI(9),
2201 NI_PFI(10),
2202 NI_PFI(11),
2203 NI_PFI(12),
2204 NI_PFI(13),
2205 NI_PFI(14),
2206 NI_PFI(15),
2207 NI_PFI(16),
2208 NI_PFI(17),
2209 NI_PFI(18),
2210 NI_PFI(19),
2211 NI_PFI(20),
2212 NI_PFI(21),
2213 NI_PFI(22),
2214 NI_PFI(23),
2215 NI_PFI(24),
2216 NI_PFI(25),
2217 NI_PFI(26),
2218 NI_PFI(27),
2219 NI_PFI(28),
2220 NI_PFI(29),
2221 NI_PFI(30),
2222 NI_PFI(31),
2223 NI_PFI(32),
2224 NI_PFI(33),
2225 NI_PFI(34),
2226 NI_PFI(35),
2227 NI_PFI(36),
2228 NI_PFI(37),
2229 NI_PFI(38),
2230 NI_PFI(39),
2231 TRIGGER_LINE(0),
2232 TRIGGER_LINE(1),
2233 TRIGGER_LINE(2),
2234 TRIGGER_LINE(3),
2235 TRIGGER_LINE(4),
2236 TRIGGER_LINE(5),
2237 TRIGGER_LINE(6),
2238 TRIGGER_LINE(7),
2239 NI_CtrSource(4),
2240 NI_CtrSource(5),
2241 NI_CtrSource(7),
2242 NI_CtrGate(4),
2243 NI_CtrGate(5),
2244 NI_CtrGate(7),
2245 NI_CtrInternalOutput(4),
2246 NI_CtrInternalOutput(5),
2247 NI_CtrInternalOutput(7),
2248 NI_LogicLow,
2249 NI_LogicHigh,
2250 0,
2251 }
2252 },
2253 {
2254 .dest = NI_CtrGate(7),
2255 .src = (int[]){
2256 NI_PFI(0),
2257 NI_PFI(1),
2258 NI_PFI(2),
2259 NI_PFI(3),
2260 NI_PFI(4),
2261 NI_PFI(5),
2262 NI_PFI(6),
2263 NI_PFI(7),
2264 NI_PFI(8),
2265 NI_PFI(9),
2266 NI_PFI(10),
2267 NI_PFI(11),
2268 NI_PFI(12),
2269 NI_PFI(13),
2270 NI_PFI(14),
2271 NI_PFI(15),
2272 NI_PFI(16),
2273 NI_PFI(17),
2274 NI_PFI(18),
2275 NI_PFI(19),
2276 NI_PFI(20),
2277 NI_PFI(21),
2278 NI_PFI(22),
2279 NI_PFI(23),
2280 NI_PFI(24),
2281 NI_PFI(25),
2282 NI_PFI(26),
2283 NI_PFI(27),
2284 NI_PFI(28),
2285 NI_PFI(29),
2286 NI_PFI(30),
2287 NI_PFI(31),
2288 NI_PFI(32),
2289 NI_PFI(33),
2290 NI_PFI(34),
2291 NI_PFI(35),
2292 NI_PFI(36),
2293 NI_PFI(37),
2294 NI_PFI(38),
2295 NI_PFI(39),
2296 TRIGGER_LINE(0),
2297 TRIGGER_LINE(1),
2298 TRIGGER_LINE(2),
2299 TRIGGER_LINE(3),
2300 TRIGGER_LINE(4),
2301 TRIGGER_LINE(5),
2302 TRIGGER_LINE(6),
2303 TRIGGER_LINE(7),
2304 NI_CtrSource(4),
2305 NI_CtrSource(5),
2306 NI_CtrSource(6),
2307 NI_CtrGate(4),
2308 NI_CtrGate(5),
2309 NI_CtrGate(6),
2310 NI_CtrInternalOutput(4),
2311 NI_CtrInternalOutput(5),
2312 NI_CtrInternalOutput(6),
2313 NI_LogicLow,
2314 NI_LogicHigh,
2315 0,
2316 }
2317 },
2318 {
2319 .dest = NI_CtrAux(0),
2320 .src = (int[]){
2321 NI_PFI(0),
2322 NI_PFI(1),
2323 NI_PFI(2),
2324 NI_PFI(3),
2325 NI_PFI(4),
2326 NI_PFI(5),
2327 NI_PFI(6),
2328 NI_PFI(7),
2329 NI_PFI(8),
2330 NI_PFI(9),
2331 NI_PFI(10),
2332 NI_PFI(11),
2333 NI_PFI(12),
2334 NI_PFI(13),
2335 NI_PFI(14),
2336 NI_PFI(15),
2337 NI_PFI(16),
2338 NI_PFI(17),
2339 NI_PFI(18),
2340 NI_PFI(19),
2341 NI_PFI(20),
2342 NI_PFI(21),
2343 NI_PFI(22),
2344 NI_PFI(23),
2345 NI_PFI(24),
2346 NI_PFI(25),
2347 NI_PFI(26),
2348 NI_PFI(27),
2349 NI_PFI(28),
2350 NI_PFI(29),
2351 NI_PFI(30),
2352 NI_PFI(31),
2353 NI_PFI(32),
2354 NI_PFI(33),
2355 NI_PFI(34),
2356 NI_PFI(35),
2357 NI_PFI(36),
2358 NI_PFI(37),
2359 NI_PFI(38),
2360 NI_PFI(39),
2361 TRIGGER_LINE(0),
2362 TRIGGER_LINE(1),
2363 TRIGGER_LINE(2),
2364 TRIGGER_LINE(3),
2365 TRIGGER_LINE(4),
2366 TRIGGER_LINE(5),
2367 TRIGGER_LINE(6),
2368 TRIGGER_LINE(7),
2369 NI_CtrSource(1),
2370 NI_CtrSource(2),
2371 NI_CtrSource(3),
2372 NI_CtrGate(0),
2373 NI_CtrGate(1),
2374 NI_CtrGate(2),
2375 NI_CtrGate(3),
2376 NI_CtrInternalOutput(1),
2377 NI_CtrInternalOutput(2),
2378 NI_CtrInternalOutput(3),
2379 NI_LogicLow,
2380 NI_LogicHigh,
2381 0,
2382 }
2383 },
2384 {
2385 .dest = NI_CtrAux(1),
2386 .src = (int[]){
2387 NI_PFI(0),
2388 NI_PFI(1),
2389 NI_PFI(2),
2390 NI_PFI(3),
2391 NI_PFI(4),
2392 NI_PFI(5),
2393 NI_PFI(6),
2394 NI_PFI(7),
2395 NI_PFI(8),
2396 NI_PFI(9),
2397 NI_PFI(10),
2398 NI_PFI(11),
2399 NI_PFI(12),
2400 NI_PFI(13),
2401 NI_PFI(14),
2402 NI_PFI(15),
2403 NI_PFI(16),
2404 NI_PFI(17),
2405 NI_PFI(18),
2406 NI_PFI(19),
2407 NI_PFI(20),
2408 NI_PFI(21),
2409 NI_PFI(22),
2410 NI_PFI(23),
2411 NI_PFI(24),
2412 NI_PFI(25),
2413 NI_PFI(26),
2414 NI_PFI(27),
2415 NI_PFI(28),
2416 NI_PFI(29),
2417 NI_PFI(30),
2418 NI_PFI(31),
2419 NI_PFI(32),
2420 NI_PFI(33),
2421 NI_PFI(34),
2422 NI_PFI(35),
2423 NI_PFI(36),
2424 NI_PFI(37),
2425 NI_PFI(38),
2426 NI_PFI(39),
2427 TRIGGER_LINE(0),
2428 TRIGGER_LINE(1),
2429 TRIGGER_LINE(2),
2430 TRIGGER_LINE(3),
2431 TRIGGER_LINE(4),
2432 TRIGGER_LINE(5),
2433 TRIGGER_LINE(6),
2434 TRIGGER_LINE(7),
2435 NI_CtrSource(0),
2436 NI_CtrSource(2),
2437 NI_CtrSource(3),
2438 NI_CtrGate(0),
2439 NI_CtrGate(1),
2440 NI_CtrGate(2),
2441 NI_CtrGate(3),
2442 NI_CtrInternalOutput(0),
2443 NI_CtrInternalOutput(2),
2444 NI_CtrInternalOutput(3),
2445 NI_LogicLow,
2446 NI_LogicHigh,
2447 0,
2448 }
2449 },
2450 {
2451 .dest = NI_CtrAux(2),
2452 .src = (int[]){
2453 NI_PFI(0),
2454 NI_PFI(1),
2455 NI_PFI(2),
2456 NI_PFI(3),
2457 NI_PFI(4),
2458 NI_PFI(5),
2459 NI_PFI(6),
2460 NI_PFI(7),
2461 NI_PFI(8),
2462 NI_PFI(9),
2463 NI_PFI(10),
2464 NI_PFI(11),
2465 NI_PFI(12),
2466 NI_PFI(13),
2467 NI_PFI(14),
2468 NI_PFI(15),
2469 NI_PFI(16),
2470 NI_PFI(17),
2471 NI_PFI(18),
2472 NI_PFI(19),
2473 NI_PFI(20),
2474 NI_PFI(21),
2475 NI_PFI(22),
2476 NI_PFI(23),
2477 NI_PFI(24),
2478 NI_PFI(25),
2479 NI_PFI(26),
2480 NI_PFI(27),
2481 NI_PFI(28),
2482 NI_PFI(29),
2483 NI_PFI(30),
2484 NI_PFI(31),
2485 NI_PFI(32),
2486 NI_PFI(33),
2487 NI_PFI(34),
2488 NI_PFI(35),
2489 NI_PFI(36),
2490 NI_PFI(37),
2491 NI_PFI(38),
2492 NI_PFI(39),
2493 TRIGGER_LINE(0),
2494 TRIGGER_LINE(1),
2495 TRIGGER_LINE(2),
2496 TRIGGER_LINE(3),
2497 TRIGGER_LINE(4),
2498 TRIGGER_LINE(5),
2499 TRIGGER_LINE(6),
2500 TRIGGER_LINE(7),
2501 NI_CtrSource(0),
2502 NI_CtrSource(1),
2503 NI_CtrSource(3),
2504 NI_CtrGate(0),
2505 NI_CtrGate(1),
2506 NI_CtrGate(2),
2507 NI_CtrGate(3),
2508 NI_CtrInternalOutput(0),
2509 NI_CtrInternalOutput(1),
2510 NI_CtrInternalOutput(3),
2511 NI_LogicLow,
2512 NI_LogicHigh,
2513 0,
2514 }
2515 },
2516 {
2517 .dest = NI_CtrAux(3),
2518 .src = (int[]){
2519 NI_PFI(0),
2520 NI_PFI(1),
2521 NI_PFI(2),
2522 NI_PFI(3),
2523 NI_PFI(4),
2524 NI_PFI(5),
2525 NI_PFI(6),
2526 NI_PFI(7),
2527 NI_PFI(8),
2528 NI_PFI(9),
2529 NI_PFI(10),
2530 NI_PFI(11),
2531 NI_PFI(12),
2532 NI_PFI(13),
2533 NI_PFI(14),
2534 NI_PFI(15),
2535 NI_PFI(16),
2536 NI_PFI(17),
2537 NI_PFI(18),
2538 NI_PFI(19),
2539 NI_PFI(20),
2540 NI_PFI(21),
2541 NI_PFI(22),
2542 NI_PFI(23),
2543 NI_PFI(24),
2544 NI_PFI(25),
2545 NI_PFI(26),
2546 NI_PFI(27),
2547 NI_PFI(28),
2548 NI_PFI(29),
2549 NI_PFI(30),
2550 NI_PFI(31),
2551 NI_PFI(32),
2552 NI_PFI(33),
2553 NI_PFI(34),
2554 NI_PFI(35),
2555 NI_PFI(36),
2556 NI_PFI(37),
2557 NI_PFI(38),
2558 NI_PFI(39),
2559 TRIGGER_LINE(0),
2560 TRIGGER_LINE(1),
2561 TRIGGER_LINE(2),
2562 TRIGGER_LINE(3),
2563 TRIGGER_LINE(4),
2564 TRIGGER_LINE(5),
2565 TRIGGER_LINE(6),
2566 TRIGGER_LINE(7),
2567 NI_CtrSource(0),
2568 NI_CtrSource(1),
2569 NI_CtrSource(2),
2570 NI_CtrGate(0),
2571 NI_CtrGate(1),
2572 NI_CtrGate(2),
2573 NI_CtrGate(3),
2574 NI_CtrInternalOutput(0),
2575 NI_CtrInternalOutput(1),
2576 NI_CtrInternalOutput(2),
2577 NI_LogicLow,
2578 NI_LogicHigh,
2579 0,
2580 }
2581 },
2582 {
2583 .dest = NI_CtrAux(4),
2584 .src = (int[]){
2585 NI_PFI(0),
2586 NI_PFI(1),
2587 NI_PFI(2),
2588 NI_PFI(3),
2589 NI_PFI(4),
2590 NI_PFI(5),
2591 NI_PFI(6),
2592 NI_PFI(7),
2593 NI_PFI(8),
2594 NI_PFI(9),
2595 NI_PFI(10),
2596 NI_PFI(11),
2597 NI_PFI(12),
2598 NI_PFI(13),
2599 NI_PFI(14),
2600 NI_PFI(15),
2601 NI_PFI(16),
2602 NI_PFI(17),
2603 NI_PFI(18),
2604 NI_PFI(19),
2605 NI_PFI(20),
2606 NI_PFI(21),
2607 NI_PFI(22),
2608 NI_PFI(23),
2609 NI_PFI(24),
2610 NI_PFI(25),
2611 NI_PFI(26),
2612 NI_PFI(27),
2613 NI_PFI(28),
2614 NI_PFI(29),
2615 NI_PFI(30),
2616 NI_PFI(31),
2617 NI_PFI(32),
2618 NI_PFI(33),
2619 NI_PFI(34),
2620 NI_PFI(35),
2621 NI_PFI(36),
2622 NI_PFI(37),
2623 NI_PFI(38),
2624 NI_PFI(39),
2625 TRIGGER_LINE(0),
2626 TRIGGER_LINE(1),
2627 TRIGGER_LINE(2),
2628 TRIGGER_LINE(3),
2629 TRIGGER_LINE(4),
2630 TRIGGER_LINE(5),
2631 TRIGGER_LINE(6),
2632 TRIGGER_LINE(7),
2633 NI_CtrSource(5),
2634 NI_CtrSource(6),
2635 NI_CtrSource(7),
2636 NI_CtrGate(4),
2637 NI_CtrGate(5),
2638 NI_CtrGate(6),
2639 NI_CtrGate(7),
2640 NI_CtrInternalOutput(5),
2641 NI_CtrInternalOutput(6),
2642 NI_CtrInternalOutput(7),
2643 NI_LogicLow,
2644 NI_LogicHigh,
2645 0,
2646 }
2647 },
2648 {
2649 .dest = NI_CtrAux(5),
2650 .src = (int[]){
2651 NI_PFI(0),
2652 NI_PFI(1),
2653 NI_PFI(2),
2654 NI_PFI(3),
2655 NI_PFI(4),
2656 NI_PFI(5),
2657 NI_PFI(6),
2658 NI_PFI(7),
2659 NI_PFI(8),
2660 NI_PFI(9),
2661 NI_PFI(10),
2662 NI_PFI(11),
2663 NI_PFI(12),
2664 NI_PFI(13),
2665 NI_PFI(14),
2666 NI_PFI(15),
2667 NI_PFI(16),
2668 NI_PFI(17),
2669 NI_PFI(18),
2670 NI_PFI(19),
2671 NI_PFI(20),
2672 NI_PFI(21),
2673 NI_PFI(22),
2674 NI_PFI(23),
2675 NI_PFI(24),
2676 NI_PFI(25),
2677 NI_PFI(26),
2678 NI_PFI(27),
2679 NI_PFI(28),
2680 NI_PFI(29),
2681 NI_PFI(30),
2682 NI_PFI(31),
2683 NI_PFI(32),
2684 NI_PFI(33),
2685 NI_PFI(34),
2686 NI_PFI(35),
2687 NI_PFI(36),
2688 NI_PFI(37),
2689 NI_PFI(38),
2690 NI_PFI(39),
2691 TRIGGER_LINE(0),
2692 TRIGGER_LINE(1),
2693 TRIGGER_LINE(2),
2694 TRIGGER_LINE(3),
2695 TRIGGER_LINE(4),
2696 TRIGGER_LINE(5),
2697 TRIGGER_LINE(6),
2698 TRIGGER_LINE(7),
2699 NI_CtrSource(4),
2700 NI_CtrSource(6),
2701 NI_CtrSource(7),
2702 NI_CtrGate(4),
2703 NI_CtrGate(5),
2704 NI_CtrGate(6),
2705 NI_CtrGate(7),
2706 NI_CtrInternalOutput(4),
2707 NI_CtrInternalOutput(6),
2708 NI_CtrInternalOutput(7),
2709 NI_LogicLow,
2710 NI_LogicHigh,
2711 0,
2712 }
2713 },
2714 {
2715 .dest = NI_CtrAux(6),
2716 .src = (int[]){
2717 NI_PFI(0),
2718 NI_PFI(1),
2719 NI_PFI(2),
2720 NI_PFI(3),
2721 NI_PFI(4),
2722 NI_PFI(5),
2723 NI_PFI(6),
2724 NI_PFI(7),
2725 NI_PFI(8),
2726 NI_PFI(9),
2727 NI_PFI(10),
2728 NI_PFI(11),
2729 NI_PFI(12),
2730 NI_PFI(13),
2731 NI_PFI(14),
2732 NI_PFI(15),
2733 NI_PFI(16),
2734 NI_PFI(17),
2735 NI_PFI(18),
2736 NI_PFI(19),
2737 NI_PFI(20),
2738 NI_PFI(21),
2739 NI_PFI(22),
2740 NI_PFI(23),
2741 NI_PFI(24),
2742 NI_PFI(25),
2743 NI_PFI(26),
2744 NI_PFI(27),
2745 NI_PFI(28),
2746 NI_PFI(29),
2747 NI_PFI(30),
2748 NI_PFI(31),
2749 NI_PFI(32),
2750 NI_PFI(33),
2751 NI_PFI(34),
2752 NI_PFI(35),
2753 NI_PFI(36),
2754 NI_PFI(37),
2755 NI_PFI(38),
2756 NI_PFI(39),
2757 TRIGGER_LINE(0),
2758 TRIGGER_LINE(1),
2759 TRIGGER_LINE(2),
2760 TRIGGER_LINE(3),
2761 TRIGGER_LINE(4),
2762 TRIGGER_LINE(5),
2763 TRIGGER_LINE(6),
2764 TRIGGER_LINE(7),
2765 NI_CtrSource(4),
2766 NI_CtrSource(5),
2767 NI_CtrSource(7),
2768 NI_CtrGate(4),
2769 NI_CtrGate(5),
2770 NI_CtrGate(6),
2771 NI_CtrGate(7),
2772 NI_CtrInternalOutput(4),
2773 NI_CtrInternalOutput(5),
2774 NI_CtrInternalOutput(7),
2775 NI_LogicLow,
2776 NI_LogicHigh,
2777 0,
2778 }
2779 },
2780 {
2781 .dest = NI_CtrAux(7),
2782 .src = (int[]){
2783 NI_PFI(0),
2784 NI_PFI(1),
2785 NI_PFI(2),
2786 NI_PFI(3),
2787 NI_PFI(4),
2788 NI_PFI(5),
2789 NI_PFI(6),
2790 NI_PFI(7),
2791 NI_PFI(8),
2792 NI_PFI(9),
2793 NI_PFI(10),
2794 NI_PFI(11),
2795 NI_PFI(12),
2796 NI_PFI(13),
2797 NI_PFI(14),
2798 NI_PFI(15),
2799 NI_PFI(16),
2800 NI_PFI(17),
2801 NI_PFI(18),
2802 NI_PFI(19),
2803 NI_PFI(20),
2804 NI_PFI(21),
2805 NI_PFI(22),
2806 NI_PFI(23),
2807 NI_PFI(24),
2808 NI_PFI(25),
2809 NI_PFI(26),
2810 NI_PFI(27),
2811 NI_PFI(28),
2812 NI_PFI(29),
2813 NI_PFI(30),
2814 NI_PFI(31),
2815 NI_PFI(32),
2816 NI_PFI(33),
2817 NI_PFI(34),
2818 NI_PFI(35),
2819 NI_PFI(36),
2820 NI_PFI(37),
2821 NI_PFI(38),
2822 NI_PFI(39),
2823 TRIGGER_LINE(0),
2824 TRIGGER_LINE(1),
2825 TRIGGER_LINE(2),
2826 TRIGGER_LINE(3),
2827 TRIGGER_LINE(4),
2828 TRIGGER_LINE(5),
2829 TRIGGER_LINE(6),
2830 TRIGGER_LINE(7),
2831 NI_CtrSource(4),
2832 NI_CtrSource(5),
2833 NI_CtrSource(6),
2834 NI_CtrGate(4),
2835 NI_CtrGate(5),
2836 NI_CtrGate(6),
2837 NI_CtrGate(7),
2838 NI_CtrInternalOutput(4),
2839 NI_CtrInternalOutput(5),
2840 NI_CtrInternalOutput(6),
2841 NI_LogicLow,
2842 NI_LogicHigh,
2843 0,
2844 }
2845 },
2846 {
2847 .dest = NI_CtrArmStartTrigger(0),
2848 .src = (int[]){
2849 NI_PFI(0),
2850 NI_PFI(1),
2851 NI_PFI(2),
2852 NI_PFI(3),
2853 NI_PFI(4),
2854 NI_PFI(5),
2855 NI_PFI(6),
2856 NI_PFI(7),
2857 NI_PFI(8),
2858 NI_PFI(9),
2859 NI_PFI(10),
2860 NI_PFI(11),
2861 NI_PFI(12),
2862 NI_PFI(13),
2863 NI_PFI(14),
2864 NI_PFI(15),
2865 NI_PFI(16),
2866 NI_PFI(17),
2867 NI_PFI(18),
2868 NI_PFI(19),
2869 NI_PFI(20),
2870 NI_PFI(21),
2871 NI_PFI(22),
2872 NI_PFI(23),
2873 NI_PFI(24),
2874 NI_PFI(25),
2875 NI_PFI(26),
2876 NI_PFI(27),
2877 NI_PFI(28),
2878 NI_PFI(29),
2879 NI_PFI(30),
2880 NI_PFI(31),
2881 NI_PFI(32),
2882 NI_PFI(33),
2883 NI_PFI(34),
2884 NI_PFI(35),
2885 NI_PFI(36),
2886 NI_PFI(37),
2887 NI_PFI(38),
2888 NI_PFI(39),
2889 TRIGGER_LINE(0),
2890 TRIGGER_LINE(1),
2891 TRIGGER_LINE(2),
2892 TRIGGER_LINE(3),
2893 TRIGGER_LINE(4),
2894 TRIGGER_LINE(5),
2895 TRIGGER_LINE(6),
2896 TRIGGER_LINE(7),
2897 NI_CtrSource(1),
2898 NI_CtrSource(2),
2899 NI_CtrSource(3),
2900 NI_CtrGate(1),
2901 NI_CtrGate(2),
2902 NI_CtrGate(3),
2903 NI_CtrInternalOutput(1),
2904 NI_CtrInternalOutput(2),
2905 NI_CtrInternalOutput(3),
2906 NI_LogicLow,
2907 NI_LogicHigh,
2908 0,
2909 }
2910 },
2911 {
2912 .dest = NI_CtrArmStartTrigger(1),
2913 .src = (int[]){
2914 NI_PFI(0),
2915 NI_PFI(1),
2916 NI_PFI(2),
2917 NI_PFI(3),
2918 NI_PFI(4),
2919 NI_PFI(5),
2920 NI_PFI(6),
2921 NI_PFI(7),
2922 NI_PFI(8),
2923 NI_PFI(9),
2924 NI_PFI(10),
2925 NI_PFI(11),
2926 NI_PFI(12),
2927 NI_PFI(13),
2928 NI_PFI(14),
2929 NI_PFI(15),
2930 NI_PFI(16),
2931 NI_PFI(17),
2932 NI_PFI(18),
2933 NI_PFI(19),
2934 NI_PFI(20),
2935 NI_PFI(21),
2936 NI_PFI(22),
2937 NI_PFI(23),
2938 NI_PFI(24),
2939 NI_PFI(25),
2940 NI_PFI(26),
2941 NI_PFI(27),
2942 NI_PFI(28),
2943 NI_PFI(29),
2944 NI_PFI(30),
2945 NI_PFI(31),
2946 NI_PFI(32),
2947 NI_PFI(33),
2948 NI_PFI(34),
2949 NI_PFI(35),
2950 NI_PFI(36),
2951 NI_PFI(37),
2952 NI_PFI(38),
2953 NI_PFI(39),
2954 TRIGGER_LINE(0),
2955 TRIGGER_LINE(1),
2956 TRIGGER_LINE(2),
2957 TRIGGER_LINE(3),
2958 TRIGGER_LINE(4),
2959 TRIGGER_LINE(5),
2960 TRIGGER_LINE(6),
2961 TRIGGER_LINE(7),
2962 NI_CtrSource(0),
2963 NI_CtrSource(2),
2964 NI_CtrSource(3),
2965 NI_CtrGate(0),
2966 NI_CtrGate(2),
2967 NI_CtrGate(3),
2968 NI_CtrInternalOutput(0),
2969 NI_CtrInternalOutput(2),
2970 NI_CtrInternalOutput(3),
2971 NI_LogicLow,
2972 NI_LogicHigh,
2973 0,
2974 }
2975 },
2976 {
2977 .dest = NI_CtrArmStartTrigger(2),
2978 .src = (int[]){
2979 NI_PFI(0),
2980 NI_PFI(1),
2981 NI_PFI(2),
2982 NI_PFI(3),
2983 NI_PFI(4),
2984 NI_PFI(5),
2985 NI_PFI(6),
2986 NI_PFI(7),
2987 NI_PFI(8),
2988 NI_PFI(9),
2989 NI_PFI(10),
2990 NI_PFI(11),
2991 NI_PFI(12),
2992 NI_PFI(13),
2993 NI_PFI(14),
2994 NI_PFI(15),
2995 NI_PFI(16),
2996 NI_PFI(17),
2997 NI_PFI(18),
2998 NI_PFI(19),
2999 NI_PFI(20),
3000 NI_PFI(21),
3001 NI_PFI(22),
3002 NI_PFI(23),
3003 NI_PFI(24),
3004 NI_PFI(25),
3005 NI_PFI(26),
3006 NI_PFI(27),
3007 NI_PFI(28),
3008 NI_PFI(29),
3009 NI_PFI(30),
3010 NI_PFI(31),
3011 NI_PFI(32),
3012 NI_PFI(33),
3013 NI_PFI(34),
3014 NI_PFI(35),
3015 NI_PFI(36),
3016 NI_PFI(37),
3017 NI_PFI(38),
3018 NI_PFI(39),
3019 TRIGGER_LINE(0),
3020 TRIGGER_LINE(1),
3021 TRIGGER_LINE(2),
3022 TRIGGER_LINE(3),
3023 TRIGGER_LINE(4),
3024 TRIGGER_LINE(5),
3025 TRIGGER_LINE(6),
3026 TRIGGER_LINE(7),
3027 NI_CtrSource(0),
3028 NI_CtrSource(1),
3029 NI_CtrSource(3),
3030 NI_CtrGate(0),
3031 NI_CtrGate(1),
3032 NI_CtrGate(3),
3033 NI_CtrInternalOutput(0),
3034 NI_CtrInternalOutput(1),
3035 NI_CtrInternalOutput(3),
3036 NI_LogicLow,
3037 NI_LogicHigh,
3038 0,
3039 }
3040 },
3041 {
3042 .dest = NI_CtrArmStartTrigger(3),
3043 .src = (int[]){
3044 NI_PFI(0),
3045 NI_PFI(1),
3046 NI_PFI(2),
3047 NI_PFI(3),
3048 NI_PFI(4),
3049 NI_PFI(5),
3050 NI_PFI(6),
3051 NI_PFI(7),
3052 NI_PFI(8),
3053 NI_PFI(9),
3054 NI_PFI(10),
3055 NI_PFI(11),
3056 NI_PFI(12),
3057 NI_PFI(13),
3058 NI_PFI(14),
3059 NI_PFI(15),
3060 NI_PFI(16),
3061 NI_PFI(17),
3062 NI_PFI(18),
3063 NI_PFI(19),
3064 NI_PFI(20),
3065 NI_PFI(21),
3066 NI_PFI(22),
3067 NI_PFI(23),
3068 NI_PFI(24),
3069 NI_PFI(25),
3070 NI_PFI(26),
3071 NI_PFI(27),
3072 NI_PFI(28),
3073 NI_PFI(29),
3074 NI_PFI(30),
3075 NI_PFI(31),
3076 NI_PFI(32),
3077 NI_PFI(33),
3078 NI_PFI(34),
3079 NI_PFI(35),
3080 NI_PFI(36),
3081 NI_PFI(37),
3082 NI_PFI(38),
3083 NI_PFI(39),
3084 TRIGGER_LINE(0),
3085 TRIGGER_LINE(1),
3086 TRIGGER_LINE(2),
3087 TRIGGER_LINE(3),
3088 TRIGGER_LINE(4),
3089 TRIGGER_LINE(5),
3090 TRIGGER_LINE(6),
3091 TRIGGER_LINE(7),
3092 NI_CtrSource(0),
3093 NI_CtrSource(1),
3094 NI_CtrSource(2),
3095 NI_CtrGate(0),
3096 NI_CtrGate(1),
3097 NI_CtrGate(2),
3098 NI_CtrInternalOutput(0),
3099 NI_CtrInternalOutput(1),
3100 NI_CtrInternalOutput(2),
3101 NI_LogicLow,
3102 NI_LogicHigh,
3103 0,
3104 }
3105 },
3106 {
3107 .dest = NI_CtrArmStartTrigger(4),
3108 .src = (int[]){
3109 NI_PFI(0),
3110 NI_PFI(1),
3111 NI_PFI(2),
3112 NI_PFI(3),
3113 NI_PFI(4),
3114 NI_PFI(5),
3115 NI_PFI(6),
3116 NI_PFI(7),
3117 NI_PFI(8),
3118 NI_PFI(9),
3119 NI_PFI(10),
3120 NI_PFI(11),
3121 NI_PFI(12),
3122 NI_PFI(13),
3123 NI_PFI(14),
3124 NI_PFI(15),
3125 NI_PFI(16),
3126 NI_PFI(17),
3127 NI_PFI(18),
3128 NI_PFI(19),
3129 NI_PFI(20),
3130 NI_PFI(21),
3131 NI_PFI(22),
3132 NI_PFI(23),
3133 NI_PFI(24),
3134 NI_PFI(25),
3135 NI_PFI(26),
3136 NI_PFI(27),
3137 NI_PFI(28),
3138 NI_PFI(29),
3139 NI_PFI(30),
3140 NI_PFI(31),
3141 NI_PFI(32),
3142 NI_PFI(33),
3143 NI_PFI(34),
3144 NI_PFI(35),
3145 NI_PFI(36),
3146 NI_PFI(37),
3147 NI_PFI(38),
3148 NI_PFI(39),
3149 TRIGGER_LINE(0),
3150 TRIGGER_LINE(1),
3151 TRIGGER_LINE(2),
3152 TRIGGER_LINE(3),
3153 TRIGGER_LINE(4),
3154 TRIGGER_LINE(5),
3155 TRIGGER_LINE(6),
3156 TRIGGER_LINE(7),
3157 NI_CtrSource(5),
3158 NI_CtrSource(6),
3159 NI_CtrSource(7),
3160 NI_CtrGate(5),
3161 NI_CtrGate(6),
3162 NI_CtrGate(7),
3163 NI_CtrInternalOutput(5),
3164 NI_CtrInternalOutput(6),
3165 NI_CtrInternalOutput(7),
3166 NI_LogicLow,
3167 NI_LogicHigh,
3168 0,
3169 }
3170 },
3171 {
3172 .dest = NI_CtrArmStartTrigger(5),
3173 .src = (int[]){
3174 NI_PFI(0),
3175 NI_PFI(1),
3176 NI_PFI(2),
3177 NI_PFI(3),
3178 NI_PFI(4),
3179 NI_PFI(5),
3180 NI_PFI(6),
3181 NI_PFI(7),
3182 NI_PFI(8),
3183 NI_PFI(9),
3184 NI_PFI(10),
3185 NI_PFI(11),
3186 NI_PFI(12),
3187 NI_PFI(13),
3188 NI_PFI(14),
3189 NI_PFI(15),
3190 NI_PFI(16),
3191 NI_PFI(17),
3192 NI_PFI(18),
3193 NI_PFI(19),
3194 NI_PFI(20),
3195 NI_PFI(21),
3196 NI_PFI(22),
3197 NI_PFI(23),
3198 NI_PFI(24),
3199 NI_PFI(25),
3200 NI_PFI(26),
3201 NI_PFI(27),
3202 NI_PFI(28),
3203 NI_PFI(29),
3204 NI_PFI(30),
3205 NI_PFI(31),
3206 NI_PFI(32),
3207 NI_PFI(33),
3208 NI_PFI(34),
3209 NI_PFI(35),
3210 NI_PFI(36),
3211 NI_PFI(37),
3212 NI_PFI(38),
3213 NI_PFI(39),
3214 TRIGGER_LINE(0),
3215 TRIGGER_LINE(1),
3216 TRIGGER_LINE(2),
3217 TRIGGER_LINE(3),
3218 TRIGGER_LINE(4),
3219 TRIGGER_LINE(5),
3220 TRIGGER_LINE(6),
3221 TRIGGER_LINE(7),
3222 NI_CtrSource(4),
3223 NI_CtrSource(6),
3224 NI_CtrSource(7),
3225 NI_CtrGate(4),
3226 NI_CtrGate(6),
3227 NI_CtrGate(7),
3228 NI_CtrInternalOutput(4),
3229 NI_CtrInternalOutput(6),
3230 NI_CtrInternalOutput(7),
3231 NI_LogicLow,
3232 NI_LogicHigh,
3233 0,
3234 }
3235 },
3236 {
3237 .dest = NI_CtrArmStartTrigger(6),
3238 .src = (int[]){
3239 NI_PFI(0),
3240 NI_PFI(1),
3241 NI_PFI(2),
3242 NI_PFI(3),
3243 NI_PFI(4),
3244 NI_PFI(5),
3245 NI_PFI(6),
3246 NI_PFI(7),
3247 NI_PFI(8),
3248 NI_PFI(9),
3249 NI_PFI(10),
3250 NI_PFI(11),
3251 NI_PFI(12),
3252 NI_PFI(13),
3253 NI_PFI(14),
3254 NI_PFI(15),
3255 NI_PFI(16),
3256 NI_PFI(17),
3257 NI_PFI(18),
3258 NI_PFI(19),
3259 NI_PFI(20),
3260 NI_PFI(21),
3261 NI_PFI(22),
3262 NI_PFI(23),
3263 NI_PFI(24),
3264 NI_PFI(25),
3265 NI_PFI(26),
3266 NI_PFI(27),
3267 NI_PFI(28),
3268 NI_PFI(29),
3269 NI_PFI(30),
3270 NI_PFI(31),
3271 NI_PFI(32),
3272 NI_PFI(33),
3273 NI_PFI(34),
3274 NI_PFI(35),
3275 NI_PFI(36),
3276 NI_PFI(37),
3277 NI_PFI(38),
3278 NI_PFI(39),
3279 TRIGGER_LINE(0),
3280 TRIGGER_LINE(1),
3281 TRIGGER_LINE(2),
3282 TRIGGER_LINE(3),
3283 TRIGGER_LINE(4),
3284 TRIGGER_LINE(5),
3285 TRIGGER_LINE(6),
3286 TRIGGER_LINE(7),
3287 NI_CtrSource(4),
3288 NI_CtrSource(5),
3289 NI_CtrSource(7),
3290 NI_CtrGate(4),
3291 NI_CtrGate(5),
3292 NI_CtrGate(7),
3293 NI_CtrInternalOutput(4),
3294 NI_CtrInternalOutput(5),
3295 NI_CtrInternalOutput(7),
3296 NI_LogicLow,
3297 NI_LogicHigh,
3298 0,
3299 }
3300 },
3301 {
3302 .dest = NI_CtrArmStartTrigger(7),
3303 .src = (int[]){
3304 NI_PFI(0),
3305 NI_PFI(1),
3306 NI_PFI(2),
3307 NI_PFI(3),
3308 NI_PFI(4),
3309 NI_PFI(5),
3310 NI_PFI(6),
3311 NI_PFI(7),
3312 NI_PFI(8),
3313 NI_PFI(9),
3314 NI_PFI(10),
3315 NI_PFI(11),
3316 NI_PFI(12),
3317 NI_PFI(13),
3318 NI_PFI(14),
3319 NI_PFI(15),
3320 NI_PFI(16),
3321 NI_PFI(17),
3322 NI_PFI(18),
3323 NI_PFI(19),
3324 NI_PFI(20),
3325 NI_PFI(21),
3326 NI_PFI(22),
3327 NI_PFI(23),
3328 NI_PFI(24),
3329 NI_PFI(25),
3330 NI_PFI(26),
3331 NI_PFI(27),
3332 NI_PFI(28),
3333 NI_PFI(29),
3334 NI_PFI(30),
3335 NI_PFI(31),
3336 NI_PFI(32),
3337 NI_PFI(33),
3338 NI_PFI(34),
3339 NI_PFI(35),
3340 NI_PFI(36),
3341 NI_PFI(37),
3342 NI_PFI(38),
3343 NI_PFI(39),
3344 TRIGGER_LINE(0),
3345 TRIGGER_LINE(1),
3346 TRIGGER_LINE(2),
3347 TRIGGER_LINE(3),
3348 TRIGGER_LINE(4),
3349 TRIGGER_LINE(5),
3350 TRIGGER_LINE(6),
3351 TRIGGER_LINE(7),
3352 NI_CtrSource(4),
3353 NI_CtrSource(5),
3354 NI_CtrSource(6),
3355 NI_CtrGate(4),
3356 NI_CtrGate(5),
3357 NI_CtrGate(6),
3358 NI_CtrInternalOutput(4),
3359 NI_CtrInternalOutput(5),
3360 NI_CtrInternalOutput(6),
3361 NI_LogicLow,
3362 NI_LogicHigh,
3363 0,
3364 }
3365 },
3366 {
3367 .dest = NI_MasterTimebase,
3368 .src = (int[]){
3369 TRIGGER_LINE(7),
3370 NI_20MHzTimebase,
3371 0,
3372 }
3373 },
3374 {
3375 .dest = 0,
3376 },
3377 },
3378 };