er.akhilkumar
Full Member level 2
I am trying to use ncelab -generic option to pass a generic parameter with value at run time. I0 have been successfull in passing the vaue to a string parameter using the following command:
ncelab -generic "instance_path.string_parameter => \"hello\""
But when I am trying to pass value to parameter of type natural it is not happening. I am using following logic:
ncelab -generic "instance_path.natural_parameter => \"1\""
I have also tried:
ncelab -generic "instance_path.natural_parameter => "1""
ncelab -generic "instance_path.natural_parameter => 1"
ncelab -generic 'instance_path.natural_parameter => "1"'
ncelab -generic 'instance_path.natural_parameter => 1'
But when I am using -defparam option I am successfull in passing value to natural parameter but passing value to string parameter is not happening. I want both works to be done with one option either -defparam or -generic.
Have you got any idea what mistake I am making in doing this? Thanx.
ncelab -generic "instance_path.string_parameter => \"hello\""
But when I am trying to pass value to parameter of type natural it is not happening. I am using following logic:
ncelab -generic "instance_path.natural_parameter => \"1\""
I have also tried:
ncelab -generic "instance_path.natural_parameter => "1""
ncelab -generic "instance_path.natural_parameter => 1"
ncelab -generic 'instance_path.natural_parameter => "1"'
ncelab -generic 'instance_path.natural_parameter => 1'
But when I am using -defparam option I am successfull in passing value to natural parameter but passing value to string parameter is not happening. I want both works to be done with one option either -defparam or -generic.
Have you got any idea what mistake I am making in doing this? Thanx.