Sorensen SLM-4 Chassis
Appendix B
case '1':
pd_wrt("chan 1",6);
pd_wrt("meas:volt?",10);
pd_rd(rdmbuf,rdmcnt);
strncat(tmpbuf,chanbuf,1);
pd_wrt(tmpbuf,6);
break;
case '2':
pd_wrt("chan 2",6);
pd_wrt("meas:volt?",10);
pd_rd(rdmbuf,rdmcnt);
strncat(tmpbuf,chanbuf,1);
pd_wrt(tmpbuf,6);
break;
case '3':
pd_wrt("chan 3",6);
pd_wrt("meas:volt?",10);
pd_rd(rdmbuf,rdmcnt);
strncat(tmpbuf,chanbuf,1);
pd_wrt(tmpbuf,6);
break;
case '4':
pd_wrt("chan 4",6);
pd_wrt("meas:volt?",10);
pd_rd(rdmbuf,rdmcnt);
strncat(tmpbuf,chanbuf,1);
pd_wrt(tmpbuf,6);
break;
}
}
}
else
{
return(OPER_ERR);
}
return (result);
}
void pd_rem(void)
{
char ch;
outportb(ACE_INT_ENB_REG, 0xd);
/* enable ACIA interrupt register */
inportb(ACE_DATA_REG);
/* empty receive data register */
inportb(ACE_LINE_STAT_REG);
/* clear line status register */
outportb(ACE_MODEM_CTL_REG, 0xb);
/* set RTS,DTR to enable modem and
*/
/* turn on OUT2 to enable the
8250's */
/* IRQ interrupt to system
*/
}
M540069-01 Rev B
B-7
Summary of Contents for SLM-4
Page 2: ......
Page 4: ...This page intentionally left blank ii...
Page 6: ...This page intentionally left blank iv...
Page 8: ...This page intentionally left blank vi M540069 01 Rev B...
Page 12: ...This page intentionally left blank x M540069 01 Rev B...
Page 26: ...Operation Sorensen SLM 4 Chassis This page intentionally left blank 3 6 M540069 01 Rev B...
Page 56: ......
Page 60: ...Appendix A Sorensen SLM 4 Chassis This page intentionally left blank A 4 M540069 01 Rev B...
Page 70: ...Appendix B Sorensen SLM 4 Chassis This page intentionally left blank B 10 M540069 01 Rev B...
Page 72: ...Appendix C Sorensen SLM 4 Chassis This page intentionally left blank C 2 M540069 01 Rev B...
Page 74: ...Appendix D Sorensen SLM 4 Chassis This page intentionally left blank D 2 M540069 01 Rev B...