--
You received this message because you are subscribed to the Google Groups "LabPy: Instrumentation in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labpy+un...@googlegroups.com.
To post to this group, send email to la...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/labpy/e7ed9800-03ce-45ea-a91b-4abde30aaae6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "LabPy: Instrumentation in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labpy+unsubscribe@googlegroups.com.
To post to this group, send email to la...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/labpy/eee71dfd-b37b-4e8f-878e-270fe4219f1d%40googlegroups.com.
Hi Alex,
Regarding the simulated instruments, my idea is to provide a comprehensive set of instruments included with pyvisa-sim. We could include an ad-hoc repo in LabPy but I think it would be better for end users to bundle them.It would be great if people start contributing devices. That is why I wanted to release pyvisa-sim soon so that people can contribute instruments before version 0.2 if they want.
It is very easy to create a definition file and the cool thing is that you can split the device definitions from the binding to resource names. That is why you could have definitions files bundled with pyvisa-sim and then allow people to write their own files just linking to them. (This is not explained yet in the docs)Regarding the channels, it will come for version 0.2. Please use the tracker for specific suggestions.
cheers,Hernán
On Fri Feb 13 2015 at 6:21:59 AM Matthieu Dartiailh <m.dar...@gmail.com> wrote:
The way to add channel is being discussed in https://github.com/hgrecco/pyvisa-sim/issues/9. This is definitively something that should be supported.--
We could consider having a repo in lapby providing simulated instruments for testing purposes and use pyvisa-sim for the ones relying on the visa protocol. That is something we will have to discuss.
Matthieu Dartiailh
You received this message because you are subscribed to the Google Groups "LabPy: Instrumentation in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labpy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/labpy/a4426147-732f-421e-9782-2a8cfab302af%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "LabPy: Instrumentation in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to labpy+un...@googlegroups.com.
To post to this group, send email to la...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/labpy/e7ed9800-03ce-45ea-a91b-4abde30aaae6%40googlegroups.com.
spec: "1.0"devices:device 1:eom:ASRL INSTR:q: "\r\n"r: "\n"error: ERROR Query not founddialogues:- q: "?IDN"r: "SCPI,MOCK,VERSION_1.0"resources:ASRL1::INSTR:device: device 1
import visa# rm = visa.ResourceManager()# Use PyVisa-SIM to mock out SCPI test instrument communicationsrm = visa.ResourceManager("simple.yaml@sim")print(rm)resourceList = rm.list_resources()if len(resourceList) == 0:print "No available resources"else:print "Resource List:"for resource in resourceList:print "\t" + resourceinst = rm.open_resource('ASRL1::INSTR', read_termination='\n')print(inst.query("*IDN?"))
Resource Manager of Visa Library at simple.yamlResource List:ASRL1::INSTRERROR Query not found
To view this discussion on the web visit https://groups.google.com/d/msgid/labpy/a663c3be-55c8-4d45-ab8e-e6b3fe9d59ad%40googlegroups.com.