08-17-2005 10:45 AM
08-19-2005 03:50 AM
Hello,
what is the meaning of "KB". Sorry for this stupid question !
08-19-2005 04:21 AM
08-19-2005 04:25 AM
08-19-2005 05:17 AM
08-19-2005 08:51 AM
Salvador,
Will nidaqmx_74_delphi.zip be updated (if necessary) to reflect any changes for DAQmx 7.5 ?
http://digital.ni.com/public.nsf/websearch/A6715AA42405ACD786256F0A00633B8F?OpenDocument
Would such changes be found under this document ID 3D8C2TPC3D8C2TPC or elsewhere ? Is there a download site that will always contain the latest version of the DAQmx wrapper files for Delphi ?
Thanks for NI's efforts in supplying support for Delphi. It's appreciated.
Steve
08-19-2005 09:26 AM - edited 08-19-2005 09:26 AM
look here ==>
/*********************************************/
/*/ DAQmx Configure Code
/*********************************************/
DAQmxErrChk (DAQmxCreateTask("",&taskHandleA));
DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleA,"Dev1/ai0","",DAQmx_Val_RSE, 0.0, 8.0, DAQmx_Val_Volts,NULL));
DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleA,"",1000,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,1000));
/*********************************************/
/*/ DAQmx Start Code
/*********************************************/
DAQmxErrChk (DAQmxStartTask(taskHandleA));
Sleep (8000);
/*********************************************/
/*/ DAQmx Read Code
/*********************************************/
DAQmxErrChk (DAQmxReadAnalogF64(taskHandleA, -1, 10.0,DAQmx_Val_GroupByChannel,data,1000,&read,NULL));
Error:
if( DAQmxFailed(error) )
DAQmxGetExtendedErrorInfo(errBuff,2048);
if( taskHandleA!=0 ) {
/*********************************************/
/*/ DAQmx Stop Code
/*********************************************/
DAQmxStopTask(taskHandleA);
DAQmxClearTask(taskHandleA);
}
if( DAQmxFailed(error) )
MessageDlg(errBuff, mtConfirmation, TMsgDlgButtons() << mbYes << mbNo, 0);
Message Edited by GalamaAG on 08-19-2005 09:31 AM
06-02-2006 12:16 PM