Author Topic: ivcurve error  (Read 1990 times)

0 Members and 1 Guest are viewing this topic.

Offline rahulprajesh

  • Regular QuantumATK user
  • **
  • Posts: 23
  • Reputation: 0
    • View Profile
ivcurve error
« on: March 10, 2011, 04:31 »
hello Sir,
i'm getting this errror . what is the problem. ?
Traceback (most recent call last):
  File "xyz_iv.py", line 59, in ?
    current_number_of_points = 100
  File "ivcurve.py", line 80, in runIVcurve
    if processIsMaster(): f.addToSample(current,sample_name,'Current at %s V bias' % voltage.inUnitsOf(Volt))
TypeError: addToSample() takes exactly 3 arguments (4 given)

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5416
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: ivcurve error
« Reply #1 on: March 10, 2011, 11:17 »
Which version of ATK are you using? I'm not sure, it's so long ago, but I think the "label" keyword was not available in earlier versions like 2008.02. If so, you will have to settle for
Code: python
if processIsMaster(): f.addToSample(current,sample_name)
« Last Edit: March 10, 2011, 11:18 by Anders Blom »