LabVIEW 8.x FieldPoint Executable Not WorkingHardware: Compact FieldPoint, FieldPoint
Problem: I built an application in LabVIEW 8.0 or 8.2 that will run on a host computer and access a FieldPoint unit. I configured the FieldPoint in my project. The application worked before I built it into an executable. After building the VI into an executable the application stopped working. What happened? Solution: If you drag a FieldPoint IO Point from the LabVIEW Project Explorer into a VI the IO Point references the current project's iak file. However, when a VI is built into an executable it no longer belongs to the project and this link to the iak file is broken. As a result the built application uses the default FieldPoint configuration specified in Measurement and Automation Explorer. To get the executable to run correctly you have two options:
After building the VI into an executable the application should continue to work. However, the iak file must remain at the same location that you specified in the configuration for the FieldPoint IO Point. If you are moving the executable to another computer the iak file must be located at the same absolute path on the deployment computer(i.e. Development computer iak file path = Deployment computer iak file path) You do not need to include the iak as a source file but must assure that the file is in the correct location on the deployment machine. Related Links: KnowledgeBase 19HBJ2LK : Creating a FieldPoint Executable in LabVIEW or LabWindows/CVI KnowledgeBase 3ELE42EJ : FieldPoint Executable Cannot Find .IAK File Attachments:
Report Date: 08/29/2006 Last Updated: 08/06/2007 Document ID: 40SCUSVF |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
