LXI-Tools for Siglent SDS2304X Oscilloscope and SDM3045X Multimeter

For whatever reason, my Siglent SDS2304X Oscilloscope and SDM3045X Multimeter partially implement their documented command sets through partial implementations of the VXI instrumentation driver network protocol. The Linux command-line side comes from lxi-tools, which one must fetch from its repository and compile from source(do liblxi first, then lxi-tools)  through the usual ./configure - make - sudo make install process, after tediously installing whatever dependencies might be revealed by incremental progress through the configuration(s) on your system(s).

The alternative, of course, is Labview on Windows.

The SDS2304X scope doesn’t respond to the LXI discover broadcast, so you must know and specify its IP address in the command. It’s easiest to configure the Siglent instruments at fixed IP addresses and be done with it:

lxi scpi -a "*idn?"
Siglent Technologies,SDM3045X,SDM34whatever,
lxi scpi -a "*idn?"
*IDN SIGLENT,SDS2304X,SDS2Xwhatever, R10

Although the LXI tools also come in a Snap package, installing them that way prevents storing files outside the user’s home directory; having evolved a fairly extensive NFS filesystem, Snaps seem basically useless for my purposes. I don’t see much more security exposure from downloading and running a Snap than from downloading, compiling, and running the source code, but they obviously know what’s best for me.



  1. #1 by RCPete on 2018-05-29 - 08:08

    For those sufficiently motivated, Slackware offers SlackBuilds for LXI, and they list the dependencies for liblxi and lxi-tools.

    Qt5 is required for the lxi-tools package, though Slackware64_14.2 ships with Qt4. OTOH, I already had to get Qt5.5 to build SleepyHead, the generic CPAP monitor program. I have both versions and tweak symlinks as necessary.

    • #2 by Ed on 2018-05-29 - 09:06

      It’s getting time to install a distro newer than Xubuntu 16.04 and I briefly (re)considered Arch, then came to my senses. Most likely, I’ll wind up with Lubuntu 18.04 after the July refresh, because, nowadays, I want sysadmin stuff to Just Go Away …

      • #3 by RCPete on 2018-05-30 - 23:56

        Slack isn’t the easiest, but it doesn’t hurt that the two 64 bit systems are nearly identical. I’m used to it, and have found tools that will let me take other packages (rpms, mostly) and convert to txz.

        I need to get the 32 bit shop system updated. I need to remember to do the keygens so I don’t have to lug the monitor back to the house.

Spam comments vanish. Comment moderation may cause a delay.

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s