Hello:
I have a dataset where most of the channels are unit-less. There is one channel that I want to define it's Unit properties as meters (m) in vbscript. Sounds simple, but not having much luck.
Tried this:
Call ChnPropSet("[4]/DTC", "/DTC", "m") '...Set Units
...And this
Call ChnPropValSet("[4]/DTC", "unit_string", "m") '...Set Unit
...Also
Call RootPropValSet("Unit", "m") '...Don't see where a channel is defined
I can manually set the unit to meters in the Data Portal with no trouble.
Thanks!
Steve