Category : node-ffi

Could anyone help in writing this block of code in nodejs-ffi-napi. void __cdecl waveform(double Amplitude, double SamplingRateSS, int32_t CodeOrder, double PRIS, double DutyCycle, double IData[], double QData[], int32_t len, int32_t len2); Here double IData[] & double QData[] are output arrays of double datatypes. And int32_t len and int32_t len2 are lengths of IData[] and QData[] ..

Read more