News:

Welcome on our forum!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ccdr

#1
Quote from: Arthur Grasin on March 21, 2020, 09:28:27 AM
Hello.

Do you mean the "ping.exe" command in the windows console?
It could be the "ping.exe" command in the windows or certain plugin from data logger suite as long as its activity could reflect the data logger suite live running status.
#2
I'd like to let Data logger suite issue periodic Ping message to my IP device watchdog manifesting its live status.
Is it possible to implement the periodic Ping operation in a Data logger suite native way?
Thanks.
#3
I'd like to know if it is possible to install and config data logger suite package through command line?
If yes, it would be very friendly for remote deployment operation.
Thanks.
#4
Hello
Can I give my connection an alias?
I find it becomes difficult to distinguish one connection from another when the quantity of my connection exceeds 3. Can I label my connection with an alias so that I can quickly jump to the right connection?
Thanks.
#5
The MQTT plugin export functionality seems NOT to work at all.
I was using local host, i.e. 127.0.0.1:1883 with QoS of 0 and Retain option unchecked.
Even you try it with plain text string that is made up in Expression plugin, say 'test_string'.
It still fails and tells you "MQTT client exception occurred. Unable to publish."
Whereas I try the same config. with mosquitto_pub.exe, it just works.
#6
Just installed the latest release of MQTT plugin, i.e.  4.0.8 build 727.
Unfortunately, the problem persists.
Any error log file that I can refer to so that more clues could be found?
#7
Quote from: Arthur Grasin on August 09, 2018, 07:28:39 AM
Did you try to connect to this MQTT server using another MQTT client?

I just tried mosquitto_pub client publishing message of {"READ_DEVICE":"DUMMY_RESULT"}.
It succeeded.
But using Data logger suite MQTT export plugin publishing M_READ_DEVICE which equals '{"READ_DEVICE":"DUMMY_RESULT"}' in Expression plugin.
It keeps prompting "Unable to publish."
I also tried to use Data logger suite to publish plain 'test' string it still failed.
So weird.
#8
Quote from: Arthur Grasin on August 09, 2018, 07:28:39 AM
Did you try to connect to this MQTT server using another MQTT client?

No. The Data logger suite is the only MQTT client.
In fact, I've got successful publishing one hour ago with unintentional wrong Expression.
Then I fixed the wrong Expression.
However, now I'm not able to reproduce that wrong case.
#9
I was publishing M_READ_DEVICE.
Why does Data logger suite keep prompting me that "MQTT. Data have been processed successfully." with "MQTT. Client exception occurred. [Unable to Publish.]?
In last post, you suggested that "This error may mean that the plugin cannot convert a value to a string."
But this parsed result is of pure string type. How could this happen?
#10
Hello
I was using the following expression
M_READ_DEVICE = '{"READ_DEVICE":"' + 'DUMMY_RESULT' + '"}'
and got following parsed result
M_READ_DEVICE[8]="{\"READ_DEVICE\":\"DUMMY_RESULT\"}"
It seems that the Expression plugin already automatically added the escape character of \ in front of " for me.
I was wondering if the MQTT will publish this escape character together within the whole string.
Thanks.
#11
Quote from: Arthur Grasin on August 09, 2018, 06:24:24 AM
Hello,

NEW_ITEM = '{'+FLOATTOSTR(ITEM)
Thanks for the timely feedback.
Then how to escape the character double quote " within the single quote mark?
#12
Hello
I'm going to concatenate a string say {" to certain parsed item of floating type using Expression plugin.
How to make up the expression escaping the " symbol? Should I need to explicitly cast floating type to string type?
NEW_ITEM = "{""+ITEM, correct?
Thanks
#13
Quote from: Arthur Grasin on August 08, 2018, 08:53:40 AM
This error may mean that the plugin cannot convert a value to a string.
I was wondering this might be led by my MQTT server/broker side. But your answer seems to imply it was induced by client side. How could the Data logger suite not be able to covert a value to a string?

#14
Data loggers and plug-ins / MQTT export string format
August 08, 2018, 08:38:59 AM
Hello
I'd like to use MQTT export to publish variables in format of {"var1":"value1", "var2":"value2"} or [{"var1":"value1"}, {"var2":"value2"}].
Can I achieve that?
What the default format does the Data Logger Suite publish the variable through MQTT?
What does it mean when prompting "MQTT. Data have been processed successfully." with "MQTT. Client exception occurred. [Unable to Publish.]?
Thanks
#15
Quote from: Arthur Grasin on July 19, 2018, 09:28:34 AM
1. Hmm. I suppose you may specify multiple names in the "Data source name" field.

2.

VAR3=VAR1+VAR1

VAR1 and VAR2 must be strings.
If my expression is too long, then how to change line within Expression plugin?