FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Having trouble with deploying real time 8.0 vi's

Having trouble deploying a simple vi to my field point platform.  I am using  FP OS v10.4 and labview rt v8.0.  MAX tells me software installations to the target are good and communication in MAX is good.  I can make a windows VI to read a channel on  my field point and it works well. if I duplicate this VI in real time and try to deploy it to the field point unit, it goes well until it starts to download the "FP read" vi and then the download fails.  I have plenty of memory on the fieldpoint unit for this vi - it consists of a FP channel constant, FP read, numeric constant (for data type to FP read), a numeric indicator, a while loop, millisecond multiple vi (loop timing), and stop control.
 
I am stumped - any help would be great.
 
Kirk
Message 1 of 10
(5,586 Views)

Hello Kirk,

On top of the Safe Mode Version 10.4 and LV RT, you'll also need to FieldPoint Driver version 5.0.  You can download it and the FieldPoint Installation/Configuration will be a great reference to double check that all of your software is installed. 

If all of that is installed, try running one of the shipping examples to see if that works.  You can find these from LV Help >> Find Examples >> Hardware Input and Output >> FieldPoint >> Getting Started. 

Let me know if you are still having trouble.

Micaela N
National Instruments
0 Kudos
Message 2 of 10
(5,565 Views)
I have double checked that all the proper drivers (FP v5.0, LV RT 8.0) are installed on both the host and target.  I have tried a simple AI example from the examples in labview with no success.  My best guess is that there is a problem with my installation of LV Real-time 8.0.  I can run VI's from the host that use the field point unit and they work fine. 
0 Kudos
Message 3 of 10
(5,490 Views)

I have seen similar errors -- and the issue was a mismatch of RT software between host and the target.  I ended up reinstalling everything on the target. 

-Khalid

0 Kudos
Message 4 of 10
(5,485 Views)
I have a problem like you (with exactly the same configuration), but in my case the deployment works great. It is once the VI starts running that I have a problem : the FP Read.vi takes ~5 seconds to executes, and the VI hangs totaly until the FP Read.vi finished to executes.
If I have 3 times a FP Read.vi on the VI, it takes 3x 5 seconds to execute each FP Read!
I discovered this problem comes from the DLL call in the FP Read.vi, but I absolutely don't see what to do...
0 Kudos
Message 5 of 10
(5,406 Views)
Kirk - what controller are you using?  Double check that the controller has the following listed under Remote Systems >> (your controller name) >> Software:
LabVIEW Real-Time 8.0
NI-VISA
FieldPoint VI Manager
FieldPoint Drivers 5.0

sebk1 - The Fieldpoint Read VI includes error handling, if an error occurs it takes time to generate and propagate the error.  Check to see if your data is out of range for the channel.  If that is not the case, I suggest trying an example VI that includes a FP Read VI such as Analog Input found at: C:\Program Files\National Instruments\LabVIEW 8.0\examples\FieldPoint\Getting Started\Analog Input.vi if you installed to the default directory.  I'd be interested to hear the results of your tests.

Regards,
Micaela N
National Instruments
0 Kudos
Message 6 of 10
(5,369 Views)
Micaela : No error occurs, and no out of range (but you're right, with LabVIEW 7.1, when out of range occured, the acquisition was slower).
And of courses the examples VI are doing the same...
I talked to a NI engineer and he has the same problem with the same configuration. It's a LabVIEW 8.0 or FieldPoint 5 problem (or any of the new software), the developpers are now working on it...
The only workaround is to read or write once every I/O that I want to use later (it takes ~5 seconds * each I/O to execute), and after that the I/O operations are running normally.
 
Thanks for you help.
Sebastien
0 Kudos
Message 7 of 10
(5,362 Views)
HI EECL, and thank you for reporting this problem!

I developed an application for cFP in LabVIEW 7.1, now working.  My enterprise is going to pass to Developer Suite 8, specially I'm interested in re-writing my application in CVI 8, which allows embedded targeting. 

   But if these problems occur, I will keep programming in LabVIEW 7.1!!! I use massively FP Read, so I'll be waiting for a positive solution to this problem before upgrading Software and Firmware.

   Please, report to this post any news.

  Thanks again, and have a nice day!

graziano
0 Kudos
Message 8 of 10
(5,355 Views)

Micaela

My hardware is as follows:

cFP-2000 controller

cFP-AI110 module

four slot backplane

 

I have all of the required software you listed on my target.  Another thing a failed to mention earlier is that once a deployment fails I have to reset the target and redown load all the software again before I can use the field point even in MAX or Labview in windows mode.  After reinstalling the sofware the fieldpoint function normally in MAX and windows mode until I try to deploy a real-time application.

 

Still baffled-

Kirk

0 Kudos
Message 9 of 10
(5,350 Views)

Hi Kirk,

Can you tell me which version of the FieldPoint drivers you have installed on your Windows machine as well as your Real-Time target? You can check the version on the target by going to Remote Systems in MAX, selecting the controller, and expanding the software tab. Are they the same version?

Regards,
Hal L.

0 Kudos
Message 10 of 10
(5,333 Views)