Home Forums SYSTEM Save the eye diagram as image using component script Reply To: Save the eye diagram as image using component script

#86246

Could anyone who is familiar with scripting help me pls. I’ve tried to write component script in eye diagram analyzer to autosave eye diagram as image during sweep. The script code I tried with is:
Dim ThisComponent
Set ThisComponent = GetThisComponent()
Dim FSO3
Dim resMgr3
Dim res3

Set FSO3 = CreateObject(“Scripting.FileSystemObject”)

‘Set resMgr3 = ThisComponent.GetGraphMgr
Set res3 = ThisComponent.GetGraph(“Eye Diagram”)
res3.Save “D:\EyeDiagram.bmp”

I’m getting this error on running evaluate script.
VB Scripting: ‘Microsoft VBScript runtime error’ Line: 64 ,Char: 0, ‘Object doesn’t support this property or method: ‘Save”

Categories