Home » Community » Newbie corner » where can I find more info?
where can I find more info? [message #28584] |
Wed, 08 September 2010 07:06 |
jerson
Messages: 202 Registered: June 2010 Location: Bombay, India
|
Experienced Member |
|
|
I am looking at the Format function which is in util.cpp
This and few other functions have no mention anywhere in the documentation. Is there a place where all the available functions are listed and their parentage? This will help to know which files need to be included for a particular function to be used.
I have a file that uses the Format("%s","This is a test") function. Without the #include <core/core.h> I get a link time error on Format being undefined. On including <core/core.h> in my cpp file, I get
In file included from C:\MyApps\NIDAQ\NIDAQ.c:2:0:
C:\upp2625\uppsrc/core/core.h:39:20: fatal error: typeinfo: No such file or directory
compilation terminated.
and this is in Nidaq.c
#include "nidaqmx.h"
#include "core/core.h"
/**********************************************************************/
#define DAQmxErrChk(functionCall) if( DAQmxFailed(error=(functionCall)) ) goto Error; else
void MyTest()
{
return;
}
int32 Ni_ReadDI(int8 Dev, int8 Port, int32 *DI)
{
int32 error=0;
TaskHandle taskHandle=0;
uInt32 data;
char errBuff[2048]={'\0'};
int32 read;
//*********************************************
// DAQmx Configure Code
//*********************************************
DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxCreateDIChan(taskHandle,
(const char *)(Format("Dev%c/port%c",Dev,Port)),
"",DAQmx_Val_ChanForAllLines));
...... irrelevant part snipped off
I'd appreciate any help I can get with this. For now, I'm stuck.
Regards
-
Attachment: NIDAQ.zip
(Size: 150.13KB, Downloaded 193 times)
|
|
|
|
|
where can I find more info?
By: jerson on Wed, 08 September 2010 07:06
|
|
|
Re: where can I find more info?
By: koldo on Wed, 08 September 2010 08:48
|
|
|
Re: where can I find more info?
By: jerson on Wed, 08 September 2010 10:09
|
|
|
Re: where can I find more info?
By: koldo on Wed, 08 September 2010 10:42
|
|
|
Re: where can I find more info?
By: jerson on Wed, 08 September 2010 10:53
|
|
|
Re: where can I find more info?
By: koldo on Wed, 08 September 2010 10:59
|
|
|
Re: where can I find more info?
By: jerson on Wed, 08 September 2010 14:53
|
|
|
Re: where can I find more info?
By: koldo on Wed, 08 September 2010 16:07
|
|
|
Re: where can I find more info?
By: dolik.rce on Wed, 08 September 2010 16:30
|
|
|
Re: where can I find more info?
By: jerson on Wed, 08 September 2010 17:30
|
|
|
Re: where can I find more info?
By: dolik.rce on Wed, 08 September 2010 18:27
|
|
|
Re: where can I find more info?
By: jerson on Sun, 12 September 2010 07:50
|
Goto Forum:
Current Time: Sat Apr 27 13:38:04 CEST 2024
Total time taken to generate the page: 0.02989 seconds
|