xPC Target    

Signal Tracing with a Web Browser

The Web browser interface allows you to visualize data using an interactive graphical user interface.

After you connect a Web browser to the target PC you can use the Scopes page to add, remove, and control scopes on the target PC.

  1. In the left frame, click the Scopes button.
  1. The browser loads the Scopes List page into the right frame.

  1. Click the Add Scope button.
  1. A scope of type target is created and displayed on the target PC. The scopes page displays a list of all the scopes present. You can add a new scope, remove existing scopes, and control all aspects of a scope from this page.

    To create a scope of type host, use the drop-down list next to the Add Scope button to select Host. This item is set to Target by default.

  1. Click the Edit button.
  1. The scope editing page opens. From this page, you can edit the properties of any scope, and control the scope.

  1. Click the Add Signals button.
  1. The browser displays an Add New Signals list.

  1. Select the check boxes next to the signal names, and then click the Apply button.
  1. A Remove Existing Signals list is added above the Add New Signals list.

You do not have to stop a scope to make changes. If necessary, the Web interface stops the scope automatically and then restarts it when the changes are made. It does not restart the scope if the state was originally stopped.

When a host scope is stopped (Scope State is set to Interrupted) or finishes one cycle of acquisition (Scope State is set to Finished), a button called Get Data appears on the page. If you click this button, the scope data is retrieved in comma separated variable (CSV) format. The signals in the scope are spread across columns, and each row corresponds to one sample of acquisition. The first column always corresponds to the time each sample was acquired.


  Signal Tracing with xPC Target Scope Blocks Signal Logging