LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

isi t possible to use multiple VIs with state chart module

Solved!
Go to solution

Hi,

I'm trying to make an application using state chart module and I have to use at least to VI that I've developped. I'm having problems when I want to define inputs before creating different states. All my VI's have stop buttons and the I/O that I must use. I have the same problem with the outputs. As seen as I can not define the I/O (moore type machine) I can not neither define the guards and the actions that the state machine has to fallow.

 

Do you have an idea if we can use multiple VI with that module or do I have to use the old good case+while state machine technique.

 

Thanks.

0 Kudos
Message 1 of 4
(2,420 Views)

Your description sadly does not tell me your problem.

Do you use the VI you mentioned as subVI within two different State Charts? Or do you use the same State Chart in two different applications?

 

Could you please clearify this?

 

thanks,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,407 Views)

Sorry hard day at work.

 

I would like to use two different subVIs in the same machine. One of the subVIs will write data (only numbers) on a worksheet ant the other will read the written data(numbers again).

 

 

0 Kudos
Message 3 of 4
(2,403 Views)
Solution
Accepted by topic author OzBdx

Sure this is possible.

Statechart Code.png

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,387 Views)