Kepco KLR Series Developers Guide Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 128
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
3-4 KLR-DEV 060713
3.3 EXAMPLES USING C
The examples illustrated in the following paragraphs are installed in the ivi\drivers\kepco\exam-
ples folder during installation of the IVI-COM driver. Figures showing the complete code for each
example are provided
3.3.1 SETTING THE OUTPUT TO A VALUE AND MAKING A MEASUREMENT
The filename for this example is C output example.txt, located in the ivi\drivers\kepco\examples
folder (see Figure 3-1 for complete code).
All programs written in C++ must open the driver and include some standard H files.
List (supported in standalone configurations only)
KpDCPwr_ClearLists Empties all lists. Prepares the KLR to receive a new list.
KpDCPwr_SetVoltageListValues Sends the new voltage point to the KLR.
KPDCPWR_ATTR_VOLTAGE_LIST_POINTS Provides the location of the next point to be entered into voltage list.
KpDCPwr_SetCurrentListValues Sends the new current point to the KLR.
KPDCPWR_ATTR_CURRENT_LIST_POINTS Provides the location of the next point to be entered into current list.
KpDCPwr_SetListDwellTimes Sends the new dwell point to the KLR.
KPDCPWR_ATTR_LIST_DWELL_POINTS Provides the location of the next point to be entered into dwell list.
KpDCPwr_SetListControl Sends the new relay point to the KLR.
KPDCPWR_ATTR_LIST_CONTROL_POINTS Provides the location of the next point to be entered into control
(relay) list.
KPDCPWR_ATTR_LIST_SKIP Provides ability to skip a number of points when a list is repeatedly
executed.
KpDCPwr_ExecuteVoltageList Causes a list to be executed.
KpDCPwr_HaltVoltageList Causes a list to be stopped; useful when list is executed continu-
ously.
KpDCPwr_SetListCycles Causes the list to be executed a number of times. Sending 0 will
make list execute forever.
KPDCPWR_ATTR_LIST_CYCLES Provides number of cycles for a list to be executed. The clear list
sets this variable to 1.
Utility
KpDCPwr_EnablePasswordState Enables Password controlled conditions.
KPDCPWR_ATTR_POSITIVE_CURRENT_RATED_LIMIT Limit model current limit
KPDCPWR_ATTR_POSITIVE_VOLTAGE_RATED_LIMIT Limit model voltage limit
KpDCPwr_DisablePasswordState Turn off password enable
KpDCPwr_ChangePassword Allows for changing the password of the power supply.
TABLE 3-1. KLR IVI-COM DRIVER FUNCTIONS (CONTINUED)
Function Name Purpose
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 127 128

Comentarios a estos manuales

Sin comentarios