PythonAutomationSeries 4 writing your first program

  Рет қаралды 24,998

Tim Fairfield's AE Test and Measurement Channel

Tim Fairfield's AE Test and Measurement Channel

7 жыл бұрын

Пікірлер: 24
@muhammadbilalaziz9602
@muhammadbilalaziz9602 3 ай бұрын
Hi Tim great video. Just one question. At 23:35 how can we add Python with calls to PYVISA in the language section when we are exporting the sequence?
@ravindraparmar6653
@ravindraparmar6653 2 жыл бұрын
You are legend🔥🔥
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 2 жыл бұрын
I hope it is a good legend 😀
@daveedwards5951
@daveedwards5951 5 жыл бұрын
Tim.....You've connected to and downloaded commands sets for a recent Keysight scope. Can you tell me if I will hit a brick wall connecting an old HP 3455 voltmeter via hpib-USB adapter? Would that work?
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 5 жыл бұрын
The command set is not available for it through command expert. That Instrument may not support scpi at all. I would encourage you to scour the web and see what command sets it uses first. You could possibly do it directly through python if you are able to establish communication with it. But this may be a tough project.
@daveedwards5951
@daveedwards5951 5 жыл бұрын
OK, How about a MUCH more recent HP/Agilent 6612C power supply. If it is recognized and does support scpi commands, how do I get them "in" to command expert?@@timfairfieldAETestandMeasure
@elchino835
@elchino835 6 жыл бұрын
Hi Tim, I recently "upgraded" to windows 10 and when exported a simple test secuence to python I get this error: raise errors.VisaIOError(ret_value) if ret_value in self.issue_warning_on: if session and ret_value not in self._ignore_warning_in_session[session]: warnings.warn(errors.VisaIOWarning(ret_value), stacklevel=2) It used to work well with windows 7
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 6 жыл бұрын
Hi. Sorry just saw this. Did you update Pyvisa? What version are you running?
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 5 жыл бұрын
I would encourage you to contact the Keysight support team. It is very possible your Python isnt setup correctly. But if it worked before the upgrades. check firewall and security.
@syedshakeel4657
@syedshakeel4657 4 жыл бұрын
Hi Thanks a lot for the osm tutorial :) I have one query on this can i able to connect Keithly SMU using Keysight connection expert? Or how make keithly SMU automation? Plz reply
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 4 жыл бұрын
I don’t have a Keithley SMU. Command expert allows you to put generic scpi commands in the list. In addition you can use pyvisa to attach in a similar way to the Keithley. I am not sure how connection expert would do seeing other vendor’s instruments. I do seem to recall seeing it discovering other vendor instruments. But there is a generic entry (use the command set scpi99) when setting up in Command expert for scpi. You just need to know the commands you need. scpi has a generic command set that all instruments use like *idn and then there are instrument specific commands. You can need to know those and enter them as a “command” entry. And it will work.
@vjyothsnapriya
@vjyothsnapriya 3 ай бұрын
How to install keysight waveform generator and command expert in pc
@vishnusudheer6049
@vishnusudheer6049 Жыл бұрын
Hii I tried installing pyvisa in pycharm The command rm=ResourceManager() is showing an error stating that module visa has no attribute ResourceManager. Can you tell me what is the issue
@JesseMProductions
@JesseMProductions 2 жыл бұрын
Hello, would I be able to use these methods for controlling a R&S®NGA100 power supply?
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 2 жыл бұрын
Yea you could select Scpi99 as your instrument and there will be generic commands. from there you could export etc. You would need the R&S programmers guide for instrument specific commands as the Keysight library wouldn’t have those. I may be putting out some instructions on 3rd party instruments using the same workflow in the near future.
@kunaiidiot
@kunaiidiot 3 жыл бұрын
there some weird double audio going on ~27:39 but good video nonetheless
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 3 жыл бұрын
yeah new video setup, Ive since fixed that in later videos , thanks for pointing it out. It was second audio channel duplicating the first.
@sobbsaroonie
@sobbsaroonie 2 жыл бұрын
I can't find a command set for a GWInstek MFG-2260M Function Generator, Very frustrating....
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 2 жыл бұрын
Is there a programming guide for that instrument? Most instruments with SCPI implement a standard SCPI library where you can "borrow" from another instrument's library and by looking at the programming guide you can deduce the instrument-specific calls as well. Also, a good place to look is code online. I will have a future video coming that will show how to reverse engineer SCPI code in that way "Clone and own" style to get an old piece of bench equipment working through automation. Would that be of interest to you?
@rohithvemulapally1350
@rohithvemulapally1350 3 жыл бұрын
Hi , can i connect this python with jenkins to automate the testing of microcontroller pins with a waveform generator which requires a special waveforms which are created with a code?
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 3 жыл бұрын
you probably can. I haven’t tried Jenkins and I just took a quick overview. if it has python extensions it should work. I may take a look at it in the future. The scope of this series was just to help people get started and show it isn’t so daunting. I probably will refresh this series in a few months to update the install and the minor issues with Python 3.7 and 3.8.
@rohithvemulapally1350
@rohithvemulapally1350 3 жыл бұрын
@@timfairfieldAETestandMeasure Okay, thanks. But can i create a program sequence for non kesight devices on Keysight command expert?
PythonAutomationSeries 5 adding a second instrument to your automation
24:25
Tim Fairfield's AE Test and Measurement Channel
Рет қаралды 9 М.
everything is open source if you can reverse engineer (try it RIGHT NOW!)
13:56
Low Level Learning
Рет қаралды 1,3 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 69 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 113 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 52 МЛН
Use PyVISA to Program Test Tools with Python - Workbench Wednesdays
13:35
element14 presents
Рет қаралды 35 М.
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 176 М.
PythonAutomationSeries 1 Intro
5:17
Tim Fairfield's AE Test and Measurement Channel
Рет қаралды 33 М.
FASTEST Way to Become a Python Developer and ACTUALLY Get a Job
9:52
Learn with Lukas
Рет қаралды 6 М.
PythonAutomationSeries 3 SoftwareInstallation
10:05
Tim Fairfield's AE Test and Measurement Channel
Рет қаралды 18 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН