Ravi Kumar Posted April 4, 2020 Share Posted April 4, 2020 I have compiled hex file from here for OpenScope MZ. I have entered into JSON mode and tried to run oscilloscope using documentation from here. And I am getting this response { "osc": { "1": [ { "command": "read", "statusCode": 2684354573, "wait": 0 } ] } } And I was expecting data as mentioned in the documentation. PS: I am not planning on using WavesFormsLive as I need to not only get data but also want to perform calculations using it. Link to comment Share on other sites More sharing options...
JColvin Posted April 14, 2020 Share Posted April 14, 2020 Hi @ravikumargrk, I apologize for the long delay. I asked another engineer more experienced with the OpenScope MZ for feedback on this. Thanks, JColvin Link to comment Share on other sites More sharing options...
AndrewHolzer Posted April 15, 2020 Share Posted April 15, 2020 Hi @ravikumargrk, Can you describe what else you have done to configure the OpenScope, such as trigger conditions, and anything else you are doing? Typically this error is thrown while the instrument being read hasn't idled yet. You'll need to issue another read command in that case until the status code comes back 0, with data, or a terminal error. Let me know the answers the above questions, and we'll get to the bottom of this. Regards, Andrew Link to comment Share on other sites More sharing options...
Ravi Kumar Posted April 15, 2020 Author Share Posted April 15, 2020 Hi, thanks for the reply In this mean time, I was able to find the solution in this forum : I had to use "trigger" token to set trigger parameters for oscilloscope. after which state of oscilloscope changed from "Idle" to "armed". Same command in documentation : https://reference.digilentinc.com/reference/software/digilent-instrumentation-protocol/protocol#set_parameters3 So it was all about not reading manual properly Link to comment Share on other sites More sharing options...
AndrewHolzer Posted April 15, 2020 Share Posted April 15, 2020 Hi @ravikumargrk, Glad you were able to find your solution! If you need any further help, do not hesitate to reach out. We'd be more than happy to help out! Regards, AndrewHolzer Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.