Home
ActiveX Controls
Contents
1. ActiveX Controls ous Q sner CI n Pet MAY 06 ActiveX Control VERSION 8 FOUNDATION USER S MANUAL ActiveX Control yj ActiveX Gauge GraphWorX by Smar i 8 x File View Tools Configure Help ProcessView Gauge Process View Gauge 600 Units 800 O 200 400 600 800 1000 Chib bdc l RARA 1000 211 56 ProcessView Gauge lt 00 1000 750 500 PVI EWAXCME Specifications and information are subject to change without notice Up to date address information is available on our website Web www smar com contactus asp Table of Contents TABLE OF CONTENTS SECTION 1 GAUGE ACTIVEX i a ee eect 1 1 NIESE BONS cose E E nuu M MEE MM M TERM IM MM M DAMM MA i gt e 2 Uy Pk E RN E ROMANCE 1 1 GENERAL E E A EAEE AE E EEE EA A E a e E AEAEE 1 1 BACKE ROWND e a MM M MER M M EAE EM ea e an tod ol EE ud E coment EE 1 2 NO A BOO nO Oe O ESE OBOE A IA 1 3 YN ct eae cuu EE MEM uM uM uM NL 1 3 NEF B eth ER RU NN 1 4 VALUE soome cae tee ee e ero e e tl T 1 4 E A A MM LEM A a A O 1 5 SR ER 1 5 A O O Ma la cedar add a eS a pe a De ena ee ae Ba 1 6 SO i tu uuu IL FAP tA LR EA tA LE LA RO ND LE EL IS aCe Ee EE 1 6 WARNING L2ONES ER EE 1 7 sizes An 1 7 SECTION 2 NATIONAL INSTRUMENTS s sccsssocssssscesssssccss
2. Cancel Apply Help National Instruments ActiveX Properties Analog Output Tab Digital Output Clicking the Digital Ouput tab in the Smar National Instruments ActiveX Properties dialog box shown below displays the corresponding tag Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as aliases and variables Analog Input 1 Analog Input 2 Analog Output Digital Output Digital Input 00001 SmarModbusOPCServer Demo Unit 00001 Tags 00002 SmarModbusOPCServer Demo Unit00002 Tags 00003 Smar ModbusOPCServeriDemo Unit 00003 Tags 0004 marModbusOPCServer Demo Unit 00004 Tags 00005 SmarModbusOPCServer Demo Unit00005 Tags 00006 Smar ModbusOPCServeriDemo Unit 00006 Tags Cancel Apply Help National Instruments ActiveX Properties Digital Output Tab Digital Input Clicking the Digital Input tab displays the corresponding tag Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as aliases and variables 2 3 ActiveX Controls User s Manual Analog Input 1 Analog Input 2 Analog Output Digital Output Digital Input 00007 SmarModbusOPCServeDemo Unit00007 Tags 00008 Smar ModbusOPCServeriDemo Unit 00008 Tags 00009 SmarModbusOPCServe Demo Unit00003 Tags 00010 Smar ModbusOPCServeriDemo Unit 00010 Tags 00011 S
3. and MS Excel To insert the Gauge ActiveX choose Insert Object from the Edit menu in GraphWorX or click the Gauge ActiveX button on the ActiveX toolbar The Gauge will appear as shown below 777 7777 vau TTT m Tau s Tir mm Tau LInitz1 LInitz2 Gauge ActiveX Double clicking the gauge will open the Gauge ActiveX Properties dialog box which contains the following property pages e General e Background e Caption e Bar e Needle e Value e Scale1 e Scale2 e Fonts e Slider Dial e Warning Zones General The General tab of the Gauge ActiveX Properties dialog box shown below allows you to select the tag that will be the data source for the gauge Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as global aliases and language aliases The Range Override check box allows you to override the ranges associated with their selected tag If the Auto Start Runtime Mode check box is checked when the display enters runtime mode it will automatically start to process data Otherwise the gauge will still appear as it does in configuration mode The Preserve Aspect Ratio check box determines whether the gauge will maintain its ratio when you change its dimensions by moving the edges of the object s frame The 1 1 ActiveX Controls User s Manual 1 2 Gauge Type field allows you to choose which type of gauge to use vertical horizonta
4. ActiveX is enabled disabled by the following registry setting HKEY LOCAL MACHINE SoftwareSman GWXSlider Security UseSecurity 0 or 1 false or true Section 5 Introduction Property Pages SWITCH ACTIVEX The Switch ActiveX is included in the ProcessView installation and it can be inserted into any container that has the capability to embed ActiveX objects including GraphWorX VB Form MS Word and MS Excel To insert the Switch ActiveX choose Insert Object from the Edit menu in GraphWorX You can also click the GWXSwitch ActiveX button on the ActiveX toolbar The Switch will appear as shown below Switch Double clicking on the Switch opens the Switch ActiveX Properties dialog box which contains the following property pages e General e Background e Caption e Labels e Fonts General The General tab of the Switch ActiveX Properties dialog box shown below is where the most important configuration for the switch will take place The Switch Style refers to which of the available 10 switches Vertical Rocker Vertical Slider Vertical Toggle 1 Vertical Toggle 2 Horizontal Rocker Horizontal Slider Horizontal Toggle 1 Horizontal Toggle 2 Dial and In Out will actually appear in your display 5 1 ActiveX Controls User s Manual 5 2 General Background Caption Labels Forts Switch Style Vertical Rocker Switch 1 Data Source local bi Tags Update Rate 50 miliseconde Overide
5. Denis jo Edge Color Slider Position Left or Bottom Edge Style Raised Slider Track honzontal vertical gauge only Iw Fill Color E Edge Color E Edge Style Sunken Cancel Apply Help Gauge ActiveX Properties Slider Dial Tab Warning Zones The Warning Zones tab of the Gauge ActiveX Properties dialog box shown below allows you to configure the color and the percentage for each warning zone You can configure up to five zones The Show With Scale boxes determine whether the warning zones are shown with each scale General Background Caption Bar Needle Value Scalel Scale Fonts Slidev Dial Waming Zones Iw Show with Scale v Show with Scalez e Zoned Stark jo z End 70 v Zone Start 70 End 30 Fill Color i Zone Start fao E End 100 z Fl Color Rll Color zone4 Stark po End 30 Fill Color Zoned Stark po E End 10 z Pill Color Cancel Apply Help Gauge ActiveX Properties Warning Zones Tab Security Security for the Gauge ActiveX is enabled disabled by the following registry setting HKEY LOCAL MACHINE SoftwareSman GWXGauge Security UseSecurity 0 or 1 false or true 1 7 ActiveX Controls User s Manual 1 8 Section 2 Introduction Property Pages NATIONAL INSTRUMENTS The Smar National Instruments ActiveX is included in the ProcessView installation and it can be inserted into any container that has the capability to e
6. FB Tp Algerian Sample 20 AaBbYyzz Cancel Apply Help Numeric ActiveX Properties Fonts Tab 3 4 Section 4 Introduction Property Pages SLIDER ACTIVEX The Slider ActiveX is included in the ProcessView installation and it can be inserted into any container that has the capability to embed ActiveX objects including GraphWorX VB Form MS Word and MS Excel To insert the Slider ActiveX choose Insert Object from the Edit menu in GraphWorX or click the GWxXSlider ActiveX button on the ActiveX toolbar The Slider will appear as shown below 4 gt I I I I F l I I I tree tree tere tert Tree Double clicking on the Slider will open the Slider ActiveX Properties dialog box which contains the following property pages e General e Slider e Slow Spin Buttons e Fast Spin Buttons e Scale e Background e Caption e Value e Fonts General The General tab in the Slider ActiveX Properties dialog box shown below allows you to select the tag that will be the data source for the slider Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as global aliases and language aliases The Range Override check box allows you to override the ranges associated with their selected tag 4 1 ActiveX Controls User s Manual 4 2 Scale Background Caption Value Fonts General Slider Slow Spi
7. Position option determines the location of the value field in the ActiveX relative to the slider track 4 5 ActiveX Controls User s Manual Security 4 6 General Slider Slow Spin Buttons Fast Spin Buttons Scale Background Caption Value Fonts Iw Shaw Current value W Data Entry Value Format ox m T ext Edge Color E M FilCoo f Edge Style Sunken Y Positions Bottom Cancel Apply Help Slider ActiveX Properties Value Tab Fonts The Fonts tab of the Slider ActiveX Properties dialog box shown below is similar to many fonts property screens with one exception the Property Name field The drop down menu allows you to choose which text font to change CurrentValueFont MainCaptionFont or ScaleLabelFont The Font field determines the font style and the Font Style determines Regular Bold Italic or Bold Italic The Effects section allows for strikeout or underlining and the Sample section shows a real size example of the font style and size that you have chosen General Slider Slow Spin Buttons Fast Spin Buttons Scale Background Caption Value Fonts Property Hame CurentyalueF ont Font Font Style Size Arial Regular 20 25 Tm Agency FB Effects Strikeout Underline Tr Algerian Sample AaBbYvZz Tp Arial Black Tp Arial CE Tp Arial CYF Cancel Apply Help Slider ActiveX Properties Fonts Tab Security for the Slider
8. applies to the circular gauge The Show Needle check box allows you to choose whether or to have a needle on the gauge If this box is not checked no needle will appear The following three color boxes determine the color of the needle the color of the needle s shadow and the color of the needle s edge The Edge Style field is similar to the Bar Edge Style field in the Bar tab The Needle Width and Needle Length fields allow the user to configure the appearance of the needle Scale Scale Fonts Slider Dial Warning ones General Background Caption Bar Needle Value M Show Needle circular gauge only Fill Color E Needle width Medium 4 Shadow T Needle Length Medium Edge Color E Edge Style Thin Line Cancel Apply Help Gauge ActiveX Properties Needle Tab Value The Value tab of the Gauge ActiveX Properties dialog box shown below refers to the text box at the bottom of the gauge where the value of the tag value is displayed If the Show Current Value box is not checked the box completely disappears from the display The Value Format field allows you to choose from various numeric forms in which the data can be displayed and the Text Edge Color field determines the color of the text in this box As in the Bar and Needle tabs the Fill Color and Edge Style fields determine the appearance of the box within the display Selecting the Data Entry check box allows you to type new data values in
9. background and the gauge will now have a border around it The Show Back Face check box determines whether the gauge will have an edge border If the check box is not checked the gauge will either look like it is part of the display or will have the user defined background color If the check box is checked you can choose a fill color or opt to have the default gray as the fill color You can also choose an edge color and an edge style thin line medium line thick line etched bump raised default sunken or no edge Scale Scales Fonts Slider Dial Warning ones General Background Caption Bar Needle Value M Use Containers Background Color Esckoround olor Bm W Show Back Face SPI chon E Edge Color El Edge Style Raised Cancel Apply Help Gauge ActiveX Properties Background Tab Gauge ActiveX Caption The Caption tab of the Gauge ActiveX Properties dialog box shown below allows you to configure the caption that appears on the gauge as well as enter text for the gauge ToolTip that appears when the mouse pointer is over the object If the Show Main Caption check box is checked the text entered underneath will appear as the title of the gauge The following color boxes allow you to choose the text color and the text shadow color The ToolTip field allows you to enter a word phrase or message to appear as a ToolTip to the user Scale Scale Fonts Slider Dial Warning ones Gene
10. ru Mae E E mer MAL LAM Une Mime ACE A Mi Ma E S EC EL 4 6 P ln MEAN ORAE OMEN CAMCN DREAM OHNE 4 6 SECTION 5 SWITCH ACTIVEX acierto rre SEE ear ica 5 1 INTRODUCTION nuca c 5 1 PROPERTY PAGES RAM 5 1 GENERAL E RETENIR Rg a NE id et pete EPUM 5 1 BACKGROUND cis a ltd a ooo 5 3 TAN e IG 5 3 LABELS tacos sina a a Tn 5 4 me a a SEE OTS ee 5 5 I NEAR MODUM A 5 5 SECTION 6 TIMER ACTIVEX itecto b ER UE vento codos 6 1 INTPODUC EON ex sem Lu AMI IM MIC UNE 6 1 Ill ActiveX Controls PRO REN MES Tr odds 6 1 A db dsl I MA LL M LI M SE M ER teu MR re 6 1 INTERVAL tar nu ET MR 6 1 MENE VENTE diuine seta ns Stn eU pM tae a UU LE 6 1 REMARK Seisear 6 1 SECTION 7 VESSEL ACTIVEX nrimane ra ee ee ees 7 1 INTRODUC FION T r E da 1 1 PROPERTI ERACE Soas E DTE 7 1 GENERAL arto rita islote ILS DLLMIMI I UN 7 1 BUENO o eter 7 2 AN IM 7 2 eU teeta 7 3 PON Hot MI 13 IV Section 1 Introduction Property Pages GAUGE ACTIVEX The Gauge ActiveX is included in the ProcessView installation and it can be inserted into any container that has the capability to embed ActiveX objects including GraphWorX VB Form MS Word
11. v Auta Start Runtime Made Update Rate 50 milliseconds Iw Preserve Aspect Ratio 5 Iw Gradients About Cancel Apply Help Vessel ActiveX Properties General Tab Caption The Caption tab of the Vessel ActiveX Properties dialog box shown below is used to configure the appearance of the vessel within the container If the Use Container s Background Color box is checked the background color of the vessel will automatically be set to match the background color of the container By unchecking this box you can select a color for the background and the vessel will now have a border around it The Caption tab also allows you to configure the caption that appears on the vessel as well as to enter text for the vessel ToolTip that appears when the mouse pointer is over the object If the Show Main Caption box is checked the text entered underneath will appear as the title of the vessel The following color boxes allow you to determine the text color and the text shadow color The ToolTip field allows you to enter a word phrase or message to appear as a ToolTip General Caption Tank Cut away Forts jw Show Main Caption M Use Containers Background Color Smar Vessel zs Background Color E Text Color E Wo Shadow Color Tooltip Smar Vessel M Cancel Apply Help Vessel ActiveX Properties Caption Tab Tank The Tank tab of the Vessel ActiveX Properties dialog box shown below is used to de
12. Default Switch Colors Reverse On Off Values oco ME v Auto Start Runtime Made FI Feder Iw Preserve Aspect Ratio Iv Gradients Cancel Apply Help Switch ActiveX Properties General Tab The Data Source field allows you to enter a data source that will be attached to the switch control The default entry for this field is the local variable local_bit Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as global aliases and language aliases After you either type in the data source or select it from the Tag Browser set the Update Rate The default for this field is 50 milliseconds this is also the minimum value for this field It is also possible to reverse the on off value to auto start the switch in runtime mode and to preserve the aspect ratios using the three check boxes on this tab The first of these three options is somewhat self explanatory Checking this box will switch the defined values for On and Off If the Auto Start Runtime Mode box is selected the switch will automatically start in runtime mode The last of the check boxes defines whether the switch s dimensions will be maintained when it is resized You can also choose to enable or disable the color gradients In addition you can override the default switch color and select the On and Off colors from the Color Palette Vertical Switch Styles Switch ActiveX Background Th
13. Demo Unit 40002 T agi ADDS Smar ModbusDPCServeDemo Unit 40003 T ags 40004 Smar ModbusDPCServeriDemo Unit 40004 T agi 40005 Smar ModbusDPCServerDemo Unit 40005 T ags Cancel Apply Help National Instruments ActiveX Properties Analog Input 1 Tab Analog Input 2 Clicking the Analog Input 2 tab in the Smar National Instruments ActiveX Properties dialog box shown below displays the corresponding tag Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as aliases and variables Analog Output Digital Output Digital Input Analog Input 1 Analog Input 2 40006 Smar ModbusOPCServeriDemo Unit 40006 Tags 4000F Smar ModbusOPCServeriDemo Unit 40007 Tags 40 08 Smar ModbusOPCServeriDemo Urt 40008 T agi Cancel Apply Help National Instruments ActiveX Properties Analog Input 2 Tab Analog Output Clicking the Analog Output tab in the Smar National Instruments ActiveX Properties dialog box shown below displays the corresponding tag Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as aliases and variables National Instruments Analog Input 1 Analog Input 2 Analog Llutput Digital Output Digital Input 40071 Smar ModbusOPCServeriDemo Urt 40077 Tags 40072 Smar ModbusOPCServeriDemo Urt 4007 2 Tags
14. Start Runtime Made Numeric System decimal v Preserve Aspect Ratio M Gradients Update Rate 50 m Gl eunt Iw Show Separator Numeric ActiveX Properties General Tab 3 1 ActiveX Controls User s Manual 3 2 The Numeric System combo box allows you to select the numerical system used for displaying the current value The choices are binary octal decimal and hexadecimal The Update Rate field determines how fast the system will update the data being displayed through the numeric The fastest update rate is 50 milliseconds The faster the update rate the more fluid the motion of the numeric will be If Auto Start Runtime Mode is checked when the display enters runtime mode it will automatically begin to process data Otherwise the numeric will still appear as it does in configuration mode The Preserve Aspect Ratio check box determines whether the numeric will maintain its ratio when you change its dimensions by moving the edges of the object s frame The Gradients option determines whether the numeric control will appear to be light sourced Using the Gradients option makes the numeric appear more three dimensional and realistic You may want to disable this option if you are using a computer that can only display a maximum of 256 colors The Show Sign option determines whether the numeric control will have a sign displayed You may disable this option to get absolute value The Show Separator option determines w
15. Vessel Double clicking on the Vessel ActiveX opens the Vessel ActiveX Properties dialog box which contains the following property pages General Caption Tank Cut Away Fonts General The General tab of the Vessel ActiveX Properties dialog box shown below allows you to select the tag that will be the data source Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as global aliases and language aliases The Range Override check box allows you to override the ranges associated with the selected tag If the Auto Start Runtime Mode check box is checked when the display enters runtime mode it will automatically start to process data Otherwise the vessel will still appear as it does in configuration mode The Preserve Aspect Ratio check box determines whether the vessel will maintain its ratio when you change its dimensions by moving the edges of the object s frame The Gradients check box determines whether the vessel will be drawn using the gradient style The Update Rate field determines how fast the system will update the data being displayed through the vessel The fastest update rate is 50 milliseconds The faster the update rate the more fluid the motion of the vessel will be 7 1 Vessel ActiveX User s Manual 7 2 General Caption Tank Cut away Fonts Data Source fwsim sine double Range Override Low Range T ags High Range T ads
16. e Slider ActiveX Properties dialog box shown below allows you to configure the appearance and behavior of the slider knob and track The slider is used to change the data value during runtime mode If the Show Slider box is not checked then the rest of the tab is grayed out and any changes that were made will not be applied The Track Current Value option determines whether the slider knob moves automatically to reflect the current value of the process variable The Continuous Update option determines the technique used to write new values When on values are continuously written as the slider knob is dragged when off values are written only when the slider knob is released at the end of a drag The Detents field allows you to set the increments at which the slider knob will move O for no detents Slider ActiveX Scale Background Caption Value Fonts General Slider Slow Spin Buttons Fast Spin Buttons Iw Show Slider knob if Track Current Value Fill Color Edge Color EJ Continuous Update Edge Style Raised Detents jo Iw Fill Color Edge Color 5 slider Track Iw wide Track Edge Style Sunken do Track Control Fast Spin Increment Repeat 200 Cancel Apply Help Slider ActiveX Properties Slider Tab The Knob section determines the color and style of the slider knob The Slider Track section determines the color and style of the track on which the slider moves The Track Control o
17. fine the type of tank displayed The Tank Selected list box contains a set of predefined tanks If the User Tank Specification check box is enabled and the edit box below contains correct path to the user defined tank file the user defined tank will be used instead of predefined tank The Import button allows you to specify the path and file name easily The custom tank can be imported both as a windows metafile wmf and an enhanced metafile emf Fonts Vessel ActiveX User s Manual General Caption Tank Cut away Fonts Tank selected Barrel Elevated Tank Elevated Tank 7 User Tank Specification Import Cancel Apply Help Vessel ActiveX Properties Tank Tab Cut Away The Cut Away tab of the Vessel ActiveX Properties dialog box shown below allows you to configure the appearance of the vessel cut away The Cut Away combo box contains the set of predefined cut away styles that are available The Border drop down menu allows you to select an edge style thin line medium line thick line etched bump raised sunken or none The Size and Location slider controls define the percentage of the vessel that the cut away will reach The Size slider controls define the size of the cut away as a percentage of the vessel size The Location is the cut away position relative to the vessel dimensions The Fluid Gradient section determines the appearance of the cut away such as its colors gradient directio
18. hadow color The ToolTip field allows you to enter a word phrase or message to appear as a ToolTip to the user General Background Caption Digits Arrows Fonts vw Show Main Caption Smar Mumeric M Text Color E MW Shadow Color Tooltip Smar Mumeric _ Cancel Apply Help Numeric ActiveX Properties Caption Tab Digits Tab The Digits tab of the Numeric ActiveX Properties dialog box shown below allows you configure the number and appearance of integer figures and decimal figures in the numeric control independently The number of displayed digits in the numeric is determined by the settings in the Number of Digits fields in the Digits tab The Text Color Fill Color Edge Color and Edge Style fields determine the appearance of the rectangle in which every figure will be displayed When the Decimals option is disabled the decimals in the numeric will not be displayed General Background Caption Digits Arrows Fonts Integers Iv Decimals Number of Digits Number of Digits 2 Text Color EJ Text Color E Edge Color E Edge Color El v Fill Color Iw Fill Color Edge Style Bump Edge Style Bump Cancel Apply Help Numeric ActiveX Properties Digits Tab 3 3 ActiveX Controls User s Manual Arrows Tab The Arrows tab of the Numeric ActiveX Properties dialog box shown below enables you to change the displayed data value in runtime mode If Sh
19. he location of the scale relative to the slider track General Slider Slow Spin Buttons Fast Spin Buttons Scale Background Caption Value Fonts W Show Scale Low Range jo Tags Major Tick Divisions E High Range fi 000 Tags Minor Tick Divisions 3 Label Every f Major Ticks Tier Color E Text Color E ie Scale Position Units Label Left or Bottom Cancel Apply Help Slider ActiveX Properties Scale Tab Background The Background tab in the Slider ActiveX Properties dialog box shown below is used to configure the appearance of the slider within the container If the Use Container s Background Color box is checked the background color of the slider will automatically be set to match the background color of the container By unchecking this check box you can select a color for the background and the slider The Show Back Face check box determines whether the slider will have a background faceplate Attributes of the background faceplate that can be modified include Fill Color Edge Color and Edge Style Slider ActiveX General Slider Slow Spin Buttons Fast Spin Buttons Scale Background Caption Value Fonts M Use Containers Background Color Background Ealar B Iw Show Back Face v Fill Color Edge Color E Edge Style Fiaised Cancel Apply Help Slider ActiveX Properties Background Tab Caption The Caption in the Slider ActiveX Properties dial
20. hether the numeric control will have a decimal point displayed Clicking About opens the About Box Background Tab The Background tab of the Numeric ActiveX Properties dialog box shown below is used to configure the appearance of the numeric within the container If the Use Container s Background Color is checked the background color of the numeric will automatically be set to match the background color of the container By unchecking this box you can select a color for the background and the numeric The Show Back Face option determines whether the numeric will have a background faceplate Attributes of the background faceplate that can be modified include Fill Color Edge Color and Edge Style General Background Caption Digits Arrows Fonts M Use Containers Background Color Background Color a IY Show Back Face RF Fill Color m Edge Color E Edge Style Raised Cancel Apply Help Numeric ActiveX Properties Background Tab Caption Tab The Caption tab of the Numeric ActiveX Properties dialog box shown below allows you to configure the caption that appears on the numeric It also allows you to enter text for the numeric ToolTip that appears when the mouse pointer is over the object Numeric ActiveX If the Show Main Caption box is checked the text entered in the box below will appear as the title of the numeric Controls are also included for modifying the caption s text color and optional text s
21. ialog box returns or sets the number of milliseconds between calls to a Timer control s Timer event O The Timer generates events as fast as possible Sets an interval in milliseconds that takes effect when a Timer control s 1 to 32767 Enabled property is set to True For example a value of 10 000 milliseconds equals 10 seconds Timer Event The Timer event occurs when a preset interval for a Timer control has elapsed The interval s frequency is stored in the controls Interval property which specifies the length of time in milliseconds Remarks Use the remarks event procedure to tell Microsoft Visual Basic what to do after each Timer control interval has elapsed When you are working with the Timer event e The Interval property specifies the interval between Timer events in milliseconds e Whenever the Timer control s Enabled property is set to True the Timer event waits for the period specified in the Interval property 6 1 ActiveX Controls User s Manual 6 2 Section 7 Introduction Property Pages VESSEL ACTIVEX The Vessel ActiveX is included in the ProcessView installation and it can be inserted into any container that has the capability to embed ActiveX objects including GraphWorX VB Form MS Word and MS Excel To insert the Vessel ActiveX choose Insert Object from the Edit menu in GraphWorX or click the Vessel ActiveX button on the ActiveX toolbar The Vessel will appear as shown below
22. is Background Tab of the Switch ActiveX Properties dialog box shown below allows you to set how the background of the switch control will appear in the display The default options for the owitch control are set to using the container s background color for the background of the switch and to show the Back Face as raised gray It is possible to switch both of these defaults by adjusting the check boxes and or by clicking the color boxes and choosing a different color You can change the edge style by clicking the drop down list and selecting a different type of style General Background Caption Labels Forts M Use Containers Background Color Esckoround olor El v Shaw Back Face Fill Color Edge Style Ralsed v Cancel Apply Help Switch ActiveX Properties Background Tab Caption The Caption tab of the Switch ActiveX Properties dialog box shown below allows you to enter the text that will be displayed on the switch control To alter the main caption simply type the desired text in the appropriate text box and make sure that the Show Main Caption check box is checked To change the text color click the corresponding color box the Color Palette will appear Select the desired color and click OK Use the same technique to change the shadow color If you do not want a shadow effect on the text you can uncheck the Shadow Color check box The text entered in the ToolTip text box will be displayed when the mouse
23. is moved over the switch control This feature is useful because it can be used to describe the control in a more detailed fashion than the main caption NOTE It is possible to not have any text appear Simply uncheck the Show Main Caption check box or leave the text box for the main caption blank 5 3 ActiveX Controls User s Manual 5 4 General Background Caption Labels Forts Iw Show Main Caption Text Color E I Shadow Color Tallinn SMAR Switch E Cancel Apply Help Switch ActiveX Properties Caption Tab Labels Use the Labels tab of the Switch ActiveX Properties dialog box shown below to describe the two states of the switch Each switch will have an On and an Off state but you can choose to label these states in any manner that you deem appropriate for the function of the switch If the Show Labels check box is not checked then all fields on this tab will be grayed out Otherwise you can configure the labels according to your preferences For each state of the switch there are four elements that can be configured according to your preferences e Text for the label This is the text that will appear on the label indicating the state of the switch e Fill color when on This allows you to select the color of the label when the switch is in this state To change the color click the color box and choose the desired color from the Color Palette e Fill color when off This allows y
24. l or circular Scale Scale Fonts Slider Dial Warning Zone General Background Caption Bar Needle Value Data Source afwsim ramp float Tags Range Override Low Range Ten High Range Ten vw Auto Start Runtime Made v Preserve Aspect Ratio Update Rate 50 millisecands Gauge Type Vertical start Angle 225 v Gradients Length Factor fioo End ngle 315 About Cancel Apply Help Gauge ActiveX Properties General Tab The Length Factor field determines how long the dial hand will be and determines the diameter circular or length vertical or horizontal of the gauge The Update Rate field determines how fast the system will update the data being displayed through the gauge The fastest update rate is 50 milliseconds the faster the update rate the more fluid the motion of the gauge The Start Angle and End Angle fields are only valid when dealing with a circular gauge and they determine where in the display the gauge will begin and end The default is set to begin at 225 degrees and end at 315 degrees Background The Background tab of the Gauge ActiveX Properties dialog box shown below is used to configure the appearance of the gauge within the container If the Use Container s Background Color box is checked the background color of the gauge will automatically be set to match the background color of the container By unchecking this box you can select a color for the
25. marModbusOPCServerDemo Unit 00011 Tags 00012 Smar ModbusOPCServeriDemo Unit 00012 Tags Cancel Apply Help National Instruments ActiveX Properties Digital Input Tab 2 4 Section 3 NUMERIC ACTIVEX Introduction to Numeric ActiveX The Numeric ActiveX shown below is included in the Process View installation It can be inserted into any container such as GraphWorX32 Visual Basic forms Microsoft Word or Microsoft Excel that has the capability to embed ActiveX objects Ads Edd dr d Numeric ActiveX Numeric ActiveX Properties To insert the Numeric ActiveX choose Insert New Object from the Edit menu This opens the Insert Object dialog box shown below Select Numeric ActiveX from the list of object types in the Insert Object dialog box Double clicking on the Numeric ActiveX or right clicking and then selecting Properties opens the Numeric ActiveX Properties dialog box which contains the following tabs General tab Background tab Caption tab Digits tab Arrows tab Fonts tab General Tab The General tab of the Numeric ActiveX Properties dialog box shown below allows you to select the tag that will be the data source for the numeric Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as global aliases and language aliases General Background Caption Digits Arrows Fonts Data Source local war Tags Iw Auto
26. mbed ActiveX objects including GraphWorX VB Form MS Word and MS Excel To insert the Smar National Instruments ActiveX choose Insert Object from the Edit menu in GraphWorX You can also click the National Instruments ActiveX button on the ActiveX toolbar The Smar National Instruments ActiveX will appear as shown below y An ActiveX by WWW LICOnIC E com NATIONAL INSTRUMENTS Power Analog Inputs 40001 40002 40003 40004 40005 Created using Activex ToolWorX e A PEP EPE PEEP EPEDEEPEPEDE DEEP EP E DEEP EP EDE DE EE ED EIMEEEPEPEDEEP EP EDP EP EP EP EEE EE EP EDE DEEP ED EPP PEEP ODE DEEP ERE DE EE EEE ks i ae National Instruments ActiveX Double clicking on this National Instruments ActiveX opens the Smar National Instruments ActiveX Properties dialog box which contains the following property pages e Analog Input 1 e Analog Input 2 e Analog Output e Digital Input e Digital Output Analog Input 1 Clicking the Analog Input 1 tab in the Smar National Instruments ActiveX Properties dialog box shown below displays the corresponding tag Clicking the Tags button allows you to browse through currently installed OPC servers and their associated tags as well as aliases and variables 2 1 ActiveX Controls User s Manual 2 2 Analog Output Digital Output Digital Input Analog Input 1 Analog Input 2 40001 Smar ModbusOPCServer Demo Unit 40001 Tags 40002 Smar Modbus0FCServe
27. n and offset The gradient Offset property should be clamped to the range 100 to 100 General Caption Tank Lut away Fonts Cut away Fancy bi Border Sunken Fluid Gradient Color SIZE K 155 amp EN GINE 4 v Color O EE o0 4 opus B z Direction Vertical 100 Offset Y HA p x Cancel Apply Help Vessel ActiveX Properties Cut Away Tab The Fonts tab of the Vessel ActiveX Properties dialog box shown below is similar to many other fonts property screens with one exception the Property Name field The Font field determines the font and the Font Style determines whether the text will be Regular Bold Italic or Bold Italic The Effects section allows for strikeout or underlining and the Sample section shows a real size example of the font style and size you have chosen 7 3 Vessel ActiveX User s Manual 7 4 General Caption Tank Cutaway Fonts Property Name MainCaptionFont Font Font Style Sze Arial Black Bold 26 25 Tp trial Unicode MS Effects Strikeout M Underline Tp Agency FB Sample Tp Algerian race AaBbYyzz Cancel Apply Help Vessel ActiveX Properties Fonts Tab
28. n Buttons Fast Spin Buttons Data Source local variable T ags Iw Range Override Low Range jo Tags High Range 1000 Tags W Auto Start Runtime Made Update Rate 50 milliseconds vw Preserve Aspect Ratio mal Cedere Length Factor 100 Slider Type Horizontal eT Cancel Apply Help Slider ActiveX Properties General Tab If the Auto Start Runtime Mode check box is checked when the display enters runtime mode it will automatically start to process data Otherwise the slider will still appear as it does in configuration mode The Preserve Aspect Ratio check box determines whether the slider will maintain its ratio when you change its dimensions by moving the edges of the object s frame The Slider Type determines which type of slider the to use vertical or horizontal The Length Factor field determines the relative length vertical or horizontal of the slider The Update Rate field determines how fast the system will update the data being displayed through the slider The fastest update rate is 50 milliseconds The faster the update rate the more fluid the motion of the slider will be The Gradients option determines whether the slider control will appear to be light sourced Using the Gradients option makes the slider appear to be more three dimensional and realistic You may want to turn this option off if you are using a computer that can only display 256 colors or less Slider The Slider tab in th
29. ne is placed under the text features activated General Background Caption Labels Fonts Property Mame LabelsFont Font Font Style Size Arial Black Bald 21 fo Tp trial Unicode MS 4 Effects Strikeout M Underline Tp Agency FB Sample Tp Algerian AaBbYyZz Tp Arial CE Er Arial CYR Cancel Apply Help Switch ActiveX Properties Fonts Tab Security Security for the Switch ActiveX is enabled disabled by the following registry setting HKEY LOCAL MACHINE SoftwarelSmanGWXSwitchiSecurityUseSecurity 0 or 1 false or true 5 5 ActiveX Controls User s Manual 5 6 Section 6 TIMER ACTIVEX Introduction The Timer ActiveX control can execute code at regular intervals by causing a timer event to occur In runtime mode it is invisible and is useful for background processing Properties Double clicking on the Timer ActiveX opens the Timer ActiveX Properties dialog box as shown in the figure below General e Enable About Interval D Cancel Apply Timer ActiveX Properties Enabled Checking the Enabled check box on the Timer ActiveX Properties dialog box returns or sets a value that determines whether a Timer control can respond to user generated events Setting Description Default Allows object to respond to events False Prevents object from responding to events Interval The Interval field on the Timer ActiveX Properties d
30. og box shown below tab allows you to configure the caption that appears on the slider as well as enter text for the sliders ToolTip that appears when the mouse pointer is over the object If the Show Main Caption box is checked the text entered underneath will appear as the title of the slider Controls are also included for modifying the caption s text color and optional text shadow color The ToolTip field allows the user to enter a word phrase or message to appear as a ToolTip to the user General Slider Slow Spin Buttanz Fast Spin Buttons Scale Background Caption Value Forts e Show Main Caption Smar Slider El Ei Text Color Iw Shadow Color Hi Position Top Tooltip Smar Slider T Cancel Apply Help Slider ActiveX Properties Caption Tab Value The Value tab in the Slider ActiveX Properties dialog box shown below refers to the text box in the slider control where the value of the process variable is displayed If the Show Current Value box is not checked then the value is not displayed in the slider The Value Format field allows the user to choose from a variety of numeric forms in which the data can be displayed and the Text Edge Color field determines the color of the text in this box The Fill Color and Edge Style fields determine the appearance of the value in the slider Selecting the Data Entry check box will allow you to type new data values into this field during runtime mode The
31. ou to select the color of the label when the switch is not in this state To change the color click the color box and choose the desired color from the Color Palette e Text color This allows you to select the color that will be used for the text of the label To change the color click the color box and choose the desired color from the Color Palette As is shown through the defaults it is a good idea to choose an On color that is a brighter shade of the Off color and a text color that will be visible on both lt is currently possible to select the same color for all three fields but this practice is not recommended Switch ActiveX General Background Caption Labels Fonts v Show Labels Edge Style Sunken On Label Off Label b fF Fill Color when Or N Fill Color when On E Fill Color when Off B Fill Color when Off Bi T ext Color ES T ext Color E Cancel Apply Help Switch ActiveX Properties Labels Tab Fonts The Fonts tab of the Switch ActiveX Properties dialog box shown below allows you to select which font will be used for the labels and for the main caption Using the Property Name drop down menu you can toggle between the two text types The rest of the Fonts tab is very similar to most font format dialogs You can select the proper font type style and size and you can choose to have the strikeout where a line is placed through the text or underline where a li
32. ow Arrows is checked each digit field in the numeric will be accompanied by arrow buttons that allow you to increase or decrease the digit value If Show Button is checked the arrow buttons will appear as if they reside on the background button frame The Face Color Edge Color and Edge Style fields determine the appearance of the arrow buttons General Background Caption Digits Arrows Fonts vw Show Arrows Show Button Arrow Color Face Color Pace Eola Edge Color E Edge olor EI Edge Style Raised Edge Style Etched Lancel Apply Help Numeric ActiveX Properties Arrows Tab Fonts Tab The Fonts tab of the Numeric ActiveX Properties dialog box shown below is similar to many other fonts settings pages with the exception of the Property Name field This field enables you to choose which text to change the Main Caption Font or the Figure Font The Font field enables you to select a font The Font Style field contains Regular Bold Italic and Bold Italic settings The Size field allows you to specify a point size for the text The Effects field allows for Strikeout or Underlining of text The sample section shows an example of the font style and size that you have chosen General Background Caption Digits Arrows Fonts Property Name FigureFont Font Font Style Size Arial Black Bald 26 25 Tp Arial Unicode MS Effects Strikeout Underline Tr Agency
33. ption designates the behavior when you click on the slider track Choices for track control are move to next detent move to detent nearest the mouse pointer move to mouse pointer position move by fast spin increment move by slow spin increment and no action The Repeat option determines how frequently the track control action will be repeated when you hold down the mouse button Slow Spin Buttons Fast Spin Buttons The Spin Buttons tabs in the Slider ActiveX Properties dialog box shown below allow you to configure the appearance and behavior of the slider control s spin buttons Spin buttons are used to increase and decrease the value of the process variable Property pages for slow and fast spin buttons are identical In the slider control slow spin buttons are designated by single arrow symbols and gt while fast spin buttons are designated by double arrow symbols lt lt and gt gt Scale Background Caption Value Fonts General Slider Slow Spin Buttons Fast Spin Buttons Iw Show Spin Buttons Increment ll Fill Color Repeat Pate 200 ms Arrow Color iJ Iw Acceleration Delay 2000 Mk kE Increment BU Position Surrond y Cancel Apply Help Slider ActiveX Properties Slow Spin Buttons Tab If the Show Spin Buttons box is not marked then the rest of the tab is grayed out any changes that were made will not be applied The Increment field defines the amount by which the val
34. r selecting a tag This tab also allows you to determine the number of ticks on each scale as well as the color and format of the ticks The Units Label field defines how the units will be distinguishable on the gauge General Background Caption Bar Needle Value Scale 3calez Forts Slider al Warning ones W Show Scale Low Range a Tags Major Tick Divisions High Range Uu Tags Minor Tick Divisions i Label Every 2 Major Ticks Tick Color m Label Format en m Tick Style Thin Line Text Color ul Units Label Unitsz E Cancel Apply Help Gauge ActiveX Properties Scale2 Tab 1 5 ActiveX Controls User s Manual 1 6 Fonts The Fonts tab of the Gauge ActiveX Properties dialog box shown below is similar to many fonts property screens with one exception the Property Name field The drop down menu allows you to specify which text font to change CurrentValueFont MainCaptionFont ScaleOneLabelFont or ScaleTwoLabelFont The Font field determines the font and the Font Style field determines whether the text will be Regular Bold Italic or Bold Italic The Effects section allows for strikeout or underlining and the Sample section shows a real size example of the font style and size you have chosen General Background Caption Bar Needle Value Scale Scale Fonts Slider Dial Warning ones Fraperty Mame CurrentV alueFont Font Font Style SIZE A
35. ral Background Caption Bar Needle Value jw Show Main Caption Emar Gauge he Text Color E e Shadow Color Tooltip amar Gauge H Cancel Apply Help Gauge ActiveX Properties Caption Tab Bar The Bar tab of the Gauge ActiveX Properties dialog box shown below is only applicable if you are using a horizontal or vertical gauge If you check the Show Bar check box a bar will appear next to the slider in the color designated in the Fill Color box You can change this color either by clicking this box and selecting a color from the Color Palette or by designing your own color If the Bar Back Color box is checked you can choose what the color behind the resizing bar will be The Edge Color determines the color of the edge and the Edge Style drop down menu allows you to select an edge style thin line medium line thick line etched bump raised sunken or no edge The Bias Bar check box changes the configuration of the bar so that the bar resizes from its center Scale Scale Forts Slider Dial Warning zones General Background Caption Bar Needle Value jw Show Bar horizontal vertical gauge only Fill Color E W Bar Back Color E Edge Color B Edge Style Sunken Bias Bar Cancel Apply Help Gauge ActiveX Properties Bar Tab 1 3 ActiveX Controls User s Manual 1 4 Needle The Needle tab of the Gauge ActiveX Properties dialog box shown below only
36. rial Black Regular 20 25 Tp trial Unicode MS 4 Effects Strikenut Underline Tp Agency FB Sample Tp Algerian AaBbYyZz Tp Arial CE Fp Arial CYR Cancel Apply Help Gauge ActiveX Properties Fonts Tab Slider Dial The Slider Dial tab of the Gauge ActiveX Properties dialog box shown below allows you to configure the appearance of the slider in horizontal and vertical gauges or the dial in circular gauges The slider dial is used to change the gauge s data value during runtime mode If the Show Slider Dial box is not marked then the rest of the tab is grayed out and any changes that were made will not be applied The Track Current Value and Continuous Update check boxes determine the data collection methods The Detents field allows you to set the increments at which the dial or slider will move within the gauge O for no detents The Slider Position field determines where the slider will be placed Left or Bottom or Right or Top The Knob section applies to all three types of gauges and determines the color of the dial or the slider The Slider Track section determines the color and style of the actual bar on which the slider moves applies to horizontal vertical gauge only Gauge ActiveX General Background Caption Bar Needle Value Scale Scale Fonts Slider Dial Warning ones v Show Slider Dial Knob Track Current Value Fill Color Continuous Update g
37. ssscssscssssscsssssncesssssecsssscesssssassssessassnsacnsensanes 2 1 INTRODUG TION died 2 1 PROPERTY PAGES dende ica 2 1 ANALOG NIE UT oca rem come o e eundi ee AA o einen dee ast into D E a Gel Mlle EE LT eco eet Mond LEE n 2 1 ANALOG INPUT 2 TAMEN 2 2 ANALOG OPM e e ea dd o de de o 2 2 DIGITALOUTP U pcm 2 3 Bre READ Meer CC 2 3 SECTION 3 NUMERIC ACTIVEX ssscssssssssesssssssssssesssssssecnssccssseassssocsssscacsstacsassnsncnssacenssssacssssnensnsessnnensanes 3 1 INTRODUCTION TO NUMERIC AG TIVEX 4 cect cos oic imer tb torva eo va Eu I EASA E Dread Heus 3 1 NUMERIC ACTIVEX PROPERTIES rerit retenta tete testati rarae naD n LEAS A sae ras asa doa raa 3 1 GENERAL TABS E CR O M H 3 1 BACKGROUND TAB TERT XY 3 2 CAFTIOPW AB sema eed n di tu Ei E th pi m UE I CLE dE ed Ee e EE 3 2 DIGH S A HIPS 3 3 O A A NM A UR M LR UR M M ER LE 3 4 FONTS TAB EU CI ei e o TT 3 4 SECTION 4 SLIDER ACTIVEX CREE 4 1 INTE TON cect eres at stag A Pup LA aad 4 1 PRODEBINAGBO aed usce cag ado ola dr Ad Le a A II 4 1 GENE RAs ORE EEUU NEED 4 1 SEIDE cuta Li a DLL MA IM sd tu EM Ei ME sida Ree eee NCPR eae A 4 2 SLOW SPIN BUTIONS PAST SPINJBUTTORS tn o oca 4 3 SOALE ccr 4 4 milite CA hy I NEP TERCER T 4 4 ede mcr c r A 4 5 ISBN TETTE 4 5 FONS tex ne
38. to this field during runtime mode Scale Scale Fonts SliderDial Warning ones General Background Caption Bar Needle Value i Show Current Value v Data Entry Value Format soc Text Edge Color E v Fil Color Edge Style Sunken M Cancel Apply Help Gauge ActiveX Properties Value Tab Gauge ActiveX Scale1 The Scale tab of the Gauge ActiveX Properties dialog box shown below configures the appearance of the interior left or bottom scale on the gauge You can define a Low and High range for the gauge by either typing in numbers or selecting a tag This tab also allows you to determine the number of ticks on each scale as well as the color and format of the ticks The Units Label field defines how the units will be distinguishable on the gauge General Background Caption Bar Needle Value Scale Scale Forts Slider al Warning ones W Show Scale Low Range jo Tags Major Tick Divisions High Range 00 Tags Minor Tick Divisions E Label Every MajorTicks Tick Color E Labe ael MM Tick Style Thin Line Text Color E Units Label Units o Lancel Apply Help Gauge ActiveX Properties Scale1 Tab Scale2 The Scale2 tab of the Gauge ActiveX Properties dialog box shown below configures the appearance of the interior left or bottom scale on the gauge The user can define a Low and High range for the gauge by either typing in numbers o
39. ue of the process variable is increased or decreased when clicking on a spin button The Repeat Rate option determines how frequently the increment action will be repeated when you hold down the mouse on a spin button 4 3 ActiveX Controls User s Manual 4 4 Check the Acceleration option to include acceleration capabilities for the spin buttons Acceleration means that when you keep a spin button pressed after the specified Delay the process value will be increased or decreased by the acceleration Increment Fill Color and Arrow Color define the colors of the spin buttons Position determines the location of the spin buttons relative to the slider Choices are Surround places one spin button at each end of the slider Group Left or Bottom places the pair of spin buttons at the left or bottom end of the slider depending upon the slider s orientation and Group Right or Top places the pair of spin buttons at the top or right end of the slider depending upon the slider s orientation Scale The Scale tab in the Slider ActiveX Properties dialog box shown below configures the appearance of the sliders scale You can define a Low and High range for the slider scale by either typing in numbers or selecting a tag This tab also allows you to determine the number of ticks on the scale as well as the color and format of the ticks The Units Label field defines how the units will be distinguishable on the slider Scale Position defines t
Download Pdf Manuals
Related Search
Related Contents
TK 102 559 kB S.O. Windows98, NT, 2000, ME, XP 取扱説明書(1.5 MB) Sprint クアトロ タインドリード 木製シェルフロー 取扱説明書 Samsung SM-G318H Manual de utilizare Copyright © All rights reserved.
Failed to retrieve file