📄 hp33120a.sub
字号:
"physical resource it is using.\n"
" "
3 all "Number of Channels" HP33120A_ATTR_NUM_CHANNELS ViInt32 g
"Indicates the number of channels that the specific instrument driver "
"supports. \n"
" For each attribute for which the IVI_VAL_MULTI_CHANNEL flag attribute "
"is set, the IVI engine maintains a separate cache value for each channel.\n"
" "
3 all "Specific Driver Prefix" HP33120A_ATTR_SPECIFIC_PREFIX ViString g
"The prefix for the specific instrument driver. The name of each "
"user-callable function in this driver starts with this prefix.\n"
" The prefix can be up to a maximum of eight characters.\n"
" "
2 all "Version Info"
"Attributes for obtaining information about the version of the instrument "
"driver and the IVI engine.\n"
" "
3 all "Driver Major Version" HP33120A_ATTR_DRIVER_MAJOR_VERSION ViInt32 g
"The major version number of this instrument driver.\n"
" "
3 all "Driver Minor Version" HP33120A_ATTR_DRIVER_MINOR_VERSION ViInt32 g
"The minor version number of this instrument driver.\n"
" "
3 all "Driver Revision" HP33120A_ATTR_DRIVER_REVISION ViString g
"A string that contains additional version information about this "
"instrument driver.\n"
" "
3 all "Engine Major Version" HP33120A_ATTR_ENGINE_MAJOR_VERSION ViInt32 g
"The major version number of the IVI engine.\n"
" "
3 all "Engine Minor Version" HP33120A_ATTR_ENGINE_MINOR_VERSION ViInt32 g
"The minor version number of the IVI engine.\n"
" "
3 all "Engine Revision" HP33120A_ATTR_ENGINE_REVISION ViString g
"A string that contains additional version information about the IVI "
"engine.\n"
" "
2 all "Error Info"
"Attributes for error information.\n"
" "
3 all "Primary Error" HP33120A_ATTR_PRIMARY_ERROR ViInt32 gs
"A code that describes the first error that occurred since the last call to "
"hp33120a_GetErrorInfo on the session. The value follows the VXIplug&play "
"completion code conventions. A negative value describes an error "
"condition. A positive value describes a warning condition and indicates "
"that no error occurred. A zero indicates that no error or warning "
"occurred. The error and warning values can be status codes defined by IVI, "
"VISA, class drivers, or specific drivers.\n"
" "
3 all "Secondary Error" HP33120A_ATTR_SECONDARY_ERROR ViInt32 gs
"An optional code that provides additional information concerning the "
"primary error condition. The error and warning values can be status codes "
"defined by IVI, VISA, class drivers, or specific drivers. Zero indicates "
"no additional information.\n"
" "
3 all "Error Elaboration" HP33120A_ATTR_ERROR_ELABORATION ViString gs
"An optional string that contains additional information concerning the "
"primary error condition.\n"
" "
2 all "Advanced Session I/O"
"Attributes that the specific driver can use to perform instrument I/O. "
"These attributes control advanced capabilities that, typically, only "
"driver developers use.\n"
" "
3 all "VISA Resource Manager Session" HP33120A_ATTR_VISA_RM_SESSION ViSession g
"If a specific driver uses VISA instrument I/O, it passes the value of this "
"attribute to the viOpen function during initialization. The viOpen "
"function returns an instrument I/O session, which the driver stores in the "
"HP33120A_ATTR_IO_SESSION attribute.\n"
" "
3 all "Instrument I/O Session" HP33120A_ATTR_IO_SESSION ViSession g
"Specifies the I/O session that the specific driver uses to communicate "
"with the instrument.\n"
" If a specific driver uses VISA instrument I/O, it passes the value of "
"the HP33120A_ATTR_VISA_RM_SESSION attribute to the viOpen function and "
"sets the HP33120A_ATTR_IO_SESSION attribute to the VISA session handle "
"that viOpen returns.\n"
" "
3 all "Defer Update" HP33120A_ATTR_DEFER_UPDATE ViBoolean gs Boolean_values
"Specifies whether to defer the actual updating of the physical instrument "
"when you call one of the hp33120a_SetAttribute functions. The IVI engine "
"performs all the deferred updates for the session when you call "
"Ivi_Update.\n"
" Typically, it is not necessary to defer updates. Deferring updates "
"can be useful when the overhead of initiating instrument I/O is very high. "
" By deferring updates, you can buffer multiple instrument commands into "
"one I/O action.\n"
" Generally, only instrument driver developers use this attribute, and "
"they do so on a temporary basis around a sequence of calls to "
"Ivi_SetAttribute functions.\n"
" The default value is VI_FALSE.\n"
" "
3 all "Return Deferred Values" HP33120A_ATTR_RETURN_DEFERRED_VALUES ViBoolean gs Boolean_values
"When you call one of the hp33120a_GetAttribute functions on an attribute "
"that has a deferred update pending, this attribute specifies whether to "
"return the deferred value or the value that represents the actual state of "
"the instrument.\n"
" Generally, only instrument driver developers use this attribute. For "
"particular attributes, the instrument driver can choose to ignore this "
"attribute and always return the value that represents the actual state of "
"the instrument.\n"
" The default value is VI_TRUE.\n"
" "
1 all "Basic Operation"
"Attributes that control the basic features of the function generator."
2 all "Output Mode" HP33120A_ATTR_OUTPUT_MODE ViInt32 gs attrOutputModeRangeTable
"Determines how the function generator produces waveforms. The value you "
"specify determines which functions and attributes you use to configure the "
"waveform the function generator produces.\n"
" When you set this attribute to HP33120A_VAL_OUTPUT_FUNC, you use the "
"following attributes and functions to configure standard waveforms:\n"
"\n"
"HP33120A_ATTR_FUNC_WAVEFORM\n"
"HP33120A_ATTR_FUNC_AMPLITUDE\n"
"HP33120A_ATTR_FUNC_DC_OFFSET\n"
"HP33120A_ATTR_FUNC_FREQUENCY\n"
"HP33120A_ATTR_FUNC_START_PHASE\n"
"HP33120A_ATTR_DUTY_CYCLE_HIGH\n"
"\n"
"hp33120a_ConfigureStandardWaveform\n"
"\n"
" When you set this attribute to HP33120A_VAL_OUTPUT_ARB, you use the "
"following attributes and functions to configure arbitrary waveforms:\n"
"\n"
"HP33120A_ATTR_ARB_WAVEFORM_HANDLE\n"
"HP33120A_ATTR_ARB_GAIN\n"
"HP33120A_ATTR_ARB_OFFSET\n"
"HP33120A_ATTR_ARB_SAMPLE_RATE\n"
"\n"
"hp33120a_CreateWaveform\n"
"hp33120a_ClearArbWaveform\n"
"hp33120a_ConfigureArbWaveform\n"
"hp33120a_SetSampleRate\n"
" "
2 all "Reference Clock Source" HP33120A_ATTR_REF_CLOCK_SOURCE ViInt32 gs attrRefClockRangeTable
"Specifies the reference clock source. The function generator derives "
"frequencies and sample rates that it uses to generate waveforms from the "
"source you specify. "
2 all "Output Enabled" HP33120A_ATTR_OUTPUT_ENABLED ViBoolean gs Boolean_values
"This channel-based attribute specifies whether the signal the function "
"generator produces appears at the output connector.\n"
" "
2 all "Output Impedance" HP33120A_ATTR_OUTPUT_IMPEDANCE ViReal64 gs attrOutputImpedanceRangeTable
"This channel-based attribute specifies the function generator's output "
"impedance at the output connector.\n"
" "
1 all "Standard Function Output"
"Attributes for generating standard function waveform output. You use this "
"group of attributes when you set the HP33120A_ATTR_OUTPUT_MODE attribute "
"toHP33120A_VAL_OUTPUT_FUNC. You can use the "
"hp33120a_ConfigureStandardWaveform function to set all these attributes "
"except HP33120A_ATTR_DUTY_CYCLE_HIGH."
2 all "Waveform" HP33120A_ATTR_FUNC_WAVEFORM ViInt32 gs attrFuncWaveformRangeTable
"This channel-based attribute specifies which standard waveform the "
"function generator produces.\n"
" You use this attribute only when the HP33120A_ATTR_OUTPUT_MODE "
"attribute is set to HP33120A_VAL_OUTPUT_FUNC.\n"
" When you set this attribute, the function generator sets its frequency "
"to 1.0 kHz and its amplitude to 2.0 Vpp.\n"
" "
2 all "Amplitude" HP33120A_ATTR_FUNC_AMPLITUDE ViReal64 gs
"This channel-based attribute specifies the amplitude of the standard "
"waveform the function generator produces. This value is the amplitude at "
"the output terminal. The units are volts peak-to-peak (Vpp). For "
"example, to produce a waveform ranging from +/- 5.0 volts, you set this "
"value to 10.0 volts.\n"
" You use this attribute only when the HP33120A_ATTR_OUTPUT_MODE "
"attribute is set to HP33120A_VAL_OUTPUT_FUNC. This attribute does not "
"affect function generator behavior when you set the "
"HP33120A_ATTR_FUNC_WAVEFORM attribute to HP33120A_VAL_WFM_DC. When you "
"set this attribute, the function generator sets it DC Offset to 0.0 V. "
"Enabling amplitude modulation halves the value of the amplitude.\n"
"\n"
"Valid Range:\n"
"0.0 - 10.0 (with 50 Ohm impedance)\n"
"0.0 - 20.0 (with Infinite impedance)\n"
2 all "DC Offset" HP33120A_ATTR_FUNC_DC_OFFSET ViReal64 gs
"This channel-based attribute specifies the DC offset of the standard "
"waveform the function generator produces. This value is the offset at the "
"output terminal. The units are volts (V). The value is the offset from "
"ground to the center of the waveform you specify with the "
"HP33120A_ATTR_FUNC_WAVEFORM attribute. For example, a standard waveform "
"ranging from +5.0 volts to 0.0 volts has a DC offset of 2.5 volts.\n"
" You use this attribute only when the HP33120A_ATTR_OUTPUT_MODE "
"attribute is set to HP33120A_VAL_OUTPUT_FUNC. \n"
" \n"
"Valid Range:\n"
"-5.0 - +5.0 (with 50 Ohm impedance)\n"
"-10.0 - +10.0 (with Infinite impedance)\n"
" "
2 all "Frequency" HP33120A_ATTR_FUNC_FREQUENCY ViReal64 gs
"This channel-based attribute specifies the frequency of the standard "
"waveform the function generator produces. The units are hertz (Hz). You "
"use this attribute only when the HP33120A_ATTR_OUTPUT_MODE attribute is "
"set to HP33120A_VAL_OUTPUT_FUNC.\n"
" This attribute does not affect function generator behavior when you "
"set the HP33120A_ATTR_FUNC_WAVEFORM attribute to HP33120A_VAL_WFM_DC. "
"When you set this attribute, the function generator sets its duty cycle to "
"50.0 %.\n"
" \n"
"Valid Range:\n"
" 1.00e-6 - 15.00e+6 (Hz) (Sine, Square waves)\n"
" 1.00e-6 - 100.0e+3 (Hz) (Triangle, Ramp Up waves)\n"
" 1.00e-6 - 5.00e+6 (Hz) (All other waves)\n"
2 all "Start Phase" HP33120A_ATTR_FUNC_START_PHASE ViReal64 gs
"This channel-based attribute specifies the horizontal offset of the "
"standard waveform the function generator produces. You specify this "
"attribute in degrees of one waveform cycle. For example, a 180 degree "
"phase offset means output generation begins half way through the waveform. "
" A start phase of 360 degrees offsets the output by an entire waveform "
"cycle. It is therefore identical to a start phase of 0 degrees.\n"
" You use this attribute only when the HP33120A_ATTR_OUTPUT_MODE "
"attribute is set to HP33120A_VAL_OUTPUT_FUNC. This attribute does not "
"affect function generator behavior when you set the "
"HP33120A_ATTR_FUNC_WAVEFORM attribute to HP33120A_VAL_WFM_DC.\n"
" \n"
"Valid Range: 0.0\n"
2 all "Duty Cycle High" HP33120A_ATTR_FUNC_DUTY_CYCLE_HIGH ViReal64 gs
"This channel-based attribute specifies the length of time the output "
"voltage level remains high in a square waveform. You specify this "
"attribute as a percentage of one waveform cycle.\n"
" You use this attribute only when the HP33120A_ATTR_OUTPUT_MODE "
"attribute is set to HP33120A_VAL_OUTPUT_FUNC and the "
"HP33120A_ATTR_FUNC_WAVEFORM attribute to HP33120A_VAL_WFM_SQUARE.\n"
"\n"
"Valid Range:\n"
"20.0 - 80.0 (when frequency <= 5.0e+6)\n"
"40.0 - 60.0 (when frequency > 5.0e+6)\n"
" "
1 all "Arbitrary Waveform Output"
"Attributes for generating arbitrary waveform output.You use this group of "
"attributes when you set the HP33120A_ATTR_OUTPUT_MODE attribute to "
"HP33120A_VAL_OUTPUT_ARB. You can use the hp33120a_ConfigureArbWaveform, "
"hp33120a_SetSampleRate, and hp33120a_QueryArbWfmCapabilities functions to "
"configure these attributes.\n"
" "
2 all "Arbitrary Waveform Handle" HP33120A_ATTR_ARB_WAVEFORM_HANDLE ViInt32 gs
"This channel-based attribute identifies which arbitrary waveform the "
"function generator produces. You can create multiple arbitrary waveforms "
"using the hp33120a_CreateArbWaveform function. The "
"hp33120a_CreateArbWaveform function returns a handle that you use to "
"identify the particular waveform. To configure the function generator to "
"produce a particular waveform, you set this attribute to the waveform's "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -