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