AcquisitionDeviceGroup: Used to simplify handling multiple aq devices
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
#include "../common/NetworkAddressConvert.h"
|
||||
|
||||
PCIExpressDevice::PCIExpressDevice(uint16_t data_stream, uint16_t pci_slot) :
|
||||
PCIExpressDevice("/dev/jfjoch" + std::to_string(pci_slot), data_stream) {}
|
||||
PCIExpressDevice(data_stream, "/dev/jfjoch" + std::to_string(pci_slot)) {}
|
||||
|
||||
PCIExpressDevice::PCIExpressDevice(uint16_t data_stream) :
|
||||
PCIExpressDevice("/dev/jfjoch" + std::to_string(data_stream), data_stream) {}
|
||||
PCIExpressDevice(data_stream, "/dev/jfjoch" + std::to_string(data_stream)) {}
|
||||
|
||||
PCIExpressDevice::PCIExpressDevice(const std::string &device_name, uint16_t data_stream)
|
||||
PCIExpressDevice::PCIExpressDevice(uint16_t data_stream, const std::string &device_name)
|
||||
: FPGAAcquisitionDevice(data_stream), dev(device_name, true) {
|
||||
|
||||
DataCollectionStatus status = dev.GetDataCollectionStatus();
|
||||
|
||||
Reference in New Issue
Block a user