I use RAD Studio 10.1 Update 2 and have to initialize the NI PXIe-1073 from National Instruments. I use the same command like in Delphi 7:
result:= niDCPower_InitializeWithChannels('PXI1Slot2',
'0',
true,
'Simulate=0, DriverSetup=Model:4138; BoardType:PXIe',
session) = false;
The function has the next parameters:
function niDCPower_InitializeWithChannels(resourceName: string;
channels: string;
reset: boolean;
optionString: string;
var vi: integer): boolean cdecl {$IFDEF WIN32} stdcall {$ENDIF};
I have a Problem: this works with Delphi 7 but dosn't work with RAD Studio 10.
What could the problem be?
Thanks in advance.