-
-
July 8, 2024 at 1:44 pmFatemeh SalahshooriSubscriber
Hi,
Â
I am using Python for scripting my simulation. I have simulated a waveguide using FDE and saved data using this commandÂ
FDE = lumapi.MODE()
data = FDE.copydcard("frequencysweep")
FDE.savedcard("data.ldf", data)Â
Now I want to load this ldf file in interconnect for the waveguide mode element. When i use the "loaddata" command I get this error 'Unsupported data type'
could you please tell me how can I load this file into the waveguide mode element in interconnect?
Thank you.Â
Â
-
July 9, 2024 at 9:45 pmKyleAnsys Employee
Hello, you can load the mode data into the MODE Waveguide Element by setting the "ldf filename" property of the element to the file path for the LDF file. You can do this through script with these commands:
intc = lumapi.INTERCONNECT()intc.addelement("MODE Waveguide")
intc.set("ldf filename", "data.ldf")
-
- You must be logged in to reply to this topic.
-
461
-
220
-
194
-
177
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.