LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combine two programs

See attached
Tim
GHSP
0 Kudos
Message 11 of 24
(1,061 Views)
Ok I put a while loop around but it has made no difference.
0 Kudos
Message 12 of 24
(1,056 Views)

Well I put a while loop around it but it has made no diference.

 

 

0 Kudos
Message 13 of 24
(1,056 Views)

sorry about the double post I didnt realise it went to the next page.

 

I tried your one as well and still it doesnt work.

 

 

0 Kudos
Message 14 of 24
(1,054 Views)

When I run the LDRU on its own as a sub vi it works.

but not inside directions

0 Kudos
Message 15 of 24
(1,050 Views)
It looks like to me that the vi is running. You have it shut down on error. I do that I am getting errors when I run the vi. I would expect that the code is exicuting differently as a VI and is causing and error that causes the sub vi to shut down. Turn on the light bulb on the sub vi and watch it exicute when you start the direction vi. I bet you are going to see an error on one or multiple loops. This goes back to what I said earlier about changing your code to use the events verses try to do everthing at once. I am heading to lunch I will try and give you a hand getting started when I get back.
Tim
GHSP
0 Kudos
Message 16 of 24
(1,037 Views)

thanks for your help

I will have to continue this tomorow.

0 Kudos
Message 17 of 24
(1,029 Views)
Here is the start of what I am talking about. I know it is complicated but it will make your life easier if you learn what is going on.
Tim
GHSP
0 Kudos
Message 18 of 24
(1,013 Views)
Feel Free to ask questions. That is how we learn. I have used Strict Type Defs for the FIFO and the main cluster. This makes it easier to add things with out having to change your code significatly.
Tim
GHSP
0 Kudos
Message 19 of 24
(1,014 Views)

Thanks but it seems you forgot to save the last direction vi as a LabVIEW 8 file. I can't wait to see it.

 

 

0 Kudos
Message 20 of 24
(996 Views)