6.1.2. Test the Block Script in the CIMPTRACK CimView Window

About this task

Use the new Add Blocks button in CimView to add a block in the PRT_UI SCHEDULE region.

A Test the CimView Screen
B Check the PRT_UI SCHEDULE Region
  1. Test the CimView Screen

Procedure

  1. Make sure your project is running.
  2. Click the Add Blocks button.

    An Item ID Entry dialog box should open.

  3. Do the following.
    A Enter an Item Id in the text field (e.g. B38521).
    B Click OK.

    A Model Type Entry dialog box:

    • Should open.
    • Reports the choices, which were entered in the script, that you have for valid entries.
  4. Do the following.
    A Enter a Model Type in the text field (e.g. 36).
    B Click OK.
    1. Check the PRT_UI SCHEDULE Region

    The block that you entered through CimView should be listed in the PRT_UI SCHEDULE region.

    Create a loop that will create 5 new blocks and as for the Item ID and Item Type before each block is created.

    Hint: Review the For...Next statement.