08-10-2023 02:35 AM
Does anyone know the protocol that is used by MAX to auto discover cRIO's (and ethernet cDAQ's I suppose).
I am keen to start building in auto discovery tools into my UI's to auto discover networked devices. I could do my own thing, but if there is something from NI which I can piggy back off of that would be even better.
I have had a quick snoop with Wireshark and nothing was jumping out at me, I haven't been very thorough though. I am just hoping someone has the information to hand.
08-10-2023 02:56 AM - edited 08-10-2023 02:58 AM
While there might be a way to try to reverse engineer the network protocol, but that will be a very painful experience. It's NI proprietary on several levels! But NI has an API for this which they call NI System Configuration API.
It is fully supported in LabVIEW in the Measure I/O=>System Configuration palette. It is a bit involved to use but there are many examples that show you how to use it under examples\nisyscfg.
You can also use the Example Finder under Help->Find Examples to search for examples based on search keywords.