ClassPrefix_reset

IVI Driver Help

Edition Date: August 2011

Part Number: 370430H-01

»View Product Info
Download Help (Windows Only)

IVI Inherent Function

To form the ClassPrefix_ of the function name, use the prefix of the class driver with which you are working. For example, if you are working with the IviDmm class driver, use the prefix IviDmm_ to create the correct function name, IviDmm_reset.

C Function Prototype

ViStatus ClassPrefix_reset (ViSession vi);

Purpose

Places the instrument in a known state. In an IEEE 488.2 instrument, the ClassPrefix_reset function sends the command string "*RST" to the instrument. ClassPrefix_reset also sends the default setup commands to the instrument to configure settings for the proper operation of the instrument driver. You can either call the ClassPrefix_reset function separately, or you can select it to be called from the ClassPrefix_init function for the class driver that you are using.

Parameter

Name Type Description
vi ViSession The instrument handle that you obtain from the ClassPrefix_init or ClassPrefix_InitWithOptions functions for the IVI class driver that you are using. The handle identifies a particular IVI session.

Return Values

WAS THIS ARTICLE HELPFUL?

Not Helpful