Skip to content

Commit 76e1659

Browse files
committed
Update ranges based on testing
1 parent de415d3 commit 76e1659

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Source/Devices/HarpSyncInput.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ HarpSyncInput::HarpSyncInput (std::string name, std::string hubName, const oni_d
2929
{
3030
setEnabled (false);
3131

32-
const ContinuousChannel::InputRange harpTimeRange { 0.0f, 1000.0f };
33-
3432
StreamInfo harpTimeStream = StreamInfo (
3533
OnixDevice::createStreamName ({ getHubName(), getName(), "HarpTime" }),
3634
"Harp clock time corresponding to the local acquisition ONIX clock count",
@@ -44,7 +42,7 @@ HarpSyncInput::HarpSyncInput (std::string name, std::string hubName, const oni_d
4442
{ "" },
4543
"harptime",
4644
{},
47-
{ harpTimeRange });
45+
{});
4846
streamInfos.add (harpTimeStream);
4947

5048
for (int i = 0; i < numFrames; i++)

Source/Devices/MemoryMonitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void MemoryMonitorUsage::stopAcquisition()
7777
MemoryMonitor::MemoryMonitor (std::string name, std::string hubName, const oni_dev_idx_t deviceIdx_, std::shared_ptr<Onix1> oni_ctx)
7878
: OnixDevice (name, hubName, MemoryMonitor::getDeviceType(), deviceIdx_, oni_ctx)
7979
{
80-
const ContinuousChannel::InputRange percentRange { 0.0f, 100.0f };
80+
const ContinuousChannel::InputRange percentRange { -100.0f, 100.0f };
8181

8282
StreamInfo percentUsedStream = StreamInfo (
8383
OnixDevice::createStreamName ({ getHubName(), getName(), "PercentUsed" }),

0 commit comments

Comments
 (0)