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

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