Electronics > Projects, Designs, and Technical Stuff
SCPI and Arduinos
(1/2) > >>
Wolfgang:
Hi, Im am trying to integrate homebrew instrumentation into a SCPI-infested environment with
a lot of standard measurement equipment, like DMMs, PSUs, ARBs and other stuff.

https://electronicprojectsforfun.wordpress.com/homebrew-scpi-controllable-instruments-with-arduino-controllers/

My question:

is anyone doing something similar ? Any experiences with Arduino and USBTMC ?

regards
  Wolfgang

Wolfgang:
Hi,

I also started with this book, but on the client side they use an outdated library that does not work anymore under a modern windows.
The PIC software in the book is in assembler, which I tried to avoid, and the pics soon got to small regarding memory.

As a workaround, used the PC18F4550 using USB/HID with Mikroelektronika C, but it also stopped to work under Windows 10, so I gave up on
the PICs and tried Arduino. To my pleasure, NI VISA and Keysight immediately recognized my Arduinos as SCPI devices and everything went very smooth.
When I think of the HID stuff I had to program a Win32Api C library to get that going. No fun.

Anyway, thanks, if you know of a more modern USB stuff please let me know.

  Wolfgang DL1DWG


Wolfgang:
Just to get you right:

on the Windows PC you dont use VISA, but libusb, am I right ?
and inside the controlled instrument you have programmed a USBTMC device PIC18F4550, which just like any other Keysight or RIGOL DMM, PSU, ARB, ... ?

My problem was never to control instruments from the PC (I used SCPI(NI VISA) but to program something that behaves like an instrument.

PS: Are you Peter Dreisiebner, the author of all the screenshot utilities ?

Thanks, regards, 73
  Wolfgang DL1DWG
jancumps:
I made this small SCPI / Arduino project:

https://www.element14.com/community/community/project14/open-arduino/blog/2018/04/06/lab-automation-scpi-programmable-switch
Wolfgang:
OK, thanks, then I will proceed with the Arduino route, with ASRL instead of USBTMC.

  Wolfgang DL1DWG
Navigation
Message Index
Next page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod