08-03-2009 02:32 PM
I have an existing compact fieldpoint setup (IAK file & Programs) that I would like to install on a new unit. How can this be achieved?
08-04-2009 08:46 AM
Hi DavK. Unfortunately there can be a lot of 'well, that depends' in how you go about moving an application
to a new FieldPoint controller. The following is based on the assumption that you do not have the development
environment available; if you do, it is probably easier to just recompile targeting the new controller.
The exe is fairly easy:
1) ftp into the controller
2) cd to ni-rt\startup
3) rename startup.exe or startup.rtexe to 'something else'
4) delete 'something else'
5) ftp in the new startup.exe or startup.rtexe
6) ftp in any supporting files (i.e. for external calls)
7) in c:\ni-rt.ini set RTTarget.ApplicationPath=c:\ni-rt\startup\startup.exe (or .rtexe)
😎 in c:\ni-rt.ini set RTTarget.LaunchAppAtBoot=True
The .iak setting is probably easiest to re-create with MAX, rather than copy in.
The depends part comes in with how the I/O channels were named or referenced in the .exe. As long
as everything was done in a generic (consistent between controllers) way you could be ok.
My guess is that if you have trouble it will be here.
Hope that helps.
Matt
08-04-2009 10:44 AM
I agree that if there will be problems it will occur most likely when trying to apply the iak file.
Assuming that your cFP is already setup with the proper IP addresses, use the MAX and open your iak file. Go to 'My System - > Data Neighboorhood - > Field Point Items' and hit 'Open'. Make sure that your system IP shows under 'Remote Systems' and turns active (light blue) after opening your iak file.
Before saving your iak file onto the cFP, I would make sure that all the cFP module configurations have loaded properly and there are no conflicts that need to be resolved. Go to 'Remote System -> YourIP address' and look for your cFP module (e.g. cFP-2120 @0 Bank). Click through each listed module and resolve any issue that the MAX comes up with. If there are any issues you will be prompted to use settings from the bank or file. Choose file.
Volker
08-04-2009 11:08 AM - edited 08-04-2009 11:08 AM
Hi DavK,
I was hoping you could please be a bit more descriptive of your Compact FieldPoint system. What controller(s) are you currently using? What controller(s) are you moving to? When you say you have the "Programs", do you mean that you only have the executable or do you have the VIs as well? What version of LabVIEW are you using?
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
08-04-2009 12:16 PM
DavK,
If you are doing a replication to the same hardware, this might help. http://zone.ni.com/devzone/cda/tut/p/id/3937