⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Frédéric Blanc
All Projects
Frédéric Blanc
Overview
Activity
Issues
Documents
Wiki
Files
Repository
Download (751 Bytes)
Files
» port.h
Frédéric Blanc
, 2016-01-29 09:58
#ifndef __CVI_PORT_H__
#define __CVI_PORT_H__
//#include "smu.h"
#include
<ansi_c.h>
#define SCPI 0
#define ARPS 1
#define RS232 0
#define GPIB 1
#define USB 2
#define ETH 3
struct
S_COM
{
unsigned
long
handle
;
char
instrDescr
[
255
];
int
language
;
int
typeCOM
;
int
numGPIB
;
int
numcarteGPIB
;
int
numCOM
;
char
numUSB
[
255
];
char
numETH
[
30
];
int
numcarteETH
;
//RS232
int
baudRate
;
char
dataBits
;
char
parity
;
char
stopBits
;
char
flow
;
char
termchar
;
};
int
init_port
(
struct
S_COM
*
ptr_port
);
int
set_panel_port
(
int
panel
,
struct
S_COM
*
ptr_port
);
int
check_type
(
int
panel
,
int
type
);
int
get_panel_port
(
int
panel
,
struct
S_COM
*
ptr_port
);
int
initcom
(
struct
S_COM
*
ptr_port
);
#endif
« Previous
1
…
19
20
21
22
23
…
25
Next »
(21-21/25)
Loading...