LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Statechart debugging window won't pop up when "debug statechart" is clicked.

I wrote a realtime statechart to communicate with my Labview FPGA accelerometer driver. The statechart is set to have debugging enabled, and all of its sub VIs are non-reentrant and set to be debuggable as well.

 

When I right click the "Run statechart" icon in my caller vi, the "debug statechart" option is available (not greyed-out) and enabled. However, clicking it does nothing. No debugger window pops up. What's interesting is that the debugger window pops up just fine for the labview statechart tutorial that I did previously (the one in the help documentation examples), regardless of whether I configure it for realtime or for my computer.

 

I've attached my statechart (A351_statechart), realtime caller/host (A351_Caller.vi), and all of the subvis/typedefs my statechart uses in its actions/guards, including the FPGA vi (EPSON_MA351_ACCEL_FLT). I know this is a tricky problem to solve due to complexity -  please let me know if I can provide any additional information. I'd like to fix and use this statechart since I put so much work into it, but I'll be forced to refactor my code to use a regular state machine design pattern if I can't debug this soon. Thank you!

0 Kudos
Message 1 of 3
(2,918 Views)

Iamburitto,

 

I opened up the code you attached and it seems like it is missing a few subVIs. I noticed that your statechart had a magnitude of errors, but I was unable to tell if this was due to the missing VIs or if there is a larger problem with the statechart itself. It's possible that there are errors in your statechart that are causing the debugging window to not open. Again, I have no way to confirm this due to the fact that I can't find the root cause of the errors.

0 Kudos
Message 2 of 3
(2,876 Views)

Hi,

 

I'm sorry, I thought I included all sub vis, but I must not have. The statechart has no errors in my project. I'll go ahead and attach the whole project here, I was just trying to make it simpler to look at. The only important problem to me is that I cannot debug my A351_statechart by right clicking the "run statechart" vi in A351_HOST and selecting "debug statechart".  You should see nothing happen when you try it. 

 

Thank you for taking the time to look.

 

 

0 Kudos
Message 3 of 3
(2,865 Views)