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