Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to get a list of installed motion control boards similar to the example code used to get DAQ devices?

Is there a way to get a list of installed motion control boards similar to the example code used to get DAQ devices?

           Dim deviceList() As String

            Dim currentDevice As String

            deviceList = DaqSystem.Local.Devices

 

            For Each currentDevice In deviceList

                Dim rowList() As String = New String() {currentDevice, _

                    DaqSystem.Local.LoadDevice(currentDevice).ProductType(), _

                    DaqSystem.Local.LoadDevice(currentDevice).SerialNumber(), _

                    DaqSystem.Local.LoadDevice(currentDevice).IsSimulated()}

 

                deviceGrid.Rows.Add(rowList)

            Next

This code will only show DAQ boards installed.

Thanks in advance.

0 Kudos
Message 1 of 1
(3,112 Views)