Splits out SerialHelper to allow using OS or VISA resources (#365)

Also removes regex and uses simple splits instead
This commit is contained in:
Thad House
2016-11-24 21:53:04 -08:00
committed by Peter Johnson
parent 4bbb7c0bcc
commit 57ef5cfd07
3 changed files with 209 additions and 126 deletions

View File

@@ -25,7 +25,7 @@ void HAL_InitializeSerialPort(HAL_SerialPort port, int32_t* status) {
hal::SerialHelper serialHelper(resourceManagerHandle);
portName = serialHelper.GetSerialPortName(port, status);
portName = serialHelper.GetVISASerialPortName(port, status);
if (*status < 0) {
return;