04-13-2012 05:45 AM
Dear user,
As i am new to both Python and instrument control, i am having quite a problem accesing Picotest M3500A multimeter.
I have followed the tutuorial on PyVisa website to access the instrument.
But "pico.trigger()" command gives me an error VI_ERROR_NSUP_ATTR: The specified attribute is not defined or supported by the reference object.
Where pico is the variable name of my instrument.
One more thing, where can i find the SCPI commands to access the instrument? I dont have any idea about it, as i am newbie in instrument control.
I would to like to read the values from it, write values on it.
Thank you very much in advnace. Any help would be very much appreciated.
Cheers!!
04-13-2012 08:04 AM
The SCPI commands would be found in the manual, if there is one, from Picotest.
04-16-2012 06:53 AM
Hi Balkishore,
it would help us alot if you can tell us which Hardware you are using and in which Software environment you are working.
Best regards,
04-16-2012 08:09 AM
PyVisa is for Python, so that would be his software environment.
04-17-2012 02:23 AM
Hi,
I am using PyVisa as my software environment and Picotest M3500A multimeter as my hardware.
All i want to know is the supported SCPI command by the instrument.
Thank you very much in advance.
04-17-2012 02:40 AM
Hi Balkishore,
you will find the supported SCPI commands here: http://download.zeitech.de/Documents/Picotest_M3500A_Manual.pdf
This is the user manual of your Hardware.
When you look on page 113 it starts with the subject of Remote Interface Operations
Two pages later (and following 12 pages) you have several SCPI commands which should help you.
Have a nice day,
04-17-2012 03:28 AM
Thank you very much mate!!
Have a great day!!
04-17-2012 03:33 AM
Your welcome,
have a nice day
04-17-2012 03:41 AM
First of all thank you veyr much for helping me out.
I have a small query.
I have saved my instrument in a variable called my_instrument using the following code in PyVisa
from visa import *
my_instrument = instrument("USB0::0x164E::0x0DAD::TW00004282")
Now how will i invoke the measure command
VOLTage:DC? {<range>|MIN|MAX|DEF},{<resolution>|MIN|MAX|DEF}
is "my_instrument.VOLTage:DC? {<20>|1|15|2},{<4>|1|3|1}" a correct way of invoking it?
04-17-2012 03:43 AM
When i do this, i get an syntax error!! Any help would be very much appreciated.