Note that for a single Go() or GoOne() call, the order of execution of the request list cannot be
predicted. Since the driver does internal optimization, it is quite likely not the same as the orde
r
f AddRequest() function calls. One thing that is known, is that configuration settings like
o
ranges, stream settings, and such, will be done before the actual acquisition or setting of
outputs.
Declaration:
LJ_ERROR _stdcall Go()
Parameter Description:
ne()
n s to perform, call GoOne() to
actually perform the requests. This f all requests on one particular LabJack to be
performed. After calling GoOne(), ca r similar to retrieve any returned data or
errors.
oOne() can be called repeatedly to repeat the current list of requests. GoOne() does not clear
e list of requests. Rather, after a particular device has performed a GoOne(), the first
t() call to that device will clear the previous list of requests on that
t f a ion of the request list cannot be
predicted. likely not the same as the order
of AddReq s tion settings like
ranges, str ion or setting of
outputs.
Declaration
Returns: LabJack errorcodes or 0 for no error.
Inputs:
• None
Outputs:
• None
4.2.7 GoO
After using AddRequest() to make a request internal list of
unction causes
ll GetResult() o
G
th
subsequent AddReques
devic
particular e only.
Note tha
or single Go() or GoOne() call, the order of execut
Since the driver does internal optimization, it is quite
ue t() function calls. One thing that is known, is that c
onfigura
eam settings, and such, will be done before the actual acquisit
:
tdcall GoOne(LJ_HANDLE Handle)
scription:
LJ_ERROR _s
Parameter De
Returns: LabJack errorcodes or 0 for no error.
Inputs:
• Handle – Handle returned by OpenLabJack().
Outputs:
None
alling either Go function creates a list of results that matches the list of requests. Use
•
4.2.8 GetResult()
C
GetResult() to read the result and errorcode for a particular IOType and Channel. Normally this
function is called for each associated AddRequest() item. Even if the request was an output,
the errorcode should be evaluated.
53