> Could somebody directs me towards a good source of information or examples
> on the CWIviscope object. I'm no quite sure how to work with the Load,
Store,
> Export and Import method of this object. Do you have to use them in
conjunction
> or are they exclusive to each other? Does a configuration apply to all
properties
> of a CWIviScope object or to just some of them?
The methods that you are speaking of reside on the CWIviConfiguration
object. The methods are all exclusive, however Load/Store and Export/Import
would frequently be paired. A CWIviConfiguration object is a generic object
which is a holder for CWIvi properties. For example, suppose you wanted to
use your scope in a particular application where it needs to operate using
two different triggering mo
des at different times during the app. One
option would be to use the properties on the control to set it up for a
given mode. The second would be to preconfigure the two states and store
(using the Store method or the store button in the property pages) them into
CWIviConfiguration objects. They could later be recalled by using the Load
method (or the load button in the property pages) . When Load is executed,
the contents of the CWIviConfiguration object will overwrite the existing
state of the properties.
Import and Export provide a way to persist these CWIviConfiguration objects
to a file. This might be useful for sharing configurations between
applications or for storing off "known good" configurations for a given
device.
> I'm not connected to an external device, can it pose a problem?
You can use the methods without having a live connection to a device. They
can be used with an IVI instrument driver in simulation mode but by
themselves they actually don't even require a
valid instrument session. A
CWIviConfiguration object is strictly a storage mechanism and the
Load/Store/Export/Import methods provide a way interact with the storage.
Regards,
Jason White
National Instruments