Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Err handling in HFSS via vbscript

Status
Not open for further replies.

hiteshmodi04

Newbie level 2
Joined
Apr 11, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
vbs err

I am running vb script in HFSS to set a required coupling between two cavities. It solves well.
but some time an error occurs that is "Eigen mode solution process died unexpectedly".

I want when this error occurs, my vbscript recognizes this and acts accordingly................

so basically i want to know :- Is there any method in scrpit through which script can identify which type of error has occured in HFSS.




PLZ HELP ME ANY ONE
 

reidintransit

Full Member level 4
Joined
Sep 28, 2009
Messages
216
Helped
61
Reputation
124
Reaction score
60
Trophy points
1,308
Location
usa
Activity points
2,457
Re: vbs err

Yes, although error handling in VBScript is clunky. On error resume next turns on error handling, On error goto 0 turns error handling off.

on error resume next
' Your code Here
If Err.Number <> 0 Then
errorInfo = "Error: " & Err.Number & "Error (Hex) " & Hex(Err.Number) & _
"Source: " & Err.Source & "Description: " & Err.Description
Err.Clear
MsgBox(errorInfo)
End If
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top