|
AVAVISLOAD.OMS
Script File:
# AVAvisLoad.oms
# Automation Server: Intel Array Viewer
# Load a file to ArrayViewer using Avis.AvFileloader object
# From Array Viewer sample, example_1.vbs
cocreate("Avis.AvFileLoader");
fileName = [OM_INSTALL, "\example\automation\craterlake.h5"]
if not exists(fileName) then stop "Missing Test Data file"
print "Loading: ", fileName
coinvoke("Load", fileName)
codispsave("Avis.Root", "Root") # save IDispatch* for Root object to ID Avis.Root
cocreate("ArrayViewer.Document")
codispset("RootGroup", "Avis.Root") # Set ArrayViewer.Document.RootGroup to saved IDispatch
copropput("Visible", 1)
Output:
|
|