Skip to main content
Skip table of contents

Go() and GoOne() [UD Library]

After using AddRequest() to make an internal list of requests to perform, call Go() / GoOne() to actually perform the requests. After calling Go() / GoOne(), call GetResult() or similar to retrieve any returned data or errors.

Go() / GoOne() can be called repeatedly to repeat the current list of requests. Go() / GoOne() does not clear the list of requests. Rather, after a call to Go() / GoOne(), the first subsequent AddRequest() call to a particular device will clear the previous list of requests on that particular device only.

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 order of AddRequest() function calls. One thing that is known, is that configuration settings like ranges, stream settings, and such, will be done before the actual acquisition or setting of outputs.

Go()

Go causes all requests on all open LabJacks to be performed.

Declaration:

LJ_ERROR _stdcall Go()

Parameter Description:

Returns: LabJack errorcodes or 0 for no error.
Inputs:

  • None

Outputs:

  • None

GoOne()

GoOne() causes all requests on one particular LabJack to be performed.

Declaration:

LJ_ERROR _stdcall GoOne( LJ_HANDLE Handle )

Parameter Description:

Returns: LabJack errorcodes or 0 for no error.
Inputs:

  • Handle – Handle returned by OpenLabJack().

Outputs:

  • None
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.