Quellcode durchsuchen

Merge branch 'development' of https://github.com/N3Roaster/typica into development

Neal Wilson vor 11 Jahren
Ursprung
Commit
980bf25ead
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 3
    2
      src/dataqsdk.w

+ 3
- 2
src/dataqsdk.w Datei anzeigen

@@ -297,6 +297,7 @@ void DataqSdkDeviceImplementation::run()
297 297
 	if(!driver->load())
298 298
 	{
299 299
 		error = 1; // Failed to load driver.
300
+		qDebug() << "Failed to load driver: " << device;
300 301
 		return;
301 302
 	}
302 303
 	di_open = (FPDIOPEN)driver->resolve("di_open");
@@ -454,11 +455,11 @@ DataqSdkDevice::DataqSdkDevice(QString device) : imp(new DataqSdkDeviceImplement
454 455
 		portString.chop(1);
455 456
 		if(portString.toInt() < 10)
456 457
 		{
457
-			imp->device = QString("DI10%1INT.DLL").arg(portString);
458
+			imp->device = QString("DI10%1NT.DLL").arg(portString);
458 459
 		}
459 460
 		else
460 461
 		{
461
-			imp->device = QString("DI1%1INT.DLL").arg(portString);
462
+			imp->device = QString("DI1%1NT.DLL").arg(portString);
462 463
 		}
463 464
 		imp->deviceNumber = 0x12C02D00;
464 465
 		imp->deviceNumber += portString.toInt();

Laden…
Abbrechen
Speichern