This is the configuration for the Analogue Input Ports as well as an example below:
Code:
>>AI_INPUTS
#STARTNEW#
#NAME#RAW VOLTAGE
#TYPE#VOLTAGE
#SETTINGS#CELCIUS
#VIDPID#vid_04d8&pid_000c
#IMAGESTATIC#\Images\BMV2_Button.gif
#SIZE#190,50
#LOCATION#80,350
#SHOWTEXT#true
#PAGE#0
#PORT#0
#TXTCOLOUR#LightGray
#BORDERSIZE#0
#FONT#Arial Narrow;18;BOLD
#PLOTLENGTH#100
#ENDNEW#
<<END
#NAME#Text to Appear
The Text To Appear is what appears on the button over the image. For example have textual buttons as well as or instead of all graphical buttons/icons.
#TYPE#ACCELEROMETER|PHOTOELECTRIC|PHOTOELECTRIC|PO TENTIOMETER|TEMPERATURE|VOLTAGE
The type of the sensor connected to the port. Used to determine how to parse the SETTINGS area.
#VIDPID#vidpid
If you use multiple firmware versions, then you need to change this. Default is vid_04d8&pid_000c
#IMAGESTATIC#path
#IMAGESTATIC# is the image to display for the input. Follows the same rules as the background image in the main section. The root folder is determined as the folder that the program was launched out of. So if you launch the program from C:\Fusion and have your images in C:\Fusion\images\button1.jpg then path would be \images\button1.jpg
#SIZE#width, height
#LOCATION#x,y
Both comma seperated. for LOCATION 0,0 refers to the top left corner.
#SHOWTEXT#true|false
If true then the text from NAME will be displayed on the button otherwise nothing will show.
#PAGE#x
Where x is the page where this button will be drawn. 0 is the first page. You can have unlimited amount of pages.
#PORT#
This is needed to determine which output this button connects to. Must be a value between 0 and 9 because there are only 10 analogue inputs on the board.
#TXTCOLOUR#Colour
The text will be the TXTCOLOURcolour. Needs a name such as Red, Blue, Green, Black, White and other standard colors. Default is LightGray and DarkGray to go with the BMV2 skin.
#BORDERSIZE#x
The border around the button. Set to 0 for graphical skins.
#FONT#name;pt size;extra style
The font for the text on the button
#PLOTLENGTH#
When you draw a graph, this is the number of data points will be stored on the graph. The rest of the points will be stored in a log file.
#MULTILEVELGRAPHICS#
#HIGHTHRESHHOLD#
#LOWTHRESHHOLD#
#HIGHKEYSEQUENCE#
#HIGHMAINWINDOWTITLE#
#HIGHSUBWINDOWTITLE#
#HIGHMAINCLASS#
#HIGHSUBCLASS#
#LOWKEYSEQUENCE#
#LOWMAINWINDOWTITLE#
#LOWSUBWINDOWTITLE#
#LOWMAINCLASS#
#LOWSUBCLASS#
#ENDNEW#
Bookmarks