您的当前位置:首页正文

ni快速参考iGuide

2024-07-15 来源:好走旅游网
QUICK REFERENCE NI-SCOPE Instrument DriverInitialize and Close ICONTYPE PARAMETERVALUE TO SET, COMMENTS1niScope Initialize2(niScope_init)3Creates a new session to the instrument.ViRsrcresourceNameFor Traditional NI-DAQdevices, use DAQ::#, where # is the device number. For NI-DAQmx devices, the device name is assigned by Measurement &Automation Explorer (MAX). Optionally, for all devices you can use an IVIlogical name•NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSE•NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSEReference to the new sessionViBooleanViBooleanViSession*IDQueryresetDeviceviniScope Initialize with Options(niScope_InitWithOptions)Creates a new session to the instrument and optionally sets the initial state ofsession properties.ViRsrcresourceNameFor Traditional NI-DAQ devices, use DAQ::#, where # is the device number. For NI-DAQmx devices, the device name is assigned by Measurement & AutomationExplorer (MAX). Optionally, for all devices you can use an IVI logical name•NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSE•NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSEUsed to set the initial value of certain properties for the session, including range checking, caching, and simulation. Refer to NI-SCOPE Function Reference Helpor NI-SCOPE VI Reference Helpfor constantsReference to the new sessionViBooleanViBooleanViStringIDQueryresetDeviceOption StringViSession*viniScope Close(niScope_close)Closes the current session to the instrument.ViSessionviSession handleConfiguration ICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Configure Acquisition(niScope_ConfigureAcquisition)Configures the digitizer acquisition mode.ViSessionViInt32vi Session handleacquisitionType•NISCOPE_VAL_NORMAL•NISCOPE_VAL_FLEXRESniScope Auto Setup(niScope_AutoSetup)Automatically configures the digitizer. When you call this function, the digitizersenses the input signal and configures common device settings. ViSessionvi Session handleniScope Configure Vertical(niScope_ConfigureVertical)Configures the vertical subsystem for the digitizer channel.ViSessionViConstStringViReal64ViReal64ViInt32vichannelListrangeoffset couplingSession handleChannel to configureVolts peak-to-peak; legal values vary depending on productLocation of the center of the range parameter involts•NISCOPE_VAL_AC•NISCOPE_VAL_DC•NI_SCOPE_VAL_GNDAny positive real number such as 1, 10, and 100NISCOPE_VAL_TRUE, NISCOPE_VAL_FALSE ViReal64probeAttenuationViBoolean enabled niScope Configure Chan Characteristics(niScope_ConfigureChanCharacteristics)Configures the specified digitizer channel.ViSessionViConstStringViReal64ViReal64vichannelListinputImpedancemaxInputFrequencySession handleChannel to configure•NISCOPE_VAL_50_OHM•NISCOPE_VAL_1_MEG_OHM0—Results in the default value of thehardware; check your hardware documentation to find other supported bandwidths, in HertzniScope Configure Horizontal Timing(niScope_ConfigureHorizontalTiming)Configures the horizontal subsystem for a single- or multi-record acquisition interms of minimum sample rate.ViSessionViReal64viminSampleRateSession handleMinimum sampling rate; call niScope_SampleRatefor the actual sample rate usedMinimum number of points you need in the record for each channel; call niScope_ActualRecordLengthfor the actual record length acquiredViInt32minNumPtsNI-SCOPEInstrument Driver Quick Reference2ni.comViReal64ViInt32ViBooleanrefPositionnumRecordsenforceRealtimePercent of waveform record that is pretriggeredNumber of records to acquireIndicates whether the digitizer enforces real-time measurements or allows equivalent-time measurements •NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSEniScope Configure Clock(niScope_ConfigureClock)Configures the properties for synchronizing the digitizer to an external reference clockor for sending the digitizer clock out as a synchronizing clock for other digitizers.ViSessionViConstStringviinputClockSourceSession handle••••••••••NISCOPE_VAL_NO_SOURCENISCOPE_VAL_RTSI_CLOCKNISCOPE_VAL_PFI_<1..2>NISCOPE_VAL_EXTERNALNISCOPE_VAL_PXI_CLOCKNISCOPE_VAL_CLK_INNISCOPE_VAL_NO_SOURCENISCOPE_VAL_RTSI_CLOCKNISCOPE_VAL_PFI_<0..2>NISCOPE_VAL_CLK_OUTViConstStringoutputClock-SourceViConstStringclockSyncPulse-SourcemasterEnabled•NISCOPE_VAL_NO_SOURCE•NISCOPE_VAL_RTSI_<0..6>•NISCOPE_VAL_PFI_<0..2>•NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSEViBooleanTriggersICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Configure Trigger Immediate4(niScope_ConfigureTriggerImmediate)Configures the common properties for immediate triggering. Immediate triggeringmeans the digitizer triggers itself. ViSessionviSession handleniScope Configure Trigger Edge4(niScope_ConfigureTriggerEdge)Configures the edge trigger. An edge trigger occurs when the trigger signal passesthrough the voltage threshold that you specify with the level parameter. Its slope isspecified with the slope parameter.ViSessionViConstStringViReal64ViInt32ViInt32vitriggerSourcelevelslopetriggerCouplingSession handle“0”, “1”, NISCOPE_VAL_EXTERNALVoltage threshold for edge triggering•NISCOPE_VAL_POSITIVE•NISCOPE_VAL_NEGATIVE•••••NISCOPE_VAL_ACNISCOPE_VAL_DCNISCOPE_VAL_LF_REJECTNISCOPE_VAL_HF_REJECTNISCOPE_VAL_AC_PLUS_HF_REJECTViReal64holdoffThe length of time the digitizer waits, in seconds, after detecting a trigger or acquisition before enabling NI-SCOPE to detect another trigger©National Instruments Corporation3NI-SCOPEInstrument Driver Quick ReferenceTriggers (continued)ICONTYPEViReal64PARAMETERdelayVALUE TO SET, COMMENTSThe length of time the digitizer waits, in seconds, after it receives the trigger to start acquiring posttrigger dataniScope Configure Trigger Digital4(niScope_ConfigureTriggerDigital)Configures the digital trigger. A digital trigger occurs when the trigger signal hasthe slope that you specify with the slope parameter.ViSessionViConstStringvitriggerSourceSession handle•NISCOPE_VAL_RTSI_<0..6>•NISCOPE_VAL_PFI_<0..2>•NISCOPE_VAL_PXI_STAR •NISCOPE_VAL_POSITIVE •NISCOPE_VAL_NEGATIVEThe length of time the digitizer waits, in seconds, after detecting a trigger before enabling NI-SCOPE to detect another triggerThe length of time the digitizer waits, in seconds, after it receives the trigger to start acquiring posttrigger dataViInt32ViReal64slopeholdoffViReal64delayniScope Configure Trigger Software4(niScope_ConfigureTriggerSoftware)Configures the common properties for software triggering. Use niScope_SendSoftwareTriggerEdgeto trigger the acquisition.ViSessionViReal64viholdoffSession handleThe length of time the digitizer waits, in seconds, after detecting a trigger before enabling NI-SCOPE to detect another triggerThe length of time the digitizer waits, in seconds, after it receives the trigger to start acquiring posttrigger dataViReal64delayniScope Configure Video Trigger4(Scope_ConfigureTriggerVideo)Configures the common properties for video triggering. ViSessionViConstStringViBooleanvitriggerSourceenableDCRestoreSession handle“0”, “1”, NISCOPE_VAL_EXTERNALEnabling DC restore sets the zero volt reference of video signal to zero volts •NISCOPE_VAL_TRUE•NISCOPE_VAL_FALSE•NISCOPE_VAL_NTSC•NISCOPE_VAL_PAL•NISCOPE_VAL_SECAM••••NISCOPE_VAL_TV_EVENT_FIELD1NISCOPE_VAL_TV_EVENT_FIELD2 NISCOPE_VAL_TV_EVENT_ANY_LINE NISCOPE_VAL_TV_EVENT_LINE_NUMBERViInt32signalFormatViInt32eventViInt32lineNumberLine number to trigger on. For NTSC, the validrange is 1 to 525. For PAL and SECAM, the valid range is 1 to 625•NISCOPE_VAL_TV_POSITIVE •NISCOPE_VAL_TV_NEGATIVEViInt32polarityNI-SCOPEInstrument Driver Quick Reference4ni.comViInt32triggerCoupling•••••NISCOPE_VAL_ACNISCOPE_VAL_DCNISCOPE_VAL_LF_REJECTNISCOPE_VAL_HF_REJECTNISCOPE_VAL_AC_PLUS_HF_REJECTViReal64holdoffThe length of time the digitizer waits, in seconds, after detecting a trigger before enabling NI-SCOPE to detect another triggerThe length of time the digitizer waits, in seconds, after it receives the trigger to start acquiring posttrigger dataViReal64delayniScope Configure Trigger Hysteresis4(niScope_ConfigureTriggerHysteresis)Configures the hysteresis trigger. If the slope parameter is set to positive, a triggeroccurs when a signal starts at a voltage below the level parameter minus thehysteresis parameter, and then crosses the voltage of the level parameter. If slope isset to negative, a trigger occurs when a signal starts at a voltage above the levelparameter plus the hysteresis parameter, and then crosses the voltage of the levelparameter. ViSessionViConstStringViReal64ViReal64ViInt32ViInt32vitriggerSourcelevelhysteresisslopetriggerCouplingSession handle“0”, “1”, NISCOPE_VAL_EXTERNAL Voltage threshold for the triggerSize of the hysteresis window in volts•NISCOPE_VAL_POSITIVE •NISCOPE_VAL_NEGATIVE•••••NISCOPE_VAL_ACNISCOPE_VAL_DCNISCOPE_VAL_LF_REJECTNISCOPE_VAL_HF_REJECTNISCOPE_VAL_AC_PLUS_HF_REJECTViReal64holdoffThe length of time the digitizer waits, in seconds, after detecting a trigger before enabling NI-SCOPE to detect another triggerThe length of time the digitizer waits, in seconds, after it receives the trigger to start acquiring posttrigger dataViReal64delayniScope Configure Trigger Window4(niScope_ConfigureTriggerWindow)Configures common properties for window triggering. A window trigger occurswhen a signal enters or leaves a window you specify with the high level or low levelparameters.ViSessionViConstStringViReal64ViReal64ViInt32vitriggerSourcelowLevelhighLevelwindowModeSession handle“0”, “1”, NISCOPE_VAL_EXTERNALVoltage threshold you want the digitizer to usefor the lower trigger levelVoltage threshold you want the digitizer to usefor the upper trigger levelSpecifies whether you want the trigger to occur when the signal enters or leaves a window•NISCOPE_VAL_ENTERING_WINDOW•NISCOPE_VAL_LEAVING_WINDOWViInt32triggerCoupling•••••NISCOPE_VAL_ACNISCOPE_VAL_DCNISCOPE_VAL_LF_REJECTNISCOPE_VAL_HF_REJECTNISCOPE_VAL_AC_PLUS_HF_REJECTViReal64holdoffThe length of time the digitizer waits, in seconds, after detecting a trigger before enabling NI-SCOPE to detect another trigger©National Instruments Corporation5NI-SCOPEInstrument Driver Quick ReferenceTriggers (continued)ICONTYPEViReal64PARAMETERdelayVALUE TO SET, COMMENTSThe length of time the digitizer waits, in seconds, after it receives the trigger to start acquiring posttrigger dataniScope Send Software Trigger Edge(niScope_SendSoftwareTriggerEdge)Sends the selected trigger to the digitizer. Call this function if you calledniScope_ConfigureTriggerSoftwarewhen you want the Reference trigger tooccur. If you have configured an Acquisition Arm source, ArmReference Triggersource, or Advance Trigger source, call this function when you want to send thecorresponding trigger to the digitizer.ViSessionViInt32viSession handlewhichTrigger •NISCOPE_VAL_SOFTWARE_TRIGGER_START•NISCOPE_VAL_SOFTWARE_TRIGGER_ARM_REFERENCE •NISCOPE_VAL_SOFTWARE_TRIGGER_REFERENCE •NISCOPE_VAL_SOFTWARE_TRIGGER_ADVANCEniScope Export Signal(niScope_ExportSignal)Configures the digitizer to generate a signal pulse that other digitizers can detectwhen configured for digital triggering.Replaces niScope Configure Trigger Output for most devices.ViSessionsignalvivilnt32Session handleSignal to export•NISCOPE_VAL_REF_TRIGGER•NISCOPE_VAL_START_TRIGGER•NISCOPE_VAL_END_OF_ACQUISITION_EVENT•NISCOPE_VAL_END_OF_RECORD_EVENT•NISCOPE_VAL_ADVANCE_TRIGGER•NISCOPE_VAL_READY_FOR_ADVANCE_EVENT•NISCOPE_VAL_READY_FOR_START_EVENT•NISCOPE_VAL_READY_FOR_REF_EVENT•NISCOPE_VAL_REF_CLOCK•NISCOPE_VAL_SAMPLE_CLOCKDescribes the signal being exportedThe hardware signal line on which the digitalpulse is generated.•NISCOPE_VAL_RTSI<0..6>•NISCOPE_VAL_PFI<0..2>signal identifieroutput terminalviConstStringviConstStringAcquisitionICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Initiate Acquisition(niScope_InitiateAcquisition)Initiates a waveform acquisition. After you call this function, the digitizer leaves theidle state and starts acquiring data. The digitizer acquires a waveform for eachchannel you have enabled withniScope_ConfigureVertical.ViSessionviSession handleNI-SCOPE Instrument Driver Quick Reference6ni.comniScope Abort(niScope_Abort)Aborts an acquisition and returns the digitizer to the idle state. The niScope_Reador niScope_InitiateAcquisitionfunctions initiate an acquisition.ViSessionviSession handleniScope Read Cluster5(niScope_Read)Enables the specified channel, initiates an acquisition, waits for it to complete, andreturns the scaled waveform.In LabVIEW, use niScope Read Cluster to acquire one waveform and niScopeMulti Read Clusterto acquire multiple waveforms at one time.ViSessionViConstStringViReal64ViInt32ViReal64*niScope_wfmInfo*vichannelListtimeoutnumSampleswfmwfmInfoSession handleList of channels, separated by commas, to retrieve waveforms fromMaximum length of time, in seconds, to wait for the data aquisition to completeThe number of samples to fetch for eachwaveformAn array containing the scaled waveforms from the digitizer An array containing timing and scaling information for each returned waveformniScope Fetch Binary 86(niScope_FetchBinary8)Returns the waveform the digitizer acquires for the channel you specify in 8-bitbinary form. The waveform is from a previously initiated acquisition. In LabVIEW, use niScope Fetch Binary 8to fetch a single binary waveform orniScope Multi Fetch Binary 8to fetch multiple waveforms at one time.For 16-bit binary form, use niScope_FetchBinary16. In LabVIEW, use niScopeFetch Binary 16or niScope Multi Fetch Binary 16.For 32-bit binary form, use niScope_FetchBinary32. In LabVIEW, use niScopeFetch Binary 32or niScope Multi Fetch Binary 32.ViSessionViConstStringViReal64vichannelListtimeoutSession handleList of channels, separated by commas, to retrieve waveforms fromMaximum length of time, in seconds, to wait for the data aquisition to complete. Pass zero to return the currently available dataThe number of samples to fetch for each waveformAn array containing the binary waveforms from the digitizerAn array containing timing and scaling information for each returned waveformViInt32ViInt8*niScope_wfmInfo*numSampleswfmwfmInfoniScope Fetch6(niScope_Fetch)Returns the scaled waveform the digitizer acquires for the channel you specify. Thewaveform is from a previously initiated acquisition. In LabVIEW, use niScope Fetch Clusterto fetch a single waveform or niScopeMulti Fetch Clusterto fetch multiple waveforms at one time.ViSessionViConstStringvichannelListSession handleList of channels, separated by commas, to retrieve waveforms from©National Instruments Corporation7NI-SCOPEInstrument Driver Quick ReferenceAcquisition (continued)ICONTYPEViReal64PARAMETERtimeoutVALUE TO SET, COMMENTSMaximum length of time, in seconds, to wait for the data aquisition to complete. Pass zero to return the currently available dataThe number of samples to fetch for each waveformAn array containing the scaled waveforms from the digitizerAn array containing timing and scaling information for each returned waveformViInt32ViReal64*niScope_wfmInfo*numSampleswfmwfmInfoniScope Commit(niScope_Commit)Commits to hardware all the parameter settings associated with the task.ViSessionviSession handleMeasurementsICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Add Waveform Processing(niScope_AddWaveformProcessing)Adds one array measurement to the list of processing steps. This function completesbefore any other measurements.ViSessionViConstStringViInt32 vichannelListmeasFunctionSession handleList of channels, separated by commas, to add processing toArray measurement to add; refer toNI-SCOPE Function Reference Help or NI-SCOPE VIReference Helpfor constantsniScope Clear Waveform Processing(niScope_ClearWaveformProcessing)Clears the waveform processing on the channels you specify. ViSessionViConstStringvichannelListSession handleList of channels, separated by commas, to clear processing onniScope Clear Waveform Measurement Stats(Scope_ClearWaveformMeasurementStats)Clears the waveform measurement statistics for the channels and measurement youspecify. ViSessionViConstStringViInt32 vichannelListmeasFunctionSession handleList of channels, separated by commas, to clear statistics fromAny measurement; refer toNI-SCOPE Function Reference Help or NI-SCOPE VIReference Helpfor constantsNI-SCOPE Instrument Driver Quick Reference8ni.comniScope Fetch Measurement7(niScope_FetchMeasurement)Fetches the waveform from a previously initiated acquisition and performs thescalar measurement you specify.In LabVIEW, use niScope Fetch Measurementto fetch a single scalarmeasurement and niScope Multi Fetch Measurementto fetch multiplemeasurements at one time.ViSessionViConstStringViReal64ViInt32vichannelListtimeoutscalarMeasFunctionSession handleList of channels, separated by commas, to retrieve waveform measurements fromMaximum length of time, in seconds, to wait for the data aquisition to completeScalar measurement to perform; refer toNI-SCOPE Function Reference Help or NI-SCOPE VIReference Helpfor constantsAn array containing the scalar measurement result for all the fetched waveformsViReal64*resultniScope Fetch Measurement Stats7(niScope_FetchMeasurementStats)Fetches a waveform from a previously initiated acquisition and returns the statisticsfrom multiple acquisitions. The statistics are updated once per acquisition if themeasurement is fetched.In LabVIEW, use niScope Fetch Measurement Statsto fetch a single scalarmeasurement and niScope Multi Fetch Measurement Statsto fetch multiplemeasurements at one time.ViSessionViConstStringViReal64ViInt32vichannelListtimeoutscalarMeasFunctionSession handleList of channels, separated by commas, to retrieve waveform measurements fromMaximum length of time, in seconds, to wait for the data aquisition to completeScalar measurement to perform; refer toNI-SCOPE Function Reference Help or NI-SCOPE VIReference Helpfor constantsAn array containing the scalar measurement result for all the fetched waveformsMean of last numInStats measurementsStandard deviation of last numInStats measurementsMinimum of last numInStats measurementsMaximum of last numInStats measurementsNumber of measurements used for statisticsViReal64*ViReal64*ViReal64*ViReal64*ViReal64*ViInt32*resultmeanstdevminmaxnumInStatsniScope Fetch Array Measurement7(niScope_FetchArrayMeasurement)Fetches a waveform from a previously initiated acquisition and performs thespecified array measurement.In LabVIEW, use niScope Fetch Array Measurementor niScope Fetch ArrayMeasurement Clusterto fetch a single measurement, or niScope Multi FetchArrayMeasurementor niScope Multi Fetch Array Measurement Clustertofetch multiple measurements at one time.ViSessionViConstStringViReal64vichannelListtimeoutSession handleList of channels, separated by commas, to retrieve waveform measurements fromMaximum length of time, in seconds, to wait for the data aquisition to complete©National Instruments Corporation9NI-SCOPEInstrument Driver Quick ReferenceMeasurements (continued)ICONTYPEViInt32PARAMETERarrayMeasFunctionVALUE TO SET, COMMENTSArray measurement to perform; refer toNI-SCOPE Function Reference Help or NI-SCOPE VIReference Helpfor constantsThe number of samples to return for each waveform measurement in the measWfm arrayAn array containing the measurement waveformsAn array containing timing and scaling information for each returned waveformViInt32measWfmSizeViReal64*measWfmniScope_wfmInfo*measWfmInfoError HandlingICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Error Message(niScope_ErrorMessage)Takes the returned error code and returns the interpretation as a user-readable string.ViSession viViStatusViCharerrorCodeerrorMessage[IVI_MAX_MESSAGE_BUF_ SIZE]Session handleError code returned by any NI-SCOPE functionInterpreted error code as a user-readable stringActual ValuesICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Actual Meas Wfm Size(niScope_ActualMeasWfmSize)Queries the number of samples in the resulting waveform measurement afterperforming the specified array measurement function.Note:Not required for LabVIEW because the fetch VIs in LabVIEWdefault to fetch all data.ViSessionViConstStringviSession handlearrayMeasFunctionArray measurement to perform; refer toNI-SCOPE Function Reference Help or NI-SCOPE VIReference Helpfor constantsmeasWfmSizeThe number of samples available after performing the specified array measurementViInt32*niScope Actual Num Wfms(niScope_ActualNumWfms)Queries the number of waveforms available on a specified channel.Note:Not required for LabVIEW because the fetch VIs in LabVIEWdefault to fetch all data.ViSessionViConstStringvichannelListSession handleList of channels, separated by commas, fromwhich to query the number of available waveformsNI-SCOPEInstrument Driver Quick Reference10ni.comViInt32*numWfmsThe number of waveforms available for the specified channelsniScope Actual Record Length(niScope_ActualRecordLength)Queries the actual number of points the digitizer acquires for each channel.ViSessionViInt32*viactualRecord-LengthSession handleValue is equal to or greater than the minNumPts you specify with niScope_ConfigureHorizontalTiming; length of record is available for each channelniScope Sample Rate(niScope_SampleRate)Queries the effective sample rate of the acquired waveform using the currentconfiguration in samples per second.ViSessionViReal64*visampleRateSession handleThe effective sample rate of the waveform acquired for each channelniScope Actual Sample Mode(niScope_SampleMode)Queries the sample mode the digitizer is currently using.ViSessionViInt32*visampleModeSession handleThe sample mode the digitizer is currently using•NISCOPE_VAL_REAL_TIME •NISCOPE_VAL_EQUIVALENT_TIMECheck Status ICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Acquisition Status(niScope_AcquisitionStatus)Shows whether an acquisition is in progress or complete.ViSessionViInt32*vistatusSession handle•NISCOPE_VAL_ACQ_IN_PROGRESS (0)•NISCOPE_VAL_ACQ_COMPLETE (1)•NISCOPE_VAL_ACQ_STATUS_UNKNOWN (-1)UtilitiesICONTYPEPARAMETERVALUE TO SET, COMMENTSniScope Reset(niScope_Reset)Resets the instrument to a known state.ViSessionviSession handleniScope Self Test(niScope_Self_Test)Runs the instrument's self-test routine and returns the test result(s).©National Instruments Corporation11NI-SCOPEInstrument Driver Quick ReferenceUtilities (continued)ICONTYPEViSessionViInt16*ViCharPARAMETERviselfTestResultselfTestMessage[IVI_MAX_MESSAGE_BUF_SIZE]VALUE TO SET, COMMENTSSession handle0–Self test passed, 1–Self test failedSelf-test response string from the digitizerniScope Self Calibration(niScope_CalSelfCalibrate)Performs a self-calibration of all channels on the digitizer.ViSessionViConstStringViInt32vichannelListoptionSession handleCurrently ignored; use VI_NULL•NISCOPE_VAL_SELF_CALIBRATION•NISCOPE_VAL_RESTORE_FACTORY_CALIBRATIONniScope Revision Query(niScope_revision_query)Returns the revision numbers of the instrument driver and instrument firmware.ViSessionViCharvidriverRev [IVI_MAX_MESSAGE_BUF_SIZE]instrRev [IVI_MAX_MESSAGE_BUF_SIZE]Session handleDriver software revision number in the form of a stringFirmware revision number in the form of a stringViCharniScope Probe Compensation Signal Start(niScope_ProbeCompensationSignalStart)Starts the square wave output on PFI 1 for probe compensation.ViSessionviSession handleniScope Probe Compensation Signal Stop(niScope_ProbeCompensationSignalStop)Stops the square wave output on PFI 1 for probe compensation.ViSessionviSession handleniScope Reset Device(niScope_ResetDevice)Performs a hard reset on the device.ViSessionviSession handle1234567Function name for LabWindowsTM/CVITM, C, C++, and Visual Basic. In LabWindows/CVI, C, and C++, constant names such as NISCOPE_VAL_TRUE and NISCOPE_VAL_EDGErefer to the use of #defines in your program. In LabVIEW, these constants refer to Boolean or ring controlswith corresponding entries. For example, NISCOPE_VAL_EDGE corresponds to the LabVIEW ring controlentry Edge. Refer to LabVIEW Help(Show Help) for more details.VI name for LabVIEW.For all configure trigger VIs, use niScope Configure Trigger (poly).For all read VIs, use niScope Read (poly).For all fetch VIs, use niScope Fetch (poly).For all fetch measurement VIs, use niScope FetchMeasurement (poly). NI-SCOPEInstrument Driver Quick Reference12ni.comProgramming FlowErrorNational Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer tothe Terms of Usesection on ni.com/legalfor more information about National Instruments trademarks.Other product and company names mentioned herein are trademarks or trade names of their respectivecompanies. For patents covering National Instruments products, refer to the appropriate location:Help»Patentsin your software, the patents.txt fileon your CD, or ni.com/patents.© 1999–2005 National Instruments Corporation. All rights reserved. *322575E-01*Mar05322575E-01Repetitively Configure and Acquire DataRepetitively Acquire DataFetch More Data

因篇幅问题不能全部显示,请点此查看更多更全内容