I want to integrate each element of a 1D array (in a Control&Simulation Loop).
With the Integrator.Vi i get the following error:
"Error - 2318 occured at Integrator in .../Control&Simulation Loop
Possible reason(s):
Control Design and Simulation: The dimension of the parameter vectors of this functiuon do not match."
The input is a 1D array with a 1x78 structure. I want to have each element integrated for his own so that i also get a 1x78 structure as result.
Is this possible with this vi? Or has anyone a suggestion how to solve this problem?
I have also tried it with the numeric integration.vi but this gains only a single value (result).
How to integrate each element of an 1D array for its own?
-
- interested
- Сообщения: 6
- Зарегистрирован: 12 авг 2014, 12:39
- Версия LabVIEW: 13.0f2
-
mzu2006
- doctor
- Сообщения: 2456
- Зарегистрирован: 16 авг 2008, 02:12
- Награды: 3
- Версия LabVIEW: 7.1 10 11 12
- Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
- Контактная информация:
Re: How to integrate each element of an 1D array for its own
While using CD&SIM, each numerical value is a signal in time, so attempting to integrate an array means that you have 78 independent signals in time. Is it correct? I am hinting at maybe CD&SIM usage is not the best choice for the problem you are trying to solve.
Правила форума (Forum rules in Russian)
rm -rf /mnt/windows
rm -rf /mnt/windows
-
- interested
- Сообщения: 6
- Зарегистрирован: 12 авг 2014, 12:39
- Версия LabVIEW: 13.0f2
Re: How to integrate each element of an 1D array for its own
Yes, thats correct. I have placed the integrator.vi in the Control&Simulation Loop because it must be placed in a loop and i am already using the Control&Simulation Loop for the state space.vi which can only be placed in this loop.
-
- interested
- Сообщения: 6
- Зарегистрирован: 12 авг 2014, 12:39
- Версия LabVIEW: 13.0f2
Re: How to integrate each element of an 1D array for its own
here is the .vi
- Вложения
-
- State_Space_5_8b.vi
- (282.48 КБ) 247 скачиваний
-
mzu2006
- doctor
- Сообщения: 2456
- Зарегистрирован: 16 авг 2008, 02:12
- Награды: 3
- Версия LabVIEW: 7.1 10 11 12
- Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
- Контактная информация:
Re: How to integrate each element of an 1D array for its own
For this particular case, you can select a polymorphic instance of the integrator in the configuration box (double click on the integrator icon). One of the selections is "vector"
I am still not convinced you need to use the CD&SIM functionality.
I am still not convinced you need to use the CD&SIM functionality.
Правила форума (Forum rules in Russian)
rm -rf /mnt/windows
rm -rf /mnt/windows
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
- 2 Ответы
- 500 Просмотры
-
Последнее сообщение Artem.spb
-
- 5 Ответы
- 269 Просмотры
-
Последнее сообщение AndreyDmitriev