A class for deterministically getting information about Serial Ports.
More...
#include <hal/cpp/SerialHelper.h>
A class for deterministically getting information about Serial Ports.
◆ SerialHelper()
hal::SerialHelper::SerialHelper |
( |
| ) |
|
◆ GetOSSerialPortList()
std::vector< std::string > hal::SerialHelper::GetOSSerialPortList |
( |
int32_t * |
status | ) |
|
Get a vector of all serial port OS names.
- Parameters
-
- Returns
- vector of serial port OS names
◆ GetOSSerialPortName()
std::string hal::SerialHelper::GetOSSerialPortName |
( |
HAL_SerialPort |
port, |
|
|
int32_t * |
status |
|
) |
| |
Get the OS name of a serial port.
- Parameters
-
[in] | port | the serial port index |
[out] | status | status check |
- Returns
- the OS name
◆ GetVISASerialPortList()
std::vector< std::string > hal::SerialHelper::GetVISASerialPortList |
( |
int32_t * |
status | ) |
|
Get a vector of all serial port VISA names.
- Parameters
-
- Returns
- vector of serial port VISA names
◆ GetVISASerialPortName()
std::string hal::SerialHelper::GetVISASerialPortName |
( |
HAL_SerialPort |
port, |
|
|
int32_t * |
status |
|
) |
| |
Get the VISA name of a serial port.
- Parameters
-
[in] | port | the serial port index |
[out] | status | status check |
- Returns
- the VISA name
The documentation for this class was generated from the following file: