Sponsored Content
Top Forums Programming Python Screen Capture of RIGOL 1054Z on macOS Catalina Using NI-VISA Post 303043102 by Neo on Saturday 18th of January 2020 06:23:03 AM
Old 01-18-2020
Bench Test Kit also works to grab RIGOL screens (over the LAN only):

Code:
https://github.com/philcrump/bench-test-kit

Code:
(bench-test-kit) bash-3.2$ ./ds1054-capture bmp 192.168.2.50
Found Instrument ID: RIGOL TECHNOLOGIES,DS1104Z,DS1ZA244612446,00.04.04.SP4
Receiving screen capture...
Saved screenshot to /Users/Tim/Desktop/rigol/bench-test-kit/DS1104Z_2020-01-18_18:15:10.bmp (376.1KB)

More pretty noise, this time using channel 2:

Python Screen Capture of RIGOL 1054Z on macOS Catalina Using NI-VISA-ds1104z_2020-01-18_18-12-04jpg


This pretty much wraps up Python Screen Capture of RIGOL 1054Z on macOS Catalina Using NI-VISA.

Hope at least one RIGOL user finds this helpful.


Python Screen Capture of RIGOL 1054Z on macOS Catalina Using NI-VISA-noise_blue51jpg


Final capture at the standard 800px width (versus the 1024px width I have created by enlarging 800px to 1024px width). JPG capture.

Note, the best way to get JPG capture to work on this RIGOL is to specify the JPG file type in the LXI command; but name the file with the .jpeg extension. This works best, consistently, for JPGs for some reason yet explained. But, if you don't want this confusion, go with BMP images, which are consistently better, with the BPM24 option, and file extension .bmp.

Python Screen Capture of RIGOL 1054Z on macOS Catalina Using NI-VISA-testneo61jpg
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

screen capture

I was wondering is there something out there for Solaris 7 for screen capture? Also it would really help if there was some software out there that can record whats happens on the screen for like 10 seconds or how ever long I need it to. I did a search but doesn't seem to be alot out there. (10 Replies)
Discussion started by: merlin
10 Replies

2. Solaris

Solaris 10 screen capture

We are using Solaris 10 for our Radiation Treatment Planning and need to create a simulation for our service engineers. I need a screen capture tool that can not only capture screens, but create movies of mouse movements (similar to Captivate). I have contacted Oracle and talked to several people... (2 Replies)
Discussion started by: TomH
2 Replies

3. OS X (Apple)

Python script to do simple audio capture...

This site is the first to get this snippet. It will capture an audio recording of any time length within the limits of OSX's QuickTime Player's capablility... A shell script derivative of this will be used as a further capture for CygWin's AudioScope.sh. Thoroughly read ALL the comments in... (0 Replies)
Discussion started by: wisecracker
0 Replies

4. UNIX for Beginners Questions & Answers

Capture power button press on MacOs High Sierra?

Hello everyone! I'm developing a MacOs Application in python and I'm having some issues trying to find information related to the power button pressed event. I know that in Ubuntu 14.04 you can find information about it on the acpi folders, but I realized that here in Mac that process is... (0 Replies)
Discussion started by: xedge
0 Replies

5. OS X (Apple)

MacOS 10.15 (Catalina) switches from bash to zsh

Interestingly Apple has decided to switch the default shell for new users from bash to zsh in MacOS Catalina (10.15) Use zsh as the default shell on your Mac - Apple Support Another interesting fact is that Catalina also comes with /bin/dash (5 Replies)
Discussion started by: Scrutinizer
5 Replies

6. OS X (Apple)

MacOS 10.15 Catalina Crashes and Freezes on Boot

Sadly, I have turned off my access to the Apple Developers Beta program after installing macOS 10.15 Catalina a few days ago. After the install, I rebooted by MacBook Air and it "hard froze" and we were heading out of town so I grabbed a backup MBA running Mojave. Then, after getting back at... (10 Replies)
Discussion started by: Neo
10 Replies

7. Windows & DOS: Issues & Discussions

Poor Windows 10 Performance of Parallels Desktop 15 on macOS Catalina

Just a quick note for macOS users. I just installed (and removed) Parallels Desktop 15 Edition on my MacPro (2013) with 64GB memory and 12-cores, which is running the latest version of macOS Catalina as of this post. The reason for this install was to test some RIGOL test gear software which... (6 Replies)
Discussion started by: Neo
6 Replies

