root/drivers/staging/comedi/drivers/ni_routing/ni_device_routes/pci-6259.c

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

/* [<][>][^][v][top][bottom][index][help] */