Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 2 out of 5     Rate this Document

Using an Instrument's Controls to Alter a Setting on the Instrument

Primary Software: Instrument Drivers/IVI>>IVI Compliance Package
Primary Software Version: 2.2
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: What happens when I use my instrument's manual controls to alter a setting on the instrument when I'm running an IVI instrument driver?

Solution: If you use the manual controls of your instrument to change a setting while you are running an IVI instrument driver, then you will invalidate the state caching mechanism of the driver. The driver will not automatically sense that the change has taken place. IVI instrument drivers should only be used when all instrument control will be programmatic.

If the instrument supports a local lockout, then application developers can implement it to prevent users from invalidating the cache. If the user must change the instrument’s settings manually, then the application developer must provide a way for such users to invalidate the cache programmatically; e.g., place a command button on the application's front panel.

Related Links:

Attachments:





Report Date: 04/30/1998
Last Updated: 10/27/2004
Document ID: DIRECT-3U2U95

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit