scan_visa_resources()#
- scan_visa_resources( ) VisaScanResult[source]#
Scan VISA resources, query each for identity, and return matched instruments.
Pass an already-open
rm(e.g. one a caller opened for its own backend diagnostics) to reuse it instead of opening a second one.backendis always the backend the caller asked for:Nonefor the default with@pyfallback, or an explicit specifier.Each result records that requested
backend, not the one it resolved to, so aNonestaysNoneand theVisaConfigand config block built from the result keep the default-then-fallback behavior instead of pinning whichever backend this machine happened to use.