Specifying Driver Options for IVI Instrument at Initialization Primary Software: Instrument Drivers/IVIPrimary Software Version: N/A Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I am developing an instrument driver for my instrument. I open the session using a logical name and I want to be able to change the driver's behavior based on the Driver Options specified in the Virtual Instrument settings, but I don't know how to access that value from within the instrument driver. How can I do this? Solution:
Some cases exist where the user must specify instrument driver options at initialization time. An example is when a user specifies a particular instrument model from among a family of instruments that the driver supports. Specification of driver options at initialization time is useful when using simulation. The user can specify driver-specific options through the DriverSetup keyword in the optionsString parameter to the Prefix_InitWithOptions function. If the user opens an instrument session by passing a logical name, the user also can specify the options in MAX. This information, along with information on other attributes, can also be found in Chapter 2 of the document linked below. Related Links: Product Reference: Measurement Studio LabWindows/CVI Instrument Driver Developers Guide Attachments:
Report Date: 12/06/2002 Last Updated: 03/19/2008 Document ID: 2S5D2FPG |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
