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