§ Handle() [1/2]
Constructor that attempts to open a device.
- Parameters
-
model | The model of LabJack device to open (see strings in LabJackUD.h). |
connection | How to connect to the device (e.g., USB) (see strings in LabJackUD.h). |
address | Either the ID or serial number (if USB), or the IP address. |
§ Handle() [2/2]
Constructor that attempts to open a device.
- Parameters
-
model | The model of LabJack device to open (see strings in LabJackUD.h). |
connection | How to connect to the device (e.g., USB) (see strings in LabJackUD.h). |
address | Either the ID or serial number (if USB), or the IP address. |
§ destroy() [1/2]
void SurgSim::Devices::LabJackScaffold::Handle::destroy |
( |
bool |
reset = false | ) |
|
|
inline |
Close communication with the hardware.
- Parameters
-
reset | true to cause a hardware reset & USB re-enumeration. Otherwise the hardware's settings will be unchanged (i.e., it will continue timing, counting, and outputting). |
§ destroy() [2/2]
void SurgSim::Devices::LabJackScaffold::Handle::destroy |
( |
bool |
reset = false | ) |
|
|
inline |
Close communication with the hardware.
- Parameters
-
reset | true to cause a hardware reset & USB re-enumeration. Otherwise the hardware's settings will be unchanged (i.e., it will continue timing, counting, and outputting). |
§ get() [1/2]
LJ_HANDLE SurgSim::Devices::LabJackScaffold::Handle::get |
( |
| ) |
const |
|
inline |
- Returns
- The LabJackUD's handle wrapped by this Handle.
§ get() [2/2]
LJ_HANDLE SurgSim::Devices::LabJackScaffold::Handle::get |
( |
| ) |
const |
|
inline |
§ isValid() [1/2]
bool SurgSim::Devices::LabJackScaffold::Handle::isValid |
( |
| ) |
const |
|
inline |
- Returns
- Whether or not the wrapped handle is valid.
§ isValid() [2/2]
bool SurgSim::Devices::LabJackScaffold::Handle::isValid |
( |
| ) |
const |
|
inline |
- Returns
- Whether or not the wrapped handle is valid.
The documentation for this class was generated from the following file:
- SurgSim/Devices/LabJack/linux/LabJackScaffold.cpp