Blog > Can Min, Max be specified in hex notation?

Home Forums ViewPort Can Min, Max be specified in hex notation?

This topic contains 2 replies, has 2 voices, and was last updated by  Hanno .

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12390

    Anonymous

    I have looked but cannot find if a hexadecimal number can be used in the configuration strings. I know you can specify base=16 and get hex numbers displayed but for setting up a scroll bar can you use hex notation for the min, max, and default values and if so what is the notation to enter it, max=?

    #12391

    Anonymous

    Here is the config string I am using now and it works but I have to specify the scroll bar settings in decimal.

    vp.config(string("var:v1(base=16,min=16777216,max=1073741824),v2,v3(base=16,min=805306368,max=1610612736),v4,v5,v6"))                          
    vp.config(string("lsa:view=v1"))                                                                                                               
    vp.config(string("dso:bgnd=yellow,view=[v4(offset=-56.8,scale=10),v5(offset=0,scale=10),v6(offset=50,scale=10)],timescale=10ms,ymode=manual")) 
    vp.config(string("edit:v1(mode=scroll,default=536870912.0),v3(mode=scroll,default=1342177280.0)"))                                             
    vp.config(string("start:dso"))                                                                                                                 
    vp.share(@PR_Kp, @YawOut)                                                                                                                      
    #12465

    Hanno
    Keymaster

    Sorry, currently you can only use decimal numbers in the configuration strings.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.