diff --git a/examples/cpp/livedata/src/LiveDataExample.cpp b/examples/cpp/livedata/src/LiveDataExample.cpp index f5a790e..7a5b47f 100644 --- a/examples/cpp/livedata/src/LiveDataExample.cpp +++ b/examples/cpp/livedata/src/LiveDataExample.cpp @@ -35,7 +35,7 @@ int main() { msg->appendSignalArg(icsneo::LiveDataValueType::GPS_LATITUDE); msg->appendSignalArg(icsneo::LiveDataValueType::GPS_LONGITUDE); msg->appendSignalArg(icsneo::LiveDataValueType::GPS_ACCURACY); - msg->appendSignalArg(icsneo::LiveDataValueType::DAQ_OVERRIDE); + msg->appendSignalArg(icsneo::LiveDataValueType::DAQ_ENABLE); msg->appendSignalArg(icsneo::LiveDataValueType::MANUAL_TRIGGER); msg->cmd = icsneo::LiveDataCommand::SUBSCRIBE; msg->handle = icsneo::LiveDataUtil::getNewHandle(); @@ -102,7 +102,7 @@ int main() { { break; } - setValMsg->appendSetValue(icsneo::LiveDataValueType::DAQ_OVERRIDE, ldValue); + setValMsg->appendSetValue(icsneo::LiveDataValueType::DAQ_ENABLE, ldValue); device->setValueLiveData(setValMsg); // Test setting values std::this_thread::sleep_for(std::chrono::seconds(3)); diff --git a/include/icsneo/communication/livedata.h b/include/icsneo/communication/livedata.h index 31cd8d1..d643f18 100644 --- a/include/icsneo/communication/livedata.h +++ b/include/icsneo/communication/livedata.h @@ -48,7 +48,7 @@ enum class LiveDataValueType : uint32_t { GPS_BEARING = 121, GPS_TIME = 122, GPS_TIME_VALID = 123, - DAQ_OVERRIDE = 124, + DAQ_ENABLE = 124, }; inline std::ostream& operator<<(std::ostream& os, const LiveDataCommand cmd) { @@ -86,7 +86,7 @@ inline std::ostream& operator<<(std::ostream& os, const LiveDataValueType cmd) { case LiveDataValueType::GPS_BEARING: return os << "GPS Bearing"; case LiveDataValueType::GPS_TIME: return os << "GPS Time"; case LiveDataValueType::GPS_TIME_VALID: return os << "GPS Time Valid"; - case LiveDataValueType::DAQ_OVERRIDE: return os << "DAQ Override"; + case LiveDataValueType::DAQ_ENABLE: return os << "DAQ Enable"; case LiveDataValueType::MANUAL_TRIGGER: return os << "Manual Trigger"; } return os;