Skip to content

Adding a new instrument and respective commands #249

Answered by amccann-Tek
afonsotrepa asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @afonsotrepa,

I spoke with @nfelt14 on this topic this morning.

There are two levels of use within tm_devices:

  • Basic - Connection management, write/query,
  • Full Python API - Full featured python code.

Right now third party instruments can be added for that 'basic' level which should still be an improved experience over the typical PyVISA connection management (better write/query/set_and_check methods, access to the driver class (scope example))

A full Python API for these instruments cannot be added easily, as the Python APIs are generated code. You might be able to manually do this but as you have noticed it is going to be pretty cumbersome. To get that code completion and syntax che…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nfelt14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants