WIP
This commit is contained in:
@@ -158,10 +158,10 @@ void ecmcDAQDataArray::execute() {
|
||||
size_t index = firstDataElementIndex_ ;
|
||||
for(std::vector<ecmcDAQDataChannel*>::iterator pDataCh = dataChannels_.begin(); pDataCh != dataChannels_.end(); ++pDataCh) {
|
||||
//always atleast one data item in a channel. Set "first" bit in call to getData()
|
||||
buffer_[index]=(*pDataCh)->getData(1);
|
||||
index++;
|
||||
while(!(*pDataCh)->empty()) {
|
||||
buffer_[index]=(*pDataCh)->getData(0);
|
||||
int first = 1;
|
||||
for(int i = 0 ; i < (*pDataCh)->getDataElementCount(); i++) {
|
||||
buffer_[index]=(*pDataCh)->getData(first);
|
||||
first = 0;
|
||||
}
|
||||
}
|
||||
updateAsyn();
|
||||
|
||||
Reference in New Issue
Block a user