Widget procedures

The following widget-elated procedures are included in this section:

Create a camera view on Px page (Live Video Player or Camera Widget)

This procedure describes how to add a Live Video Player widget or a Camera Widget to a Px page.

NoteThe remoteVideo feature (available in NiagaraAX-3.5.53 and later) allows you to use cameras associated with remote stations. The supervisor station must be licensed for the “remoteVideo” feature and the remote station present under the supervisor’s Niagara Network.

With an enabled and configured VideoDriverNetwork, do the following:

  1. From the NiagaraAX nav tree, under the DVR device, drag a camera onto a Px page. The Make Widget Wizard displays.

  2. In the Make Widget Wizard, select the From Palette option and choose the desired widget (Live Video Player or Camera Widget) from the videoDriver Palette in the Make Widget Wizard.

    NoteYou can configure the widget properties in the Make Widget Wizard before clicking OK or in the Properties dialog box after the widget is on the Px page.

  3. In the Make Widget Wizard, click the OK button. The widget appears on the Px page.

  4. Select the widget, resize, and move it to the desired location on the Px page.

  5. Save the Px page and select the Wb Px View to display the Camera Widget or Live Video Player widget.

Create a video multistream Px view

You can use the Video Multistream Pane to display multiple video images using a single video binding. This is available only using cameras that are controlled by a single DVR device.

To create a video multistream Px view, do the following:

  1. Create a new Px page or open a Px page to edit in the Px Editor view.

  2. From the NiagaraAX nav tree, expand nodes: Station > Drivers > VideoDriverNetwork to display the DVR device.

  3. Drag the DVR device onto the Px page. The Make Widget Wizard displays.

  4. In the Make Widget Wizard, select the Video Multistream Pane from the palette field and click the OK button. The Video Multistream widget appears on the Px page and in the Px Editor Widget Tree pane.

  5. In the Px Editor Widget Tree, double-click on the VideoMultistreamPane. The properties dialog box displays.

  6. In the Properties dialog box, set the properties, as desired and click the OK button. Refer to “About the Video Multistream Pane widget” on page 2-22 for more details about the widget properties.

    NoteIt is sometimes easier to set the Layout property in the Properties dialog box than to drag the widget borders. Using absolute positioning (abs), notice that using a value of “0” for both X and Y values places the top left corner of the widget in the top left corner of the parent object.

  7. From the NiagaraAX nav tree, expand the DVR device and any container folders (such as a Cameras folder) to display cameras under the DVR device.

  8. For each camera that you want to add to the view, do the following:

    • Drag a camera onto the CanvasPane under the VideoMultistreamPane. The Make Widget Wizard displays.

    • In the Make Widget Wizard, with the From Palette option selected, select the Live Video Player widget from the videoDriver Px folder and click the OK button. The Live Video Player displays on the Px view.

    • Select the Live Video Player widget, resize, and move it to the desired location.

  9. Save the Px page and select the Wb Px View to display the multistream Px view.