|
To create or edit forms, you must have VWorks Technician- or Administrator-level access. You should also have an understanding of how to create protocols in the VWorks software.The Form Designer window contains buttons that perform specific commands, which are available elsewhere in the VWorks window. You can find these buttons under Specialized Buttons in the Form Designer window.
The following table describes four different options that you can use as the run button on your form. To configure these run buttons, except the Pushbutton control, see Configuring the specialized buttons in this section.
Provides the most flexible way to run a protocol using a form, because you can allow the form users to choose which protocol to run and the number of run times. The Pushbutton control is under the General Controls area. For details on how to configure the Pushbutton control, see Adding form controls that allow editing or runtime data display and Example: Creating a scripted Pushbutton control in a form. Setup requirements. In the Protocol Options area of the VWorks window, you must specify the form to use (.VWForm). You can also choose to automatically load the form file, so that the form opens automatically when the protocol is opened. Setup requirements. The properties for the button must specify the protocol file (.pro) and the number of times to run it. Setup requirements. The properties for button must specify the runset file (.rst), and you must select the Use global context for variables check box for the form.
Changes the VWorks window between the normal view and full-screen view of the form:
• Full screen on. Displays only the form in the VWorks window. Optionally, the view can include the Main Log, Pipette Log, Time Constraints Log, and Progress tabs. All other controls and areas, such as menus, toolbars, and the work area are hidden.
• Full screen off. Displays the form as a tab in the protocol area of the VWorks window.Figure. VWorks window with example form in full screen view
Figure. VWorks window with example form in tab view (full screen off)
IMPORTANT The Menu Action button gives a user who has VWorks Operator-level access the ability to perform actions that normally require Technician-level access.
These commands are also available in the Tools menu of the VWorks window. For a description of the Tools menu commands, see Tools menu. This command is also available in the Tools menu of the VWorks window. For a description of the Tools menu commands, see Tools menu.
1 If the button you are configuring is already in the Form Canvas area of the Form Designer window, go to step 4.If the desired button is not yet in the form, click Specialized buttons, and drag the button to the Form Canvas area.
2 In the Form Canvas area, click the button that you are configuring. A resizing box appears around the button’s border. To resize the button, drag one of the sizing handles.Note that the corresponding properties appear for the selected button as the following figure shows.
3 Edit the Properties of the button as required. The following table describes all the properties, but a given button may use only a subset of these properties.
Optional. To select an image to use as an icon in addition to the button caption, click the field, and then click thebutton that appears.
Optional. To change the font size for the selected control and subsequently created controls, type a new number in the field. Optional. To change the font color for the selected control and subsequently created controls, click the field, and then click thethat appears.
4
a In the VWorks window protocol tab, under Protocol Options > Properties, click the Form to use field, and then click thebutton that appears.
b In the Open dialog box, locate and select the form file that you are creating. (.VWForm), and then click Open.
c In the Automatically load form file field:
5 If you are configuring the Run Runset button, make sure you select the Use global context for variables check box in the Form Designer window.
If you want the JavaScript variables used by the form's controls to interact with variables in the protocols, ensure that the Use global context for this protocol check box is selected in the Protocol Options for each protocol.If one of the protocols uses its own private context (the Use global context for this protocol check box is not selected), you can include a getGlobalObject() JavaScript call in each case where a variable in the protocol must read from, or write to, one of the variables used by the form. For details, see VWorks-defined functions.Note: If you want one control to overlap another control on the form, select the control that you want on top, and then click Bring selected control to front.