Hello it's me again
My vi is almost done but I still have a problem with the front panel. I think it's about data flow conflicts in my vi.
When you run my vi, you will see the pop-up window to ask you about putting a file path, adjusting the units, selecting data to save and plot. Then you might want to change the units, turn on-off all light and ok buttons to choose which data you want to save. Then click RUN.
The problem is; supposedly all buttons are on as default, if you turn off some saving or plotting buttons for not choosing to save, then click RUN, after that all buttons are on again even though you turned them off before running. They should stay off if you didn't select to save them. The condition of the main data stream always goes back to be the same before running (only light and ok buttons).
Do you have any ideas how to solve this problem?
Thank you in advance
Dataflow Conflict appearing on the front panel
-
- beginner
- Сообщения: 27
- Зарегистрирован: 19 мар 2012, 16:03
- Версия LabVIEW: 2010
- Контактная информация:
Dataflow Conflict appearing on the front panel
- Вложения
-
- Values Measurement 1-main(1chart) (2).vi
- (68.34 КБ) 253 скачивания
-
- selecting data to plot.vi
- (29.77 КБ) 269 скачиваний
-
- selecting data to save.vi
- (29.83 КБ) 264 скачивания
-
- unit selection.vi
- (18.1 КБ) 260 скачиваний
-
- value sending desicion.vi
- (24.96 КБ) 251 скачивание
-
- beginner
- Сообщения: 27
- Зарегистрирован: 19 мар 2012, 16:03
- Версия LabVIEW: 2010
- Контактная информация:
Re: Dataflow Conflict appearing on the front panel
1 more sub vi
- Вложения
-
- WriteDataToFile.vi
- (23.63 КБ) 250 скачиваний
-
mzu2006
- doctor
- Сообщения: 2456
- Зарегистрирован: 16 авг 2008, 02:12
- Награды: 3
- Версия LabVIEW: 7.1 10 11 12
- Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
- Контактная информация:
Re: Dataflow Conflict appearing on the front panel
The problem is that you change MainDataStream values manually, but then after each event occurs you overwrite the MainDataStream.
Solution: Create an event case for MainDataStream: value change event, where you have to updata the data on your wire (shift register).
Solution: Create an event case for MainDataStream: value change event, where you have to updata the data on your wire (shift register).
Правила форума (Forum rules in Russian)
rm -rf /mnt/windows
rm -rf /mnt/windows
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
- 2 Ответы
- 647 Просмотры
-
Последнее сообщение Artem.spb