Measurement-computing UL for NI LabVIEW Bedienungsanleitung Seite 98

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 109
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 97
Universal Library Virtual Instruments (VIs) Miscellaneous VIs
GetCfg.VI
Returns a configuration option for a board. The configuration information for all boards is stored in the
CB.CFG file. This information is loaded from CB.CFG by all programs that use the library. The current
configuration can be changed within a running program with the SetCfg.VI VI function. This GetCfg.VI
returns the current configuration information.
Inputs: InfoType [I32] - The class of configuration information that you want to retrieve.
BoardNum [I32] - The board number assigned when installed with InstaCal. Can be
0 to 100.
DevNum [I32] - Specifies the board device.
ConfigItem [I32] - Specifies the configuration item.
Outputs:
ConfigVal [I32] - Current configuration value.
ErrCode [I32] - Error code. See ErrMsg.VI
Arguments:
InfoType The configuration information for each board is grouped into different categories.
This argument specifies which category you want. It should be set to one of the
following constants:
GLOBALINFO - Information about the configuration file.
BOARDINFO - General information about a board.
DIGITALINFO - Information about a digital device.
COUNTERINFO - Information about a counter device.
EXPANSIONINFO - Information about an expansion device.
MISCINFO - One of the miscellaneous options for the board.
BoardNum The board number associated with a board when it was installed with InstaCal.
DevNum Selects a particular device. If InfoType=DIGITALINFO then DevNum specifies which
of the board's digital devices you want information on. If
InfoType=COUNTERINFO
then
DevNum specifies which of the board's counter devices.
ConfigItem Specifies the configuration item you want to retrieve.
The
ConfigItem value depends on the InfoType value. Refer to the "Notes" section
for a list of all possible values for
ConfigItem.
ConfigVal The specified configuration item is returned to this variable.
Notes:
The list of
ConfigItem values for each category of configuration information is:
InfoType = GLOBALINFO
GIVERSION - CB.CFG file format. This information is used by the library to determine compatibility.
GINUMBOARDS - Maximum number of installable boards
GINUMEXPBOARDS - Maximum number of expansion boards allowed to be installed.
InfoType = BOARDINFO
BIBASEADR - Base address of board
BIBOARDTYPE - Returns a number in the range of 0 to 8000 Hex.
BIINTLEVEL - Interrupt level. 0 for none or 1 - 15
98
Seitenansicht 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 108 109

Kommentare zu diesen Handbüchern

Keine Kommentare