Code covered by the BSD License  

Highlights from
MATLAB Support Package for NI ELVIS II

MATLAB Support Package for NI ELVIS II

by

 

MATLAB library for communicating with a National Instrument ELVIS II prototyping platform

elvis.private.Const
classdef Const
    %CONST Contains NIDAQmx constants
    %   Direct copy of constants from NIDAQmx header in MATLAB format. See
    %   NI-DAQmx documentation for more info.
            
    %   MATLAB Support Package for NI ELVIS II
    %   Version 1.0
    %   Copyright 2011 The MathWorks, Inc.

	properties (Constant)
		DAQmx_Val_Task_Start                                            = 0
		DAQmx_Val_Task_Stop                                             = 1
		DAQmx_Val_Task_Verify                                           = 2
		DAQmx_Val_Task_Commit                                           = 3
		DAQmx_Val_Task_Reserve                                          = 4
		DAQmx_Val_Task_Unreserve                                        = 5
		DAQmx_Val_Task_Abort                                            = 6
		DAQmx_Val_Acquired_Into_Buffer                                  = 1
		DAQmx_Val_Transferred_From_Buffer                               = 2
		DAQmx_Val_ResetTimer                                            = 0
		DAQmx_Val_ClearExpiration                                       = 1
		DAQmx_Val_ChanPerLine                                           = 0
		DAQmx_Val_ChanForAllLines                                       = 1
		DAQmx_Val_GroupByChannel                                        = 0
		DAQmx_Val_GroupByScanNumber                                     = 1
		DAQmx_Val_DoNotInvertPolarity                                   = 0
		DAQmx_Val_InvertPolarity                                        = 1
		DAQmx_Val_Action_Commit                                         = 0
		DAQmx_Val_Action_Cancel                                         = 1
		DAQmx_Val_AdvanceTrigger                                        = 12488
		DAQmx_Val_Rising                                                = 10280
		DAQmx_Val_Falling                                               = 10171
		DAQmx_Val_PathStatus_Available                                  = 10431
		DAQmx_Val_PathStatus_AlreadyExists                              = 10432
		DAQmx_Val_PathStatus_Unsupported                                = 10433
		DAQmx_Val_PathStatus_ChannelInUse                               = 10434
		DAQmx_Val_PathStatus_SourceChannelConflict                      = 10435
		DAQmx_Val_PathStatus_ChannelReservedForRouting                  = 10436
		DAQmx_Val_DegC                                                  = 10143
		DAQmx_Val_DegF                                                  = 10144
		DAQmx_Val_Kelvins                                               = 10325
		DAQmx_Val_DegR                                                  = 10145
		DAQmx_Val_High                                                  = 10192
		DAQmx_Val_Low                                                   = 10214
		DAQmx_Val_Tristate                                              = 10310
		DAQmx_Val_PullUp                                                = 15950
		DAQmx_Val_PullDown                                              = 15951
		DAQmx_Val_ChannelVoltage                                        = 0
		DAQmx_Val_ChannelCurrent                                        = 1
		DAQmx_Val_Open                                                  = 10437
		DAQmx_Val_Closed                                                = 10438
		DAQmx_Val_Loopback0                                             = 0
		DAQmx_Val_Loopback180                                           = 1
		DAQmx_Val_Ground                                                = 2
        DAQmx_Val_Cfg_Default                                           = -1
        DAQmx_Val_Default                                               = -1
		DAQmx_Val_4Wire                                                     = 4
		DAQmx_Val_5Wire                                                     = 5
		DAQmx_Val_HighResolution                                        = 10195
		DAQmx_Val_HighSpeed                                             = 14712
		DAQmx_Val_Best50HzRejection                                     = 14713
		DAQmx_Val_Best60HzRejection                                     = 14714
		DAQmx_Val_Custom                                                = 10137
		DAQmx_Val_Voltage                                               = 10322
		DAQmx_Val_VoltageRMS                                            = 10350
		DAQmx_Val_Current                                               = 10134
		DAQmx_Val_CurrentRMS                                            = 10351
		DAQmx_Val_Voltage_CustomWithExcitation                          = 10323
		DAQmx_Val_Bridge                                                = 15908
		DAQmx_Val_Freq_Voltage                                          = 10181
		DAQmx_Val_Resistance                                            = 10278
		DAQmx_Val_Temp_TC                                               = 10303
		DAQmx_Val_Temp_Thrmstr                                          = 10302
		DAQmx_Val_Temp_RTD                                              = 10301
		DAQmx_Val_Temp_BuiltInSensor                                    = 10311
		DAQmx_Val_Strain_Gage                                           = 10300
		DAQmx_Val_Position_LVDT                                         = 10352
		DAQmx_Val_Position_RVDT                                         = 10353
		DAQmx_Val_Position_EddyCurrentProximityProbe                    = 14835
		DAQmx_Val_Accelerometer                                         = 10356
		DAQmx_Val_Force_Bridge                                          = 15899
		DAQmx_Val_Force_IEPESensor                                      = 15895
		DAQmx_Val_Pressure_Bridge                                       = 15902
		DAQmx_Val_SoundPressure_Microphone                              = 10354
		DAQmx_Val_Torque_Bridge                                         = 15905
		DAQmx_Val_TEDS_Sensor                                           = 12531
		DAQmx_Val_ZeroVolts                                             = 12526
		DAQmx_Val_HighImpedance                                         = 12527
		DAQmx_Val_MaintainExistingValue                                 = 12528
		DAQmx_Val_FuncGen                                               = 14750
		DAQmx_Val_mVoltsPerG                                            = 12509
		DAQmx_Val_VoltsPerG                                             = 12510
		DAQmx_Val_AccelUnit_g                                           = 10186
		DAQmx_Val_MetersPerSecondSquared                                = 12470
		DAQmx_Val_InchesPerSecondSquared                                = 12471
		DAQmx_Val_FromCustomScale                                       = 10065
		DAQmx_Val_FiniteSamps                                           = 10178
		DAQmx_Val_ContSamps                                             = 10123
		DAQmx_Val_HWTimedSinglePoint                                    = 12522
		DAQmx_Val_AboveLvl                                              = 10093
		DAQmx_Val_BelowLvl                                              = 10107
		DAQmx_Val_Degrees                                               = 10146
		DAQmx_Val_Radians                                               = 10273
		DAQmx_Val_Ticks                                                 = 10304
		DAQmx_Val_None                                                  = 10230
		DAQmx_Val_Once                                                  = 10244
		DAQmx_Val_EverySample                                           = 10164
		DAQmx_Val_NoAction                                              = 10227
		DAQmx_Val_BreakBeforeMake                                       = 10110
		DAQmx_Val_FullBridge                                            = 10182
		DAQmx_Val_HalfBridge                                            = 10187
		DAQmx_Val_QuarterBridge                                         = 10270
		DAQmx_Val_NoBridge                                              = 10228
		DAQmx_Val_VoltsPerVolt                                          = 15896
		DAQmx_Val_mVoltsPerVolt                                         = 15897
		DAQmx_Val_Newtons                                               = 15875
		DAQmx_Val_Pounds                                                = 15876
		DAQmx_Val_KilogramForce                                         = 15877
		DAQmx_Val_Pascals                                               = 10081
		DAQmx_Val_PoundsPerSquareInch                                   = 15879
		DAQmx_Val_Bar                                                   = 15880
		DAQmx_Val_NewtonMeters                                          = 15881
		DAQmx_Val_InchOunces                                            = 15882
		DAQmx_Val_InchPounds                                            = 15883
		DAQmx_Val_FootPounds                                            = 15884
		DAQmx_Val_FromTEDS                                              = 12516
		DAQmx_Val_PCI                                                   = 12582
		DAQmx_Val_PCIe                                                  = 13612
		DAQmx_Val_PXI                                                   = 12583
		DAQmx_Val_PXIe                                                  = 14706
		DAQmx_Val_SCXI                                                  = 12584
		DAQmx_Val_SCC                                                   = 14707
		DAQmx_Val_PCCard                                                = 12585
		DAQmx_Val_USB                                                   = 12586
		DAQmx_Val_CompactDAQ                                            = 14637
		DAQmx_Val_TCPIP                                                 = 14828
		DAQmx_Val_Unknown                                               = 12588
		DAQmx_Val_SwitchBlock                                           = 15870
		DAQmx_Val_CountEdges                                            = 10125
		DAQmx_Val_Freq                                                  = 10179
		DAQmx_Val_Period                                                = 10256
		DAQmx_Val_PulseWidth                                            = 10359
		DAQmx_Val_SemiPeriod                                            = 10289
		DAQmx_Val_PulseFrequency                                        = 15864
		DAQmx_Val_PulseTime                                             = 15865
		DAQmx_Val_PulseTicks                                            = 15866
		DAQmx_Val_Position_AngEncoder                                   = 10360
		DAQmx_Val_Position_LinEncoder                                   = 10361
		DAQmx_Val_TwoEdgeSep                                            = 10267
		DAQmx_Val_GPS_Timestamp                                         = 10362
		DAQmx_Val_BuiltIn                                               = 10200
		DAQmx_Val_ConstVal                                              = 10116
		DAQmx_Val_Chan                                                  = 10113
		DAQmx_Val_Pulse_Time                                            = 10269
		DAQmx_Val_Pulse_Freq                                            = 10119
		DAQmx_Val_Pulse_Ticks                                           = 10268
		DAQmx_Val_AI                                                    = 10100
		DAQmx_Val_AO                                                    = 10102
		DAQmx_Val_DI                                                    = 10151
		DAQmx_Val_DO                                                    = 10153
		DAQmx_Val_CI                                                    = 10131
		DAQmx_Val_CO                                                    = 10132
		DAQmx_Val_Unconstrained                                         = 14708
		DAQmx_Val_FixedHighFreq                                         = 14709
		DAQmx_Val_FixedLowFreq                                          = 14710
		DAQmx_Val_Fixed50PercentDutyCycle                               = 14711
		DAQmx_Val_CountUp                                               = 10128
		DAQmx_Val_CountDown                                             = 10124
		DAQmx_Val_ExtControlled                                         = 10326
		DAQmx_Val_LowFreq1Ctr                                           = 10105
		DAQmx_Val_HighFreq2Ctr                                          = 10157
		DAQmx_Val_LargeRng2Ctr                                          = 10205
		DAQmx_Val_AC                                                    = 10045
		DAQmx_Val_DC                                                    = 10050
		DAQmx_Val_GND                                                   = 10066
		DAQmx_Val_Internal                                              = 10200
		DAQmx_Val_External                                              = 10167
		DAQmx_Val_Amps                                                  = 10342
		DAQmx_Val_RightJustified                                        = 10279
		DAQmx_Val_LeftJustified                                         = 10209
		DAQmx_Val_DMA                                                   = 10054
		DAQmx_Val_Interrupts                                            = 10204
		DAQmx_Val_ProgrammedIO                                          = 10264
		DAQmx_Val_USBbulk                                               = 12590
		DAQmx_Val_OnbrdMemMoreThanHalfFull                              = 10237
		DAQmx_Val_OnbrdMemFull                                          = 10236
		DAQmx_Val_OnbrdMemCustomThreshold                               = 12577
		DAQmx_Val_ActiveDrive                                           = 12573
		DAQmx_Val_OpenCollector                                         = 12574
		DAQmx_Val_NoChange                                              = 10160
		DAQmx_Val_PatternMatches                                        = 10254
		DAQmx_Val_PatternDoesNotMatch                                   = 10253
		DAQmx_Val_SampClkPeriods                                        = 10286
		DAQmx_Val_Seconds                                               = 10364
		DAQmx_Val_mVoltsPerMil                                          = 14836
		DAQmx_Val_VoltsPerMil                                           = 14837
		DAQmx_Val_mVoltsPerMillimeter                                   = 14838
		DAQmx_Val_VoltsPerMillimeter                                    = 14839
		DAQmx_Val_mVoltsPerMicron                                       = 14840
		DAQmx_Val_X1                                                    = 10090
		DAQmx_Val_X2                                                    = 10091
		DAQmx_Val_X4                                                    = 10092
		DAQmx_Val_TwoPulseCounting                                      = 10313
		DAQmx_Val_AHighBHigh                                            = 10040
		DAQmx_Val_AHighBLow                                             = 10041
		DAQmx_Val_ALowBHigh                                             = 10042
		DAQmx_Val_ALowBLow                                              = 10043
		DAQmx_Val_Pulse                                                 = 10265
		DAQmx_Val_Toggle                                                = 10307
		DAQmx_Val_Lvl                                                   = 10210
		DAQmx_Val_Interlocked                                           = 12549
		DAQmx_Val_mVoltsPerNewton                                       = 15891
		DAQmx_Val_mVoltsPerPound                                        = 15892
		DAQmx_Val_Hz                                                    = 10373
		DAQmx_Val_Sine                                                  = 14751
		DAQmx_Val_Triangle                                              = 14752
		DAQmx_Val_Square                                                = 14753
		DAQmx_Val_Sawtooth                                              = 14754
		DAQmx_Val_IRIGB                                                 = 10070
		DAQmx_Val_PPS                                                   = 10080
		DAQmx_Val_Immediate                                             = 10198
		DAQmx_Val_WaitForHandshakeTriggerAssert                         = 12550
		DAQmx_Val_WaitForHandshakeTriggerDeassert                       = 12551
		DAQmx_Val_OnBrdMemMoreThanHalfFull                              = 10237
		DAQmx_Val_OnBrdMemNotEmpty                                      = 10241
		DAQmx_Val_WhenAcqComplete                                       = 12546
		DAQmx_Val_RSE                                                   = 10083
		DAQmx_Val_NRSE                                                  = 10078
		DAQmx_Val_Diff                                                  = 10106
		DAQmx_Val_PseudoDiff                                            = 12529
		DAQmx_Val_mVoltsPerVoltPerMillimeter                            = 12506
		DAQmx_Val_mVoltsPerVoltPerMilliInch                             = 12505
		DAQmx_Val_Meters                                                = 10219
		DAQmx_Val_Inches                                                = 10379
		DAQmx_Val_Off                                                   = 10231
		DAQmx_Val_Log                                                   = 15844
		DAQmx_Val_LogAndRead                                            = 15842
		DAQmx_Val_OpenOrCreate                                          = 15846
		DAQmx_Val_CreateOrReplace                                       = 15847
		DAQmx_Val_Create                                                = 15848
		DAQmx_Val_2point5V                                              = 14620
		DAQmx_Val_3point3V                                              = 14621
		DAQmx_Val_5V                                                    = 14619
		DAQmx_Val_SameAsSampTimebase                                    = 10284
		DAQmx_Val_100MHzTimebase                                        = 15857
		DAQmx_Val_SameAsMasterTimebase                                  = 10282
		DAQmx_Val_20MHzTimebase                                         = 12537
		DAQmx_Val_80MHzTimebase                                         = 14636
		DAQmx_Val_AM                                                    = 14756
		DAQmx_Val_FM                                                    = 14757
		DAQmx_Val_OnBrdMemEmpty                                         = 10235
		DAQmx_Val_OnBrdMemHalfFullOrLess                                = 10239
		DAQmx_Val_OnBrdMemNotFull                                       = 10242
		DAQmx_Val_StopTaskAndError                                      = 15862
		DAQmx_Val_IgnoreOverruns                                        = 15863
		DAQmx_Val_OverwriteUnreadSamps                                  = 10252
		DAQmx_Val_DoNotOverwriteUnreadSamps                             = 10159
		DAQmx_Val_ActiveHigh                                            = 10095
		DAQmx_Val_ActiveLow                                             = 10096
		DAQmx_Val_MSeriesDAQ                                            = 14643
		DAQmx_Val_XSeriesDAQ                                            = 15858
		DAQmx_Val_ESeriesDAQ                                            = 14642
		DAQmx_Val_SSeriesDAQ                                            = 14644
		DAQmx_Val_BSeriesDAQ                                            = 14662
		DAQmx_Val_SCSeriesDAQ                                           = 14645
		DAQmx_Val_USBDAQ                                                = 14646
		DAQmx_Val_AOSeries                                              = 14647
		DAQmx_Val_DigitalIO                                             = 14648
		DAQmx_Val_TIOSeries                                             = 14661
		DAQmx_Val_DynamicSignalAcquisition                              = 14649
		DAQmx_Val_Switches                                              = 14650
		DAQmx_Val_CompactDAQChassis                                     = 14658
		DAQmx_Val_CSeriesModule                                         = 14659
		DAQmx_Val_SCXIModule                                            = 14660
		DAQmx_Val_SCCConnectorBlock                                     = 14704
		DAQmx_Val_SCCModule                                             = 14705
		DAQmx_Val_NIELVIS                                               = 14755
		DAQmx_Val_NetworkDAQ                                            = 14829
		DAQmx_Val_SCExpress                                             = 15886
		DAQmx_Val_Pt3750                                                = 12481
		DAQmx_Val_Pt3851                                                = 10071
		DAQmx_Val_Pt3911                                                = 12482
		DAQmx_Val_Pt3916                                                = 10069
		DAQmx_Val_Pt3920                                                = 10053
		DAQmx_Val_Pt3928                                                = 12483
		DAQmx_Val_mVoltsPerVoltPerDegree                                = 12507
		DAQmx_Val_mVoltsPerVoltPerRadian                                = 12508
		DAQmx_Val_LosslessPacking                                       = 12555
		DAQmx_Val_LossyLSBRemoval                                       = 12556
		DAQmx_Val_FirstSample                                           = 10424
		DAQmx_Val_CurrReadPos                                           = 10425
		DAQmx_Val_RefTrig                                               = 10426
		DAQmx_Val_FirstPretrigSamp                                      = 10427
		DAQmx_Val_MostRecentSamp                                        = 10428
		DAQmx_Val_AllowRegen                                            = 10097
		DAQmx_Val_DoNotAllowRegen                                       = 10158
		DAQmx_Val_2Wire                                                     = 2
		DAQmx_Val_3Wire                                                     = 3
		DAQmx_Val_Ohms                                                  = 10384
		DAQmx_Val_Bits                                                  = 10109
		DAQmx_Val_SCXI1124Range0to1V                                    = 14629
		DAQmx_Val_SCXI1124Range0to5V                                    = 14630
		DAQmx_Val_SCXI1124Range0to10V                                   = 14631
		DAQmx_Val_SCXI1124RangeNeg1to1V                                 = 14632
		DAQmx_Val_SCXI1124RangeNeg5to5V                                 = 14633
		DAQmx_Val_SCXI1124RangeNeg10to10V                               = 14634
		DAQmx_Val_SCXI1124Range0to20mA                                  = 14635
		DAQmx_Val_SampClkActiveEdge                                     = 14617
		DAQmx_Val_SampClkInactiveEdge                                   = 14618
		DAQmx_Val_HandshakeTriggerAsserts                               = 12552
		DAQmx_Val_HandshakeTriggerDeasserts                             = 12553
		DAQmx_Val_SampClk                                               = 10388
		DAQmx_Val_BurstHandshake                                        = 12548
		DAQmx_Val_Handshake                                             = 10389
		DAQmx_Val_Implicit                                              = 10451
		DAQmx_Val_OnDemand                                              = 10390
		DAQmx_Val_ChangeDetection                                       = 12504
		DAQmx_Val_PipelinedSampClk                                      = 14668
		DAQmx_Val_Linear                                                = 10447
		DAQmx_Val_MapRanges                                             = 10448
		DAQmx_Val_Polynomial                                            = 10449
		DAQmx_Val_Table                                                 = 10450
		DAQmx_Val_TwoPointLinear                                        = 15898
		DAQmx_Val_A                                                     = 12513
		DAQmx_Val_B                                                     = 12514
		DAQmx_Val_AandB                                                 = 12515
		DAQmx_Val_R1                                                    = 12465
		DAQmx_Val_R2                                                    = 12466
		DAQmx_Val_R3                                                    = 12467
		DAQmx_Val_R4                                                    = 14813
		DAQmx_Val_AIConvertClock                                        = 12484
		DAQmx_Val_10MHzRefClock                                         = 12536
		DAQmx_Val_20MHzTimebaseClock                                    = 12486
		DAQmx_Val_SampleClock                                           = 12487
		DAQmx_Val_ReferenceTrigger                                      = 12490
		DAQmx_Val_StartTrigger                                          = 12491
		DAQmx_Val_AdvCmpltEvent                                         = 12492
		DAQmx_Val_AIHoldCmpltEvent                                      = 12493
		DAQmx_Val_CounterOutputEvent                                    = 12494
		DAQmx_Val_ChangeDetectionEvent                                  = 12511
		DAQmx_Val_WDTExpiredEvent                                       = 12512
		DAQmx_Val_SampleCompleteEvent                                   = 12530
		DAQmx_Val_RisingSlope                                           = 10280
		DAQmx_Val_FallingSlope                                          = 10171
		DAQmx_Val_FullBridgeI                                           = 10183
		DAQmx_Val_FullBridgeII                                          = 10184
		DAQmx_Val_FullBridgeIII                                         = 10185
		DAQmx_Val_HalfBridgeI                                           = 10188
		DAQmx_Val_HalfBridgeII                                          = 10189
		DAQmx_Val_QuarterBridgeI                                        = 10271
		DAQmx_Val_QuarterBridgeII                                       = 10272
		DAQmx_Val_Strain                                                = 10299
		DAQmx_Val_Finite                                                = 10172
		DAQmx_Val_Cont                                                  = 10117
		DAQmx_Val_Source                                                = 10439
		DAQmx_Val_Load                                                  = 10440
		DAQmx_Val_ReservedForRouting                                    = 10441
		DAQmx_Val_Master                                                = 15888
		DAQmx_Val_Slave                                                 = 15889
		DAQmx_Val_J_Type_TC                                             = 10072
		DAQmx_Val_K_Type_TC                                             = 10073
		DAQmx_Val_N_Type_TC                                             = 10077
		DAQmx_Val_R_Type_TC                                             = 10082
		DAQmx_Val_S_Type_TC                                             = 10085
		DAQmx_Val_T_Type_TC                                             = 10086
		DAQmx_Val_B_Type_TC                                             = 10047
		DAQmx_Val_E_Type_TC                                             = 10055
		DAQmx_Val_SingleCycle                                           = 14613
		DAQmx_Val_Multicycle                                            = 14614
		DAQmx_Val_DigEdge                                               = 10150
		DAQmx_Val_Software                                              = 10292
		DAQmx_Val_AnlgLvl                                               = 10101
		DAQmx_Val_AnlgWin                                               = 10103
		DAQmx_Val_DigLvl                                                = 10152
		DAQmx_Val_DigPattern                                            = 10398
		DAQmx_Val_AnlgEdge                                              = 10099
		DAQmx_Val_HaltOutputAndError                                    = 14615
		DAQmx_Val_PauseUntilDataAvailable                               = 14616
		DAQmx_Val_Volts                                                 = 10348
		DAQmx_Val_WaitForInterrupt                                      = 12523
		DAQmx_Val_Poll                                                  = 12524
		DAQmx_Val_Yield                                                 = 12525
		DAQmx_Val_Sleep                                                 = 12547
		DAQmx_Val_EnteringWin                                           = 10163
		DAQmx_Val_LeavingWin                                            = 10208
		DAQmx_Val_InsideWin                                             = 10199
		DAQmx_Val_OutsideWin                                            = 10251
		DAQmx_Val_WriteToEEPROM                                         = 12538
		DAQmx_Val_WriteToPROM                                           = 12539
		DAQmx_Val_DoNotWrite                                            = 12540
		DAQmx_Val_CurrWritePos                                          = 10430
end
end

Contact us