Home › Forums › SYSTEM › Save the eye diagram as image using component script › Reply To: Save the eye diagram as image using component script
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
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)