Transferring Logged Data from the FP-20xx through Serial Modem Communication
To transfer files using the FP Send File Via Modem VI and FP Receive File Via Modem VI, follow these steps:
1. Place the FP Send File Via Modem VI on the FP-20xx.
2. Select the baud rate from the BaudRate menu. When you run the VIs, if the connection times out or the modems disconnect, select a lower baud rate. Older modems may not be able to transmit to the computer at the speed you initially selected or the line may have noise that causes the modems to disconnect. Lowering the baud rate produces a more stable connection that is less affected by noise.

3. Select the correct COM port from the COM Port menu.
4. Enter the file you want to send in the File to Send field.
5. Run the FP Send File Via Modem VI.
6. Click Turn on Auto Answer. The FP-20xx waits to be called. When it is called, it connects, sends the file, and disconnects.
7. Place the FP Receive File Via Modem VI on the computer calling the modem.
8. Select the same BaudRate that you selected for the FP Send File Via Modem VI.

9. Select the correct COM port from the COM Port menu.
10. Enter the Phone Number.
11. Enter the file to which you want the data saved in the Receive File Path.
12. Run the FP Receive File Via Modem VI.
13. Click Dial Modem. The VI dials the FP-20xx, downloads the file, and disconnects.
Customizing the Modem VIs
If you are incorporating the modem VIs in a datalogging application, program the modem VIs on the FP-20xx to run in a parallel loop. Run the Check for Incoming Call VI every second to detect an incoming call. When the VI detects an incoming call, the VI sends the data, disconnects, and restarts. This method of programming prevents the FP-20xx processor from being taxed while it is waiting for an incoming call.
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
