#155 Problem getting started with NHaystack. Can't see points in query view or in SkySpark Builder

Johannes Frankenhaeuser Fri 28 Feb 2014

Hello, I'm trying to set up my first site to SkySpark using NHaystack but don't get it to work. I hope you have some useful tips what I'm doing wrong.

The site is a JACE 3.7.46 WS, with two more JACEs with the points. I'm trying to add just one ahu from one JACE to get started. I've added the NHaystackService under the Config/Services. I've added the NHaystack Site under Drivers/NiagaraNetwork and I've added the Equip under Drivers/NiagaraNetwork/AVIALINE_3_61/Points/302TK01 I've added the haystack tags ahu discharge air temp sensor from the Set of markers to the TE10 point (Drivers/NiagaraNetwork/AVIALINE_3_61/Points/302TK01TE10) I've rebuilded the cache and I see the site and the equip in the NHaystack service view but I can't find anything in the NHaystack Query view. Not with point not with sensor not with air Filter. When I'm adding the Set of Markers ahu sensor return temp air to the TE19 point (Drivers/NiagaraNetwork/AVIALINE_3_61/Points/302TK01TE19) I don't even get the Essentials Ref equipRef slot for the equip

Any suggestions what's wrong or what I should do? I guess that the Point group name 302TK01 starting with a number can cause some problems?

In SkySpark I get the following error with the builder when I try to browse the points haystackLearn(@1a3d8a5b-ad5c85d9, "slot:/Drivers/NiagaraNetwork/AVIALINE_3_61/points/\$3302TK01")

ERROR: Func failed: haystackLearn(Obj conn,Obj arg); args: (Ref,Str) sys::ParseErr: Expecting newline, not , (null) [Line 4]

Call Trace

conn::connAppLearnLoad (eval:1)

proj::EvalErr: Func failed: haystackLearn(Obj conn,Obj arg); args: (Ref,Str)

sys::ParseErr: Expecting newline, not , (null) [Line 4] [eval:1]
proj::FanLibFn.call (LibFn.fan:92)
proj::Fn.callLazy (Fn.fan:55)
proj::Call.eval (Call.fan:32)
proj::Context.evalExpr (Context.fan:233)
proj::Context.evalAt (Context.fan:225)
proj::Context.eval (Context.fan:192)
proj::Context.evalToGrid (Context.fan:243)
connExt::ConnLib.connLearn (ConnLib.fan:335)
connExt::ConnLib.connAppLearnLoad (ConnLib.fan:310)
java.lang.reflect.Method.invoke (Unknown)
fan.sys.Method.invoke (Method.java:559)
fan.sys.Method$MethodFunc.callList (Method.java:198)
fan.sys.Method.callList (Method.java:138)
proj::FanLibFn.doCall (LibFn.fan:99)
proj::Context.call (Context.fan:402)
proj::FanLibFn.call (LibFn.fan:88)
proj::Fn.callLazy (Fn.fan:55)
proj::Call.eval (Call.fan:32)
proj::TryCatch.eval (Operators.fan:160)
proj::Context.evalExpr (Context.fan:233)
proj::Context.evalAt (Context.fan:225)
proj::Context.eval (Context.fan:192)
proj::ApiMod.evalAllExpr (ApiMod.fan:253)
proj::ApiMod.evalAll (ApiMod.fan:219)
fan.sys.List.each (List.java:588)
9 More...

Cause:

