Тёмный

Use PyVISA to Program Test Tools with Python - Workbench Wednesdays 

element14 presents
Подписаться 766 тыс.
Просмотров 34 тыс.
50% 1

If your test tools have a USB or LAN port, there is a good chance that they support SCPI (Standard Commands for Programmable Instruments). Using pyVISA, you can write automated test programs for most equipment without needing expensive software. This video explains terms like VISA (Virtual Instrument Software Architecture), SCPI, and USBTMC (USB Test & Measurement Class). Then it shows you how to use Python and pyVISA to connect to test equipment with a Raspberry Pi or any Linux computer.
Discuss the episode and ask James questions on the element14 Community! bit.ly/3VGD1dc
Shop - Multicomp Pro digital oscilloscope: bit.ly/3CgC0So
Engage with the element14 presents team on the element14 Community - suggest builds, find project files and behind the scenes video: bit.ly/3tmdewv
Visit the element14 Community for more great activities and free hardware: bit.ly/3q6YMpu
Tech Spotlights: bit.ly/3qPrDhM
RoadTest and Reviews: bit.ly/3pV5Bux
Project14: bit.ly/31wbnJY
#0:00 Welcome to Workbench Wednesdays
#0:39 Bench DMM Example
#2:10 VISA, SCPI, and IVI
#5:38 GPIB, LXI, Ethernet, Serial, USBTMC
#8:21 Automated Bode Plot
#10:38 Gotchas
#12:47 Give Your Feedback
#testequipment #oscilloscope #digitalmultimeter #raspberrypi #python #pythonprogramming #scpi

Наука

Опубликовано:

 

