Forum Discussion
Altera_Forum
Honored Contributor
10 years agoNon-blocking fgets
Hi, I'm interfacing MAX10 fpga development kit with matlab. The matlab sends command to the .c file which in turns request data from the fpga development kit. I'm able to acquire data continuou...
Altera_Forum
Honored Contributor
10 years agoHi,
Could you please be more elaborate on this ? I'm using fcntl(_serialPort, F_SETFL, fcntl(_serialPort, F_GETFL, 0) | O_NONBLOCK); to make the fgets Non-blocking but still it doesn't work. Thanks,