Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 2011

Instantiated a PXIe-2727 resistor module

$
0
0

I have a Pxie-2727 resistor module in our PXI system.  Based on NI documentation, I understood that the PXIe-2727 driver is resided in the NI switch library, so I wrote the following code to instantiated the 2727 resistor module. 

"NiResistorDriverInstance = new NISwitch(resourceName,
        SwitchDeviceTopology.Device2727Independent, simulate, resetDeviceOnConnection);"

But an Exception was through.

Ivi.Driver.ValueNotSupportedException: 'ModularInstruments.NISwitch: The specified topology string is invalid.

Topology: 2727/Independent

Status Code: -200198
Error Code: -1074118643'

 

Can some one help me?


Viewing all articles
Browse latest Browse all 2011

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>