27 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@georgetroulis
@georgetroulis Год назад
"So now, let's teach the intern about getting replaced by automation" 😂😂
@vk3xe
@vk3xe Год назад
I've been a developer for a long time, but only started tinkering with electronics recently, and this was a great introduction for me. Didn't know about pyvisa at all, you've saved me a serious chunk of time
@albertogarciaengineer3053
@albertogarciaengineer3053 Год назад
Thank you very much for making this video! It's very useful. Keep it up! EDIT: Also, it feels really good to have questions addressed in this detailed and easy to understand manner such as the ones I had in the Bode video. Thank you again!
@christophervillanti1417
@christophervillanti1417 Год назад
I have a room full of GPIB instruments that I've always wanted to automate. This is a great avenue to explore!
@MakenModify
@MakenModify Год назад
This was really helpful. In a company I worked we had all the stuff from Ni, that made it easy and expensive. Atm I try to get all the test automation stuff done with Python. I looked into Visa in the past but it was all quite confusing. This video helped a bunch, thank you very much. 😃👍
@jarongaus
@jarongaus Месяц назад
Fantastic instructions. It's a crazy world out there !!!
@philnewman7613
@philnewman7613 5 месяцев назад
Thanks a lot, great overview!! Although I am on Windows and hope to get it running there as well! :) Love your humor btw.
@wb7ond
@wb7ond Год назад
Great video, I remember fooling with that GPib, I used visual basic for all my automation... Send the SCPI strings via the GPib interface card. We even had radios that responded to remote commands via serial port, so the test set and the radio worked together for basic tests, and build a file showing the go and no-go values. Back in the day of the PCI bus cards, I had a GPib card that would interface into the HP equipment... I really enjoy your videos, well made, to the point and don't waste my time. I have to run them a bit slower at times, you talk very fast... Thanks again.
@rafaelraimer
@rafaelraimer Год назад
5:40 (...)" about 500 years ago Hewlett Packard was best known as a test and measurement company "(...) 😀
@smart6821
@smart6821 Год назад
500 years ago, what is the test and measurement equipment
@Workshopshed
@Workshopshed Год назад
I did have a HP function generator that was almost this old. It was big and heavy but lovely construction, had to get rid of it before a move unfortunately.
@CraigPetersen12f36b
@CraigPetersen12f36b 9 месяцев назад
I have a pretty sizable HP instrument collection and I have most of them all connected via the HP-IB bus to my instrument controller. Most of the software I have been using has been on Windows, some of the software I use is free such as GPIB tools, Timelab and Phase Noise, the other is a commercial product called HTBasic. The last couple of months I have been dabbling in Python to control some of my instruments over the GPIB bus with the help of Chat GPT, and so far it's been quite some fun. While I do not have any of these instruments connected via any spare RS-232 ports your video was very informative.
@TheMoeP
@TheMoeP Год назад
I had to do this in college with keysight instrumentation connected to windows and it was a pain in the butt to configure, it was all LAN but the school's network was terrible so there was always a problem and only a few stations could get it to work. When we did get it to work we used MATLAB and the coding was pretty straightforward, the professor would make us do extra so we would need to export the results and open them on Excel and create a graph (I know useless). I'm starting a job that requires me to test all day I can confirm SCPI is super useful
@jessstuart7495
@jessstuart7495 Год назад
Numpy and Matplotlib are my favorite python modules.
@wuttipatph8243
@wuttipatph8243 Месяц назад
Good Video
@stefansweerts3825
@stefansweerts3825 Год назад
Thanks for the great video. I wonder what your experience is with the speed performance between serial, USB and ethernet?
@bald_engineer
@bald_engineer Год назад
For basic control, almost no difference. For bulk/binary data transfers, speed is as you would expect for the interfaces--depending on the instrument.
@stefansweerts3825
@stefansweerts3825 Год назад
@bald_engineer thanks, I need to test it, especially with the data that comes from my scope.
@malgailany
@malgailany Год назад
Interesting and informative video. Thanks.
@garthhowe297
@garthhowe297 Год назад
Earlier this year I tried to implement my Tier 1 vendors control software, and failed. I then went the Python route, and it worked pretty easily. I did need to use delays as well to get reliable responses.
@brucetouzel6484
@brucetouzel6484 Год назад
is it possible to mirror test equipment display onto a monitor by simply using a USB to HDMI adaptor ?
@MAYERMAKES
@MAYERMAKES Год назад
oh that is indeed very hnady Ineed to look into which of my equipment supports visa.
@Workshopshed
@Workshopshed Год назад
Just doing the same and realised I can potentially put a Linux based screen onto my USB scope
@christiant2134
@christiant2134 13 дней назад
Hello, the test code is not available anymore on the website. Is there anyway to get it still?
@bald_engineer
@bald_engineer 13 дней назад
There are links to the github repo in the comments section of that page. I am pretty sure I updated the code after the video anyway.
@element14presents
@element14presents 13 дней назад
Thanks! The links have now been updated, and as @bald_engineer says, there's updated code on the github, also linked.
@elsageorgekurian3165
@elsageorgekurian3165 Год назад
can u share the code
@rmartin971
@rmartin971 Год назад
Gee! I didn't know that I was over 500 years old.
@vladtomoiaga4721
@vladtomoiaga4721 Год назад
Maybe ASRL stands for Async serial?
@BBRR442
@BBRR442 12 дней назад
hahaha why am i getting targeted ads for visa credit cards?? lol
@vjyothsnapriya
@vjyothsnapriya День назад
waveform generator connect to pc via lan cable in sterps sir please help me sir
@vjyothsnapriya
@vjyothsnapriya День назад
any one can help me signal generator to pc steps
Далее
Digital Multimeter Buying Guide - Workbench Wednesdays
10:19
EEVblog #1232 - Add Web Access To Old Instruments!
19:59
PythonAutomationSeries 4 writing your first program
28:59
8mm film camera digitalization mod.
4:49
Просмотров 33 тыс.
Lab Instrument Automation with Python
10:10
Просмотров 10 тыс.
“Hello, world” from scratch on a 6502 - Part 1
27:25
Неразрушаемый смартфон
1:00
Просмотров 1,8 млн