8. Programming

A Slightly Better NTP Client for the ESP32 (ESPWROOM32) on macOS Catalina

Currently have two ESP8266 modules testing some Blynk apps, whereI'm not so happy with the Blynk business model for developers, but that's another story. So, with two of my ESP8266s currently "busy", I decided to work on the ESP32, and in particular the ESPWROOM32. I installed the... (0 Replies)
Discussion started by: Neo
0 Replies

9. OS X (Apple)

MacOS 10.15.2 Catalina display crash and system panic

MacPro (2013) 12-Core, 64GB RAM (today's crash): panic(cpu 2 caller 0xffffff7f8b333ad5): userspace watchdog timeout: no successful checkins from com.apple.WindowServer in 120 seconds service: com.apple.logd, total successful checkins since load (318824 seconds ago): 31883, last successful... (3 Replies)
Discussion started by: Neo
3 Replies
SHUTTER(1)						User Contributed Perl Documentation						SHUTTER(1)

NAME
Shutter - Feature-rich Screenshot Tool SYNOPSIS
shutter [options] COPYRIGHT
Shutter is Copyright (C) by Mario Kemper and Shutter Team DESCRIPTION
Shutter is a feature-rich screenshot program. You can take a screenshot of a specific area, window, your whole screen, or even of a website - apply different effects to it, draw on it to highlight points, and then upload to an image hosting site, all within one window. OPTIONS
Example 1 shutter -a -p=myprofile --min_at_startup Example 2 shutter -s=100,100,300,300 -e Example 3 shutter --window=.*firefox.* Example 4 shutter --web=http://shutter-project.org/ -e CAPTURE MODE OPTIONS -s, --select=[X,Y,WIDTH,HEIGHT] Capture an area of the screen. Providing X,Y,WIDTH,HEIGHT is optional. -f, --full Capture the entire screen. -w, --window=[NAME_PATTERN] Select a window to capture. Providing a NAME_PATTERN (Perl-style regex) ist optional. -a, --active Capture the current active window. --section Capture a section. You will be able to select any child window by moving the mouse over it. -m, --menu Capture a menu. -t, --tooltip Capture a tooltip. --web=[URL] Capture a webpage. Providing an URL ist optional. -r, --redo Redo last screenshot. SETTINGS OPTIONS -p, --profile=NAME Load a specific profile on startup. -o, --output=FILENAME Specify a filename to save the screenshot to (overwrites any profile-related setting). Supported image formats: You can save to any popular image format (e.g. jpeg, png, gif, bmp). Additionally it is possible to save to pdf, ps or svg. Please note: There are several wildcards available, like %Y = year %m = month %d = day %T = time $w = width $h = height $name = multi-purpose (e.g. window title) $nb_name = like $name but without blanks in resulting strings $profile = name of current profile $R = random char (e.g. $RRRR = ag4r) %NN = counter The string is interpretted by strftime. See "man strftime" for more examples. As an example: shutter -f -e -o './%y-%m-%d_$w_$h.png' would create a file named '11-10-28_1280_800.png' in the current directory. -d, --delay=SECONDS Wait n seconds before taking a screenshot. -c, --include_cursor Include cursor when taking a screenshot. -C, --remove_cursor Remove cursor when taking a screenshot. APPLICATION OPTIONS -h, --help Prints a brief help message and exits. -v, --version Prints version information. -d, --debug Prints a lot of debugging information to STDOUT. --clear_cache Clears cache, e.g. installed plugins, at startup. --min_at_startup Starts Shutter minimized to tray. --disable_systray Disables systray icon. -e, --exit_after_capture Exit after the first capture has been made. This is useful when using Shutter in scripts. -n, --no_session Do not add the screenshot to the session. This is useful when using Shutter in scripts. BUG REPORTS
If you find a bug in Shutter, you should report it. But first, you should make sure that it really is a bug, and that it appears in the latest version of Shutter. The latest version is always available from: https://launchpad.net/shutter Once you have determined that a bug actually exists, please report it at launchpad: https://bugs.launchpad.net/shutter/+filebug perl v5.14.2 2012-04-11 SHUTTER(1)
All times are GMT -4. The time now is 10:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy