嗨,我想知道错误-141无效字符数据错误是由您发送的任何特定命令引起的?
或者你是否可以向仪器发送任何命令,它会产生错误?我认为有几种方法可以解决这个问题。
首先,您必须查看它是Labview错误还是仪器错误。
无论您使用哪种I / O驱动程序/库,都应该有一个简单的脚本工具,允许您通过接口逐个发送SCPI命令。
您可以先尝试此操作,看看它是否仍然会生成错误。
如果这里的一切都很好,那么我们就知道它与NI程序有关。过电压和过电流是两种最典型的保护。
还有其他的东西,如温度过高。
发生保护后,如果按前面板上的“PROT”键,显示屏会显示跳闸的保护吗?Steven LeeAgilent Sales Support
以上来自于谷歌翻译
以下为原文
Hi,
I was wondering if the Error -141 Invalid Character Data error is caused by any particular command that you are sending over? Or is it the case that you can send any command to the instrument and it will generate the error?
I think there are a few ways to tackle this. First, you have to see whether it is a Labview error or an instrument error. Whatever I/O driver/library you are using should have a simple scripting tool that allows you to send SCPI commands one by one over the interface. You can try this first and see whether it still generates the error. If everything is good here, then we know it has to do with the NI program.
Overvoltage and Overcurrent are the two most typical protection that occurs. There are other things like over temperature. After the protection occurs, if you press the "PROT" key on the front panels, does the display show you what protection tripped?
Steven Lee
Agilent Sales Support