Browse Source

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

Neal Wilson 11 years ago
parent
commit
980bf25ead
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/dataqsdk.w

+ 3
- 2
src/dataqsdk.w View File

297
 	if(!driver->load())
297
 	if(!driver->load())
298
 	{
298
 	{
299
 		error = 1; // Failed to load driver.
299
 		error = 1; // Failed to load driver.
300
+		qDebug() << "Failed to load driver: " << device;
300
 		return;
301
 		return;
301
 	}
302
 	}
302
 	di_open = (FPDIOPEN)driver->resolve("di_open");
303
 	di_open = (FPDIOPEN)driver->resolve("di_open");
454
 		portString.chop(1);
455
 		portString.chop(1);
455
 		if(portString.toInt() < 10)
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
 		else
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
 		imp->deviceNumber = 0x12C02D00;
464
 		imp->deviceNumber = 0x12C02D00;
464
 		imp->deviceNumber += portString.toInt();
465
 		imp->deviceNumber += portString.toInt();

Loading…
Cancel
Save