curvestream.query() #377
-
Hello, I am wondering how can I differentiate between channels when attaining data from the scope using commands.curvestream.query(). When using regular 'curve_query,' one can differentiate by stating entering a number that corresponds to the channel (ex: curve_query(1) is channel 1). How can I do this for curvestream()? If I do the same as curve_query on curvestream, I receive an error saying two arguments where given but only 1 is taken. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @enrique062701, Can you provide some more details on your setup? What instrument are you using? Generally speaking I think you need to set the data source using the commands.data.source commands. -Andrew |
Beta Was this translation helpful? Give feedback.
Yeah the curve stream is certainly a faster option but comes with some limitations and more upfront configuration. Were you able to try setting the data source to the relevant channels?
I am currently traveling so I don't have a method to debug and test with you so I have a couple suggestions to get to a resolution faster:
Check out the programmers manual, all the python drivers map directly from SCPI commands so the documentation is still the same.
https://www.tek.com/en/manual/oscilloscope/2-series-mso-programmer-manual-2-series-mso-portable-oscilloscope
You could also just send the commands directly to see if we have a bug with the MSO2 driver.
More direct, technical help can be fo…