I am a newbie to QNX. I want to know if someone knows of a routine where i can do the following. I am collecting data remotely from a AD/DA board attached to a QNX machine
- read the serial port for incoming remote command.
- compare it with given options
- if the command is collect data, collect the latest numerical value stored in a memory location(buffer) and write it to the serail port.
The AD/DA code is already running. it will be storing values in a buffer. All I need is somehow transfer the value via serial port eerytime its asked to. the command to collect will be sent remotely every 1/2 second or 1 sec