AMETEK SLM-4 User Manual
Page 68
Appendix B
Sorensen SLM-4 Chassis
void pd_loc(void)
{
char ch;
outportb(ACE_INT_ENB_REG, 0);
/* disable all 8250 interrupt */
outportb(ACE_MODEM_CTL_REG, 0);
/* clear RTS,DTR to disable modem and
*/
/* turn off OUT2 to disable the
8250's*/
/* IRQ interrupt to system
*/
}/* Program terminated. */
C Example Program
/* Link this program with pd_rs232.obj */
#include
#include
#include
#include
main()
{
int com;
int io_err= 0;
char rdbuf[1024];
clrscr();
printf("Input COM1/COM2 port is : ");
scanf("%d", &com);
if((io_err = pd_init(com)) == 0)
/* Initial RS-232 interface */
{
setstr(rdbuf,'');
pd_wrt("chan
1",6);
delay(200);
pd_wrt("name?",5);
if ((io_err = pd_rd(a,10)) == 0)
{
do
{
/* Set the channel 1, preset off, current sink 1.0 amps and load on commands to the load. */
pd_wrt("chan
1",6);
delay(200);
pd_wrt("pres
off",8);
delay(200);
pd_wrt("curr:low
0.0",12);
delay(200);
pd_wrt("curr
high
1.0",13;
delay(200);
pd_wrt("load
on",7);
delay(200);
pd_wrt("meas:curr
?",11);
B-8
M540069-01 Rev B
- CW-M (48 pages)
- CW-M Corrected Table 4-2 in (1 page)
- CW-P (62 pages)
- Lx Series (205 pages)
- CW Series Programming Manual (25 pages)
- Ls Series II Programming Manual (242 pages)
- Compact i/iX Series (157 pages)
- Compact IX 2253 (157 pages)
- Compact i/iX Series Software Manual (203 pages)
- ASD Series Quick Start (5 pages)
- ASD Series (120 pages)
- i-iX Series II Programming Manual (226 pages)
- DLM 600W Series Programming Manual (24 pages)
- M131 Programming Manual (99 pages)
- DLM Series (74 pages)
- DLM 600W Series (82 pages)
- BPS Series (153 pages)
- DLM600 Series (16 pages)
- DCS-E 1.2kW Series (65 pages)
- DLM-E 4kW Series Programming Manual (32 pages)
- M136 (8 pages)
- DCS-E 3kW Series (94 pages)
- CTS 3.0 (166 pages)
- CSW Series (174 pages)
- 2003RP (126 pages)
- 2001RP (131 pages)
- MX CTSH (151 pages)
- MXCTSL Administrator Manual (27 pages)
- MX CTSL (157 pages)
- RS Series (228 pages)
- MX Series Installation Manual (35 pages)
- Ls AC source (2 pages)
- MX15 Series (184 pages)
- Ls Series II (226 pages)
- Lx Series Driver Manual (275 pages)
- MX Series Rev: AY (257 pages)
- iX Series (341 pages)
- i-iX Series II (258 pages)
- GUPS 2400A-108 (36 pages)
- HPD Series (58 pages)
- HPD Series Operation Manual (41 pages)
- HPD Series GPIB-Multichannel (134 pages)
- PLA-PLW Programming Manual (74 pages)
- ReFlex Mating Connnectors for Controller (3 pages)
- LPDC-16V (4 pages)