Explorar el Código

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

Neal Wilson hace 11 años
padre
commit
980bf25ead
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      src/dataqsdk.w

+ 3
- 2
src/dataqsdk.w Ver fichero

@@ -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();

Loading…
Cancelar
Guardar