你好tabbott,我知道N5182A只能用低频发生器产生正弦波。
这也在其规范中指定。但是,它默默地接受SCPI命令以启用方形调制(它无法生成)。为什么不是系统错误(例如:非法参数值)
在SCPI命令中选择波形调制?当发送三角波形的SCPI命令时,N5182A会触发系统错误。
一些背景信息:我们创建了一个设备驱动程序,该驱动程序使用Agilent IVI-COM驱动程序与Agilent信号发生器进行通信。
该设备驱动程序具有通用接口,因为它应该可用于不同型号的信号发生器。
由于这种通用接口,如果为该特定信号发生器选择了无效组合,则信号发生器引起系统错误是很重要的。
在此先感谢,joro
以上来自于谷歌翻译
以下为原文
Hello tabbott,
I do understand that the N5182A is only capable of generating a sine wave with its low frequency generator. That is also specified in its specifications.
However, it does silently accept the SCPI command to enable square modulation (which it is not able to generate).
Why isn't an system error (like eg.: Illegal parameter value) generated when square waveform modulation is selected in the SCPI command?
When the SCPI command for triangular waveform is send, the N5182A does trigger a system error.
some background information:
We have created a device driver that uses the Agilent IVI-COM drivers to communicate with the Agilent signal generators. This device driver has a generic interface, as it should be usable for different models of signal generators. Due to this generic interface, it is important that the signal generator raises a system error if an invalid combination is selected for that specific signal generator.
Thanks in advance, joro
你好tabbott,我知道N5182A只能用低频发生器产生正弦波。
这也在其规范中指定。但是,它默默地接受SCPI命令以启用方形调制(它无法生成)。为什么不是系统错误(例如:非法参数值)
在SCPI命令中选择波形调制?当发送三角波形的SCPI命令时,N5182A会触发系统错误。
一些背景信息:我们创建了一个设备驱动程序,该驱动程序使用Agilent IVI-COM驱动程序与Agilent信号发生器进行通信。
该设备驱动程序具有通用接口,因为它应该可用于不同型号的信号发生器。
由于这种通用接口,如果为该特定信号发生器选择了无效组合,则信号发生器引起系统错误是很重要的。
在此先感谢,joro
以上来自于谷歌翻译
以下为原文
Hello tabbott,
I do understand that the N5182A is only capable of generating a sine wave with its low frequency generator. That is also specified in its specifications.
However, it does silently accept the SCPI command to enable square modulation (which it is not able to generate).
Why isn't an system error (like eg.: Illegal parameter value) generated when square waveform modulation is selected in the SCPI command?
When the SCPI command for triangular waveform is send, the N5182A does trigger a system error.
some background information:
We have created a device driver that uses the Agilent IVI-COM drivers to communicate with the Agilent signal generators. This device driver has a generic interface, as it should be usable for different models of signal generators. Due to this generic interface, it is important that the signal generator raises a system error if an invalid combination is selected for that specific signal generator.
Thanks in advance, joro
举报