D2K-OCX 32-bit ActiveX controls for NuDAQ DAQ-2K/PXI-2K Data Acquisition Cards Programmer’s Guide @Copyright 2002 ADLINK Technology Inc. All Rights R
Table of contents ? x GPTC.Counter1.UpDownPolarity Property...
Daq2006 ActiveX Control ? 100 Data Type Single AO.Channels(0).Buffer1 Property AO.Channels(1).Buffer1 Property This property set up the buffer for
Daq2006 ActiveX Control ? 101 Data Type Variant(Integer array) Example Dim buffer1(0 To 4095) As Integer Dim buffer2(0 To 4095) As Integ
Daq2006 ActiveX Control ? 102 Data Type Boolean SSI.DATRIG Property Connect / Disconnect a SSI_DATRIG device signal to the specified SSI bus tri
Daq2006 ActiveX Control ? 103 Arguments [ErrMsgBox As Variant] Boolean type. True: It will popup error message dialog box when operation error. Fals
Daq2006 ActiveX Control ? 104 Returns the digital data read from the specified port. The returned value is 8 -bit data. Remarks You can read data f
Daq2006 ActiveX Control ? 105 DIO.WriteDOLine Method Syntax Function object.DIO.WriteDOLine(port As Integer, line As Integer, value As Variant) As
Daq2006 ActiveX Control ? 106 Value Constant Description 0 Channel_P1A P1A Port 1 Channel_P1B P1B Port 2 Channel_P1C P1C Port 3 Channel_P1CL P1
Daq2006 ActiveX Control ? 107 GPTC.Counter0.ReadStatus Method GPTC.Counter1.ReadStatus Method Reads the latched GPTC status of the general -purpose
Daq2006 ActiveX Control ? 108 ' Get Data in ScaledData End Sub AI.StopContAI Method You can use this method to force stop DMA analog in
Daq2006 ActiveX Control ? 109 Return Value True if the function is successful; otherwise False. Arguments None Microsoft C/C++ and Borland C++ Heade
Table of contents ? xi AO.Channels(1).IntOrExtref Property...
Daq2006 ActiveX Control ? 110 Return Value True if the function is successful; otherwise False. Arguments Channel as Integer The analog output
Daq2006 ActiveX Control ? 111 strPolarity = "Bipolar" End If strMsg = "DA channel:" & channel & " &quo
Daq2006 ActiveX Control ? 112 DAQ_2006 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2006 ActiveX Control ? 113 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous ana log output fun
Daq2006 ActiveX Control ? 114 varArray(1) = buffer1 varArray(2) = buffer2 varArray(3) = buffer3 Daq2006.AO.Channels(0).buffer1 = var
Daq2006 ActiveX Control ? 115 End If strMsg = "AD channel:" & channel & " " & strPolarity & " Gain err
Daq2010 ActiveX Control ? 116 Daq2010 ActiveX Control The Daq2010 ActiveX control is a software component that provides the interface for users to co
Daq2010 ActiveX Control ? 117 Daq2010 ActiveX Control Overview DelayCount MCount ReTriggerCount ExtTrigPolarity ReturnType
Daq2010 ActiveX Control ? 118 Daq2010 ActiveX Control Overview BankDate Load AcquireDAError CurrentTemperature Save CurrentDate DisplayEr
Daq2010 ActiveX Control ? 119 OpenMode Property Return/Set a value that determines the mode of opening device. Syntax object.OpenMode [= short] S
Table of contents ? xii GPTC.Counter1.GatePolarity Property...
Daq2010 ActiveX Control ? 120 Exit Do End If Loop MsgBox "AI Complete" DIO.P1Adir Property Return/Set a value that determines P1
Daq2010 ActiveX Control ? 121 Value Constant Description 1 INPUT_PORT Direction: input port. 2 OUTPUT_PORT Direction: output port. Data Typ
Daq2010 ActiveX Control ? 122 Data Type Integer Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi
Daq2010 ActiveX Control ? 123 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Daq2010 ActiveX Control ? 124 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.UpDownSource Prope
Daq2010 ActiveX Control ? 125 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.OutputPol arity Pr
Daq2010 ActiveX Control ? 126 GPTC.Counter0.IntUpDnCTR Property GPTC.Counter1.IntUpDnCTR Property Return/Set a value that determines the Timer/Cou
Daq2010 ActiveX Control ? 127 Syntax [ Integer=] object.GPTC.Counter0.OutputValue [ Integer=] object.GPTC.Counter1.OutputValue Data Type Int
Daq2010 ActiveX Control ? 128 Syntax object.AI.NumOfScan [=Long] Remarks Non-double-buffer mode This value multiply the total number of sc
Daq2010 ActiveX Control ? 129 Syntax object.AI.ConversionSource [=Short] Settings Value Constant Description 0 DAQ2K_AI_ADCONVSRC_Int Inte
Table of contents ? xiii AO.Channels(1).Enable Property...
Daq2010 ActiveX Control ? 130 Settings Value Constant Description 0 DAQ2K_AI_TRGSRC_SOFT Software 1 DAQ2K_AI_TRGSRC_ANA From analog trigger pin
Daq2010 ActiveX Control ? 131 Data Type Boolean AI.MCounterEnable Property This constant is only valid for Pre -trigger and Middle trigger mode
Daq2010 ActiveX Control ? 132 AI.ReTriggerCount Property The accepted trigge r times in an acquisition. This argument is only valid for Delay trigge
Daq2010 ActiveX Control ? 133 Syntax object.AI.DoubleBufferMode [=Boolean] Settings Value Constant Description 0 False double-buffered mode
Daq2010 ActiveX Control ? 134 AI.AIOTrigCondition Property Return/Set a value that determines the t rigger condition selection Syntax object.
Daq2010 ActiveX Control ? 135 Trigger Level digital setting trigger voltage 0xFF +9.92V 0x81 +0.08V 0x80 0 0x7F -0.08V 0x01 -10V
Daq2010 ActiveX Control ? 136 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.CHUI Property The length of t
Daq2010 ActiveX Control ? 137 Value Constant Description 2 DAQ2K_DA_TRGSRC_ExtD From external digital trigger pin 3 DAQ2K_DA_TRSRC_SSI From SSI
Daq2010 ActiveX Control ? 138 Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.Delay2Source Property Return/Set a value that d
Daq2010 ActiveX Control ? 139 Syntax object.AO.ReTriggerCount [=Long] Data Type Long AO.Delay1Count Property The counter value of DLY1 Count
Table of contents ? xiv GPTC.Counter1.ClockPolarity Property ...
Daq2010 ActiveX Control ? 140 Re-trigger in an acquisition is enabled Syntax object.AO.ClockSource [=Boolean] Settings Value Constant Desc
Daq2010 ActiveX Control ? 141 between the value of TrgLevel and trigger voltage. Syntax object.AO.AIOHLevel [=Long] Remarks For example:
Daq2010 ActiveX Control ? 142 Data Type Boolean AO.Iterations Property The times of number of the data in the buffer to output to the port. a va
Daq2010 ActiveX Control ? 143 AO.Channels(1).Enable Property DAQ-2000 output channel that can be set separately for each channel to perform multi-
Daq2010 ActiveX Control ? 144 If the D/A reference voltage source your device use is internal reference, the valid values is 10. If the D/A referenc
Daq2010 ActiveX Control ? 145 Remarks You must assign this property before call StartContAO() method. This property will be used when double buffer
Daq2010 ActiveX Control ? 146 Settings Value Constant Description 0 False Disconnect to the specified SSI bus trigger line 1 True Connect to
Daq2010 ActiveX Control ? 147 Syntax Function object.Open ([ErrMsgBox As Variant]) As Boolean Return Value True if the function is successful; other
Daq2010 ActiveX Control ? 148 Value Constant Description 2 Channel_P1C P1C Port 3 Channel_P1CL P1C Lower Port 4 Channel_P1CH P1C Higher Port v
Daq2010 ActiveX Control ? 149 value as Variant 8-bit data that will be written to the digital output port. Remarks Users can write data to the digita
Table of contents ? xv AO.Iterations Property...
Daq2010 ActiveX Control ? 150 Syntax Function object.DIO.ReadBackDOLine(port As Integer, line As Integer, value As Variant) As Boolean Return Value
Daq2010 ActiveX Control ? 151 Syntax Function object.GPTC.Counter0.Reset() As Boolean Return Value True if the function is successful; otherwise Fal
Daq2010 ActiveX Control ? 152 Daq2010.AI.Channels(0).Enable = True Daq2010.AI.StartContAI Private Sub Daq2010_AiComplete(ScaledData As Variant
Daq2010 ActiveX Control ? 153 AO.StartContAO Method This method performs continuous D/A conversions on the specified analog output channel at a rate
Daq2010 ActiveX Control ? 154 AO.WriteChannel Method Accepts a voltage value (or a current value), scales it to the proper binary value and writes a
Daq2010 ActiveX Control ? 155 List1.Refresh End Sub Private Sub Daq2010_AcquireDAError(ByVal channel As Integer, ByVal polarity As Integer, ByVal
Daq2010 ActiveX Control ? 156 DAQ_2010 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2010 ActiveX Control ? 157 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous analog output func
Daq2010 ActiveX Control ? 158 varArray(1) = buffer1 varArray(2) = buffer2 varArray(3) = buffer3 Daq2010.AO.Channels(0).buffer1 = var
Daq2010 ActiveX Control ? 159 End If strMsg = "AD channel:" & channel & " " & strPolarity & " Gain err
Table of contents ? xvi GPTC.Counter0.Mode Property...
Daq2204 ActiveX Control ? 160 Daq2204 ActiveX Control The Daq2204 ActiveX control is a software component that provides the interface for users t
Daq2204 ActiveX Control ? 161 Daq2204 ActiveX Control Overview Mcount ReTriggerCount ExtTrigPolarity ReturnType DoubleBuffe
Daq2204 ActiveX Control ? 162 Daq2204 ActiveX Control Overview CurrentTemperature Save CurrentDate DisplayErrors SSI TIMEBASE Clea
Daq2204 ActiveX Control ? 163 DAQ_2204 Properties DASKCardType Property Return a value that determines the card type. It is always DAQ_2204 in DAQ-2
Daq2204 ActiveX Control ? 164 Value Display Description drivers. Data Type Integer DaskCardID Property
Daq2204 ActiveX Control ? 165 Syntax object.DIO.P1ADir [= Direction] Settings Value Constant Description 1 INPUT_PORT Direction: input po
Daq2204 ActiveX Control ? 166 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Daq2204 ActiveX Control ? 167 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.ClockSource Property GPTC.Counter1.ClockSource Pr
Daq2204 ActiveX Control ? 168 Borland Delphi Unit: D2kDask.pas GPTC.Counter0.GateSource Property GPTC.Counter1.GateSource Property Return/Set a va
Daq2204 ActiveX Control ? 169 GPTC.Counter0.UpDownSource Property GPTC.Counter1.UpDownSource Property Return/Set a value that determines the Time
Table of contents ? xvii AO.TriggerMode Property ...
Daq2204 ActiveX Control ? 170 Unit: D2kDask.pas GPTC.Counter0.OutputPolarity Property GPTC.Counter1.OutputPolarity Property Return/Set a value tha
Daq2204 ActiveX Control ? 171 Settings Value Constant Description 0 FALSE 1 TRUE Data Type Boolean GPTC.Counter0.DelayCount Property GPTC
Daq2204 ActiveX Control ? 172 Syntax object.CALIBRATION.BankTemperature([BankOfEEPROM as Integer]) As Single Data Type Single GPTC.CALIBRATION
Daq2204 ActiveX Control ? 173 Data Type Long AI.ClockSource Property The clock source (Time Base) the device selected. Syntax object.AI.Clock
Daq2204 ActiveX Control ? 174 AI.ConversionSource Property The A/D Conversion Source Selection. Syntax object.AI.ConversionSource [=Short]
Daq2204 ActiveX Control ? 175 Syntax object.AI.TriggerSource [=Short] Settings Value Constant Description 0 DAQ2K_AI_TRGSRC_SOFT Software
Daq2204 ActiveX Control ? 176 Value Constant Description 0 False ReTriggerMode is disabled. 1 True ReTriggerMode is enabled. Data Type Boolean
Daq2204 ActiveX Control ? 177 Data Type Long AI.ReTriggerCount Property The accepted trigger times in an acquisition. This argument is only valid f
Daq2204 ActiveX Control ? 178 AI.DoubleBufferMode Property Enables or disables double -buffered data acquisition mode. Syntax object.AI.Double
Daq2204 ActiveX Control ? 179 AI.AIOTrigCondition Property Return/Set a value th at determines the t rigger condition selection Syntax objec
Table of contents ? xviii GPTC.Counter1.ReadStatus Method ...
Daq2204 ActiveX Control ? 180 is as the following table: Trigger Level digital setting trigger voltage 0xFF +9.92V 0x81 +0.08V 0x80
Daq2204 ActiveX Control ? 181 Syntax object.AO.TriggerSource [=Integer] Settings Value Constant Description 0 DAQ2K_DA_TRGSRC_SOFT Softwar
Daq2204 ActiveX Control ? 182 Data Type Integer Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi
Daq2204 ActiveX Control ? 183 Borland Delphi Unit: D2kDask.pas AO.ReTriggerCount Property The accepted trigger times in an acquisition. This argume
Daq2204 ActiveX Control ? 184 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.ReTriggerModeEnable Property Re-trigger in an acquisition is
Daq2204 ActiveX Control ? 185 AO.AIOHLevel Property The High value setting of Trigger level. Please refer to the hardware manual for the relatio
Daq2204 ActiveX Control ? 186 Value Constant Description 1 True double-buffered mode is enabled. Data Type Boolean AO.Iterations Property
Daq2204 ActiveX Control ? 187 AO.Channels(0).Enable Property AO.Channels(1).Enable Property DAQ-2000 output channel that can be set separately fo
Daq2204 ActiveX Control ? 188 AO.Channels(1).RefVoltage Property If the D/A reference voltage source your device use is internal reference, the val
Daq2204 ActiveX Control ? 189 Syntax object.AO.Channels(0).Buffer2 [=Variant] Remarks You must assign this property before call StartContAO(
Table of contents ? xix AI.ReTriggerModeEnable Property...
Daq2204 ActiveX Control ? 190 Syntax object.SSI. ADTRIG [=Boolean] Settings Value Constant Description 0 False Disconnect to the specifie
Daq2204 ActiveX Control ? 191 DAQ_2204 Methods Open Method Syntax Function object.Open ([ErrMsgBox As Variant]) As Boolean Return Value True if the
Daq2204 ActiveX Control ? 192 Selects one port for inputting digital data. Value Constant Description 0 Channel_P1A P1A Port 1 Channel_P1B P1B Po
Daq2204 ActiveX Control ? 193 Value Constant Description 3 Channel_P1CL P1C Lower Port 4 Channel_P1CH P1C Higher Port value as Variant 8-bit da
Daq2204 ActiveX Control ? 194 DIO.ReadBackDOLine Method Reads back data from the indicated digital output line of the indicated digital output port.
Daq2204 ActiveX Control ? 195 Halts the specified general -purpose timer/counter operation and reload the initial value of the timer/counter. Synta
Daq2204 ActiveX Control ? 196 Value Constant Description 27 AD_U_2_V Unipolar 0 to +2V 19 AD_U_1_V Unipolar 0 to +1V 28 AD_U_0_5_V Unipolar 0
Daq2204 ActiveX Control ? 197 Arguments None Remarks You can use this method to start the DMA analog input function. If the AI.StreamToFile property
Daq2204 ActiveX Control ? 198 Arguments None AI.ReadChannels Method This method performs a software triggered A/D conversion (analog input) on anal
Daq2204 ActiveX Control ? 199 Syntax Function object.AO.StartContAO() As Boolean Return Value True if the function is successful; otherwise False. A
Getting Service from ADLINK ?? Customer Satisfaction is always the most important thing for ADLINK Tech Inc. If you need any help or service, please c
Table of contents ? xx AO.GroupA.Channels(1).Buffer2 Property ...
Daq2204 ActiveX Control ? 200 Syntax Function object.AO.WriteChannel(Channel as Integer, Voltage as Single) As Boolean Return Value True if the func
Daq2204 ActiveX Control ? 201 As Double, ByVal offset_err As Double) If polarity = 0 Then strPolarity = "Unipolar" Else
Daq2204 ActiveX Control ? 202 DAQ_2204 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2204 ActiveX Control ? 203 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous anal og output fun
Daq2204 ActiveX Control ? 204 varArray(2) = buffer2 varArray(3) = buffer3 Daq2204.AO.Channels(0).buffer1 = varArray(0) Daq2204.AO.Ch
Daq2204 ActiveX Control ? 205 List1.AddItem (strMsg) End Sub AcquireDAError Event Acquires the offset and gain errors of the specified DA channe
Daq2205 ActiveX Control ? 206 Daq2205 ActiveX Control The Daq2205 ActiveX control is a software component that provides the interface for users to co
Daq2205 ActiveX Control ? 207 Daq2205 ActiveX Control Overview Mcount ReTriggerCount ExtTrigPolarity ReturnType DoubleBuffe
Daq2205 ActiveX Control ? 208 Daq2205 ActiveX Control Overview CurrentTemperature Save CurrentDate DisplayErrors SSI TIMEBASE Clea
Daq2205 ActiveX Control ? 209 DAQ_2205 Properties DASKCardType Property Return a value that determines the card type. It is always DAQ_2205 in DAQ-2
Table of contents ? xxi AoBufferReady Event...
Daq2205 ActiveX Control ? 210 Value Display Description drivers. Data Type Integer DaskCardID Property
Daq2205 ActiveX Control ? 211 Syntax object.DIO.P1ADir [= Direction] Settings Value Constant Description 1 INPUT_PORT Direction: input po
Daq2205 ActiveX Control ? 212 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Daq2205 ActiveX Control ? 213 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.ClockSource Property GPTC.Counter1.ClockSource Pr
Daq2205 ActiveX Control ? 214 Borland Delphi Unit: D2kDask.pas GPTC.Counter0.GateSource Property GPTC.Counter1.GateSource Property Return/Set a va
Daq2205 ActiveX Control ? 215 GPTC.Counter0.UpDownSource Property GPTC.Counter1.UpDownSource Property Return/Set a value that determines the Time
Daq2205 ActiveX Control ? 216 Unit: D2kDask.pas GPTC.Counter0.OutputPolarity Property GPTC.Counter1.OutputPolarity Property Return/Set a value tha
Daq2205 ActiveX Control ? 217 Settings Value Constant Description 0 FALSE 1 TRUE Data Type Boolean GPTC.Counter0.DelayCount Property GPTC
Daq2205 ActiveX Control ? 218 Syntax object.CALIBRATION.BankTemperature([BankOfEEPROM as Integer]) As Single Data Type Single GPTC.CALIBRATION
Daq2205 ActiveX Control ? 219 Data Type Long AI.ClockSource Property The clock source (Time Base) the device selected. Syntax object.AI.Clock
How to Use This Guide ? xxii How to Use This Guide This manual is designed to help you use the NuDAQ D2K-OCX ActiveX controls to control NuDAQ PCI/PX
Daq2205 ActiveX Control ? 220 AI.ConversionSource Property The A/D Conversion Source Selection. Syntax object.AI.ConversionSource [=Short]
Daq2205 ActiveX Control ? 221 Syntax object.AI.TriggerSource [=Short] Settings Value Constant Description 0 DAQ2K_AI_TRGSRC_SOFT Software 1
Daq2205 ActiveX Control ? 222 Value Constant Description 0 False ReTriggerMode is disabled. 1 True ReTriggerMode is enabled. Data Type Boolean
Daq2205 ActiveX Control ? 223 Data Type Long AI.ReTriggerCount Property The accepted trigger times in an acquisition. This argument is only valid
Daq2205 ActiveX Control ? 224 AI.DoubleBufferMode Property Enables or disables double -buffered data acquisition mode. Syntax object.AI.Doubl
Daq2205 ActiveX Control ? 225 Data Type Integer AI.AIOTrigCondition Property Return/Set a value that determines the t rigger condition selection
Daq2205 ActiveX Control ? 226 Remarks For example: If the trigger voltage is ±10V, the relationship between the value of TrgLevel and trigger vo
Daq2205 ActiveX Control ? 227 Return/Set a value that determines the trigger source selection Syntax object.AO.TriggerSource [=Integer] Sett
Daq2205 ActiveX Control ? 228 Value Constant Description 64 DAQ2K_DA_Dly1InUI Delay in samples 0 DAQ2K_DA_Dly1InTimebase Delay in time base Dat
Daq2205 ActiveX Control ? 229 Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.ReTriggerCount Property The accepted trigger ti
D2K-DASK Utilities ? 23 DAQ-2000 Registry/Configuration utility (D2kUtil) D2kUtil is used for the users to register D2K-DASK drivers (Windows NT4 o
Daq2205 ActiveX Control ? 230 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.ReTriggerModeEnable Property
Daq2205 ActiveX Control ? 231 Data Type Integer AO.AIOHLevel Property The High value setting of Trigger level. Please refer to the hardware manu
Daq2205 ActiveX Control ? 232 Settings Value Constant Description 0 False double-buffered mode is disabled. 1 True double-buffered mode is enabl
Daq2205 ActiveX Control ? 233 AO.Channels(0).Enable Property AO.Channels(1).Enable Property DAQ-2000 output channel that can be set separately for
Daq2205 ActiveX Control ? 234 +10. Syntax object.AO.Channels(0).RefVoltage [=Single] Data Type Single AO.Channels(0).Buffer1 Property AO.Chann
Daq2205 ActiveX Control ? 235 Data Type Variant(Integer array) Example Dim buffer1(0 To 4095) As Integer Dim buffer2(0 To 4095) As Inte
Daq2205 ActiveX Control ? 236 Data Type Boolean SSI.DATRIG Property Connect / Disconnect a SSI_DATRIG device signal to the specified SSI bus tri
Daq2205 ActiveX Control ? 237 Arguments [ErrMsgBox As Variant] Boolean type. True: It will popup error message dialog box when operation error. Fals
Daq2205 ActiveX Control ? 238 Remarks You can read data from the digital input port. Note In VC++, value is a VARIANT of VT_I4. DIO.ReadDILine Meth
Daq2205 ActiveX Control ? 239 DIO.WriteDOLine Method Syntax Function object.DIO.WriteDOLine(port As Integer, line As Integer, value As Variant) As B
D2K-DASK Utilities ? 24 Using D2kUtil to change the buffer allocated settings of one of the D2K -DASK drivers, select the driver from the Registere
Daq2205 ActiveX Control ? 240 Value Constant Description 0 Channel_P1A P1A Port 1 Channel_P1B P1B Port 2 Channel_P1C P1C Port 3 Channel_P1CL P1
Daq2205 ActiveX Control ? 241 GPTC.Counter0.ReadStatus Method GPTC.Counter1.ReadStatus Method Reads the latched GPTC status of the general -purpose
Daq2205 ActiveX Control ? 242 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas Example Dim nChannelArra
Daq2205 ActiveX Control ? 243 Borland Delphi Unit: D2kDask.pas Example Dim nChannelArray(0 To 1) As Integer Dim nRangeArray(0 To 1) As Int
Daq2205 ActiveX Control ? 244 Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas Example Dim nChannelArray(0 To 1) As Integer
Daq2205 ActiveX Control ? 245 For i = 0 To 4095 buffer1(i) = (Sin(i / 512 * 3.14159) * &H7FF) + &H800 Next i
Daq2205 ActiveX Control ? 246 Syntax Function object.CALIBRATION.AutoCalibration () As Boolean Return Value True if the function is successful; othe
Daq2205 ActiveX Control ? 247 Arguments BankOfEEPROM As Integer The storage bank on EEPROM. The valid range of the value of bank is 0 through 3.
Daq2205 ActiveX Control ? 248 DAQ_2205 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2205 ActiveX Control ? 249 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous analog output func
D2K-DASK Utilities ? 25 [D2kUtil in Windows 98] This utility is used to set/modify the allocated buffer sizes of AI, AO, DI and DO. The allocated buf
Daq2205 ActiveX Control ? 250 varArray(1) = buffer1 varArray(2) = buffer2 varArray(3) = buffer3 Daq2205.AO.Channels(0).buffer1 = var
Daq2205 ActiveX Control ? 251 strMsg = "Hign Gain bipolar Offset error:" & Format(hg_bios_err, "#0.#####") List1.AddIte
Daq2206 ActiveX Control ? 252 Daq2206 ActiveX Control The Daq2206 ActiveX control is a software component that provides the interface for users to c
Daq2206 ActiveX Control ? 253 Daq2206 ActiveX Control Overview MCount ReTriggerCount ExtTrigPolarity ReturnType DoubleBuffe
Daq2206 ActiveX Control ? 254 Daq2206 ActiveX Control Overview CurrentTemperature Save CurrentDate DisplayErrors SSI TIMEBASE Clea
Daq2206 ActiveX Control ? 255 DAQ_2206 Properties DASKCardType Property Return a value that determines the card type. It is always DAQ_2206 in DAQ
Daq2206 ActiveX Control ? 256 Data Type Integer DaskCardID Property Returns a value that determines the D2K_Register_Card() returns value, the Da
Daq2206 ActiveX Control ? 257 Value Constant Description 1 INPUT_PORT Direction: input port. 2 OUTPUT_PORT Direction: output port.
Daq2206 ActiveX Control ? 258 DIO.P1CUpperdir Property Return/Set a value that determines P1C upper port direction. Syntax object.DIO.P1CUpperDir
Daq2206 ActiveX Control ? 259 Return/Set a value that determines the Timer/Counter Source . Syntax object.GPTC.Counter0.ClockSource [= Integer] o
D2K-DASK Utilities ? 26 [D2kUtil in Windows 2000] This utility is used to set/modify the allocated buffer sizes of AI, AO, DI and DO. The allocated b
Daq2206 ActiveX Control ? 260 Syntax object.GPTC.Counter0.GateSource [= Integer] object.GPTC.Counter1.GateSource [= Integer] Settings Value Co
Daq2206 ActiveX Control ? 261 Syntax object.GPTC.Counter0.UpDownSource [= Integer] object.GPTC.Counter1.UpDownSource [= Integer] Settings Value
Daq2206 ActiveX Control ? 262 Settings Value Constant Description 8 GPTC_OUTPUT_LACTIVE Low active 0 GPTC_OUTPUT_HACTIVE High active Please re
Daq2206 ActiveX Control ? 263 GPTC.Counter1.DelayCount P roperty Return/Set a value that determines the Timer/Counter internal initial count of the
Daq2206 ActiveX Control ? 264 Syntax object.CALIBRATION.BankDate([BankOfEEPROM as Integer]) As String Data Type String GPTC.CALIBRATION.Current
Daq2206 ActiveX Control ? 265 Value Constant Description 0 DAQ2K_IntTimeBase Internal timer as the time base 1 DAQ2K_ExtTimeBase External timer
Daq2206 ActiveX Control ? 266 Value Constant Description 8 DAQ2K_AI_ADCONVSRC_SSI From SSI source Data Type Short Microsoft C/C++ and Borland C
Daq2206 ActiveX Control ? 267 Data Type Short Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi U
Daq2206 ActiveX Control ? 268 Mcounter is enabled and then the trigger signal is ignore before M terminal count is reached. Syntax object.AI.M
Daq2206 ActiveX Control ? 269 AI.ExtTrigPolarity Property External Digital Trigger Polarity. Syntax object.AI.ExtTrigPolarity [=Integer] S
Daq2005 ActiveX Control ? 27 Daq2005 ActiveX Control The Daq2005 ActiveX control is a software component that provides the interface for users to co
Daq2206 ActiveX Control ? 270 AI.StreamToFile Property Return/Set a value that determines i f the control is enabled the function of streaming data
Daq2206 ActiveX Control ? 271 Remarks Please refer to the hardware manual for the more description. Data Type Integer AI.AIOHLevel Property
Daq2206 ActiveX Control ? 272 The length of the Channel Update interval (that is, the counter value between the initiation of each update sequence).
Daq2206 ActiveX Control ? 273 Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.TriggerMode Property Return/Set a value that de
Daq2206 ActiveX Control ? 274 Syntax object.AO.Delay2Source [=Integer] Settings Value Constant Description 128 DAQ2K_DA_Dly2InUI Delay in s
Daq2206 ActiveX Control ? 275 AO.Delay1Count Property The counter value of DLY1 Counter (the delay time after the trigger signal to the start of the
Daq2206 ActiveX Control ? 276 Value Constant Description 1 True ReTriggerMode is enabled Data Type Boolean AO.AIOAnalogTrigCtrl Property Re
Daq2206 ActiveX Control ? 277 Trigger Level digital setting trigger voltage 0xFF +9.92V 0x81 +0.08V 0x80 0 0x7F -0.08V 0x01 -10V Da
Daq2206 ActiveX Control ? 278 Data Type Long AO.Definite Property Waveform generation proceeds definite or indefinitely. If double -buffered mode
Daq2206 ActiveX Control ? 279 Data Type Boolean AO.Channels(0).OutputPolarity Property AO.Channels(1).OutputPolarity Property Return/Set a val
Daq2005 ActiveX Control ? 28 DAQ2005 ActiveX Control Overview MCount ReTriggerCount ExtTrigPolarity ReturnType DoubleBufferM
Daq2206 ActiveX Control ? 280 AO.Channels(0).Buffer1 Property AO.Channels(1).Buffer1 Property This property set up the buffer for continuous analog o
Daq2206 ActiveX Control ? 281 For i = 0 To 4095 buffer1(i) = (Sin(i / 512 * 3.14159) * &H7FF) + &H800 Next i
Daq2206 ActiveX Control ? 282 Settings Value Constant Description 0 False Disconnect to the specified SSI bus trigge r line 1 True Connect to
Daq2206 ActiveX Control ? 283 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Daq2206 ActiveX Control ? 284 Syntax Function object.DIO.ReadDILine (port As Integer, line As Integer, value As Variant) As Boolean Return Value Tru
Daq2206 ActiveX Control ? 285 Arguments port As Integer Selects one port for outputting digital data. Value Constant Description 0 Channel_P1A P1A
Daq2206 ActiveX Control ? 286 Selects one line number from the indicated port: from 0 to 7 (8-bit port). value As Variant Data that is read back from
Daq2206 ActiveX Control ? 287 Syntax Function object.GPTC.Counter0.ReadStatus(Clock As Integer, Output As Integer, Gate As Integer, Updown As Intege
Daq2206 ActiveX Control ? 288 Example Dim nChannelArray(0 To 1) As Integer Dim nRangeArray(0 To 1) As Integer Dim nRefGndArra
Daq2206 ActiveX Control ? 289 nRangeArray(0) = AD_B_10_V nRefGndArray(0) = AI_RSE nChannelArray(1) = 8 nRangeArray(1) = AD_B_2_5_
Daq2005 ActiveX Control ? 29 DAQ2005 ActiveX Control Overview CurrentTemperature Save CurrentDate DisplayErrors SSI TIMEBASE ClearA
Daq2206 ActiveX Control ? 290 Dim nRangeArray(0 To 1) As Integer Dim nRefGndArray(0 To 1) As Integer nChannelArray(0) = 5 nRange
Daq2206 ActiveX Control ? 291 buffer2(i) = (&H800 + i Mod 2048) And &HFFF Else buffer2(i) = (&H800 + 2047
Daq2206 ActiveX Control ? 292 CALIBRATION.DisplayErrors Method Uses this method to fire AcquireADError and AcquireDAError events. Through those eve
Daq2206 ActiveX Control ? 293 Syntax Function object.CALIBRATION.Save( BankOfEEPROM As Integer ) As Boolean Return Value True if the function is su
Daq2206 ActiveX Control ? 294 DAQ_2206 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2206 ActiveX Control ? 295 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous a nalog output fun
Daq2206 ActiveX Control ? 296 varArray(2) = buffer2 varArray(3) = buffer3 Daq2206.AO.Channels(0).buffer1 = varArray(0) Daq2206.AO.Ch
Daq2206 ActiveX Control ? 297 List1.AddItem (strMsg) End Sub AcquireDAError Event Acquires the offset and gain errors of the specified DA channe
Daq2501 ActiveX Control ? 298 Daq2501 ActiveX Control The Daq2501 ActiveX control is a software component that provides the interface for users to c
Daq2501 ActiveX Control ? 299 Daq2501 ActiveX Control Overview DelayCount Mcount ReTriggerCount ExtTrigPolarity ReturnType
Table of contents ? iii Table of Contents D2K-OCX 32-BIT ACTIVEX CONTROLS FOR NUDAQ DAQ-2K/PXI-2K DATA ACQUISITION CARDS ...
Daq2005 ActiveX Control ? 30 Settings Value Display Description 0 Automatic D2K-OCX will initialize by itself. Automatically open device when
Daq2501 ActiveX Control ? 300 Daq2501 ActiveX Control Overview GroupA.Channels(n).RefVoltage GroupA.Channels(n).Buffer1 GroupA.Channels
Daq2501 ActiveX Control ? 301 card. Data Type Integer OpenMode Property Return/Set a value that determines the mode of opening device. Syntax obj
Daq2501 ActiveX Control ? 302 Daq2501.AI.StartContAI ' Check AI Completed by DASK API Dim Stopped As Byte Dim AccessCnt As Long Do W
Daq2501 ActiveX Control ? 303 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas DIO.P1CLowerdir Property Return/Set a value that determines P1C
Daq2501 ActiveX Control ? 304 Value Constant Description 1 SimpleGatedEventCNT 2 SinglePeriodMSR 3 SinglePulseWidthMSR 4 SingleGatedPu
Daq2501 ActiveX Control ? 305 Syntax object.GPTC.Counter0.ClockPolarity [= Integer] object.GPTC.Counter1.ClockPolarity [= Integer] Settings Val
Daq2501 ActiveX Control ? 306 Settings Value Constant Description 2 GPTC_GATE_LACTIVE Low active 0 GPTC_GATE_HACTIVE High active Please refer
Daq2501 ActiveX Control ? 307 Value Constant Description 4 GPTC_UPDOWN_LACTIVE Low active 0 GPTC_UPDOWN_HACTIVE High active Please refer to the
Daq2501 ActiveX Control ? 308 Value Constant Description 0 FALSE 1 TRUE Data Type Boolean GPTC.Counter0.IntUpDnCTR Property GPTC.Counte
Daq2501 ActiveX Control ? 309 Data Type Integer GPTC.Counter0.OutputValue Property GPTC.Counter1.OutputValue Property Returns the counter value o
Daq2005 ActiveX Control ? 31 DIO.P1Adir Property Return/Set a value that determines P1A port direction. Syntax object.DIO.P1ADir [= Direction] Set
Daq2501 ActiveX Control ? 310 Data Type String AI.NumOfScan Property If double-buffered mode is disabled, the total number of scans to be perform
Daq2501 ActiveX Control ? 311 Syntax object.AI.ScanInterval [=Long] Data Type Long AI.SamplingInterval Property The length of the sample int
Daq2501 ActiveX Control ? 312 Value Constant Description 0 DAQ2K_AI_TRGMOD_POST Post Trigger Mode 8 DAQ2K_AI_TRGMOD_DELAY Delay Trigger Mode 16
Daq2501 ActiveX Control ? 313 Value Constant Description 256 DAQ2K_AI_Dly1InSamples Delay in samples Data Type Short Microsoft C/C++ and Borl
Daq2501 ActiveX Control ? 314 Data Type Long AI.DelayCount Property This constant is only valid for Delay trigger mode, The DelayCount indica
Daq2501 ActiveX Control ? 315 Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AI.ReturnType Property Return/Set a value that de
Daq2501 ActiveX Control ? 316 FileName specified the file name of streaming data to disk. This argument is only valid for AI.StreamToFile is Enable.
Daq2501 ActiveX Control ? 317 If the trigger voltage is ±10V, the relationship between the value of TrgLevel and trigger voltage is as the followi
Daq2501 ActiveX Control ? 318 Data Type Boolean AI.Range Property This property can setting same range for all channels. Syntax object.AI.
Daq2501 ActiveX Control ? 319 Range: 40 through 16777215 Syntax object.AO.CHUI [=Long] Data Type Long AO.DAWRSource Property Return/Set a
Daq2005 ActiveX Control ? 32 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas DI
Daq2501 ActiveX Control ? 320 Borland Delphi Unit: D2kDask.pas AO.TriggerMode Property Return/Set a value that determines the trigger mode selection
Daq2501 ActiveX Control ? 321 Settings Value Constant Description 0 DAQ2K_DA_Dly2InTimebase Delay in time base Data Type Integer Microsoft C/C++
Daq2501 ActiveX Control ? 322 Syntax object.AO.Delay1Count [=Long] Data Type Long AO.Delay2Count Property The counter value of DLY2 Counter (
Daq2501 ActiveX Control ? 323 Data Type Boolean AO.AIOAnalogTrigCtrl Property Return/Set a value that determines the t rigger source selection
Daq2501 ActiveX Control ? 324 Trigger Level digital setting Trigger voltage 0x81 +0.08V 0x80 0 0x7F -0.08V 0x01 -10V Data Type Long
Daq2501 ActiveX Control ? 325 AO.BreakDelayCounterSc Property D/A Break delay Counter Source Selection Syntax object.AO.BreakDelayCounterSc [=
Daq2501 ActiveX Control ? 326 Settings Value Constant Description 0 False Indefinitely 1 True Definite Data Type Boolean AO.StopMode Proper
Daq2501 ActiveX Control ? 327 AO.GroupA.Channels(2).Enable Property AO.GroupA.Channels(3).Enable Property DAQ-2000 output channel that can be set
Daq2501 ActiveX Control ? 328 Data Type Integer AO.GroupA.Channels(0).RefVoltage Property AO.GroupA.Channels(1).RefVoltage Property AO.GroupA.Chan
Daq2501 ActiveX Control ? 329 Daq2501.AO.StartContGroup(DA_Group_A_) AO.GroupA.Channels(0).Buffer2 Property AO.GroupA.Channels(1).Buffer2 Pro
Daq2005 ActiveX Control ? 33 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.ClockSource Property GPTC.Counter1.ClockSource Prop
Daq2501 ActiveX Control ? 330 Settings Value Constant Description 0 False Disconnect to the specified SSI bus trigger line 1 True Connect to
Daq2501 ActiveX Control ? 331 Connect / Disconnect a SSI_TIMEBASE device signal to the specified SSI bus trigger line. Syntax object.SSI.TIM
Daq2501 ActiveX Control ? 332 Return Value True if the function is successful; otherwise False. Arguments None DIO.ReadDIPort Method Synta
Daq2501 ActiveX Control ? 333 DIO.WriteDOPort Method Syntax Function object.DIO.WriteDOPort (port As Integer, value As Variant) As Boolean Return Va
Daq2501 ActiveX Control ? 334 Value Constant Description 0 Channel_P1A P1A Port 1 Channel_P1B P1B Port 2 Channel_P1C P1C Port 3 Channel_P1CL P1
Daq2501 ActiveX Control ? 335 Syntax Function object.GPTC.Counter0.Stop() As Boolean Return Value True if the function is successful; otherwise Fal
Daq2501 ActiveX Control ? 336 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas Example Daq2501.AI.Chann
Daq2501 ActiveX Control ? 337 Example Daq2501.AI.Channels(0).Enable = True Daq2501.AI.Channels(2).Enable = True Daq2501.AI.Range = AD_B_10_V
Daq2501 ActiveX Control ? 338 Daq2501.AO.StartContGroup(DA_Group_A_) AO.StopContGroup Method You can use this method to force stop analog outpu
Daq2501 ActiveX Control ? 339 Example Daq2501.CALIBRATION.DisplayErrors Private Sub Daq2501_AcquireADError(ByVal channel As Integer, ByVal polarity
Daq2005 ActiveX Control ? 34 Unit: D2kDask.pas GPTC.Counter0.GateSource Property GPTC.Counter1.GateSource Property Return/Set a value that determin
Daq2501 ActiveX Control ? 340 Syntax Function object.ClearAll As Boolean Return Value True if the function is successful; otherwise False. Argum
Daq2501 ActiveX Control ? 341 DAQ_2501 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2501 ActiveX Control ? 342 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous analog output func
Daq2501 ActiveX Control ? 343 varArray(1) = buffer1 varArray(2) = buffer2 varArray(3) = buffer3 Daq2501.AO.GroupA.Mode = GROUP_MODE_
Daq2501 ActiveX Control ? 344 End If strMsg = "AD channel:" & channel & " " & strPolarity & " Gain err
Daq2502 ActiveX Control ? 345 Daq2502 ActiveX Control The Daq2502 ActiveX control is a software component that provides the interface for users to co
Daq2502 ActiveX Control ? 346 Daq2502 ActiveX Control Overview DelayCount MCount ReTriggerCount ExtTrigPolarity ReturnType
Daq2502 ActiveX Control ? 347 Daq2502 ActiveX Control Overview GroupA.Channels(n).RefVoltage GroupA.Channels(n).Buffer1 GroupA.Channels
Daq2502 ActiveX Control ? 348 DAQ_2502 Properties DASKCardType Property Return a value that determines the card type. It is always DAQ_2502 in DAQ-
Daq2502 ActiveX Control ? 349 Value display Description 2 Demonstration D2K-OCX will provide software DAQ data to simulating hardware drivers
Daq2005 ActiveX Control ? 35 GPTC.Counter0.UpDownSource Property GPTC.Counter1.UpDownSource Property Return/Set a value that determ ines the Timer/C
Daq2502 ActiveX Control ? 350 Syntax object.DIO.P1ADir [= Direction] Settings Value Constant Description 1 INPUT_PORT Direction: input po
Daq2502 ActiveX Control ? 351 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Daq2502 ActiveX Control ? 352 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.ClockSource Property GPTC.Counter1.ClockSource Pr
Daq2502 ActiveX Control ? 353 Borland Delphi Unit: D2kDask.pas GPTC.Counter0.GateSource Property GPTC.Counter1.GateSource Property Return/Set a va
Daq2502 ActiveX Control ? 354 GPTC.Counter0.UpDownSource Property GPTC.Counter1.UpDownSource Property Return/Set a value that determines the Time
Daq2502 ActiveX Control ? 355 GPTC.Counter0.OutputPolarity Property GPTC.Counter1.OutputPolarity Property Return/Set a value that determines the
Daq2502 ActiveX Control ? 356 Settings Value Constant Description 0 FALSE 1 TRUE Data Type Boolean GPTC.Counter0.DelayCount Property GPTC
Daq2502 ActiveX Control ? 357 GPTC.CALIBRATION.BankTemperature Property Returns a value that since user's last calibrated temperature in the E
Daq2502 ActiveX Control ? 358 Data Type Long AI.ClockSource Property The clock source (Time Base) the device selected. Syntax object.AI.Cloc
Daq2502 ActiveX Control ? 359 Data Type Long AI.ConversionSource Property The A/D Conversion Source Selection. Syntax object.AI.ConversionSou
Daq2005 ActiveX Control ? 36 GPTC.Counter0.OutputPolarity Property GPTC.Counter1.OutputPolarity Property Return/Set a value that determines the Tim
Daq2502 ActiveX Control ? 360 AI.TriggerSource Property The Trigger Source Selection. Syntax object.AI.TriggerSource [=Short] Settings Va
Daq2502 ActiveX Control ? 361 Settings Value Constant Description 0 False ReTriggerMode is disabled. 1 True ReTriggerMode is enabled. Data Ty
Daq2502 ActiveX Control ? 362 Syntax object.AI.MCount [=Long] Data Type Long AI.ReTriggerCount Property The accepted trigger times in an ac
Daq2502 ActiveX Control ? 363 Data Type Integer AI.DoubleBufferMode Property Enables or disables double -buffered data acquisition mode. Syntax
Daq2502 ActiveX Control ? 364 Data Type Integer AI.AIOTrigCondition Property Return/Set a value that determines the t rigger condition selection
Daq2502 ActiveX Control ? 365 Remarks For example: If the trigger voltage is ±10V, the relationship between the value of TrgLevel and trigger vo
Daq2502 ActiveX Control ? 366 AI.DelayCounterSource Property A/D Delay Counter Source Selection Syntax object.AI.DelayCounterSource [=Inte
Daq2502 ActiveX Control ? 367 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas AO.TriggerSource Property Retur
Daq2502 ActiveX Control ? 368 AO.Delay1Source Property Return/Set a value that determines the delay1 source selection Syntax object.AO.Delay1S
Daq2502 ActiveX Control ? 369 Data Type Integer Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi
Daq2005 ActiveX Control ? 37 Value Constant Description 0 FALSE 1 TRUE Data Type Boolean GPTC.Counter0.DelayCount Property GPTC.Counter1.Del
Daq2502 ActiveX Control ? 370 Value Constant Description 2 DAQ2K_SSITimeBase The timer based on the SSI source Data Type Short Microsoft C/C++
Daq2502 ActiveX Control ? 371 Value Constant Description 512 Inside_Region Inside Region Triggering 768 High_Hysteresis High Hysteresis Triggerin
Daq2502 ActiveX Control ? 372 AO.DelayCounterSource Property D/A Trigger delay Counter Source Selection Syntax object.AO.DelayCounterSource
Daq2502 ActiveX Control ? 373 Settings Value Constant Description 0 False double-buffered mode is disabled. 1 True double-buffered mode is enabl
Daq2502 ActiveX Control ? 374 Data Type Integer AO.GroupA.Mode Property Return/Set a value that determines GroupA DA transfer mode selected. Sy
Daq2502 ActiveX Control ? 375 Settings Value Constant Description 0 DAQ2K_DA_UniPolar Unipolar 1 DAQ2K_DA_BiPolar Bipolar Data Type Integer AO.Gr
Daq2502 ActiveX Control ? 376 This property set up the buffer for continuous analog output operation. A buffer data or a array of buffer data, dat
Daq2502 ActiveX Control ? 377 Example Dim buffer1(0 To 4095) As Integer Dim buffer2(0 To 4095) As Integer Dim i As Double Fo
Daq2502 ActiveX Control ? 378 Data Type Boolean AO.GroupB.Channels(4).OutputPolarity Property AO.GroupB.Channels(5).OutputPola rity Property AO.G
Daq2502 ActiveX Control ? 379 If the D/A reference voltage source your device use is external reference, the valid range is -10 to +10. Syntax
Daq2005 ActiveX Control ? 38 Data Type Single GPTC.CALIBRATION.BankDate Property Returns a value that since user's last calibrated date in th
Daq2502 ActiveX Control ? 380 Syntax object.AO.GroupB.Channels(4).Buffer2 [=Variant] Remarks You must assign this property before call AO.S
Daq2502 ActiveX Control ? 381 Syntax object.SSI. ADTRIG [=Boolean] Settings Value Constant Description 0 False Disconnect to the specifi
Daq2502 ActiveX Control ? 382 DAQ_2502 Methods Open Method Syntax Function object.Open ([ErrMsgBox As Variant]) As Boolean Return Value True if th
Daq2502 ActiveX Control ? 383 Arguments Port As Integer Selects one port for inputting digital data. Value Constant Description 0 Channel_P1A P1A
Daq2502 ActiveX Control ? 384 Value Constant Description 1 Channel_P1B P1B Port 2 Channel_P1C P1C Port 3 Channel_P1CL P1C Lower Port 4 Channel
Daq2502 ActiveX Control ? 385 Note In VC++, value is a VARIANT of VT_I4. DIO.ReadBackDOLine Method Reads back data from the indicated digital output
Daq2502 ActiveX Control ? 386 GPTC.Counter0.Reset Method GPTC.Counter1.Reset Method Halts the specified general -purpose timer/counter operation and
Daq2502 ActiveX Control ? 387 Borland Delphi Unit: D2kDask.pas Example Daq2502.AI.Channels(0).Enable = True Daq2502.AI.Channels(2).Enable
Daq2502 ActiveX Control ? 388 Private Sub Timer1_Timer() Dim vBuffer As Variant Daq2502.AI.ReadChannels vBuffer ' Get Data in vBuffer
Daq2502 ActiveX Control ? 389 AO.StopContGroup Method You can use this method to force stop analog output. Syntax Function object.AO.StopContGroup
Daq2005 ActiveX Control ? 39 Syntax object.AI.ClockSource [=Short] Settings Value Constant Description 0 DAQ2K_IntTimeBase Internal timer
Daq2502 ActiveX Control ? 390 Return Value True if the function is successful; otherwise False. Arguments None Example Daq2502.CALIBRATION.DisplayErr
Daq2502 ActiveX Control ? 391 The storage bank on EEPROM. The valid range of the value of bank is 0 through 3. SSI.ClearAll Method Disconnects all
Daq2502 ActiveX Control ? 392 DAQ_2502 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String T
Daq2502 ActiveX Control ? 393 Arguments None Remarks This event occurs when contin uous analog output function is completed. AoBufferReady Ev
Daq2502 ActiveX Control ? 394 Daq2502.AO.GroupA.Mode = GROUP_MODE_DMA Daq2502.AO.GroupA.Channels(0).buffer1 = varArray(0) Daq2502.AO.Gro
Daq2502 ActiveX Control ? 395 List1.AddItem (strMsg) List1.Refresh End Sub AcquireDAError Event Acquires the offset and gain errors of the sp
Appendix A Status Codes ? 396 Appendix A Status Codes This appendix lists the status codes returned by D2K-DASK, including the name and description
Appendix A Status Codes ? 397 -24 ErrorAdTimeOut Time out for AD operation -25 ErrorNoAsyncAI Continuous Analog Input is not set as Asynchrono
Appendix D DATA File FORMAT ? 398 Appendix B AI Range Codes The Analog Input Range of DAQ-2000 Cards AD_B_10_V Bipolar -10V to +10V AD_B_5_V
Appendix D DATA File FORMAT ? 399 Appendix C AI DATA FORMAT This appendix lists the AI data format for the cards performing analog input operatio
Table of contents ? iv AI.ReTriggerCount Property...
Daq2005 ActiveX Control ? 40 Borland Delphi Unit: D2kDask.pas AI.TriggerMode Property The Trigger Mode Selection. Syntax object.AI.TriggerMode
Appendix D DATA File FORMAT ? 400 Appendix D DATA File FORMAT This appendix describes the file format of the data files generated by the functions
Appendix D DATA File FORMAT ? 401 scan_rate double 8 The scanning rate of each channel (total sampling rate / num_of_channel) num_of_channel_ran
Appendix D DATA File FORMAT ? 402 DAQCvt first translates the information stored in the header part and the ChannelRange part and then displays the
Daq2005 ActiveX Control ? 41 AI.DelaySource Property Delay source selection. Syntax object.AI. DelaySource [=Short] Settings Value Const
Daq2005 ActiveX Control ? 42 Data Type Boolean AI.PostTriggerCount Property This constant is only valid for Middle trigger mode, The PostTrigg
Daq2005 ActiveX Control ? 43 Settings Value Constant Description 0 DAQ2K_AI_TrgPositive Trigger positive edge active 4096 DAQ2K_AI_TrgNegative Tr
Daq2005 ActiveX Control ? 44 Settings Value Constant Description 0 False Disable the function of streaming data to disk file. 1 True Enable the f
Daq2005 ActiveX Control ? 45 Data Type Integer AI.AIOHLevel Property The High value setting of Trigger level. Please refer to the hardware manua
Daq2005 ActiveX Control ? 46 DAQ-2000 channel-gain that can be set separately for each channel to perform multi-channel/gain analog input, The parame
Daq2005 ActiveX Control ? 47 Data Type Long AO.DAWRSource Property Return/Set a value that determines the D/A R/W Source Selection Syntax o
Daq2005 ActiveX Control ? 48 Return/Set a value that determines the trigger mode selection Syntax object.AO.TriggerMode [=Integer] Settings V
Daq2005 ActiveX Control ? 49 Data Type Integer Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi U
Table of contents ? v GPTC.Counter0.Stop Method...
Daq2005 ActiveX Control ? 50 Data Type Long AO.Delay2Count Property The counter value of DLY2 Counter (the Delay between two consecutive waveform
Daq2005 ActiveX Control ? 51 AO.AIOAnalogTrigCtrl Property Return/Set a value that determines the t rigger source selection Syntax object.AO.A
Daq2005 ActiveX Control ? 52 Trigger Level digital setting trigger voltage 0x7F -0.08V 0x01 -10V Data Type Long AO.AIOLLevel Property
Daq2005 ActiveX Control ? 53 parameter is of no use. Syntax object.AO.Definite [=Boolean] Settings Value Constant Description 0 False Inde
Daq2005 ActiveX Control ? 54 Return/Set a value that determines polarity (unipolar or bipolar) of the output channel. Syntax object.AO.Channel
Daq2005 ActiveX Control ? 55 Syntax object.AO.Channels(0).Buffer1 [=Variant] Remarks You must assign this property before call Star
Daq2005 ActiveX Control ? 56 For i = 0 To 4095 If i < 2048 Then buffer2(i) = (&H800 + i Mod 2048) And &HFFF
Daq2005 ActiveX Control ? 57 Data Type Boolean SSI.DAWR Property Connect / Disconnect a SSI_DAWR device signal to the specified SSI bus trigger
Daq2005 ActiveX Control ? 58 Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas ShowPropertyPages Method This method will show propertypages of A
Daq2005 ActiveX Control ? 59 Unit: D2kDask.pas DIO.ReadDILine Method Syntax Function object.DIO.ReadDILine (port As Integer, line As Integer, value
Table of contents ? vi AI.ConversionSource Property...
Daq2005 ActiveX Control ? 60 Remarks Users can write data to the digital output port. Note In VC++, value is a VARIANT of VT_I4. Microsoft C/C++ and
Daq2005 ActiveX Control ? 61 Selects one port for outputting digital data. Value Constant Description 0 Channel_P1A P1A Port 1 Channel_P1B P1B Por
Daq2005 ActiveX Control ? 62 GPTC.Counter1.Start Method Start counter operation with the specified mode. Syntax Function object.GPTC.Counter0.Start
Daq2005 ActiveX Control ? 63 fire AiComplete or AiHalfReady event depends on AI.Double BufferMode property. Syntax Function object.AI.StartContAI()
Daq2005 ActiveX Control ? 64 Syntax Function object.AI.ReadChannels( Buffer As Variant ) As Boolean Return Value True if the function is successful;
Daq2005 ActiveX Control ? 65 For i = 0 To 4095 buffer1(i) = (Sin(i / 512 * 3.14159) * &H7FF) + &H800 Next i Fo
Daq2005 ActiveX Control ? 66 Arguments None CALIBRATION.DisplayErrors Method Uses this method to fire Ac quireADError and AcquireDAError events. Thr
Daq2005 ActiveX Control ? 67 CALIBRATION.Save Method Save calibration constants to the specified bank of EEPROM. Syntax Function object.CALIBRATION
Daq2005 ActiveX Control ? 68 DAQ_2005 Events DAQError Event Syntax sub ControlName_DAQError ( ErrString As String ) Arguments ErrString As String The
Daq2005 ActiveX Control ? 69 Syntax sub ControlName _AoComplete( ) Arguments None Remarks This event occurs when continuous analog output functi
Table of contents ? vii ShowPropertyPages Method ...
Daq2005 ActiveX Control ? 70 varArray(1) = buffer1 varArray(2) = buffer2 varArray(3) = buffer3 Daq2005.AO.Channels(0).buffer1 = varAr
Daq2005 ActiveX Control ? 71 strMsg = "AD channel:" & channel & " " & strPolarity & " Gain error:" &a
Daq2006 ActiveX Control ? 72 Daq2006 ActiveX Control The Daq2006 ActiveX control is a software component that provides the interface for users to co
Daq2006 ActiveX Control ? 73 Daq2006 ActiveX Control Overview DelayCount MCount ReTriggerCount ExtTrigPolarity ReturnType
Daq2006 ActiveX Control ? 74 Daq2006 ActiveX Control Overview BankDate Load AcquireDAError CurrentTemperature Save CurrentDate DisplayErr
Daq2006 ActiveX Control ? 75 Return/Set a value that determines the mode of opening device. Syntax object.OpenMode [= short] Settings Value Displ
Daq2006 ActiveX Control ? 76 End If Loop MsgBox "AI Complete" DIO.P1Adir Property Return/Set a v alue that determines P1A port direct
Daq2006 ActiveX Control ? 77 Value Constant Description 2 OUTPUT_PORT Direction: output port. Data Type Integer Microsoft C/C++ and Borland
Daq2006 ActiveX Control ? 78 Data Type Integer Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi U
Daq2006 ActiveX Control ? 79 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Table of contents ? viii GPTC.Counter1.DurationCount Property ...
Daq2006 ActiveX Control ? 80 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.UpDownSource Prope
Daq2006 ActiveX Control ? 81 Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas GPTC.Counter0.OutputPolarity Prop
Daq2006 ActiveX Control ? 82 Syntax object.GPTC.Counter0.IntUpDnCTR [= Boolean] object.GPTC.Counter1.IntUpDnCTR [= Boolean ] Settings Value
Daq2006 ActiveX Control ? 83 Data Type Integer GPTC.CALIBRATION.BankTemperature Property Returns a value that since user's last calibrated tem
Daq2006 ActiveX Control ? 84 performed. Double-buffer-mode This value multiply the total number of scan channels is the size (in sample) of
Daq2006 ActiveX Control ? 85 Value Constant Description 8 DAQ2K_AI_ADCONVSRC_SSI From SSI source Data Type Short Microsoft C/C++ and Borland C+
Daq2006 ActiveX Control ? 86 Data Type Short Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Un
Daq2006 ActiveX Control ? 87 Mcounter is enabled and then the trigger signal is ignore before M termin al count is reached. Syntax object.AI.M
Daq2006 ActiveX Control ? 88 Data Type Long AI.ExtTrigPolarity Property External Digital Trigger Polarity. Syntax object.AI.ExtTrigPolarity
Daq2006 ActiveX Control ? 89 Data Type Boolean AI.StreamToFile Property Return/Set a value that determines if the control is enabled the function
Table of contents ? ix AO.Channels(0).Buffer1 Property ...
Daq2006 ActiveX Control ? 90 Settings Value Constant Description 0 Below_Low_level Below-Low-Level Triggering 256 Above_High_Level AI channel 1A
Daq2006 ActiveX Control ? 91 Data Type Long AI.Channels(0).Enable Prope rty AI.Channels(1).Enable Property AI.Channels(2).Enable Property AI.Chan
Daq2006 ActiveX Control ? 92 AO.CHUI Property The length of the Channel Update interval (that is, the counter value between the initiation of each
Daq2006 ActiveX Control ? 93 Microsoft C/C++ and Borland C++ Header: D2kDask.h Visual Basic Module: D2kDask.bas Borland Delphi Unit: D2kDask.pas
Daq2006 ActiveX Control ? 94 AO.Delay2Source Property Return/Set a value that determines the delay2 source selection Syntax object.AO.Delay2So
Daq2006 ActiveX Control ? 95 Data Type Long AO.Delay1Count Property The counter value of DLY1 Counter (the delay time after the trig ger signal to
Daq2006 ActiveX Control ? 96 Settings Value Constant Description 0 False ReTriggerMode is disabled 1 True ReTriggerMode is enabled Data Type
Daq2006 ActiveX Control ? 97 Remarks For example: If the trigger voltage is ±10V, the relationship between the value of TrgLevel and trigger vo
Daq2006 ActiveX Control ? 98 The times of number of the data in the buffer to output to the port. a value of zero is not allowed. Syntax obj
Daq2006 ActiveX Control ? 99 Syntax object.AO.Channels(0).Enable [=Boolean] Data Type Boolean AO.Channels(0).OutputPolarity Property AO.Cha
Commentaires sur ces manuels