FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial ports crash on cFP-2010 using LVRT 6.1.1 and 6.1.3

I have LabVIEW RT 6.1 and cFP-2010. I am trying to write an embedded VI that will communicate with some external hardware through the serial ports, but I am not able to get the serial ports to work. Because I do not have LV7 I cannot use the VISA VIs for serial communication. I am using the old serial compatibility VIs. When it tries to configure a port (port 0 or 1) it sometimes says Error 37 but usually it just reboots the cFP module. I've tried writing new VIs from scratch and I've tried running old VIs that I had written for FP-2000 that uses the serial port, neither works. Can anybody help?
0 Kudos
Message 1 of 5
(3,917 Views)
nate,

I found this KB that may be helpful if you just recently installed LabVIEW DSC:

http://digital.ni.com/public.nsf/websearch/53B1D0482E6CF0B886256B520054352F?OpenDocument

Other than that I haven't heard of any issues similar to this. I know a lot of improvements have been made to serial/VISA in LabVIEW 7.0/7.1 as well as in FieldPoint 4.1, so if possible I would recommend upgrading.

Ames
0 Kudos
Message 2 of 5
(3,917 Views)
Thanks for the post, but unfortunately the .ini entry referred to in the KB doesn't exist in the cFP .ini.

Thanks for trying though,
Nate
0 Kudos
Message 3 of 5
(3,917 Views)
I have used the serial ports in LV 6.1 without trouble.

I would suggest you contact NI for a possible replacement of your cFP-2010. It sounds like it has a bad serial port.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(3,917 Views)
I eventually did get them to work late last night. I booted into safe mode, FTP'd to the controller, deleted all files I could, reconfigured the network module, and reinstalled the 6.1.1 software. I then edited the LV-RT.ini file and added serial.dll to the list of OnStartupDLLs. I'm not sure if the last step helped or not because soon afterwards it was removed again, but I did get my serial ports to work. Not sure why they didn't work before.

Thanks though,
Nate
0 Kudos
Message 5 of 5
(3,917 Views)