Download SY 527
Transcript
SY527 User's Manual
Soft. Ver. 2.04
/***************************************************************************/
/*
*/
/*
-----C . A . E . N .
SpA
-----*/
/*
*/
/*
PCSY527.C - Demonstration on the use of Caenet Routines in
*/
/*
communication between A303 module and SY527 Universal
*/
/*
Multichannel Power Supply System Version 1.05
*/
/*
*/
/*
Program written with Borland Turbo C
*/
/*
*/
/*
03/10/93 - Created
*/
/*
*/
/***************************************************************************/
#include
#include
#include
#include
#include
#include
<stdio.h>
<string.h>
<conio.h>
<stdlib.h>
<ctype.h>
"pccaenet.h"
#ifndef
#define
#endif
#ifndef
#define
#endif
#ifndef
#define
#endif
uchar
uchar
unsigned char
ushort
ushort
unsigned short
ulong
ulong
unsigned long
#define
#define
#define
#define
#define
IDENT
READ_STATUS
READ_SETTINGS
READ_BOARD_INFO
READ_CR_CONF
0
1
2
3
4
#define
#define
#define
#define
#define
#define
#define
#define
V0SET
V1SET
I0SET
I1SET
VMAX
RUP
RDWN
TRIP
0
1
2
3
4
5
6
7
/*
The following structure contains all the useful information about
the settings of a channel
*/
struct hvch
{
char
chname[12];
B.8