This example shows you how to import an array from LabVIEW into a DIAdem channel, create constant lines on the graph in REPORT for an existing layout for each value in the array, and then output the REPORT layout to LabVIEW to be printed.
Here is a snippet of the VB Script:
For counter = 1 To ChnLength("MyData")
name = "MyConstant" + CStr(counter)
Call GraphObjNew("2D-Curve", name)
D2CCurveType = "Constant"
D2CConstX = ChnVal (counter, "MyData")