我用LV给agilent 8960发送指令,但是发送指令后,仪器总是提示:Query unterminated ,请看下图的程序框图有什么需要改进的地方吗?谢谢关注
请帮看看是什么原因 另外我不清楚,GPIB 读写的模式从0-3,不知道选哪一个。
hi
What's the timeout set?
What's the expected byte count for readback?
As for the mode, please read the context help [CTRL + H] for more details.
Hello,
Time out 设了2000ms
看这个里面写的模式是什么正确使用,EOI,CR,LF ,CRLF代表什么意思呢
If you look at the LabVIEW shipped example, it uses mode-0 for both write and read.
CR == \r == 0x0DH
LF == \n == 0x0AH
CRLF == \r\n == 0x0D0AH
If the shipped example works, why not you try using the same settings as of that example VI?