Programming on the VMEbus with Xembedded Part 2. XVMEStat in VMEman.
Programming on the VMEbus with Xembedded
Part 2. XVMEStat in VMEman.
This week let’s talk a little about the Status function in our board support package. This is an application within the XVME-984 software support library that allow a user to look at the module IDs on the VMEbus. This includes our processor boards and any Input/Output modules on the VMEbus.
XVMEstat is a 32-bit menu-driven Windows application that displays the contents of the PC/AT status registers module type, system resource, master/slave interface information, VMEbus ownership, and front panel LED information.
XVMEstat Window
The XVMEstat window is automatically updated every second (default). Select the Timer… option from the Configure menu to change this update rate. You can force an immediate read of the status registers by selecting the Read option in the menu bar.

Figure 4-1. XVMEstat window
Clicking the icon in the window title bar or right-clicking anywhere in the title bar will open the System menu, which will allow you to size or close the window.

Figure 4-2. System menu
Configure Menu
This section describes the menu options associated with the Configure Menu.

Figure 4-3. XVMEstat Configure menu
Configure->Timer
This menu option opens a dialog for configuration of the time interval for reads and writes. The two choices are:
- The default option, Time (ms), enables the operating system to send a WM_TIMER message to the application at periodic intervals. The default value is 1000 milliseconds.
- The Continuous option generates continuous reads or writes.

Figure 4-4. Configure->Timer
Configure->Title
This menu option opens a dialog that allows you to change the window title.

Figure 4-5. Configure->Title
View Menu
This section describes the menu options associated with the View menu. If your Xembedded CPU board only supports four master and four slave images, the Master Interface (5-8) and Slave Interface (5-8) options will not be available and the other options will be Master Interface and Slave Interface.

Figure 4-6. XVMEstat View menu
View->General
This menu option selects general information to be displayed. This is the view seen when the XVMEstat window is first opened. Note the processor module model number is displayed along with information about the system resource controller (see part 1 for this information), the Bus Request Level being used, the request mode and release mode. You can also see the display of the front panel lights, these can be set or reset in the VMEman monitor functions (see last weeks Part 1).

Figure 4-7. General View
View->Master Interface
This menu option displays information related to the master interface. There are two master interface windows, one for images 1-4 and one for images 5-8. If your XVME CPU board only supports four master images, there will be only one window, for images 1-4.

Figure 4-8. Master Interface View
View->Slave Interface
This menu option displays information related to the slave interface. There are two slave interface windows, one for images 1-4 and one for images 5-8. If your XVME CPU board only supports four slave images, there will be only one window, for images 1-4.

Figure 4-9. Slave Interface View
View->Interrupts
This menu option selects information related to VMEbus and Auxiliary interrupts to be displayed.

Figure 4-10. Interrupts View
Read Menu Command
This function performs an immediate read of the XVME PC/AT status registers and updates the display.
Help Menu
This menu lets you access the BSP help file and the About XVMEstat window, which displays version information for the XVMEstat executable.
As you can see this XStat function in our VMEman product can be very helpful in understanding your current setup and how those actions are programmed.
Feel free to send your questions to support@xembedded.com.
Related posts:
Programming on the VMEbus with Xembedded Part 2. XVMEStat in … 3:34 pm on July 6, 2009 Permalink
[...] post: Programming on the VMEbus with Xembedded Part 2. XVMEStat in … SHARETHIS.addEntry({ title: "Programming on the VMEbus with Xembedded Part 2. XVMEStat in [...]