What a problem could it be (See subject)?
Variable "DC_DeviceName" == DC (logical name I created in MAX)
Message of exception is:
"IviSessionFactory: An instance of the specific driver referenced by the driver session name could not be created, or did not support the specified type.\r\nSpecific driver (software module): NationalInstruments.ModularInstruments.NIDCPower 14.1.0 Fx45\r\nClass name: NationalInstruments.ModularInstruments.NIDCPower.NIDCPower, NationalInstruments.ModularInstruments.NIDCPower.Fx45, Version=14.1.45.49153, Culture=neutral, PublicKeyToken=4FEBD62461BF11A4"
InnerException of exception above is:
{"Unable to cast object of type \"NationalInstruments.ModularInstruments.NIDCPower.NIDCPower\" totype \"Ivi.Driver.IIviDriver\"."}
Logical name and driver session in MAX are properly (as it seems to me) configured.
Images of Max-settings and exception are attached as well.
Please, help.