sys::ParseErr: Expecting newline, not , (null) [Line 4]
  concurrent::Future.get (Future.java:100)
  connExt::ConnActor.learn (ConnActor.fan:51)
  haystackExt::HaystackLib.haystackLearn (HaystackLib.fan:210)
  java.lang.reflect.Method.invoke (Unknown)
  fan.sys.Method.invoke (Method.java:559)
  fan.sys.Method$MethodFunc.callList (Method.java:198)
  fan.sys.Method.callList (Method.java:138)
  proj::FanLibFn.doCall (LibFn.fan:99)
  proj::Context.call (Context.fan:402)
  proj::FanLibFn.call (LibFn.fan:88)
  proj::Fn.callLazy (Fn.fan:55)
  proj::Call.eval (Call.fan:32)
  proj::Context.evalExpr (Context.fan:233)
  proj::Context.evalAt (Context.fan:225)
  proj::Context.eval (Context.fan:192)
  proj::Context.evalToGrid (Context.fan:243)
  connExt::ConnLib.connLearn (ConnLib.fan:335)
  connExt::ConnLib.connAppLearnLoad (ConnLib.fan:310)
  java.lang.reflect.Method.invoke (Unknown)
  fan.sys.Method.invoke (Method.java:559)
  fan.sys.Method$MethodFunc.callList (Method.java:198)
  fan.sys.Method.callList (Method.java:138)
  proj::FanLibFn.doCall (LibFn.fan:99)
  proj::Context.call (Context.fan:402)
  proj::FanLibFn.call (LibFn.fan:88)
  19 More...
  sys::ParseErr: Expecting newline, not , (null) [Line 4]
    haystack::ZincReader.err (ZincReader.fan:689)
    haystack::ZincReader.verify (ZincReader.fan:311)
    haystack::ZincReader.consumeNewline (ZincReader.fan:324)
    haystack::ZincReader.readRow (ZincReader.fan:162)
    haystack::ZincReader.readRows (ZincReader.fan:147)
    haystack::ZincReader.readGrid (ZincReader.fan:44)
    haystack::Client.call (Client.fan:222)
    haystack::Client.call (Client.fan)
    haystackExt::HaystackConn.onLearn (HaystackConn.fan:496)
    connExt::Conn.receive (Conn.fan:284)
    haystackExt::HaystackConn.receive (HaystackConn.fan:42)
    connExt::ConnActor.receive (ConnActor.fan:99)
    concurrent::Actor._dispatch (Actor.java:228)
    concurrent::Actor._work (Actor.java:199)
    concurrent::ThreadPool$Worker.run (ThreadPool.java:256)

Thankful for any help, Best Regards, Johannes Frankenhaeuser

Mike Jarmy Fri 28 Feb 2014

Yes, this slot path:

Drivers/NiagaraNetwork/AVIALINE_3_61/Points/302TK01TE19

looks like it could certainly be the culprit, because of the name starting with a digit. Can you try renaming it or duplicating it and seeing if that one works? I think this may be a case that we've never run into before.

Do you have tons of points that start with a digit, or just the one?

Johannes Frankenhaeuser Mon 3 Mar 2014

We have quite a lot of points that start with a digit and I'm quite sure that there will be points starting with a digit at other sites we start looking at later on.

Mike Jarmy Mon 3 Mar 2014

And if you rename the one point, just to see what happens, does it work?

Johannes Frankenhaeuser Thu 6 Mar 2014

I can't rename the points since it's not my site.

I'm now trying with other existing points Drivers/NiagaraNetwork/AVIALINE_3_61/Points/Ulkoanturit/TE00 but don't even get a Haystack Essential value slot for that one. And no Haystack Essential for Drivers/NiagaraNetwork/AVIALINE_3_61/Points/Sähkömittaus/kiinteisto/KWh Actually the Haystack tags don't even find the slot for most points regardless if any part of the path starts with numbers. I still tried to add the set of markers to these two but the same result in SkySpark Builder One slot that NHaystack found was slot:/Drivers/NiagaraNetwork/AVIALINE_3_61/points/$3301TK01/SC02 And when I added the ahu damper return cmd air set of markers for it I find it in the N Haystack Query View with the damper and the cmd filter but not with sensor or return filter

And in SkySpark I don't find it at all

in the builder haystackLearn(@1a3d8a5b-ad5c85d9, "slot:/Drivers/NiagaraNetwork/AVIALINE_3_61/points/\$3301TK01")

ERROR: Func failed: haystackLearn(Obj conn,Obj arg); args: (Ref,Str) sys::ParseErr: Expecting newline, not , (null) [Line 3]

Call Trace

conn::connAppLearnLoad (eval:1)

proj::EvalErr: Func failed: haystackLearn(Obj conn,Obj arg); args: (Ref,Str)

