View Full Version : Exporting Lon Points To Bacnet Via Jace
dave2142
03-15-2010, 08:36 PM
Is there and easy way to overcome the 1-N error? I am trying to export things like nviValveOverride and other enumerations that go from -1 to say 20.
I know bacnet only allows 1 and up. I have tried linear conversion but that does not work. I have buit some logic to do it which works but just curious if there was an easier way.
willf650
03-15-2010, 09:25 PM
I don't know whether one of the enumerations of the valve override is an "auto" but -1 is generally a "null" value. If your point is as I desribed you can simply go into the lon point and change the enumration facets in the Lon point and get rid of the -1 and use the auto enumeration as the fall back. I've done just that and it worked in my situation.
You could always just create a point and add 1 or 2 to it and do some programing to subtract the 2 prior to feeding it into the nvi valve override. You can even set you pseudo export enum point so the descriptor facets match the valve override facets but with just a physically higher enumeration.
Either way is a fairly simple solution.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.