rs232c 仪器不能响应PC,帮忙?!
时间:12-13
整理:3721RD
点击:
tanford system sr560 是rs232c-25针,只听仪器,要求波特率为9600,数据为8位,2位停止位,没有
奇偶验证。但我采用labview对其控制写入命令时,面板上几乎所有的led灯都闪一下,但没有对命令做出反
映。请高手指点!
附:The SR560 is equipped with a standard DB-25 RS-232C connector on the
rear panel for remote control of all instrument functions.The interface is configured as listen-only,9600 baud DCE, 8-bit, no parity, 2 stop bits,and is optically isolated to prevent any noise.
The following commands are obeyed by all SR560.s that are addressed to listen.
The LALL, LISN, and UNLS commands are always obeyed and control the address
status of the SR560. Commands must endwith a carriage return and line feed <CR><LF>.
DYNR i Sets dynamic reserve.
i = 0 = low noise, 1 = high DR,
2 = calibration gains (defaults)
FLTM i Sets filter mode.
i = 0 = bypass,
1 = 6 dB low pass,
2 = 12 dB low pass,
3 = 6 dB high pass,
4 = 12 dB highpass,
5 = bandpass
...........................
.....................
奇偶验证。但我采用labview对其控制写入命令时,面板上几乎所有的led灯都闪一下,但没有对命令做出反
映。请高手指点!
附:The SR560 is equipped with a standard DB-25 RS-232C connector on the
rear panel for remote control of all instrument functions.The interface is configured as listen-only,9600 baud DCE, 8-bit, no parity, 2 stop bits,and is optically isolated to prevent any noise.
The following commands are obeyed by all SR560.s that are addressed to listen.
The LALL, LISN, and UNLS commands are always obeyed and control the address
status of the SR560. Commands must endwith a carriage return and line feed <CR><LF>.
DYNR i Sets dynamic reserve.
i = 0 = low noise, 1 = high DR,
2 = calibration gains (defaults)
FLTM i Sets filter mode.
i = 0 = bypass,
1 = 6 dB low pass,
2 = 12 dB low pass,
3 = 6 dB high pass,
4 = 12 dB highpass,
5 = bandpass
...........................
.....................
呵呵,我也遇到过类似的问题,
是在把编译好的程序安装到别的电脑之后,
运行程序,发现仪器的指示灯就闪一下但是不工作,
因为在编程测试的电脑上没有发现这个问题,
我也实在找不出来问题所在,
只好从一堆电脑里面挑了一台能用的来控制这台仪器了.
.195