Logos Items Deleted After Rebooting FieldPoint RT ControllerPrimary Software: LabVIEW Modules>>Real-Time ModulePrimary Software Version: 6.0 Primary Software Fixed Version: N/A Secondary Software: Utility Software>>Measurement & Automation Explorer, Driver Software>>NI-FieldPoint
Problem: I have an RT VI that I run while targeted to my FieldPoint RT controller. This VI creates several Logos items which can then be accessed from elsewhere. I have a host VI running targeted to Windows that reads from and writes to these Logos items. Sometimes when I run the host VI, it doesn't read or write any values properly and I don't receive any errors. When I try to monitor the Logos items in MAX, all the values are 0.00, and the status of the items say: The module or item addressed does not exist.Why does this happen? It seems as though if I run the RT VI which creates the Logos items, everything works again. How come MAX can detect the Logos items, but I cannot read or write to them? Solution: The reason you are seeing this behavior is because you probably either rebooted the FieldPoint controller or cycled the power on it. When the controller is rebooted, the Logos server running on it loses all the Logos items. You have to recreate them in order to be able to access them again. The reason MAX shows you those items, as if they still existed, is because the IAK file on your PC still has them listed. If you delete the items configuration of the controller in MAX and do Find Devices again, you will see that the Logos items will not reappear if you have recently rebooted the controller. So that is why when you run the RT VI to create the Logos items again, everything works. To avoid this situation in the future, you should consider using a startup VI on your controller that creates these Logos items. So if you reboot your controller, the items will get recreated upon booting up. You can also have an initialization part in your RT VI that creates these Logos items before rest of the code is executed. Related Links: Attachments:
Report Date: 04/08/2004 Last Updated: 12/05/2004 Document ID: 387GP1DS |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
