11-18-2015 04:55 AM
Hi,
I'm rookie on the Labwindow cvi. Just followed through the traning material "Getting Started".
Almost completed chaper 3 and encountered an error on c source codes.
c surce code
SinePattern (100, amp, 180.0, 2.0, sine);
Build output window shows
sample2.c - 1 error
86, 25 error: called object type 'ssize_t' (aka 'int') is not a function or function pointer
Have changed either " ssize_t" or " size_t" but still having debugging error.
Need advice here.
Many thanks.
11-18-2015 05:31 AM
Hi,
I just tested this code myself and everything works fine:
#include <analysis.h>
static double sine [ 100 ];
SinePattern (100, 4, 180.0, 2.0, sine);
Can you confirm that these three lines do not work for you?
The only ssize_t is the first parameter, the number of elements, so this should not throw any error. Since the code you posted is incomplete right now it is difficult to tell where the real problem is.