I am currently exploring the creation of a custom ActiveX control for PVP7 applications to export data in XML format. In my initial experiments, I managed to open a specific file and write predetermined text and tag details from the HMI. However, I encountered difficulties with inputting and managing dynamic string data, like using a filename provided in FTV Studio. I would appreciate any guidance or insights from individuals with relevant experience in this matter. Thank you.
Although this information may be outdated, it could provide valuable insight into troubleshooting code issues. It's important to remember that an ActiveX control that functions properly on your computer may not necessarily work on a PanelView. In the past, developers had to compile two separate versions of their application - one for their development PC and another for the PanelView device. Additionally, remember to register the ActiveX control on the PanelView before deploying your application.
Have you considered using the scripting capabilities of FTV Studio to handle the dynamic inputs? You can use these to dynamically create the filename you'd like and pass it to your ActiveX control. Another point you might explore is buffering the data you want to export as a string variable in the control. You could then only write to XML once the sequence is completed, offering a more efficient process management.
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: - To handle dynamic string data like filenames from FTV Studio, you can utilize parameters in your ActiveX control that can be updated dynamically. This way, you can pass the necessary data, such as filenames, from the HMI to the ActiveX control for processing and exporting in XML format.
Answer: - It is recommended to design your ActiveX control with flexibility in mind, allowing for dynamic data inputs and updates. Consider using properties or methods that can receive and process different types of data, ensuring that your control can adapt to varying requirements and scenarios.
Answer: - You can explore online tutorials, forums, or documentation related to ActiveX control development and XML data manipulation. Additionally, examining sample projects or seeking guidance from experienced developers in the field can provide valuable insights and assistance in your custom control creation process.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.