[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.2408161 [View]
File: 85 KB, 1302x1044, HPGL viewer.png [View same] [iqdb] [saucenao] [google]
2408161

Got my oscilloscope shitting out properly formatted HPGL into some software CERN wrote like a decade ago and somehow it just works. Mostly. That bottom line is supposed to say:
>P_10x 5V
>0.5V
>A=0.5µs
Where the _10x means it's in subscript (all done as a pair of user characters).
Also there's meant to be a ∆ before the V1 at the top, which is also a custom character.

I initially wanted to write an HPGL reading python script from scratch to get around those issues, but that was a massive waste of time, so instead I'll just try to mess about with this software to figure out what kind of text I can actually feed it. Hopefully I can get the custom characters to work as a general case with some small modifications, else I'll need to just hunt through the filestring and replace all excerpts of user characters with something good enough from ASCII or possible alternative character sets. Hope there's a greek one.

Navigation
View posts[+24][+48][+96]