Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

cFP2120 - serial port problem

Hi,
 
I'm new on this forum so hello to everybody !
 
I'm using a Fieldpoint cFP-2120 with LB8 RT to do measurement and serial equipment control.
 
I've built a VI to control an equipment via a serial interface. The VI works perfectly (write and read) when I use the PC serial port. The problem is when I use the cfP2120 serial port.
 
The write commands seem to be correctly sent and received by the equipment but the results of the read commands are random and most of the time not correct.
 
I checked the configuration, the time issues but I have no more ideas to solve this problem.
 
I'd really appreciate any help.
 
Thanks
 
Fabien
 
 
0 Kudos
Message 1 of 7
(3,895 Views)
Hi Fabien,
 
I don't know anything about:  "I'm using a Fieldpoint cFP-2120 with LB8 RT to do measurement and serial equipment control"
 
but can you post your VI maybe we see something that can help
0 Kudos
Message 2 of 7
(3,890 Views)

Hi KC,

I'll try to be clearer about my application.

I want to communicate with a temperature calibrator through a RS232 interface, using Labview 8 (with the Real Time module) and a Compact Fieldpoint cFP2120 controller.

The communication tasks are : send a temperature setpoint - read back the temperature setpoint - read the calibrator temperature.  

Here's a simplidied VI (built to debug) in which you just write a command and read the answer of the calibrator.

I've already checked different time values for the time functions used on the VI

Thanks in advance,

Fabien

0 Kudos
Message 3 of 7
(3,887 Views)
Fabien,
 
Are you sure that your device is always ready 200msec after sending a command?
 
Please have a look at the VI's that I posted here:
 
Maybe this helps
0 Kudos
Message 4 of 7
(3,880 Views)
KC,
 
I'm sure that the device is ready after 200ms cause it works when I use the PC serial port to communicate with the device.
 
I slightly modified the com_port VI that you sent on a previous post.
 
As before it works perfectly with the PC serial port but not with the Fieldpoint serial port.
 
With the PC serial port, I receive a 9 bytes word each time I write a command. With the Fieldpoint serial port I receive from 0 to 9 bytes and
0 Kudos
Message 5 of 7
(3,870 Views)

end of the previous message

With the PC serial port, I receive a 9 bytes word each time I write a command. With the Fieldpoint serial port I receive from 0 to 9 bytes and the bytes are not the correct ones !!
 
Is there something different beteween the PC serial port and the fieldpoint one ???
 
Thanks,
 
Fabien

 

0 Kudos
Message 6 of 7
(3,865 Views)
Hi Fabien,
 
Sorry, I don't think I can help you any further. I don't have RT hardware. Smiley Sad
 
If I can think of something else I'll let you know. Maybe you can try to ask this in a other forum ?

Message Edited by K C on 06-19-2006 03:46 PM

Message Edited by K C on 06-19-2006 03:47 PM

0 Kudos
Message 7 of 7
(3,868 Views)