11-17-2006 04:04 PM
11-20-2006 12:22 PM
11-27-2006 09:49 AM
Charlie,
Sorry I didn't respond sooner - I was on vacation...
First, I'm using LV7.0 on machines running Win2K. I had to upgrade from MAX 3.0.2 (?) to Max 4.0 to get the proper Fieldpoint drivers (FP5.0) that would let me use a cFP-2020 in my latest project.
The company has standardized on using FP2010 & cFP2020 controlers here, even though my projects don't run the FP code in the processor in RT...it's run on as an EXE on a locally connected PC.
For one of my previous projects, (before the upgrade to MAX 4.0 with FP 5.0 drivers), I built an EXE for use as above & it works fine. Since the upgrade to MAX 4.0 with FP5.0 drivers, if I build an EXE from the same sourcecode, the EXE will not communicate with the Fieldpoint I/O. If I go back to the old EXE, it works fine. All I can think of is that the Item Names were downloaded to the FP-2010 with the previous version of MAX. (in MAX, Tools->Fieldpoint->Download Item Names on Save).
The locally connected PC's that are connected to the Fieldpoint systems are also connected to the plantwide network via a seperate NIC. I store the EXEs they run on the plant server. I program the LV code & build the EXEs on my desk. To do a "Tools->Fieldpoint->Download Item Names on Save" I'd have to be at the PC on the shop floor, since MAX on my desktop won't "see through" the PC that's locally connected to the FP installation to the FP processor.
So, if I could add something to my LV code that would do a "Download Item Names on Save" when the EXE was run, it would save trips to the shop, as well as assuring that everything was running with compatable versions.
Another thing that would help is if there was something I could put in my code that would commision a new FP controller...that way if one failed, our Mainetnance department could put in a fresh one, start the EXE, and not have to call me.
Thanks,
Mike
11-28-2006 01:11 PM