10-17-2017 02:19 AM
hello, i'm developing a communication software to my DUT. i wish to use REST communication. the DUT has sort of test mode that i can use to try out or get the URL, if i would do it in my DUT, these are the steps i will do:
1) goto 192.168.1.1\tester.html
2) key in user name and password, both is "admin"
3) then i can select which parameter to test,such as the screenshot shown
how can i do this REST communication with labview instead of browser? such that i can read and write command to my DUT programatically?
i tried to use HTTP protocol, but i dont know how to get authentication, does anyone know how to setup the communication?
Thank you very much.
10-17-2017 08:35 AM
Have you looked at the JKI REST Client toolkit? That may work. You can find it in the VI Package Manager.
10-19-2017 08:27 PM
Dear Mark,
sorry if im asking noob question, i cannot get the authentication correct with JKL REST function, maybe it is very simple but i set it wrongly.
my unit IP is 192.168.1.1
its username and password is "admin"
would you please teach me how to set the authentication?
thank you
10-20-2017 09:28 AM
I haven't really used the JKI REST client. I know that it is available but haven't played with it yet. If I get a chance I'll take a look but hopefully someone who has experience with it can chime in.