FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

NET API – Fieldbus Enumerated types like UNITS_INDEX

Solved!
Go to solution

 

                Is possible convert fieldbus  enumerated filedbus types , for instance , UNITS_INDEX from number to string using some .NET API function to call from a vb.net program ?

 

                I would like to convert , for instance , UNITS_INDEX parameter from 1001 to °C.

 

                Do I need to use fieldbus specification and code myself a dictionary  with all units  to display unit description to the user of my vb.net program ?

0 Kudos
Message 1 of 2
(7,030 Views)
Solution
Accepted by topic author rsaat

Hi,

 

There is no such NI-FBUS .Net API that converts UNIT_INDEX to unit string automatically. You need to write your own code to perform the conversion.

 

 

Feilian (Vince) Shen
0 Kudos
Message 2 of 2
(7,010 Views)