LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with FP2010 RS232 communication

I have created LabView (using LV RT 6.1 ver) software for communicatios via RS232 port. It works properly when only it is embeded on FP-2010. When I running my main program consisted of this one to RS232 and others, it doesn't work properly and often the communication between RT engine and PC host is lost, moreover the status LED indicator flashes 8 times, and FP need reboot. On the other hand when I run this main program without downloading to RT Engine and I have my RS232 Device connected to the PC COMM1 port it works without any problems. Please tell me what is wrong. Thank you for answer in advance
0 Kudos
Message 1 of 6
(3,194 Views)
Which version of FieldPoint Explorer are you using? Make sure you are using FieldPoint Explorer 3.0.2 or later, and also that the firmware on the FP-2010 is LV 6.1.1. Even though the version on the FP target is LV 6.1.1 there is not change in the LabVIEW version on the host.

Carl L.
0 Kudos
Message 2 of 6
(3,194 Views)
I'm have been used FP Explorer 3.0.1, but I upgrated it to ver 3.0.2. I upgrated also firmware to ver 6.1.1 and I didn't saw any changes, i.e. there is the same problem with FP. I wonder if RS232 communication can take too FieldPoint's CPU time and memory, that it can't run properly??? On the othet hand when I use Profile Vi's to monitore memory usage of the program it seems to using very litle memory and CPU time. Have you got idea what is wrong?? Tomek K
0 Kudos
Message 3 of 6
(3,194 Views)
Tomek,
Here is another thing to try:
http://digital.ni.com/public.nsf/websearch/3E10F35B2590D48E86256D51004DCC1C?OpenDocument
Basically make sure that you are reading from the serial port as the data is coming in. Instead of accumulating a lot of data and then reading it.

Beyond that try to break your program into parts, to find what part is causing it. For example break it up in to the part that does serial communication and a part that does FP Read/Write.

Are you able to run other VIs on the FP-2010? Do you have another module to try it on?
0 Kudos
Message 4 of 6
(3,194 Views)
Carl,
I am able to run the programs on FP. Moreover when I am running only a SubVi for Rs232 communication it works without a problems. The problem is when I am adding another parts, which aren't very complicated, but then FP doesn't work properly. It seems to not have enough RAM memory to execute main program, but I dont know why. In attachment I sending you my code. If you would like to look in it, I will be grateful. Maybe you notice what is wrong. Thank you in advance. Tomek K
0 Kudos
Message 5 of 6
(3,194 Views)
PS. I imedietly read the data from buffer after write, so this is not a source of the problem, I think...
0 Kudos
Message 6 of 6
(3,194 Views)