What does this mean when writing the fixture library

Welcome to the Avolites Personality Builder Forum.

Moderator: Moderators

xixi123
Posts: 3
Joined: 27 Dec 2021, 11:09

What does this mean when writing the fixture library

Postby xixi123 » 27 Dec 2021, 11:45

What is the purpose of drawing red lines on the map when writing the light library?

Image

Text only(0dp)
Value (0dp)
Value (1dp)
Value (2dp)
Percentage (0dp)
Percentage (1dp)
Percentage (2dp)
1 Off (0dp)
Degrees (0dp)
Degrees (1dp)
Seconds (0dp)
Frequency Hz (1dp)


When are these used? What is the difference?
User avatar
niclights
The eManual
Posts: 4442
Joined: 24 Sep 2004, 01:06
Location: UK

Re: What does this mean when writing the fixture library

Postby niclights » 27 Dec 2021, 14:10

Display Type determines units (if any) and resolution (dp = decimal points) to be used in conjunction with the range start/end values for the associated function in various parts of the software.

For example a function called Dimmer with DMX start 0, DMX end 255, display type Percentage 0dp, range start 0 and range end 100 will be shown as 'Dimmer 0%' (= DMX 0) -> 'Dimmer 100%' (= DMX 255). The same properties but with display type Percentage 1dp would be shown as 'Dimmer 0.0%' -> 'Dimmer 100.0%'. Or Frequency 0dp would be shown as 'Dimmer 0Hz' 0 > 'Dimmer 100Hz'. Display type 'Value' will not have a unit suffix and Value 1dp would be show as just 'Dimmer 0.0' -> 'Dimmer 100.0'. Display type 'Text Only' is a special type that is not variable and ignores the range values. In this case the value output will be the mid point between DMX start and DMX end values.


I am not sure I understand what you mean by 'red lines on the map'. Perhaps you could provide an example?
xixi123
Posts: 3
Joined: 27 Dec 2021, 11:09

Re: What does this mean when writing the fixture library

Postby xixi123 » 28 Dec 2021, 11:32

For example, in the figure below, there are several sub-attributes in my attribute. What I want is to go to a certain value range of Dmx and then a certain attribute will appear. How do I set my ‘’Display type’’?
Because I really don’t know the difference between those options



Image

Image

Image
User avatar
niclights
The eManual
Posts: 4442
Joined: 24 Sep 2004, 01:06
Location: UK

Re: What does this mean when writing the fixture library

Postby niclights » 28 Dec 2021, 12:07

The 'sub-attributes' are called 'Functions' in Avolites.

A function represents the associated DMX start and DMX end range for that attribute. In Titan when you select that function it will then output the values on that channel according to the associated DMX start and end values.

If the display type for the function is set to 'Text Only' it will output the mid value between DMX start and end, otherwise it will output the value corresponding to the associated Range Start and End values. For example if a function has DMX start 0 and DMX end 255 with display type Percentage 0dp and range start 0, range end 100, selecting the function and setting it to 0% will output 0 on that channel. Setting it to 100% will output 255.

If, instead you defined the function with DMX start 255, DMX end 0 with display type Percentage 0dp and range start 0, range end 100, selecting the function and setting it to 0% would output 255 and 100% would output 0. Or, perhaps you might want to define a zoom range in degrees. For example DMX start 0, DMX end 255, display type degrees, range start 19, range end 60. Now the range in the console will be 19° to 60° where 19° = output DMX value 0 and 60° = output DMX value 255.

You may find it helpful to select the DMX Values tab at the bottom of the window which will reveal a page where you can view and edit all the functions and their properties together for the selected attribute.
xixi123
Posts: 3
Joined: 27 Dec 2021, 11:09

Re: What does this mean when writing the fixture library

Postby xixi123 » 28 Dec 2021, 12:16

hi
What is the difference between some options like "0dp" "1dp" "2dp"
User avatar
niclights
The eManual
Posts: 4442
Joined: 24 Sep 2004, 01:06
Location: UK

Re: What does this mean when writing the fixture library

Postby niclights » 28 Dec 2021, 12:29

'dp' = 'decimal places'.

For example:

0dp = x
1dp = x.x
2dp = x.xx

(where x is a value between range start and range end)

Note that currently the range start and range end value must be an integer (whole number). For example 0, 50, 100 etc. It cannot be 0.5 or 0.55 etc.

Who is online

Users browsing this forum: No registered users and 15 guests