Dec 10, 2021 #1 C circuitking Full Member level 5 Joined Jan 8, 2018 Messages 291 Helped 1 Reputation 2 Reaction score 1 Trophy points 18 Activity points 2,503 Hi I want to set initial values for the below signals. I wrote code using FOR loop. Does the below code snippet work fine to set all these signals to the given values? Code: for( IR 0 1 for( IM 0 7 for( IC24 0 7 converge( 'ic "/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net020<0:23>" "1.2" ) converge( 'ic "/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net019<0:23>" "0" ) ))) For plotting these signal, I worte something like this. Code: for( IR 0 1 for( IM 0 1 for( IC24 0 1 plot(getData("/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net019<7>") getData("/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net020<7>") ) ))) seems like I am doing something wrong...... I guess, because these variables are inside quotes (" ") I don't see an any output
Hi I want to set initial values for the below signals. I wrote code using FOR loop. Does the below code snippet work fine to set all these signals to the given values? Code: for( IR 0 1 for( IM 0 7 for( IC24 0 7 converge( 'ic "/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net020<0:23>" "1.2" ) converge( 'ic "/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net019<0:23>" "0" ) ))) For plotting these signal, I worte something like this. Code: for( IR 0 1 for( IM 0 1 for( IC24 0 1 plot(getData("/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net019<7>") getData("/I20/IRAM<IR>/IMatrix<IM>/IColumn24<IC24>/net020<7>") ) ))) seems like I am doing something wrong...... I guess, because these variables are inside quotes (" ") I don't see an any output