This commit is contained in:
2024-03-02 20:56:55 +01:00
parent 2fc7122b71
commit 42d2b54c83
5 changed files with 180 additions and 47 deletions

View File

@@ -24,12 +24,17 @@ class ecmcDAQDataArray {
~ecmcDAQDataArray();
void connectToDataSources();
void execute();
void addDataItem(char* name, int timeFormat);
void addChannel(int type);
// Always add to last added channel
void addDataItemToChannel(char* name, int format);
private:
double *buffer_;
std::vector<ecmcDAQDataChannel*> dataChannels_;
size_t channelCounter_;
size_t dataElementCount_;
size_t totalElementCount_;
size_t firstDataElementIndex_;
};
#endif /* ECMC_DAQ_DATA_ARRAY_H_ */