Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Wire Math Singleport Components and "Missing operand" error
Wire Math Singleport Components and "Missing operand" error [message #1814555] Fri, 13 September 2019 07:58 Go to next message
Andrea Marson is currently offline Andrea MarsonFriend
Messages: 3
Registered: September 2019
Junior Member
To test the "Wire Math Singleport Components" package, I connected a OPC/UA asset to the math module.
One of the asset's channels is named "temperature". I would like to feed this channel to the math module, for example to compute its average. I set operand.name field to
temperature
but I get this error:

2019-09-13T09:49:32,356 [DefaultQuartzScheduler_Worker-7] WARN  o.e.k.e.w.m.s.AbstractSingleportMathComponentOptions - Missing operand


What string should be used instead for the operand.name field?

Thank you in advance.
Re: Wire Math Singleport Components and "Missing operand" error [message #1814729 is a reply to message #1814555] Tue, 17 September 2019 07:58 Go to previous messageGo to next message
Nicola Timeus is currently offline Nicola TimeusFriend
Messages: 17
Registered: May 2017
Junior Member
The configuration you described should be correct.. the value of the operand.name field must exactly match the name the name of a channel emitted by the asset.

You can try the following steps:

- The comparison is case sensitive, so channel name and the operand.name value characters must have the same case
- Remove any leading or trailing spaces from both channel name and operand.name

Best Regards
Nicola
Re: Wire Math Singleport Components and "Missing operand" error [message #1814755 is a reply to message #1814729] Tue, 17 September 2019 12:57 Go to previous messageGo to next message
Andrea Marson is currently offline Andrea MarsonFriend
Messages: 3
Registered: September 2019
Junior Member
I double checked the names and everything seems correct.
I also downloaded the XML file to further verify I used the same name.

The channels of the OPC UA asset are shown in attached image kura1.png.
The operand.name field is shown in attached file kura2.png.

Is it possible that I didn't defined other fields of the channel properly?

index.php/fa/36323/0/


operand.name:

index.php/fa/36324/0/
  • Attachment: kura1.png
    (Size: 31.95KB, Downloaded 224 times)
  • Attachment: kura2.png
    (Size: 6.43KB, Downloaded 262 times)

[Updated on: Tue, 17 September 2019 13:00]

Report message to a moderator

Re: Wire Math Singleport Components and "Missing operand" error [message #1814972 is a reply to message #1814755] Mon, 23 September 2019 15:06 Go to previous messageGo to next message
Nicola Timeus is currently offline Nicola TimeusFriend
Messages: 17
Registered: May 2017
Junior Member
Hi, you can also check if the OPCUA driver is able to read from the remote device.

If something fails during the read operation, the "temperature" metric will not be emitted on the Wires.
You can try connecting your OPCUA asset directly to a Logger configured in VERBOSE mode, and check if the temperature value is printed.

If not, please check driver connection parameters and/or channel configuration.

Regards,
Nicola
Re: Wire Math Singleport Components and "Missing operand" error [message #1815016 is a reply to message #1814972] Tue, 24 September 2019 08:47 Go to previous message
Andrea Marson is currently offline Andrea MarsonFriend
Messages: 3
Registered: September 2019
Junior Member
Hi,

we're using an OPC UA simulated device. We're pretty sure it works properly because temperature data is sent to the cloud:
index.php/fa/36380/0/

However, we can't see any logging messages related to this field:
root@sbcspg:~# tail -f /var/log/kura.log | grep -i temperature
2019-09-24T10:43:29,040 [DefaultQuartzScheduler_Worker-6] INFO  o.e.k.i.w.l.Logger -     temperature_timestamp : 1569314608989
2019-09-24T10:43:32,008 [DefaultQuartzScheduler_Worker-9] INFO  o.e.k.i.w.l.Logger -     temperature_timestamp : 1569314611993
2019-09-24T10:43:32,056 [DefaultQuartzScheduler_Worker-9] INFO  o.e.k.i.w.l.Logger -     temperature_timestamp : 1569314611993
2019-09-24T10:43:35,005 [DefaultQuartzScheduler_Worker-2] INFO  o.e.k.i.w.l.Logger -     temperature_timestamp : 1569314614996


The entire application looks like this:
index.php/fa/36382/0/

[Updated on: Tue, 24 September 2019 08:49]

Report message to a moderator

Previous Topic:Edge computing: invoke python script from kura
Next Topic:Kura WatchDog
Goto Forum:
  


Current Time: Fri Apr 26 06:46:13 GMT 2024

Powered by FUDForum. Page generated in 0.03947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top