Automatically Creating and Binding Shared Variables to OPC ItemsPrimary Software: LabVIEW Modules>>DSC ModulePrimary Software Version: 8.5.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a large number of OPC Items that I would like to access in LabVIEW. I have created an OPC client in my project explorer using the LabVIEW DSC module (see the Related Links for more information), but now I want to bind shared variables to these items. I know that I can manually create and bind each individual shared variable, but is there a way that I can automatically create and bind shared variables for each OPC item? Solution: Yes there is the option for a library in a LabVIEW project to automatically create and bind shared variables to all of the OPC Items that you select. Below is the process to accomplish this:
Related Links: KnowledgeBase DIRECT-45GPMH: How Do I Use OPC in LabVIEW Product Manuals: Batch Variable Creation Dialog Box Attachments:
Report Date: 09/04/2008 Last Updated: 01/07/2009 Document ID: 4P396DKG |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

