EasyManuals Logo

Newport XPS-D Programmer's Manual

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #19 background imageLoading...
Page #19 background image
XPS Unified Programmer’s Manual
3.2 Variables Equivalent for Programming Langages
The table below describes a simple of a prototype model for different languages:
Prototype
int FunctionName (double inputParam, double * outputParam)
C++
int FunctionName(int SocketID, double inputParam, double *
outputParam)
VBasic
Long FunctionName(ByVal SocketID As Long, ByVal inputParam As
Double, outputParam As Double)
Matlab
[Error, outputParam] FunctionName(int32 SocketID, double
inputParam)
Python
[Error, outputParam] FunctionName(integer SocketID, double
inputParam)
TCL
set Error [catch "FunctionName SocketID inputParam outputParam "]
The table below shows parameters types needed for different languages:
Parameter Types
C++
VBasic
Python
Input/Output
Parameters
bool
bool
Boolean
bool
float
float
Single
float
double
double
Double
double
short
short
Short
short
unsigned short
unsigned short
UShort
unsigned short
int
int
Integer
integer
unsigned int
unsigned int
UInteger
unsigned int
long
long
Long
long
unsigned long
unsigned long
ULong
unsigned int
long long int
long long int
Long
long long
unsigned long long
unsigned long long
ULong
unsigned long
long
char * / char[]
char *
String
string
charhex32
char *
String
string
5 EDH0373En1023 — 01/18

Table of Contents

Other manuals for Newport XPS-D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Newport XPS-D and is the answer not in the manual?

Newport XPS-D Specifications

General IconGeneral
BrandNewport
ModelXPS-D
CategoryController
LanguageEnglish

Related product manuals