Part of the program that you embed in the cFP controller should be a serial communications handler. The serial handler should open and watch the serial port for communications. By formatting your messages to include a start character (or characters), a checksum, and a termination character, you can build a fairly robust system that will respond to transmitted commands and will be easily able to handle the intermittent communications that you mention, while rejecting any bad messages. As part of the command set that you create for the messages, you can include commands to Read a Setpoint, Change a Setpoint, Download a file, and upload a file. For reliability reasons (and the possibility of disconnects), you may want the file download/upload commands to only
transmit a portion of the file at a time (e.g. 100 bytes).
There are some other things to consider as you set the system up. The cable between the cFP controller and the modem will most likely need to be a straight cable. The modems should be set to connect at only the configured Baud Rate. The FieldPoint module should set its serial port to the same Baud Rate.
Regards,
Aaron
LabVIEW Champion, CLA, CPI