04-17-2009 04:02 PM
04-20-2009 10:47 AM
What version of LabWindows/CVI are you using. When I compile your same code it compiles just fine without any errors.
Regards,
Steven Zittrower
Applications Engineer
National Instruments
04-20-2009 10:57 AM
Unless you are making this call via the Interactive Execution window, you cannot have a function call at file level. That is, you can only call a function from within the body of another function. As your code is written, the call to CreateUDPChannelConfig would be parsed as a function declaration, which would result in the error you describe.
Mert A.
National Instruments
04-27-2009 02:20 PM - edited 04-27-2009 02:20 PM
04-27-2009 02:25 PM
04-27-2009 02:45 PM
You can take a look at the UDPReader.prj sample project that is installed. UDPReader.c has a call to CreateUDPChannelConfig in main that should compile properly. If that sample gives you a compile error, then it's possible someone mucked up your udpsupp.h. If it compiles fine, then the problem is in your particular project/code, and you will have to provide more details (i.e. show us your code) in order to figure out why the compiler thinks CreateUDPChannelConfig is a function taking no arguments.
Mert A.
National Instruments