Dataflow Conflict appearing on the front panel

Post beginners questions here. Don't be ashamed starting stupid topics.
Ответить
Bombbooo
beginner
beginner
Сообщения: 27
Зарегистрирован: 19 мар 2012, 16:03
Версия LabVIEW: 2010
Контактная информация:

Dataflow Conflict appearing on the front panel

Сообщение Bombbooo »

Hello it's me again :wink:

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
Вложения
Values Measurement 1-main(1chart) (2).vi
(68.34 КБ) 251 скачивание
selecting data to plot.vi
(29.77 КБ) 267 скачиваний
selecting data to save.vi
(29.83 КБ) 262 скачивания
unit selection.vi
(18.1 КБ) 258 скачиваний
value sending desicion.vi
(24.96 КБ) 249 скачиваний
Bombbooo
beginner
beginner
Сообщения: 27
Зарегистрирован: 19 мар 2012, 16:03
Версия LabVIEW: 2010
Контактная информация:

Re: Dataflow Conflict appearing on the front panel

Сообщение Bombbooo »

1 more sub vi
Вложения
WriteDataToFile.vi
(23.63 КБ) 248 скачиваний
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
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

Сообщение mzu2006 »

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).
Bombbooo
beginner
beginner
Сообщения: 27
Зарегистрирован: 19 мар 2012, 16:03
Версия LabVIEW: 2010
Контактная информация:

Re: Dataflow Conflict appearing on the front panel

Сообщение Bombbooo »

Thanks it worked perfectly :)
Ответить
  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «For beginners»