Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I programatically change the Daq device name using the Dot.Net (C#)?

I try to find a way to rename the DAQ device name (useralies) in Dot.Net C#? 

I only have an option to get UserAlias by using NationalInstruments.SystemConfiguration, but I didn't find any way to set the new UserAlias for my DAQ device. Maybe someone can help to find a way to resolve my case without using LW.

 

Please, I need it ASAP!!!

 

Thank you 

0 Kudos
Message 1 of 2
(2,098 Views)

There's actually a .NET shipping example that shows how to do that exact thing! The example is located at:

 

C:\Users\Public\Documents\National Instruments\MStudioVS2012\DotNET\Examples\SystemConfiguration\RenameAliases\cs

 

It looks like it uses the Rename method. You are correct that the UserAlias property for a device is read only.

 

-Jordan

0 Kudos
Message 2 of 2
(2,021 Views)