I have a small problem, in which i am struck for few days now.
Here is my Get Restful code, in this i use Pathparam to pass parameter via the web-browser.
As it can be seen from above code i pass the parameter using PAthParam to the python file Command.py. But when i enter the parameter value (i.e) name1=USB0::0x164E::0x13EC::TW00008555; which is the id of my instrument connected and command=*IDN?, which is SCPI command to get the name of the instrumnet, in the browser window i get an error: Command result NULL, but in reality i should get either 0 or 1.
But am kinda confused if the values i am passing in the browser window is actually passed in or not?
If not what i could do to pass this values? I have attached the image of the error,
Is my code correct? or am i missing something in it?
Any help would be very much appreciated. Thanks a ton in advance.!
I think I'll just lie down here for a second. And ponder this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth