12-19-2005 01:08 AM
12-19-2005 02:23 PM
Dear Karthik,
The attached file contains to LabVIEW programs which demonstrate how to use serial communication in Fieldpoint Real-time. The programs can be used in LabVIEW 7 and later, with the FP-20xx and cFP-20xx modules.
The programs use an error checking technique and indicate their status using three of the LED's on the Fieldpoint controller.
One program is written using the serial compatibility vi's; the other program is written using the VISA communication vi's.
The programs sent out data (the current time) on their serial port, and expect a response. If no response is obtained within 200 ms, the error LED (LED B) will blink. To test the communication, it is best to connect pin 2 and 3 together (loopback connector). Anything that is sent out is then read back immediately.
Fieldpoint Explorer version 4.0 was used in this example.
12-23-2005 02:33 AM
Hai Marni,
Kindly Clarify this also, In the cFP 2020 manual, it is mentioned that " If you are not running an embedded application, you must target the cFP-20
xx in order to access the serial ports."The VIs sent by you,Whether will take care of the 4 serial port test (includes Three RS232, RS485). I couldn't locate about serial port in the MAX. The configuration of cFP2020 in MAX means "setting the IP, Find Devices only". If anything more to configure, figure it out.
In the VI Guide lines "Modify the Fieldpoint IO Point constants on the block diagram to match your IP configuration", IO point means ?
I am going to short (2 and 3) for RS 232 (port 0, port 1, port 2) & (7 and 3) (2 & 6) for RS 485 (port 4).
I hope it is enough to test the cFP ports with ur VIs.
I attached the VI for reference.
Thanx in advance
Karthikraja
12-27-2005 04:58 PM
4. In the VI Guide lines "Modify the Fieldpoint IO Point constants on the block diagram to match your IP configuration", IO point means ?
Once everything is configured in MAX you can open up the VI, click on the down arrow for the input, and select Browse. In the window that pops up, select Refresh. Expand the tree in the left window until you see your cFP-2020 under the correct IP address. Then in the window on the right select the correct LED.
Have a great day!
Marni S.