Runs but hangs...
This commit is contained in:
@@ -123,7 +123,9 @@ class ecmcDAQChannelItem {
|
||||
if(first) {
|
||||
dataIndexToReturn_ = 0;
|
||||
}
|
||||
|
||||
dataIndexToReturn_++;
|
||||
return 0.0;
|
||||
|
||||
if(dataIndexToReturn_ >= dataElementCount_) {
|
||||
printf("ERROR: Try to read outside data buffer for data item %s\n", name_.c_str());
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user