Hi Rehan,
If you install NI-Serial, you should find an NISerial.h file in
C:\Program Files\National Instruments\NI-Serial
This file will provide you with all of the functions you need.
This file location will be different in Linux (of course), but the same
header file should install in the serial directory.
Help for all of the functions can be found in the NI-Serial Help.
I hope this helps!
Regards,
Matt S.
LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.