LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

statecharts

J'ai commencé à travailler avec les statecharts avec LabVIEW, c'est un projet déjà fait et il faut que je le comprends pour le remettre à niveau. Le problème c'est que j'ai fait une petite modification et quand je veux générer le code il y a une erreur: 

Error 1000: The VI is not in a state compatible with this operation

J'éspere votre aide!

Merci par avance.

0 Kudos
Message 1 of 2
(2,539 Views)

Hi Estibably;

 

If I understand correctly your statechart was working fine, and then after a modification it stoped doing so.

Since I don't have your statechart file or your subVIs, I will do my best to figure out what's wrong; if you can, please attach all your code so the community can work on it

 

You usually see this error code when the subVI required information does not comply with the one it has been given. So I am guessing you mofidies the order of the steps or a transition. A common mistake is to transit from Safe to Idele to Termination directly; instead of using a separate trigger to stop.

 

A couple useful links that could help you with the Statechart module:
• How Transitions work: 
• How a state is defined in LabVIEW:

Tutorial: Creating an asynch statechart

 

Hope this helps. 

 

BTW.. please try not to duplicate your posts; it makes it harder to track different answers
Post1

Post2

 

Cheers

0 Kudos
Message 2 of 2
(2,501 Views)