Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generic-Network Monitor - Config File Error
#1
Trying to get the Network Monitor installed with the netmon.xml file located at

C:\Program Files (x86)\CQC\CQCData\MacroFileRoot

Trying to select the folder using the ... results in an error

[Image: Screen-Shot-2019-06-27-at-08-51-34.jpg]

If I copy/paste the location into the text box, it allows the entry.


[Image: Screen-Shot-2019-06-27-at-08-56-22.jpg]
Reply
#2
I forgot to add that the documentation is pretty poor in terms of how to write the config file.

There is an older thread about the network monitor that has a documentation page that is much more robust and detailed. This should be included in the official documentation if it is the most current.
Reply
#3
Looks like this is how you are supposed to enter the XML file path as the path:

\\CQCData\MacroFileRoot\
Reply
#4
Ok, can someone please post how to format this file?

[Image: Screen-Shot-2019-06-27-at-09-16-04.jpg]

The existing documentation only notes the sections but now how to

<Global></Global>

and

<Monitor></Monitor>

But not how to format the higher level root of the file:




Code:
<WHAT_NAME?>
  <Global></Global>
  <Monitor></Monitor>
</WHAT_NAME?>
Reply
#5
ugh. this is getting extremely tiring:


[Image: Screen-Shot-2019-06-27-at-09-33-12.jpg]


What would be the time and cost investment in revamping the entire documentation set so that people can use it to perform initial install and configuration of all features? In some cases you cannot properly configure a driver with the documentation. My current issue is a good example.

Be happy to help in this area.
Reply
#6
and more errors attempting to get the path correct:

[Image: Screen-Shot-2019-06-27-at-13-29-44.jpg]

Can anyone shed light on how to get this path working correctly? I've tried many variations.
Reply
#7
So I removed the driver and installed it again so I could show everyone the path that the driver itself displays when you are configuring for the first time which is confusing because the path shown does not exist and conflicts with the path explained in the documentation with no mention of how to format the path or if you need to include the file name: [cqc]\CQCData\MacroFileRoot\

[Image: Screen-Shot-2019-06-27-at-13-55-26.jpg]
Reply
#8
This is a third party driver, so the docs were provided by the writer of the driver. That's the pros and cons of third party drivers. You get more drivers, but maybe the docs aren't as complete and they can get behind.

For the file, CML code cannot access anything other than files under

[cqc]\CQCData\MacroFileRoot

So a path of \ points to that top level CML file directory. A path of \Drivers\Network_Monitor\netmon.xml means that the actual Windows level file would be:

[cqc]\CQCData\MacroFileRoot\Drivers\Network_Monitor\netmon.xml

Be careful about how you create files down there in the program files area. If you don't do it with a text editor that is running in admin mode, then you end up not actually creating a file there, it gets vectored to some per-user account area magically. So right click on a command window and run as admin. Then change to the right directory, from above, and see if the file is actually there.

If so, then we can worry about the actual format of it. If not, then it got vectored elsewhere. You can just run notepad from that admin style command window and create the file and save it and that should then show up there where it is supposed to.
Dean Roddey
Explorans limites defectum
Reply
#9
I'm not sure what the actual top level XML element is. I'll look at the driver code here in a minute when I have a working system again and see if I can figure it out from there.

There is a little XML parser program that comes with CQC, which will do a basic syntax check so that you can at least be sure it's valid XML. Or you could open with a web browser and most of those will validate it and display it if it's legal.

That way, if you still get complaints it has to be about the contents and not the basic XML syntax, which is fairly easy to get wrong.
Dean Roddey
Explorans limites defectum
Reply
#10
(06-27-2019, 10:33 AM)Dean Roddey Wrote: This is a third party driver, so the docs were provided by the writer of the driver.

I installed this driver from CQC, I did not install the one in that thread. The official CQC documentation for the driver, below, is here: http://IP_ADDRESS/Web2/CQCDocs/CQCDocs.html?topic=/Reference/Drivers/Network&page=/NetworkMonitor

[Image: Screen-Shot-2019-06-27-at-14-42-28.jpg]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  IP Camera Error gReatAutomation 3 196 06-11-2019, 08:36 AM
Last Post: gReatAutomation
  Reading Text File of Google Calendar Entries kblagron 30 1,236 06-10-2019, 04:31 PM
Last Post: kblagron
  Question on Socket Error kblagron 4 487 04-07-2019, 09:19 PM
Last Post: kblagron
  Files of type "Logic Server config" cannot be edited chmilar 2 338 04-06-2019, 11:53 AM
Last Post: chmilar
  Variable Error in Scheduled Task znelbok 3 429 03-22-2019, 09:30 AM
Last Post: Dean Roddey
  Sonos Update Error (Again) karenlee 39 4,331 12-04-2018, 10:15 PM
Last Post: Dean Roddey
  File Tag Repository and .M4A Files kblagron 10 1,444 11-18-2018, 04:40 PM
Last Post: Dean Roddey
  System Config tom 13 1,589 11-04-2018, 06:45 PM
Last Post: Dean Roddey
  Echo Config file issues ghurty 6 1,687 07-08-2018, 07:13 PM
Last Post: ghurty
Question Boolean image is in error state ghurty 4 1,326 05-24-2018, 09:04 PM
Last Post: ghurty

Forum Jump:


Users browsing this thread: 1 Guest(s)