Category: C stuff

SCPI on Mac

Some more days passed and some more finishing touches added to my MacSCPI app. It is entirely dependent on hooking the device via the USBTMC driver, but it works fine and is stable: I had some problems with buffer padding and the output it is still not 100% gibberish–free , but I assume I have to play with …

USBTMC driver for Mac

After some head banging, I finally managed to send SCPI commands from my Mac to my Agilent (Keysight) DSOX2002A. I’ve worked on this since december last year. Almost a year, but I did not spent a sustained amount of effort. I did it just during my free time. I still have a day job that …

Agilent DSO-X 2002A driver for Mac OS X

Update, October 2nd, 2014: a more recent adavancement in running SCPI on mac, can be found here. Update, December 10th, 2015: Updated terms, changed Agilent to Keysight. December again, another year passed. Traditionally, this is a month when I am taking a long break. But I was up to something in the past days and …

Usage of void in C

Going into some USB programming for a project I am into (on my Mac), I ran into this and I thought would be nice and useful to elaborate a bit. This is about void* pointers and callbacks in C. USB device discovery and probing under IOKit makes heavy use of callbacks, I wanted to write …