Sub VI with while loops problem!!

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

Sub VI with while loops problem!!

Сообщение Bombbooo »

Hello, I tried to connect my main VI with the sub VI I got from the company. However the problem is; this sub VI has while loops inside which leads to the problem with data flow when I put it to my main VI. I want the output from this sub VI as a data main stream in the main VI. Do you have any ideas how to work around this? Hopefully I don't have to recreate my whole VI. :(
Вложения
Values Measurement 1-main(1chart) (2).vi
(73.52 КБ) 284 скачивания
sub vi.rar
Data_Read is the sub VI I talked about
(121.98 КБ) 293 скачивания
Аватара пользователя
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: Sub VI with while loops problem!!

Сообщение mzu2006 »

Which of them a sub-VI with while loops? Please, be more specific.
What problems with the dataflow are you talking about?
Bombbooo
beginner
beginner
Сообщения: 27
Зарегистрирован: 19 мар 2012, 16:03
Версия LabVIEW: 2010
Контактная информация:

Re: Sub VI with while loops problem!!

Сообщение Bombbooo »

In the sub VI zip file, Data_Read is the name of the sub VI that I want to connect to the data main stream in my main VI. As you can see inside this sub VI, the output is the array which will be the input in the main VI. This sub VI is from the company. It contains while loop that might be a big problem for being a sub VI. When I tried to connect it to my main VI, the dataflow was stuck because it was waiting for false boolean to switch off the while loop. Hope you understand! Thank you in advance
Ответить

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