sys::ParseErr: Expecting newline, not , (null) [Line 3] [eval:1]
proj::FanLibFn.call (LibFn.fan:92)
proj::Fn.callLazy (Fn.fan:55)
proj::Call.eval (Call.fan:32)
proj::Context.evalExpr (Context.fan:233)
proj::Context.evalAt (Context.fan:225)
proj::Context.eval (Context.fan:192)
proj::Context.evalToGrid (Context.fan:243)
connExt::ConnLib.connLearn (ConnLib.fan:335)
connExt::ConnLib.connAppLearnLoad (ConnLib.fan:310)
java.lang.reflect.Method.invoke (Unknown)
fan.sys.Method.invoke (Method.java:559)
fan.sys.Method$MethodFunc.callList (Method.java:198)
fan.sys.Method.callList (Method.java:138)
proj::FanLibFn.doCall (LibFn.fan:99)
proj::Context.call (Context.fan:402)
proj::FanLibFn.call (LibFn.fan:88)
proj::Fn.callLazy (Fn.fan:55)
proj::Call.eval (Call.fan:32)
proj::TryCatch.eval (Operators.fan:160)
proj::Context.evalExpr (Context.fan:233)
proj::Context.evalAt (Context.fan:225)
proj::Context.eval (Context.fan:192)
proj::ApiMod.evalAllExpr (ApiMod.fan:253)
proj::ApiMod.evalAll (ApiMod.fan:219)
fan.sys.List.each (List.java:588)
9 More...

Cause:

sys::ParseErr: Expecting newline, not , (null) [Line 3]
  concurrent::Future.get (Future.java:100)
  connExt::ConnActor.learn (ConnActor.fan:51)
  haystackExt::HaystackLib.haystackLearn (HaystackLib.fan:210)
  java.lang.reflect.Method.invoke (Unknown)
  fan.sys.Method.invoke (Method.java:559)
  fan.sys.Method$MethodFunc.callList (Method.java:198)
  fan.sys.Method.callList (Method.java:138)
  proj::FanLibFn.doCall (LibFn.fan:99)
  proj::Context.call (Context.fan:402)
  proj::FanLibFn.call (LibFn.fan:88)
  proj::Fn.callLazy (Fn.fan:55)
  proj::Call.eval (Call.fan:32)
  proj::Context.evalExpr (Context.fan:233)
  proj::Context.evalAt (Context.fan:225)
  proj::Context.eval (Context.fan:192)
  proj::Context.evalToGrid (Context.fan:243)
  connExt::ConnLib.connLearn (ConnLib.fan:335)
  connExt::ConnLib.connAppLearnLoad (ConnLib.fan:310)
  java.lang.reflect.Method.invoke (Unknown)
  fan.sys.Method.invoke (Method.java:559)
  fan.sys.Method$MethodFunc.callList (Method.java:198)
  fan.sys.Method.callList (Method.java:138)
  proj::FanLibFn.doCall (LibFn.fan:99)
  proj::Context.call (Context.fan:402)
  proj::FanLibFn.call (LibFn.fan:88)
  19 More...
  sys::ParseErr: Expecting newline, not , (null) [Line 3]
    haystack::ZincReader.err (ZincReader.fan:689)
    haystack::ZincReader.verify (ZincReader.fan:311)
    haystack::ZincReader.consumeNewline (ZincReader.fan:324)
    haystack::ZincReader.readRow (ZincReader.fan:162)
    haystack::ZincReader.readRows (ZincReader.fan:147)
    haystack::ZincReader.readGrid (ZincReader.fan:44)
    haystack::Client.call (Client.fan:222)
    haystack::Client.call (Client.fan)
    haystackExt::HaystackConn.onLearn (HaystackConn.fan:496)
    connExt::Conn.receive (Conn.fan:284)
    haystackExt::HaystackConn.receive (HaystackConn.fan:42)
    connExt::ConnActor.receive (ConnActor.fan:99)
    concurrent::Actor._dispatch (Actor.java:228)
    concurrent::Actor._work (Actor.java:199)
    concurrent::ThreadPool$Worker.run (ThreadPool.java:256)

in the folio I actually find it when I go straight to the point

haystackLearn(@1a3d8a5b-ad5c85d9, "slot:/Drivers/NiagaraNetwork/AVIALINE_3_61/points/\$3301TK01/SC02")

Mike Jarmy Thu 6 Mar 2014

Brian and I will work with you to figure out what's up

Login or Signup to reply.