Hardware Reference
In-Depth Information
11.5.4 [:][ROUTe]:CLOSe:STATe?
Dieser Befehl ist verwandt mit dem vorigen Befehl [:][ROUTe]:CLOSe? <channel
list>. Der Unterschied ist, dass als Antwort eine Liste des Typs <channel list> ausge-
geben wird, in der alle eingeschalteten Relais eingetragen sind [SCPI-2: 17.1.1].
;******************************************************************************
; [:][ROUTe:]CLOSe:STATe? SCPI Command
;******************************************************************************
close_state?
clrf CHANN_PATTERN ;this is a scratch here
movlw '('
movff WREG,BULKIN
call ResponseByte
movlw '@'
movff WREG,BULKIN
call ResponseByte
btfsc PORTD,4
bra
state1
bra
test_state2
state1
comf CHANN_PATTERN
movlw '1'
movff WREG,BULKIN
call
ResponseByte
test_state2
btfsc PORTD,5
bra
state2
bra
test_state3
state2
btfsc CHANN_PATTERN,0
bra
state2sep
bra
state2uni
state2sep
movlw ','
movff WREG,BULKIN
call
ResponseByte
Search WWH ::




Custom Search