Change signal name to DAQ Enable

liveDataSetValue
Ben Kleinheksel 2025-06-16 13:54:51 -04:00
parent 0b135e29a0
commit bb4176dec8
2 changed files with 4 additions and 4 deletions

View File

@ -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));

View File

@ -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;