Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3213

Modify channel properties

$
0
0

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


Viewing all articles
Browse latest Browse all 3213

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>