time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

Re: [time-nuts] python or matlab/octave for Keysight instruments?

HM
Hal Murray
Sat, Jul 2, 2016 5:58 PM

I'm fine with writing the SCPI commands and parsing the output, I'm just
looking for the "glue" between "send_message_to_instrument" or
"read_message_from_instrument" and the instrument itself.

Why do you need any glue?  What type of device is it?  Why not just open it
and read/write?

That's what I did with a Rigor scope.  I have a udev rule so it shows up as
/dev/scope no matter where I plug it in:
KERNEL=="usbtmc*", ATTRS{serial}=="DS1EB132703507",  MODE="0666",
SYMLINK+="scope"

--
These are my opinions.  I hate spam.

jimlux@earthlink.net said: > I'm fine with writing the SCPI commands and parsing the output, I'm just > looking for the "glue" between "send_message_to_instrument" or > "read_message_from_instrument" and the instrument itself. Why do you need any glue? What type of device is it? Why not just open it and read/write? That's what I did with a Rigor scope. I have a udev rule so it shows up as /dev/scope no matter where I plug it in: KERNEL=="usbtmc*", ATTRS{serial}=="DS1EB132703507", MODE="0666", SYMLINK+="scope" -- These are my opinions. I hate spam.
BC
Bob Camp
Sat, Jul 2, 2016 6:17 PM

Hi

On Jul 2, 2016, at 1:58 PM, Hal Murray hmurray@megapathdsl.net wrote:

jimlux@earthlink.net said:

I'm fine with writing the SCPI commands and parsing the output, I'm just
looking for the "glue" between "send_message_to_instrument" or
"read_message_from_instrument" and the instrument itself.

Why do you need any glue?  What type of device is it?  Why not just open it
and read/write?

That's what I did with a Rigor

Hopefully a Rigol scope ….Isn’t spell check / auto correct fun ?

Bob

scope.  I have a udev rule so it shows up as
/dev/scope no matter where I plug it in:
KERNEL=="usbtmc*", ATTRS{serial}=="DS1EB132703507",  MODE="0666",
SYMLINK+="scope"

--
These are my opinions.  I hate spam.


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Hi > On Jul 2, 2016, at 1:58 PM, Hal Murray <hmurray@megapathdsl.net> wrote: > > > jimlux@earthlink.net said: >> I'm fine with writing the SCPI commands and parsing the output, I'm just >> looking for the "glue" between "send_message_to_instrument" or >> "read_message_from_instrument" and the instrument itself. > > Why do you need any glue? What type of device is it? Why not just open it > and read/write? > > That's what I did with a Rigor Hopefully a Rigol scope ….Isn’t spell check / auto correct fun ? Bob > scope. I have a udev rule so it shows up as > /dev/scope no matter where I plug it in: > KERNEL=="usbtmc*", ATTRS{serial}=="DS1EB132703507", MODE="0666", > SYMLINK+="scope" > > > -- > These are my opinions. I hate spam. > > > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there.
J
jimlux
Sat, Jul 2, 2016 6:35 PM

On 7/2/16 10:58 AM, Hal Murray wrote:

I'm fine with writing the SCPI commands and parsing the output, I'm just
looking for the "glue" between "send_message_to_instrument" or
"read_message_from_instrument" and the instrument itself.

Why do you need any glue?  What type of device is it?  Why not just open it
and read/write?

That's what I did with a Rigor scope.  I have a udev rule so it shows up as
/dev/scope no matter where I plug it in:
KERNEL=="usbtmc*", ATTRS{serial}=="DS1EB132703507",  MODE="0666",
SYMLINK+="scope"

That would be easy...I'm used to going through multiple layers of
interfaces (Ethernet to GPIB to instrument) each layer of which needs
some sort of software driver.

Well, the first one I'm looking at is a Keysight 33612 waveform/signal
generator..
Hmm, I wonder if it does show up as a usb device of some sort. I'll just
have to go plug it in and look at /dev

On 7/2/16 10:58 AM, Hal Murray wrote: > > jimlux@earthlink.net said: >> I'm fine with writing the SCPI commands and parsing the output, I'm just >> looking for the "glue" between "send_message_to_instrument" or >> "read_message_from_instrument" and the instrument itself. > > Why do you need any glue? What type of device is it? Why not just open it > and read/write? > > That's what I did with a Rigor scope. I have a udev rule so it shows up as > /dev/scope no matter where I plug it in: > KERNEL=="usbtmc*", ATTRS{serial}=="DS1EB132703507", MODE="0666", > SYMLINK+="scope" > > That would be easy...I'm used to going through multiple layers of interfaces (Ethernet to GPIB to instrument) each layer of which needs some sort of software driver. Well, the first one I'm looking at is a Keysight 33612 waveform/signal generator.. Hmm, I wonder if it does show up as a usb device of some sort. I'll just have to go plug it in and look at /dev