完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我有一台带有81940A Tuneable Laser Source的Agilent 8163B主机,经过很多关于驱动程序和获取GPIB卡的麻烦(我不明白为什么我们要支付GPIB,RS232和以太网接口,并且只支持通过一个GPIB卡进行通信
我已经设法得到基本的通信形式(打开和关闭激光,改变和读取功率/波长)工作正常。 但是,当试图让激光器执行扫描时(使用hp816x_set_TLS_sweep函数),绝对没有任何反应,甚至没有返回错误。 波长处于初始状态,而不是应该出现的启动或停止值。我使用的驱动程序版本是4.4.1,我使用labview8.2以及一组用于调用驱动程序的包装函数。编辑 作者:pchilds于2012年7月23日晚上11:15 以上来自于谷歌翻译 以下为原文 I have an Agilent 8163B mainframe with a 81940A Tuneable Laser Source and after lots of messing about with drivers and getting a GPIB card (I fail to see why we're paying for GPIB, RS232 and ethernet interfaces and only have support for communication through one) I have managed to get the basic forms of communication (turning the laser on and off, changing and reading the power/wavelength) working fine. However, when trying to get the laser to perform a sweep (using the hp816x_set_TLS_sweep function) absolutely nothing happens, not even a returned error. The wavelength is at its initial state and not the start or stop values that should occur. The driver version I'm using is 4.4.1 and I'm use LabVIEW8.2 along with a set of wrapper functions for calling the driver. Edited by: pchilds on Jul 23, 2012 11:15 PM |
|
相关推荐
7个回答
|
|
|
|
|
|
谢谢,工作一个魅力。没有拿起那个,我想我看到'控制',并认为它暗示它是为扫描设置控制参数。
我希望它的形式是_prepare_和_execute_,就像记录良好的lambda扫描的情况一样。 名称_set_TLS_sweep似乎暗示它不仅仅是设置参数而且还执行它的命令。 lambda扫描函数已有详细记录,以指定需要调用的其他函数,以便您更好地了解如何将所有位放在一起。 是否有可能对命名/文档的更改作为未来驱动程序版本的功能请求(前者我认为这是一个较慢的功能折旧但保持兼容性一段时间的过程)?干杯,保罗。 以上来自于谷歌翻译 以下为原文 Thanks, works a charm. Didn't pick up on that one, I think I saw 'control' and thought that it implied it was to set control parameters for the sweep. I was expecting it to be of the form _prepare_ and _execute_ like for the case of the well documented lambda scan. The name _set_TLS_sweep does seem to imply it's a command to not just set parameters but also to perform it. The lambda scan functions were well documented to specify the other function that needed to be called so you had a better idea of how to put all the bits together. Is it possible for changes to nomenclature/documentation be made a feature request for future driver versions (the former I imagine being the slower process of depreciating the function but maintaining compatibility for a while)? Cheers, Paul. |
|
|
|
嗨Rafael,为了进行步进波长扫描,没有返回的波长阵列,因为每一步都是根据起始波长和步长选择的波长。
因此,您只需从程序中的扫描参数生成波长值即可。 这与连续扫描模式不同,其中激光在触发发生的点处产生测量波长值的阵列。 你的81980A可以进行这样的扫描,但我猜你有理由使用步进模式。 当您进行2周期双向扫描时,激光将首先从选定的起始波长扫描到选择的停止波长,然后它将从停止波长到起始波长进行反向扫描。 因此,“起始波长”必须始终短于“停止波长”。 因此,在您的程序中,最好的方法是对功率计记录进行编程,以测量两次采样的次数,然后在一个阵列中获得两次扫描(向上和向下)的功率值。 例如,如果您以1nm步长从1500扫描到1550,那么将有51个样本触发器用于上扫描(包括开始和停止),并且还有51个用于下行扫描。 因此,您的功率计可以记录102个值。 看一下你的程序,看起来功率计输入触发应该从“完全测量”改为“单次测量”,这样它就会等待每个“步完”TLS触发。 问候,迈克 以上来自于谷歌翻译 以下为原文 Hi Rafael, For making the stepped-wavelength sweeps, there is not a returned wavelength array because each step goes to the wavelength chosen based on the start wavelength and the step width. So you can simply generate the wavelength values from those sweep parameters in your program. This is different from the continuous sweep mode, where the laser produces an array of measured wavelength values at the points where the triggers occur. Your 81980A can make such sweeps, but I guess you have a reason for using the stepped mode instead. When you make a 2-cycle 2-way sweep, the laser will first sweep from the chosen start wavelength to the chose stop wavelength and then it will make the reverse sweep from the stop wavelength to the start wavelength. So the "start wavelength" must always be shorter than the "stop wavelength". So in your program the best way would be to program the power meter logging to measure twice as many samples as in a single sweep and then you will get the power values for both sweeps (up and down) in one array. For example if you sweep from 1500 to 1550 with 1nm step, then there will be 51 sample triggers for the upsweep (including both start and stop) and 51 more for the downsweep. So your power meter can log 102 values. Looking at your program, it looks like the power meter input triggering should be changed from "complete measurement" to "single measurement" so that it will wait for each individual "step finished" TLS trigger. Regards, Mike |
|
|
|
嗨RONUNES,也许该程序只需要减少功率计的平均时间?
对于10nm / s的1pm步长,功率计可以平均为100us /样品。 但是在20纳米/秒时,时间需要更短。 81636B允许设置为25us,这可能是N7700A软件以此速度使用的。 问候,迈克 以上来自于谷歌翻译 以下为原文 Hi RONUNES, Maybe the program just needs to reduce the averaging time for the power meter? For the 1pm steps at 10nm/s, the power meter can average for 100us/sample. But at 20nm/s the time needs to be shorter. The 81636B does allow a setting of 25us, which is probably used by the N7700A software at that speed. Regards, Mike |
|
|
|
嗨mkelly,我们平均时间为25 us,但我们得到了相同的结果。
这对我们来说有点奇怪。 谢谢你的帮助mkelly。 此致,Rafael Oliveira Nunes 以上来自于谷歌翻译 以下为原文 Hi mkelly, We put a averaging time of 25 us, but we have the same result. It is a little strange for us. Thanks for your help mkelly. Regards, Rafael Oliveira Nunes |
|
|
|
嗨Rafael,好的,那我想知道它是否是扫描范围的一个问题。 您的示例显示扫描运行高达1575nm,这是指定范围的结束并接近机械限制。 随着扫描速度的增加,激光器需要更大的加速和减速范围,因此在20nm / s时可能无法达到1575nm,当然也不能达到40nm / s。 因此激光器可能设置较短的范围,然后程序需要调整功率计预期的样本数量。 否则,功率计记录功能无法完成,因为它正在等待其他触发。 此调整是816x PnP驱动程序的MFlambdascan功能所处理的细节之一,该驱动程序也由N7700A IL引擎软件使用。 因此,您可能希望在程序中使用PnP驱动程序,以简化其中一些细节的编程。 我希望能解决这个问题。 麦克风 以上来自于谷歌翻译 以下为原文 Hi Rafael, OK, then I wonder if it is an issue with the sweep range. Your example shows the sweep running up to 1575nm, which is the end of the specified range and close to the mechanical limit. As the sweep speed is increased, the laser needs more range for acceleration and deceleration so it may not be able to reach 1575nm at 20nm/s and certainly not at 40nm/s. So the laser may be setting a shorter range and the program needs to then adjust the number of samples expected by the power meter. Otherwise the power meter logging function doesn't complete because it is waiting for additional triggers. This adjustment is one of the details taken care of by the MFlambdascan function of the 816x PnP driver which is also used by the N7700A IL engine software. So you might want to use the PnP driver in your program as well to simplify programming some of these details. I hope that catches the problem. Mike |
|
|
|
小马哥996 发表于 2019-4-19 15:23 嗨,迈克,谢谢,你的解释帮助我们解决了这个问题。 拉斐尔 以上来自于谷歌翻译 以下为原文 Hi Mike, Thanks, your explanation helped us to solve this question. Rafael |
|
|
|
只有小组成员才能发言,加入小组>>
1223 浏览 0 评论
2347 浏览 1 评论
2157 浏览 1 评论
2022 浏览 5 评论
2902 浏览 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 20:59 , Processed in 1.516968 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号