是德科技
直播中

卫斯晾

8年用户 226经验值
私信 关注
[问答]

34907数字输入/输出配置输出收到错误301

嗨!
我正在尝试在34907设置通道1和2(使用34972A)输出数字位模式,但我一直收到错误301:“模块当前正在进行扫描.....停止正在进行的扫描,发送
ABORt命令或总线设备清除。“
我已经发现其中一个通道被配置为输入,但我怎么能“覆盖”这个?
发送SOURce:DIGital:DATA [:{BYTE | WORD}],(@)不起作用(使用WORD到@ 101或BYTE到@ 101:102)。
我想要的是通过发送8位模式分别与通道1(和2)进行通信
那么如何清除扫描列表呢?
什么SCPI命令使总线设备清除?
或者是否有CONFigure命令配置除使用SOURce之外的输出通道?
感谢任何可以解决我的问题的想法.. :)

以上来自于谷歌翻译


     以下为原文

  Hi!

I'm trying to set up channel 1 and 2 at 34907 (using 34972A) to output a digital bitpattern, but I keep getting error 301: "Module currently comitted to scan.....To stop a scan in progress, send the ABORt command or a bus Device Clear."
I've figured out that one of the channels are configured as input, but how can I "overwrite" this? Sending SOURce:DIGital:DATA[:{BYTE|WORD}] ,(@) does not work.(either using WORD to @101 or BYTE to @101:102). What I want is to communicate separatly to channel 1 (and 2) by sending a 8bit-pattern. So how to clear a scanlist? and what SCPI-command does a Bus Device Clear?  
Or is there a CONFigure command to configure channels to be output other than using SOURce?


Thankful for any ideas that can solve my problem..:)

回帖(1)

莫循虎

2018-12-5 16:17:04
嗨,停止扫描=> ABOR删除扫描列表的所有通道=> ROUT:扫描(@)。
之前使用此命令将WORD或BYTE发送到通道。
SEPATATELY通道例子将字节= 177(B1)发送到通道201和221(DD)到通道202 => SOUR:DIG:DATA:BYTE 177,(@ 201)和SOUR:DIG:DATA:BYTE 221,(@ 202
)...两个命令发送。
同时发送数据,2个通道:必须将数据组合成16位字(177 + 256 * 221 = 56753)=> SOUR:DIG:DATA:WORD 56753,(@ 201)... 8 LSB将打开
通道201和8通道202上的MSB。我希望这些信息可以帮助你。
YvesMontréal,QC,加拿大2013年11月10日

以上来自于谷歌翻译


     以下为原文

  Hi,


to stop scan => ABOR
to remove all channel of scan list  => ROUT:SCAN (@). Use this command before to send WORD or BYTE to channel.


SEPARATELY channel
exemple  to send byte=177 (B1) to channel 201 and 221 (DD) to channel 202
=>  SOUR:DIG:DATA:BYTE 177,(@201) and  SOUR:DIG:DATA:BYTE 221,(@202)...two command to send.

to SEND DATA, 2 channels in same time: you must combine DATA in 16 bit word (177 + 256*221 = 56753)
=>  SOUR:DIG:DATA:WORD 56753,(@201)...8 LSB will be on channel 201 et 8 MSB on channel 202.

I hope these informations may help you.

Yves
Montréal, QC, Canada
10 nov 2013
举报

更多回帖

发帖
×
20
完善资料,
赚取积分