Hi *,
i have already posted this question in the thread "How to sweep string value?" , but i think i should be place my it in an own task:
i currently trying to access a dataset via the DAC.
my problem is the following:
in a dataset i have the results of a sweeped simulation.
what-function in data-display shows:
what(N1)
0 Dependency : [ind,Index]
1 Num. Points : [10, 101 ]
2 Matrix Size : scalar
3 Type : Real
N1 is the instance of numerical-sink
so in fact 10 sweeps with each 101 samples.
now i want to simulate over these 10 sweeps again.
by the help of the numeric-source element i get access to the different sweep results (N1[0,::]....N1[9,::])
but its is very uncomfortable, because i wanna use this with different dataset, and these datasets have different count of sweeps.
in the data-sheet the function sweep-size gives me the number of sweeps, but in the design i was till now not successfull to use this function anyway.
my idea was now to get out the number of sweeps of the dataset by the help of the DAC.
is this possible? - in which way?
thanks for your help
i have already posted this question in the thread "How to sweep string value?" , but i think i should be place my it in an own task:
i currently trying to access a dataset via the DAC.
my problem is the following:
in a dataset i have the results of a sweeped simulation.
what-function in data-display shows:
what(N1)
0 Dependency : [ind,Index]
1 Num. Points : [10, 101 ]
2 Matrix Size : scalar
3 Type : Real
N1 is the instance of numerical-sink
so in fact 10 sweeps with each 101 samples.
now i want to simulate over these 10 sweeps again.
by the help of the numeric-source element i get access to the different sweep results (N1[0,::]....N1[9,::])
but its is very uncomfortable, because i wanna use this with different dataset, and these datasets have different count of sweeps.
in the data-sheet the function sweep-size gives me the number of sweeps, but in the design i was till now not successfull to use this function anyway.
my idea was now to get out the number of sweeps of the dataset by the help of the DAC.
is this possible? - in which way?
thanks for your help
Let me first try to describe in my own words what you are trying to do so that you can confirm I understand your problem.
1) You have swept data from some simulation (lets call it A).
2) The number of swept points can be arbitrary.
3) You want to read the swept data in another simulation (lets call it B).
4) Simulation B is also a sweep simulation.
5) Each sweep point in simulation B needs to read the data generated from a single sweep point in simulation A.
6) Since the number of sweep points in simulation A can be arbitrary you need a way to retrieve this information automatically from the dataset so that you can set the number of sweep point in simulation B.
I am a very novice user of the DAC but I do not believe you can use expressions like sweep_size with it. You might want to try the following instead.
In simulation A, create a variable NumSweepPoints and save it to the dataset (using Output Tab of DF controller). The value of this variable should be constant and equal to the number of sweep points. Then in simulation B use DAC and try to read the value of NumSweepPoints.