12-03-2007 07:21 AM - edited 12-03-2007 07:23 AM
12-03-2007 08:23 AM
12-03-2007 02:11 PM
12-03-2007 03:45 PM
Have you saved the iak file when you add the elements to the configuration file? If you do not, you will need to add the items each time to Max.
Suggestion, I give a specific name to each of the elements in the fieldpoint name. That way, I do not have to continue reconfiguring the devices. for example:
Module 1 room_1
temp_0 (for 1 module set)
Module 2 chase
temp_0
temp_1 for 2 temperature modules associated with the device.
Then you can refer to the individual items as
FieldPoint\\chase\\Temp_1\\Channel 4
or
FieldPoint\\chase\\Temp_1\\All
This probably will return an array of temperatures.
12-04-2007 02:44 AM
12-04-2007 08:26 AM
You have to explain a bit more when you say remove and replace the fieldpoint. In my particuliar application, I do not even have the Fieldpoint defined within he VI. Only during run-time are they defined.
You will need to add Fieldpoint as an additional installation item.
12-04-2007 08:47 AM
12-04-2007 10:46 AM
12-13-2007 05:17 AM
12-13-2007 10:05 AM
In the devlopment station, when you open Max there is a Data Neighborhood. Under there, you will see the Fieldpoint definitions that the program will use to fetch the data. If you notice, there is a xxx.iak file that is defined in it. Save that file to a location you have access to and include it in your build operation. On the run time system, open Max and use the file for your fieldpoint definition (use Max and open the file). You can open the file in any location. I suggest that you place it in the same direcotory of your executable instead of the default location.
If it is part of your installation (keep it in the same location all the time). When you update the file, build the installation, and install on your target machine, this file will be installed and used by Max. As I mention, if you access the channels by name, you do not have to do very much. In my particuliar case, I have the channel names defined in a configuration file. That way if the modules change, I just change the configuration file and I am done.