EasyManuals Logo

LabJack U3 User Manual

LabJack U3
120 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 #56 background imageLoading...
Page #56 background image
Declaration:
double *pNumber,
scription:
LJ_ERROR _stdcall StringToDoubleAddress ( const char *pString,
long HexDot)
Parameter De
Inputs:
pString – A pointer to ntation.
HexDot – If not equal d string should be in hex-dot notation
rather than decimal-do
Outputs:
pNumber – A pointer to the double precision representation.
StringToConstant()
t g Used internally by the S
xt functions without the
ability to in turn values
such as:
if (IOType S
This function r
Declaration:
Returns: LabJack errorcodes or 0 for no error.
the string represe
to zero, the passe
t.
4.2.12
Converts
functions,
he iven string to the appropriate constant number.
but could be useful to the end user when using the GetFirst/Ne
clude the header file. In this case a comparison could be done on the re
== tringToConstant("LJ_ioANALOG_INPUT"))
eturns LJ_INVALID_CONSTANT if the string is not recognized.
ng _stdcall StringToConstant ( const char *pString)
lo
Parameter Description:
Returns: Constant number of the passed string.
Inputs:
pString – A pointer to the string representation of the constant.
.2.13 ErrorToString()
string if not found.
ion
Outputs:
None
4
Outputs a string describing the given error code or an empty
Declarat :
ll rrorToString ( LJ_ERROR ErrorCode,
void _stdca E
Parameter De
char *pString)
scription:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
ErrorCode – LabJack errorcode.
string of at least 256 bytes.
pString – Must pass a buffer for the
Outputs:
*pString – A pointer to the string representation of the errorcode.
56

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LabJack U3 and is the answer not in the manual?

LabJack U3 Specifications

General IconGeneral
Analog Outputs2
Analog Output Resolution10 bits
Digital I/O20
Counter/Timers2
InterfaceUSB
Operating Voltage5 V
ManufacturerLabJack Corporation
Analog Inputs16
Analog Input Resolution12-bit
Max Sample Rate50 kHz