Using the MQTT client driver, an error occurred.

Forum Home Forums Communicating with Devices Using the MQTT client driver, an error occurred.

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18172
    laih
    Participant

    When using the MQTT client driver, I have connected to the MQTT broker and can view the message logs of the subscribed topics in the communication log. However, after enabling JavaScript, when I ran it again and received the subscribed messages, an error occurred: “Error: Could not find a part of the path ‘c:\program files\SCADA\ScadaComm\Config\'”.
    I know this is caused by the lack of the JavaScript file. But how should I create and configure this JavaScript file?

    #18173
    laih
    Participant

    there is my logs.

    2026-07-23 15:23:30 Connect to 192.168.31.183:1883
    Connected successfully

    2026-07-23 15:23:30 Subscribe to topic
    Subscribed successfully. Topic count: 1

    2026-07-23 15:23:59 Receive /v1/devices/1004/datas = {
    “humidity”:15,

    Subscribed devices: 4
    Error: Could not find a part of the path ‘C:\Program Files\SCADA\ScadaComm\Config\’.

    2026-07-23 15:33:44 Receive /v1/devices/1004/datas = {
    “humidity”:15,

    Subscribed devices: 4
    Error: Could not find a part of the path ‘C:\Program Files\SCADA\ScadaComm\Config\’.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.