LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can not modify wire in LabVIEW 8.6 create with State Editor

I have a VI created using LabVIEW 8.6 that incorporates a State Editor diagram (not State Chart).  After working on the VI for several weeks, I created a new State.  Some of the shift registers were pre-wired (first time I have seen this).  The wires connecting to the tunnels that connected to the shift-registers could not be modified.  Any clues on how enable modifications of these wires.
0 Kudos
Message 1 of 4
(2,682 Views)

I don't have an 8.6 mahcine with the SDE on it but there were some new options added for shifrt registers in LV 8.6 that allow you to specify which tunnels get auto-wired.

 

So quoting from one of my bosses when he was teaching me LV basics I (about 9 years ago) "if in dought, right click" on one the tunnels. I suspect you will find something in the pop-up window that lets you specify how to handle your tunnels.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 4
(2,675 Views)

Blubell,

 

I have been able to recreate this with LV 8.6 and the SDE ( State Diagram Editor ) with the following:

1- Use the SDE to create a state diagram with several states. 

2 - Go the the block diagram and add a shift register to the outer while loop and wire through  case statement. 

3 - Right click the tunnel on the case statement and select 'Linked Input Tunnel>Create & Wire Unwired Cases'.  LV will go ahead and make the connections for you in the other case statements.  I guess its a new tool.  Unfortunately it is interacting with the SDE when you add another case and won't let you alter the connection for the new case.  It is locking this connection just like it locks several other things to the state diagram.

 

The cure appears to be this:

1 - Open the state diagram and delete the new case/cases. 

2 - Go to the block diagram and right click on the problem child tunnel and select 'Linked Input Tunnel>Clear'.  Now you should be able to go back to the SDE and add the new states.

Message 3 of 4
(2,664 Views)

Hi Centerbolt,

 

I did some quick tests and tried to check my history.  You had almost the complete solution is to clear the linkage before creating any new States with the State Diagram Editor (SDE) by right-clinking on the tunnel and selecting Clear.  There is an indicator mark on tunnels that are set for auto-linking.  Apparently, the interaction between the Auto-Linkage and SDE creates the situation that I encountered.  Since NI has replaced SDE with the State Chart add-on, I doubt this will ever be fixed.  Thanks for your help.

0 Kudos
Message 4 of 4
(2,652 Views)