完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我正在尝试使用agilent 816X pnp驱动程序4_4_2和matlab r2011b进行lambda扫描。
激光器为81600B,探测器81635A嵌入8164B。 我收到错误:使用icgroup / invoke时出错(第93行)仪器在执行函数时返回错误。 没有触发器! 检查触发器接线新的错误(第39行)[WAVELENGTHARRAY] =调用(groupObj,'executemflambdascan',WAVELENGTHARRAY); 谁知道什么是错的? 谢谢,彭鹏 以上来自于谷歌翻译 以下为原文 Hi All, I am trying to do a lambda scan using the agilent 816X pnp driver 4_4_2 with matlab r2011b. The laser is 81600B and the detector 81635A embeded in 8164B. I am getting the error: Error using icgroup/invoke (line 93) The instrument returned an error while executing the function. No trigger! Check trigger wiring Error in new (line 39) [WAVELENGTHARRAY] = invoke(groupObj,'executemflambdascan', WAVELENGTHARRAY); Anyone knows what is wrong? Thanks, PengPeng 附件
|
|
相关推荐
3个回答
|
|
你好Peng彭,你的程序似乎有必要的步骤和合理的参数,虽然我不熟悉Matlab语法。
可能导致问题的一点:setSweepSpeed函数需要整数索引作为输入,而不是实数。 这些枚举的值缺少帮助文件,因此这里是值:自动选择:5 0.5nm / s 4 5nm / s 3 10nm / s 2 20nm / s 1 40nm / s 0 80nm / s -1此外, 您可能不需要在模型激光器上使用enableHighSweepSpeed功能,但这应该不是问题。 当然,如果你愿意,激光可以更快地扫描。 如果您想确认硬件本身可以执行此操作,您还可以从N7700A套件为MFlambdascan,IL Engine安装免费的GUI程序。 www.keysight.com/find/N7700我希望这会有所帮助。 麦克风 以上来自于谷歌翻译 以下为原文 Hello PengPeng, Your program seems to have the necessary steps and reasonable parameters, although I'm not familiar with the Matlab syntax. One point that may be causing the problem: The setSweepSpeed function needs an integer index as input, rather than a real number. The values of these enumerations are missing the the help file, so here are the values: Auto Select: 5 0.5nm/s 4 5nm/s 3 10nm/s 2 20nm/s 1 40nm/s 0 80nm/s -1 Also, you probably do not need to use the enableHighSweepSpeed function with your model laser, but it shouldn't be a problem. Of course the laser could be sweeping faster, if you want. If you want to confirm that the hardware itself can do this, you could also install the free GUI program for MFlambdascan, IL Engine, from the N7700A suite. www.keysight.com/find/N7700 I hope this helps. Mike |
|
|
|
小马哥996 发表于 2018-10-23 17:06 嗨,迈克,谢谢你的帮助。 现在它运作良好。 但我仍然有几个参数不懂。 + function setinitialrangeparams(obj,PWMChannel,ResettoDefault,InitialRange,RangeDecrement)+ * ResettoDefault,InitialRange,RangeDecrement *的含义。 +函数[PowerArray,LambdaArray] = getlambdascanresult(obj,PWMChannel,CliptoLimit,ClippingLimit,PowerArray,LambdaArray)+ * CliptoLimit的意思,ClippingLimit *希望你能帮我彭鹏 以上来自于谷歌翻译 以下为原文 Hi Mike, Thanks for your help. Now it is working well. But I still have several parameters donot understand. +function setinitialrangeparams(obj, PWMChannel, ResettoDefault, InitialRange, RangeDecrement)+ The meaning of *ResettoDefault, InitialRange, RangeDecrement*. +function [PowerArray, LambdaArray] = getlambdascanresult(obj, PWMChannel, CliptoLimit, ClippingLimit, PowerArray, LambdaArray)+ The meaning of *CliptoLimit, ClippingLimit* Hope you can help me Pengpeng |
|
|
|
嗨彭鹏,好,我很高兴现在好了。 功能setinitialrangeparams可用于修改各个功率计使用的功率范围。 默认情况下,MFlambdascan将选择与设定激光功率相匹配的初始功率范围,使激光器比范围水平高出2dB。 例如,如果激光功率大于-8dBm且高达+ 2dBm,则默认功率计范围将为0dBm,可以使用高达+ 3dBm的输入功率。 如果您知道实际功率会降低,例如由于插入损耗,则可以将ResettoDefault设置为0并选择所需的范围。 通过选择在PrepareMFlambdascan中进行2次或3次扫描,可以扩展测量的动态范围,从而在波长范围内输出宽范围功率的设备。 然后根据RangeDecrement参数,将功率计设置为比前一次扫描更灵敏的范围,进行第二次和第三次扫描。 这默认为20dB,这通常是一个很好的设置,但30dB也可用于进一步扩展范围。 然后使用每个分段的最佳范围将频谱结果拼接在一起。 如果减量太大,则由于上限范围的灵敏度限制,频谱被缝合的部分结果可能具有过大的噪声。 在getlambdascan结果函数中,如果部分频谱仅是由于低信号电平引起的噪声,则可以通过将CliptoLimit设置为值1并输入-50作为ClippingLimit将其限幅到选定的电平,例如-50dBm。 通常,随驱动程序一起安装的hlp文件中提供了816x驱动程序的最佳文档。 默认情况下,Windows 7不再安装读取这些hlp文件的程序。 可以从Microsoft获得它:http://support.microsoft.com/kb/917607也可以按照“如何启用宏”的“更多信息”下该页面上的说明来增强显示。 以上来自于谷歌翻译 以下为原文 Hi Pengpeng, Good, I'm glad it's going now. The function setinitialrangeparams can be used to modify the power ranges used by the individual power meters. By default, MFlambdascan will choose an initial power range that matches the set laser power, allowing the laser to be up to 2dB higher than the range level. For example, if the laser power is greater than -8dBm and up to +2dBm, the default power meter range will be 0dBm, which can be used up to +3dBm input power. If you know that the actual power will be lower, for example due to insertion loss, then ResettoDefault can be set to 0 and the desired range can be chosen. The dynamic range of the measurement can be extended for devices that output a wide range of power across the wavelength spectrum by choosing to make 2 or 3 sweep in PrepareMFlambdascan. Then the 2nd and optionally 3rd scan will be made with the power meter set to a more sensitive range than the previous scan according to the RangeDecrement parameter. This is 20dB by default, which is often a good setting, but 30dB can also be useful for extending the range further. The spectral result will then be stitched together, using the optimum range for each segment. If the decrement is too large, then part of the result where the spectrum is stitched may have excessive noise due to the sensitivity limit of the upper range. In the getlambdascanresult function, if part of the spectrum is just noise due to low signal level, then it can be clipped to a chosen level, such as -50dBm, by setting CliptoLimit to the value 1 and entering -50 as the ClippingLimit. Generally the best documentation for the 816x driver is available in the hlp file that is installed with the driver. The program to read these hlp files is no longer installed with Windows 7 by default. It is available from Microsoft here: http://support.microsoft.com/kb/917607 The display can also be enhanced by following the instructions on that page under "For More Information" for "How to Enable Macros". |
|
|
|
只有小组成员才能发言,加入小组>>
1221 浏览 0 评论
2346 浏览 1 评论
2155 浏览 1 评论
2021 浏览 5 评论
2900 浏览 3 评论
964浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
700浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
801浏览 0评论
1223浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 15:03 , Processed in 1.318586 second(s), Total 51, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号