02-21-2017 07:16 PM
Hello - I'd like to create a DIAdem script that would generate a quick list of the serial numbers and calibration dates of all the NI cards listed in NI Max on the same machine. How can I access the card information through DIAdem? I have DIAdem 2014, but can upgrade to 2015 if that's required.
02-22-2017
01:42 PM
- last edited on
01-08-2024
02:02 PM
by
migration-bot
02-27-2017 08:11 AM
Hi,
Another alternative would be to use System Configuration .NET API:
http://www.ni.com/download/ni-system-configuration-16.0.1/6411/en/
After installing it with .NET Development support, you can find some examples here:
C:\Users\Public\Documents\National Instruments\MStudioVS2012\DotNET\Examples\SystemConfiguration
The ShowAllHardware example reads all serial numbers.
When using the "Make assembly COM-Visible" option in Visual Studio, you can interact with your .NET application in DIAdem script.