QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: Eli on July 8, 2016, 17:41

Title: Conductance as a function of gate potential .py sample
Post by: Eli on July 8, 2016, 17:41
Hello Everybody,
I have a problem with a ready sample in the Quantomwise tutorials.
In the below link and attached file, there is a py file for generating Conductance as a function of gate potential for a transistor.
http://docs.quantumwise.com/_downloads/conductance_diff_gate.py
But when I try to run it in my VNL program, the below error has stopped my analyzing.
 File "c:\users\hosein\appdata\local\temp\3510482093326138.py", line 19, in <module>
    object_id="trans"+str(gate_voltage_list[n]))[0]
IndexError: list index out of range
NanoLanguageScript execution failure

So, Please if someone has an idea, I would be appreciated to help me.
Title: Re: Conductance as a function of gate potential .py sample
Post by: Petr Khomyakov on July 11, 2016, 00:41
I have checked the script. It works for me. What version of VNL-ATK are you using?
Title: Re: Conductance as a function of gate potential .py sample
Post by: Eli on July 11, 2016, 22:11
Hi
My VNL version is 11.2.
Do you think it is very old?
Title: Re: Conductance as a function of gate potential .py sample
Post by: Anders Blom on July 11, 2016, 22:45
Yes, it is very old, and support has expired. Almost all tutorials are written for 2014, 2015 or 2016 versions. You can maybe get it to work if you know Python a bit, and compare to the Reference Manual (included in your installation package, I think, maybe). But 11.2 is really old, even 11.8 would have been a lot different...