FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

cFP-2020 serial port problems

Hello-

I'm trying to use the serial port on my cFP-2020 to kick an external watchdog timer device. I've imbedded a VISA configuration -> VISA write -> VISA close section of code into my main program loop. My goal is to create activity on COM1 to keep the external watchdog satisfied. I'm getting the following error "Property Node in VISA configure serial port (instr).vi -> wd reset.vi". The error number is -1073807202. The VISA resouce name is set to COM1, but it doesn't seem to be working.

I've tried to access the COM1 port on the cFP-2020 via MAX without success. FYI, this is being done with 7.1.

Thanks in advance for your help.

Dave
0 Kudos
Message 1 of 5
(4,211 Views)
Dave,

The definition for the -1073807202 error code is "VISA: (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded."

I would suspect that the embedded copy of the serial driver has been corrupted. Try re-installing the software image for the FieldPoint controller. You can try only re-installing the serial driver or the entire software image.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 2 of 5
(4,205 Views)
Hey Arron-

Nice to hear from you again....

I tried to reload the software for the cFP-2020, but got the same error. Went I tried to run the application targeting the host computer I got the same error as well!

Looking though MAX, I didn't see the NI-VISA software listed under either My System or Remote System. Digging though the NI folder on the host computer, I found what appears to be a NI-VISA folder. My rep said that I had to have the NI-VISA loaded on the host before it would load to the 2020.

Any suggestions??? Should I uninstall and reinstall 7.1 on the host and then try and reload to the 2020?

Thanks-

Dave
0 Kudos
Message 3 of 5
(4,193 Views)
Hello Dave. Thank you for contacting National Instruments. You mentioned that you can't see NI-VISA under My System>>Software, but is it showing up under the Control Panel>>Add/Remove Programs>>National Instruments Software? If it is, uninstall the current version and download the newest driver from ni.com:

http://search.ni.com/nisearch/nisearchservlet?nistype=default&filter=+%2BProductLine%3A1640+%2BDownloadType%3A%22NI-VISA%22+%2BVersion%3A%223.3%22+%2Bcontentformat%3Asoftwarelib&ddown=2

If it isn't in Add/Remove Programs download the newest version. Not having NI-Serial RT can also cause this error. This installs with LabVIEW RT, so make sure you have LabVIEW RT or the LabVIEW RT image that comes on the Driver CD with the fieldpoint controller. Please let me know if you have any questions. Have a great day!

Marni S.
National Instruments
Message 4 of 5
(4,174 Views)
Marni was correct. I have had this same issue with my 2020. The problem I found was that I did not have the most recent version of NI-Serial on my controller. Once both NI-Serial and NI-Visa are loaded it should work.
Good Luck
Dusty
0 Kudos
Message 5 of 5
(4,167 Views)