LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
George Gall

Radix to be selectable in Probe View Window

Status: New

Maybe it already is but i couldn't find it. If it is then perhaps someone would let me know. if it isn't, as I suspect, here's my idea.

 

When debugging a program that manipulated a lot of U8's recently I became exasperated by the fact that the probe view window would only display the values of say an array of U8's as a list of decimal numbers. The documentation for the algorithm I was implementing was written entirely in Hex with lots of tables of expected 64-bit numbers printed as Hex strings. Checking between the displayed decimal values and the Hex tables was really tedious and confusing. In the end I gave up using the probe window and created new indicators set to hex. This required quite a bit of reorganisation of the code, which would have been avoidable if the probe window allowed radix changes. This would ideally be on a pre probe basis since some probes will need to be in decimal perhaps whilst others are in hex or binary or whatever.

An option to display an array of booleans as as a hex or other number would have been helpful too.

4 Comments
PhillipBrooks
Active Participant

You can use custom probes to customize the view.

 

Select the wire you are interested in and select Custom Probe-> U8 with History. You can see each value, and you can select and change the radix on the fly.

 

Creating Custom Probes

 

History Probes

 

 

kegghead
Member
I've been using custom probes to do this for so long I forgot it still wasn't a default feature. Yore right though, its pretty ridiculous that default probes are stuck in decimal.
Kapur
Member

Here is a free LabVIEW add-on that creates the Custom Probe for you. Custom Probe--> Saphir- Numeric Display. Please type %b in Format field to display binary.
VI Box Probes - SAPHIR  

TomOrr0W
Member

The conditional numeric and string (custom) probes that ship with LabVIEW have this functionality.

The built-in conditional numeric and string probes only exist for certain types, however.  As of LabVIEW 2018, we are missing:

 

(scalar)

     Complex Extended

     Complex Double

     Complex Single

     Fixed Point

(1D array)

     (all missing scalar types)
     Extended
     Single

     I16
     I8

     U16
     U8
     String
(2D+ Array)
     (All Types)