Have You Seen Historian Lately?Click here to check out all the new features in the latest version.
Supercharge your Proficy solution! Download a free trial of Proficy Operations Hub, CSense analytics, and more. Learn more about the Proficy releases, by signing up for one of our upcoming events.
Using VBA to Return a List of Valid Field Options
About this task
Use VBA to determine which fields are available for an SDK object.
Procedure
Open Microsoft Visual Basic for Applications (VBA).
Ensure that you have selected the Historian Software Kit reference in the References window.
Select the Object Browser from the View menu.
Select Historian_SDK from the Library drop-down list.
Select an item in the Classes list to generate a list of valid fields for that item.
when you select ihCollectionType, you see a list of fields that includes Polled and Unsolicited.