08-15-2006 01:04 PM
08-15-2006 01:17 PM - edited 08-15-2006 01:17 PM
Change your function declaration to
void measure( ViChar CH[] )
The way it is declared now CH will default to being an integer.
Message Edited by mvr on 08-15-2006 01:18 PM
08-16-2006 10:20 AM
I've done that and I understand what you meant...but now that I'm trying to call that function from another function I am getting an error when passing the ViChar.
See attached image and I would appreciate any help!
ThanksNadvance
FredTest
08-16-2006 11:30 AM
This usually happens when the compiler is not aware of a typedef and assumes it to be an identifier. When Safe Test.c is compiled, do any of the included files contain the definition of ViChar? The DAQ.c file compilation step, which presumably did not complain, may well find the relevant definitions via the hp34970a.h include file.
JR
08-16-2006 11:51 AM