Splitting data from arrays to plot
-
- beginner
- Сообщения: 27
- Зарегистрирован: 19 мар 2012, 16:03
- Версия LabVIEW: 2010
- Контактная информация:
Splitting data from arrays to plot
Hello, I would like to ask how to split data to plot. According to the attached file, I want to split each data. eEach No. (number) is assigned to each parameter. So it is Flow1, Flow2, Flow3, Pressure1, Pressure2, Pressure3. There will be 6 lines in the chart. I tried to use bundle but it came out only two lines for flow and pressure. I also want the user to be able to add the number of parameter; for example, Flow4 so Flow4 line will appear in the chart as the user modifies in the data mainstream.
- Вложения
-
- Values Measurement 1-main.vi
- (22.86 КБ) 274 скачивания
-
IvanLis
- guru
- Сообщения: 5463
- Зарегистрирован: 02 дек 2009, 17:44
- Награды: 7
- Версия LabVIEW: 2015, 2016
- Откуда: СССР
- Благодарил (а): 28 раз
- Поблагодарили: 87 раз
Re: Splitting data from arrays to plot
Insert Into Array FunctionBombbooo писал(а):Hello, I would like to ask how to split data to plot. According to the attached file, I want to split each data. eEach No. (number) is assigned to each parameter. So it is Flow1, Flow2, Flow3, Pressure1, Pressure2, Pressure3. There will be 6 lines in the chart. I tried to use bundle but it came out only two lines for flow and pressure. I also want the user to be able to add the number of parameter; for example, Flow4 so Flow4 line will appear in the chart as the user modifies in the data mainstream.
You have chosen a data structure is very unfortunate. To display multiple graphs on a Waveform Graph requires the same length of the source array, or use the XY Graph. You can choose to implement one of the parameters, as in my example.If you do not wire any index inputs, the function appends the new element or subarray to the end of the n-dim array.
Good luck! p.s. I am sorry by my English.
Знание нескольких принципов освобождает от знания многих фактов!
Правила форума
Как добавить в сообщение картинку или файл
Конвертация / версий (форматов) VI
Как правильно задать вопрос...
Правила форума
Как добавить в сообщение картинку или файл
Конвертация / версий (форматов) VI
Как правильно задать вопрос...
-
- beginner
- Сообщения: 27
- Зарегистрирован: 19 мар 2012, 16:03
- Версия LabVIEW: 2010
- Контактная информация:
Re: Splitting data from arrays to plot
Thanks for helping. Anyway your arrays look pretty complicated too me because I'm new to this program. As I tried to run your program, the graph didn't appear in the chart after I changed the values in the data mainstream. As I saw in your programming, you tried to program it so that the user can choose to show the graph by selecting the name and number on the moving tab. I'm not pretty sure how the big structure works.
The attachment is what I have got now. Could you please interpret your vi a little bit more? Thank you so much
The attachment is what I have got now. Could you please interpret your vi a little bit more? Thank you so much
- Вложения
-
- Values Measurement 1-main.vi
- (30.5 КБ) 291 скачивание