|
@@ -291,6 +291,7 @@ void DataqSdkDeviceImplementation::run()
|
291
|
291
|
if(!driver->load())
|
292
|
292
|
{
|
293
|
293
|
error = 1; // Failed to load driver.
|
|
294
|
+ qDebug() << "Failed to load driver: " << device;
|
294
|
295
|
return;
|
295
|
296
|
}
|
296
|
297
|
di_open = (FPDIOPEN)driver->resolve("di_open");
|
|
@@ -448,11 +449,11 @@ DataqSdkDevice::DataqSdkDevice(QString device) : imp(new DataqSdkDeviceImplement
|
448
|
449
|
portString.chop(1);
|
449
|
450
|
if(portString.toInt() < 10)
|
450
|
451
|
{
|
451
|
|
- imp->device = QString("DI10%1INT.DLL").arg(portString);
|
|
452
|
+ imp->device = QString("DI10%1NT.DLL").arg(portString);
|
452
|
453
|
}
|
453
|
454
|
else
|
454
|
455
|
{
|
455
|
|
- imp->device = QString("DI1%1INT.DLL").arg(portString);
|
|
456
|
+ imp->device = QString("DI1%1NT.DLL").arg(portString);
|
456
|
457
|
}
|
457
|
458
|
imp->deviceNumber = 0x12C02D00;
|
458
|
459
|
imp->deviceNumber += portString.toInt();
|