Skip to content

Commit

Permalink
Work around bug in UL for Windows, it is reporting numAnalogIn=4 not …
Browse files Browse the repository at this point in the history
…8 in E-1608
  • Loading branch information
MarkRivers committed Oct 19, 2023
1 parent 7c6b4f9 commit 1852c87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions measCompApp/src/drvMultiFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,9 @@ MultiFunction::MultiFunction(const char *portName, const char *uniqueID, int max
numTimers_ = 0;
numCounters_ = 1;
firstCounter_ = 0;
// There appears to be a bug on Windows when reading numAnalogIn_ above.
// It is setting numAnalogIn_=4, when it should be 8
numAnalogIn_ = 8;
break;
case E_DIO24:
numTimers_ = 0;
Expand Down

0 comments on commit 1852c87

Please sign in to comment.