Products > Test Equipment
Instrument Remote Control Scripting
luudee:
Hi Guys,
in an effort to be more sophisticated with all the equipment
I have been collecting over the years, I decided to get in to
the programming of it all. Specifically, remote controlling of
the equipment.
So, I was wondering, is there a global depository for such scripts ?
I am sure we all could share them, if allowed by our employers.
May be we can have a File Area @ EEVBlog, where such files can
be deposited. But I think it needs to be moderated, to make sure
submissions are owned by the people submitting them and it is a
relevant script ... How do I get Dave's attention?
So far I have written two very simple scripts. Most of them are
SCPI, but some (ITECH) uses a serial Frame format. I use a Serial
to Ethernet bridge for that equipment (HF5111B).
1. Battery Emulator
This script should work with most R&S PSUs. I have tested on
a NGP804 and NGU401. It takes a starting voltage, a end voltage
and battery capacity in ah. The output voltage is linearly
decreased from starting voltage to end voltage until all
(virtual) energy has been depleted and the battery is shut
down.
2. A Pulse generator for my DC Load, ITECH IT8513C+
This basically takes 3 current/time settings and plays them back
when a trigger is issued. The idea was to have a 'pre' and 'post'
settings, as well as a main setting, that's the actual pulse I
am interested in, the pre and post are just to start and stop in
a known state.
Both of these scripts are written in python, but do not have
a GUI, only CLI at this point. Maybe someone would like to write
a gui ?
Cheers,
luudee
coromonadalix:
If your files aren't big, you post them here in your thread ... they will be kept
and maybe if people see your scripts they can or could create some gui, maybe
And you have some software here testcontroller who can possibly do the job, the author is here and answers your questions .. just need to create the needed file(s) and structure to control your instruments
https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
luudee:
Thank you for your feedback coromonadalix !
I was hoping for a central depository for the scripts. If you search Git hub
you can see that there are dozens of scripts there as well, but it's all over
the place ... I thought it would be neat to have a central place, organized.
Yes, I have seen testcontroller and have attempted to create stubs for what
I want to do. But even with the authors' help, I could not get it to do what I
want (which is NOT logging).
Cheers,
luudee
luudee:
Hi Guys,
here are my versions of the sweep tool for the NGu-401 SMU and Battery simulator
that will work with NGP-804 and NGU-401.
Cheers,
luudee
PS: Strange, I can upload "tar" file, but not compressed tar file, e.g. tgz ot tar.gz
dobsonr741:
When I see SCPI and python I recommend useing Jupyter notebooks. Immediate gratification in visualizing and you can easily put up buttons, if ever needed.
You do all of it the browser, can dicument the measurement results very well, along with the code in one file.
Navigation
[0] Message Index
[#] Next page
Go to full version