User`s guide

v
8
Graphical User Interfaces
xPC Target Interface Blocks to Simulink Models . . . . . . . . . 8-2
Simulink User Interface Model . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Creating a Custom Graphical Interface . . . . . . . . . . . . . . . . . . . 8-3
To xPC Target Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
From xPC Target Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
Creating a Target Application Model . . . . . . . . . . . . . . . . . . . . . 8-8
Marking Block Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Marking Block Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10
9
xPC Target Web Browser Interface
Web Browser Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Connecting the Web Interface Through TCP/IP . . . . . . . . . . . . 9-2
Connecting the Web Interface Through RS-232 . . . . . . . . . . . . . 9-3
Using the Main Pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6
Changing WWW Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9
Viewing Signals with a Web Browser . . . . . . . . . . . . . . . . . . . . 9-10
Viewing Parameters with a Web Browser . . . . . . . . . . . . . . . . 9-11
Changing Access Levels to the Web Browser . . . . . . . . . . . . . . 9-11
10
Interrupts Versus Polling
Polling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
xPC Target Kernel Polling Mode . . . . . . . . . . . . . . . . . . . . . . . 10-2
Interrupt Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
Polling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
Setting the Polling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-6
Restrictions Introduced by Polling Mode . . . . . . . . . . . . . . . . . 10-9
Controlling the Target Application . . . . . . . . . . . . . . . . . . . . . 10-12
Polling Mode Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13