| Contents | Index |
update(obj, 'type',
'name', 'P1', V1, ...)
update(obj, struct)
obj | IVI configuration store object. |
'type' | Type of entry; type can be HardwareAsset, DriverSession, or LogicalName. |
'name' | Name of the DriverSession, HardwareAsset, or LogicalName to be updated. |
'P1' | First parameter for updated entry; other parameter-value pairs may follow. |
V1 | Value for first parameter. |
struct | Structure defining entry fields to be updated. |
update(obj, 'type', 'name', 'P1', V1, ...) updates an entry of type, type, with name, name, in IVI configuration store object, obj, using the specified parameter-value pairs. type can be HardwareAsset, DriverSession, or LogicalName.
If an entry of type, type with name, name does not exist, an error will occur.
Valid parameters for a DriverSession are listed below. The default value for on/off parameters is off.
Parameter | Value | Description |
|---|---|---|
Name | string | A unique name for the driver session. |
SoftwareModule | string | The name of a software module entry in the configuration store. |
HardwareAsset | string | The name of a hardware asset entry in the configuration store. |
Description | Any string | Description of driver session |
VirtualNames | structure | A struct array containing virtual name mappings |
Cache | on/off | Enable caching if the driver supports it. |
DriverSetup | Any string | This value is software module dependent |
InterchangeCheck | on/off | Enable driver interchangeability checking, if supported |
QueryInstrStatus | on/off | Enable instrument status querying by the driver |
RangeCheck | on/off | Enable extended range checking by the driver, if supported |
RecordCoercions | on/off | Enable recording of coercions by the driver, if supported |
Simulate | on/off | Enable simulation by the driver |
Valid fields for HardwareAsset are
Parameter | Value | Description |
|---|---|---|
Name | string | A unique name for the hardware asset |
Description | Any string | Description of hardware asset |
IOResourceDescriptor | string | The I/O address of the hardware asset |
Valid fields for LogicalName are
Parameter | Value | Description |
|---|---|---|
Name | string | A unique name for the logical name |
Description | Any string | Description of hardware asset |
Session | string | The name of a driver session entry in the configuration store |
update(obj, struct) updates the entry using the fields in struct. If an entry with the type and name field in struct does not exist, an error will occur. Note that the name field cannot be updated using this syntax.
Update the Description parameter of the driver session named ScopeSession in the IVI configuration store object named c.
c = iviconfigurationstore; update(c, 'DriverSession', 'ScopeSession', 'Description', ... 'A session.');
add | commit | iviconfigurationstore | remove

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |