LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about debugging formula nodes

Hello,
 
  I have incorporated a formula node into a Labview VI and I would like to know what debugging capabilites exist for formula nodes. I can set a breakpoint, but are there any watch windows, etc that allow me to view the values of the "C" program variables that are defined within the formula window? The Probe points do not allow you to see the "C" variables in the formula windows.
 
Regards,
 
Kaspar
Regards,


Kaspar
0 Kudos
Message 1 of 6
(4,125 Views)
Hi Kaspar,

afaik you cannot probe inside a formula node.
IMHO it's usually better to code the same formula using LV functions from math palette. The code (IMHO) runs faster - and you can debug it easily Smiley Wink
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(4,118 Views)
Hi,

you could split it up into several formulas and probe or display the intermediate results.

Regards
Matthias
Message 3 of 6
(4,114 Views)
That would be nice, wouldn't it? Alas, it's not possible. Also, when you're setting a breakpoint you're actually setting a breakpoint on the whole formula node, rather than at a particula line inside the formula node.

You can submit a feature request if you'd like.
Message 4 of 6
(4,112 Views)

The feature to place breakpoints within C code and probing C variables would be very helpful. The other suggestion to break the code into bits & adding temp variables to check value at various point in the code is doable for smaller code. But its far too tedious when the application is large.

 

-Ram.

0 Kudos
Message 5 of 6
(3,882 Views)
You can now submit feature requests to the LabVIEW Idea Exchange where they can be voted on.
0 Kudos
Message 6 of 6
(3,873 Views)