PoE Ethernet GPIB Adapter – Open Source Project, now public - Page 1
Forum section: electronics / projects

author: Kofen
author_rank: Regular Contributor
timestamp: December 27, 2024, 01:13:15 pm
content: Summer is here and due to vaction, no new orders will ship until 1 August, I'll update once I am back!Hi everyone,I’m excited to share that I’ve finally finished and made public my PoE-powered Ethernet GPIB adapter project:https://github.com/Kofen/PoE_Ethernet_GPIB_AdapterThe adapter is designed to simplify connecting multiple GPIB-equipped instruments over Ethernet, reducing the need for bulky cabling and providing a (more) cost-effective alternative to many commercial solutions. It supports both PoE and USB-C for power, with GPIB communication over either Ethernet or USB-C. The hardware is also compatible with the AR488 project.While there’s still a lot of work to do on the software side (it's functional but has many rough edges), it has proven to be extremely reliable in my lab setup.I’d love to hear your feedback! I’m also planning a small run of boards for personal use. If anyone is interested, let me know—I can make a few extra boards if there’s demand.Looking forward to your comments and suggestions!EDIT:Adapters and parts are in stock, time from order to ship is 2 business days, following Tiers and pricing are offered:Tier 1:PCBA with all the SMD components and core glued in place, pre-flashed with the bootloader and the latest firmware. The through-hole parts (GPIB connector, Ethernet jack, reset switch, programming header) will come in a bag for you to solder yourself. This will also include two screws to secure the GPIB connector and a printed label (24x58mm Brother label) with the MAC address, as shown in previous photos. You can print your own case, or you can add one to your order (details below).Tier 2:A fully built and tested adapter, with or without an enclosure. This option comes with limited warranty and support via email, forums, or GitHub. I’ll fully support it, but this is priced as an indie/hobbyist option.Tier 3:A fully built and tested adapter with a 5-year warranty on parts and priority support for any issues. This is aimed more for professional users.Pricing:Tier 1: $67 USD + shipping. Add $1 USD if you want a 3D-printed case.Due to order demand, Tier 1 is no longer available.Tier 2: $100 USD + shipping. Subtract $1 USD if you don’t want the enclosure.Tier 3: $175 USD + shipping.Shipping costs:Most of Europe, including UK: $13 USDUS and more remote locations: $40 USDTo place an order, send me a direct message with:Qty, tier, 3d printed case yes/noNameAddressPostal codeCityCountryPhone numberEmail addressYou will then get a paypal invoice for the total.The phone number is needed for ordering shipping

author: IanJ
author_rank: Unknown
timestamp: December 28, 2024, 03:42:38 am
content: I’d love to try one of these out when they are available. PM me to work things out.Ian.

author: CatalinaWOW
author_rank: Super Contributor
timestamp: December 28, 2024, 05:37:50 am
content: Nice work and excellent documentation!

author: BennoG
author_rank: Frequent Contributor
timestamp: December 30, 2024, 08:14:24 am
content: Count me in for 2 boards also.I was planning doing something similar with a RPI as base CPU. But if you done the hardware part then that saves me a lot of time.Benno

author: NiHaoMike
author_rank: Super Contributor
timestamp: December 30, 2024, 12:41:46 pm
content: What voltage range does the converter support? Would be nice to have the option to power it from the device it's attached to rather than PoE, particularly if the board is integrated inside the device.

author: Kofen
author_rank: Regular Contributor
timestamp: December 30, 2024, 01:53:15 pm
content: Thank you for the kind words @CatalinaWOW@BennoG I will put you down for two boards, I will be ordering pcbs today(plenty extras) and parts on January 2, so it will be a few week before the next batch is ready.@NiHaoMike In theory, from at least 15v, probably a bit lower. Vin max is 57v(with margins added). I have tested it on 24v and that works fine, but lower is not tested.If it is important for you, I can do a test to see the limits down in voltage with some extra load added, so that we have margins.In order to use it stand-alone you should only need to maybe lift the PG pin from the PoE controller and change the UVLO resistors to a lower voltage(currently set to ~35v)

author: BennoG
author_rank: Frequent Contributor
timestamp: December 30, 2024, 02:57:42 pm
content: I usually order the PCB's with all the SMD components assembled from JLC.So that I don't have to solder all the 0402 components (but I am lazy, and it only costs about 1 euro per board extra)Benno

author: Kofen
author_rank: Regular Contributor
timestamp: December 30, 2024, 05:25:38 pm
content: Oh for sure, not planning to hand solder or make you do the same. I will assemble them at home on my pnp.Do you prefer to get a complete pcb in housing with thru hole part soldered or are you happy with PCBA with all the smd soldered and a baggie with the few thru hole parts for you to assemble?

author: Hydron
author_rank: Super Contributor
timestamp: December 30, 2024, 09:07:56 pm
content: Oh man I had to see this the day after my $30 JLC 6-layer coupon expired(didn't have a board ready to use it with - this would have been perfect).I'm interested in the reason for having the RJ45 coming straight out the back - most (all?) GPIB cables have the big thick cable coming out one specific side so it may help to do the same with the RJ45 to minimise the depth added to an piece of test gear.Edit: put me down as interested in one too - I'm currently using an AR488 plus a SBC as a serial server - was looking at making a ESP32 based AR488 but I'd trust a wired ethernet option more and PoE is the correct way to power oneI also tried to open it in KiCAD to look at how hard it would be to change the RJ45 connector orientation (probably quite slow for me - only experience is in Altium), but it's not opening in the latest stable release - did you use the nightly releases to save it?Edit 2: Just realised that moving the RJ45 could cause issues trying to screw the adapter into the GPIB connector. The answer to the shelf-depth question is probably just to put it behind something short or use a GPIB cable.

author: BennoG
author_rank: Frequent Contributor
timestamp: December 31, 2024, 06:59:03 am
content: Quote from: Kofen on December 30, 2024, 05:25:38 pmFor me I can hand solder the true hole parts.I can also 3d print the housing.Benno

author: Kofen
author_rank: Regular Contributor
timestamp: December 31, 2024, 08:54:25 am
content: @NiHaoMike Curiosity and lack of sleep got the better of me, so I ran some tests. I would say you can run the flyback from 9V to 57V—good range if you ask me!I’ve attached a thermal plot at 8.4V. The CM choke is the hottest part at this point (due to the current), but it’s still within limits when factoring in ambient temperatures inside an enclosure.EDIT: For got to say that I added an extra 200mA load on the 5v to give some margins.@Hydron I received another request for an alternate footprint in the xDevs chat. The only real possibility is to add a vertical jack. If you can provide a part number that matches the footprint of the Ethernet lines, I can try to create a universal footprint if it’s important. The LED footprint doesn’t matter, as it’s not high speed.The current magjack used is: ARJM11C7-114-BA-EW2. I’ll put you down for one adapter. Would you prefer a “kit” or a finished, tested unit with a 3D print?Apologies for the KiCad incompatibility; I’m on a nightly build, awaiting KiCad 9. There are some real benefits. I’m using version 20241210-1013-16cbb218c6.The good news is that KiCad 9 should be released around the end of January.@BennoG Great! I’ll put you down for a PCB with a flashed bootloader, firmware, and a baggie of parts.I’ll try to finalize the pricing for this run; I just need to get an overview. Don’t feel committed to any of your orders until I provide the final prices. I’ll make extras regardless.

author: voltsandjolts
author_rank: Unknown
timestamp: December 31, 2024, 10:28:05 am
content: Vertical GPIB or bent RJ45 might help some folks...

author: krish2487
author_rank: Frequent Contributor
timestamp: December 31, 2024, 11:48:21 am
content: @KofenThat looks amazing and quite useful. Put me down for 2 boards if you are still taking requests... :-)One of my new years resolution was to do exactly that.. ;-) a POE GPIB Ethernet adapter.. but you did it..

author: H.O
author_rank: Frequent Contributor
timestamp: December 31, 2024, 11:54:17 am
content: I'm also interested in a PCB with a flashed bootloader, firmware, and a baggie of parts, thanks!

author: Hydron
author_rank: Super Contributor
timestamp: December 31, 2024, 12:18:54 pm
content: Had a quick look at alternative RJ45 connectors and no luck matching the pin out. One option might be to add another set of pins for an alternative that the ethernet connections "run through" and accept the stubs if using the alternative vertical connector - 100MBit will likely be very forgiving of things like that. I'll have a quick look at that if I have time todayAs for my interest in a board, it would be as a kit rather than assembled. A second might be useful depending on cost, but even just one would be very useful in my setup.

author: mansaxel
author_rank: Super Contributor
timestamp: December 31, 2024, 12:21:25 pm
content: Yay!Looks amazeballs!I'd like to sign up for the magic order, Happy Meal, or whatever, i.e. "PCB with a flashed bootloader, firmware, and a baggie of parts." :-)

author: Kofen
author_rank: Regular Contributor
timestamp: December 31, 2024, 01:33:12 pm
content: Thank you for the nice comments!None of you are too late and I will make some extra boards regardless, I will run thru the final cost tomorrow and post here.I had an epiphany after publishing the design that there is zero reasons to have a split case 3d print since screws are needed any way, will clean up and publish the files tomorrow. Much easier to print and not so printer dependent.

author: Kofen
author_rank: Regular Contributor
timestamp: January 01, 2025, 12:51:04 pm
content: Hi everyone,Just wanted to check in and share the new enclosure, it’s very easy to print.I’m still working on the final pricing. I’ve got a lot on my plate today, but you should have it by tomorrow at the latest. The order for parts and PCBs will go out tomorrow regardless, with plenty of extras, so it won’t affect the timeline.Files will be uploaded in the repro shortly.

author: pbs74
author_rank: Contributor
timestamp: January 02, 2025, 09:51:30 am
content: Happy New Year! I am interested in a couple as well, pending cost. Been looking at building Xyphro's adapter, but would like something with Ethernet. Can do through hole soldering myself.

author: Kofen
author_rank: Regular Contributor
timestamp: January 02, 2025, 04:35:10 pm
content: I’ve finally sorted out the pricing and decided to offer three tiers for the adapter:Tier 1:PCBA with all the SMD components and core glued in place, pre-flashed with the bootloader and the latest firmware. The through-hole parts (GPIB connector, Ethernet jack, reset switch, programming header) will come in a bag for you to solder yourself. This will also include two screws to secure the GPIB connector and a printed label (24x58mm Brother label) with the MAC address, as shown in previous photos. You can print your own case, or you can add one to your order (details below).Tier 2:A fully built and tested adapter, with or without an enclosure. This option comes with limited warranty and support via email, forums, or GitHub. I’ll fully support it, but this is priced as an indie/hobbyist option.Tier 3:A fully built and tested adapter with a 5-year warranty on parts and priority support for any issues. This is aimed more for professional users.Pricing:Tier 1: $67 USD + shipping. Add $1 USD if you want a 3D-printed case.Tier 2: $90 USD + shipping. Subtract $1 USD if you don’t want the enclosure.Tier 3: $150 USD + shipping.Shipping costs:Most of Europe, including UK: $13 USDUS and more remote locations: $40 USDI’m eager to hear your thoughts on this pricing. For Tier 1, I’m only covering the parts cost without factoring in my time. I wanted to keep the price as low as possible, so I added the Tier 2 indie price for hobbyists who want a fully built adapter. The Tier 3 option is the only one where I make a reasonable profit, but even that’s modest when you consider the warranty responsibility and the time I’ll invest.If you’re still interested, let me know! To place an order, send me a private message with your full address, phone number, email address, and the tier you’d like. I’ll send you a PayPal invoice in return.Production Timeline:Parts and PCBs are ordered. One part is back-ordered until January 23, but it’s a through-hole component, so it shouldn’t delay the timeline. I expect to start shipping units by early to mid-February, barring any unforeseen delays.I’ve ordered parts and PCBs for 40 units. Twenty are reserved for me and friends, but if demand exceeds the other 20, I’ll do my best to accommodate.Current Orders:@BennoG: 2 pcs (Tier 1)@Hydron: 1 pc (Tier 1)@krish2487: 2 pcs (Tier 1?)@H.O : 1 pc (Tier 1)@mansaxel: 1 pc (Tier 1)@pbs74: 2 pcs (Tier 1)That makes 10 units spoken for so far (one order came via DM). Ian was first in line and already accepted one of the prototypes, which is on its way to him.There’s still plenty left for late bloomers! If you’d like to order, just send me a message with the info, and I’ll get one reserved for you.

author: H.O
author_rank: Frequent Contributor
timestamp: January 02, 2025, 11:18:59 pm
content: Can't speak for others of course and I usually don't want to pay more than I have to but yeah, €47 sounds unreasonably cheap for a low volume semi assembled and programmed unit.I'll happily pay for Tier 2 but receive the kit. That way I won't feel too bad if I have to ask a stupid question and I get to practice my 3D printing.

author: BennoG
author_rank: Frequent Contributor
timestamp: January 03, 2025, 06:07:41 am
content: Quote from: H.O on January 02, 2025, 11:18:59 pmThat is why I asked the OP to charge me €55 per tier 1 unit, so he has some profit on these also.Benno

author: Kofen
author_rank: Regular Contributor
timestamp: January 03, 2025, 06:25:17 am
content: Thats very kind of you and I appriciate it! Having a bit of profit sure helps to ensure that I can keep these available in the future so I won't reject your offers.H.O , send me a message with details when you are ready and you will have an adapter kit soon.

author: smaultre
author_rank: Regular Contributor
timestamp: January 03, 2025, 07:10:09 am
content: Hello! Happy New Year!!!I'd like to sign up for 2pcs Tier1 and 2cases for them.

author: krish2487
author_rank: Frequent Contributor
timestamp: January 03, 2025, 07:15:41 am
content: I agree with the others and I would not mind paying 55 Euro per Tier 1 unit to help support the OP and the effort he has put into the project.. :-)And yes, 2 units for me@Kofen

author: Huluvu
author_rank: Regular Contributor
timestamp: January 03, 2025, 08:21:43 am
content: Please also count me in for 2 Tier 1 units + 2 Cases for 55€ each.Thank you very much

author: voltsandjolts
author_rank: Unknown
timestamp: January 03, 2025, 10:49:05 am
content: Nice work!IIUC this adapter is using the Prologix style command set, which rules out PyVISA (at least in it's more elegant usage).Does it work with this python wrapper:https://github.com/nelsond/prologix-gpib-ethernetThanks

author: Kofen
author_rank: Regular Contributor
timestamp: January 03, 2025, 11:43:51 am
content: First, thank you for the support!I am touched and glad to see that you have seen that I tried to offer a tier with as low as possible price to make it available for as many as possible. The fact that so many has offer to pay above my market price is much appreciated and lets me continue to keep a low priced tier available so even if you can’t afford any extra, I will always try to keep the tier 1 price low so even an starving EE student who just got his first HP boat anchor get a chance to get one. Thank you!This is in no way meant to imply you should pay more, the price in the post still stands and it is 100% up to you, in no way are you judged by paying the asking priceFor those who want to order an adapter, please send me a message thru the forum with your address, email and phone number so you don't get lost, you will get a paypal invoice in return (If you can’t use paypal, say so and we will work something out).I will take a round in the thread to message those who have not a bit later but have to keep my day job happy. It’s seems my tagging with @ is not working for me for some reason.@voltsandjoltsI see your point, I have to admitt, for me, who have “grown up” with prologix, it was a very nice and simple solution, just having a socket to attend to.I have used pyvisa a lot, but I have to admit I have never looked under the hood so I don’t know how hard it would be to implement a fork with it or if it can even fit in the code space for dual support. I would at least assume it will be possible to make fork, but that is something I will have to look into later when I am done cleaning up the current code base.That being said, it sure works with the python wrapperPython 3.11.0 (v3.11.0:deaf509e8f, Oct 24 2022, 14:43:23) [Clang 13.0.0 (clang-1300.0.29.30)]Type 'copyright', 'credits' or 'license' for more informationIPython 8.25.0 -- An enhanced Interactive Python. Type '?' for help.In : from plx_gpib_ethernet import PrologixGPIBEthernetIn : gpib = PrologixGPIBEthernet('gpib1.kofotronic.com')In : gpib.connect()In : gpib.select(22)In : gpib.write('*IDN?')In : gpib.read()Out: 'HEWLETT-PACKARD,34420A,0,10.0-5.0-3.0\n'In :

author: voltsandjolts
author_rank: Unknown
timestamp: January 03, 2025, 12:02:58 pm
content: I'll take one of your Tier 3 units, if available, shipping to UK.Thank you.(PM sent)

author: Knoonan
author_rank: Newbie
timestamp: January 03, 2025, 05:45:19 pm
content: Thanks Kofen, this is great.I would be happy to buy one at tier 3, add to your profit and support the effort.I was just looking at how to design one of these, and found you.Shipping to US.I am interested to see if this will support multiple 488 nodes from the TestController program.

author: Hydron
author_rank: Super Contributor
timestamp: January 03, 2025, 06:21:43 pm
content: Will send a DM shortly, but also happy to pay 55 EUR ea. for Tier 1 and a case (two pieces if possible, though if it's wildly oversubscribed I'd consider just going for the one I really need and let someone else get one).If you have a UK postage estimate maybe worth posting it here for others to see too (hopefully it's similar to the Europe price).

author: BennoG
author_rank: Frequent Contributor
timestamp: January 03, 2025, 07:26:25 pm
content: Quote from: Hydron on January 03, 2025, 06:21:43 pmBe aware for the UK there will be import duty's, the downside of the brexit. As far as I know it is only the VAT you have to pay for import duty to the UKBenno

author: Hydron
author_rank: Super Contributor
timestamp: January 03, 2025, 07:54:36 pm
content: Yeah I'm sadly aware of the UK import BS (it's not just VAT you pay, it's also an often large fee the carrier adds to collect it); I put a note to that effect in my DM. I'm not sure you can even sell goods valued <135 GBP to the UK now without VAT registration, and there are a lot of EU based companies who no longer supply individual customers in the UK, which is understandable but extremely annoying. So far I've seen nothing but the (completely predictable) downside of Brexit.If the issue is insurmountable then I'll need to supply an EU shipping address in Spain or Germany, and pick it up next time I'm over there, but it's bad enough waiting till February!

author: The Soulman
author_rank: Super Contributor
timestamp: January 03, 2025, 10:39:36 pm
content: Quote from: Hydron on January 03, 2025, 07:54:36 pmShipping costs from nl to uk are roughly 11 euro, I could forward from here if required.Or are they going to open each packet at the uk-border, inspect its contents, determine the value of the contents and accordingly send an invoice with tax/duties to the recipient?

author: H.O
author_rank: Frequent Contributor
timestamp: January 03, 2025, 11:22:27 pm
content: Quote from: BennoG on January 03, 2025, 07:26:25 pmDon't mean to polute the thread but wouldn't there have been import duties even prior to brexit due to the fact that Norway isn't (and never has been) part of the EU?Sweden IS part of the EU and I expect to pay VAT and import charges on my unit as it comes from outside EU. Are you saying that the UK is even worse off now, post brexit?

author: Hydron
author_rank: Super Contributor
timestamp: January 04, 2025, 12:30:56 am
content: The UK has brought in a rule that anything that is <135GBP, shipped to a non-business customer and is NOT a "gift" has to have VAT paid to the UK govt by the seller. This means that EVERYONE selling to individuals in the UK needs to register for VAT and file returns with the UK govt, which many businesses have decided is way too much dicking about for the size of the UK market.It's not directly to do with EU/Brexit actually, but the fact that the UK is not in the customs union means that the rule applies to sales from the EU as well (pre-brexit it would not have), and had this been an EU wide system there would be a much larger market to justify the admin effort. Many EU companies I used to buy stuff from just gave up dealing with the UK, hence my earlier comment.There have actually been some benefits to be fair - shipments between the old stupidly low no-VAT threshold (15 quid or something) and the new 135 one (beyond which you have to pay VAT/duty yourself, or via the carrier) will now just incur VAT on purchase and not need separate clearance (saving clearance fees and time), e.g. when you buy from Aliexpress/eBay/Amazon US. Before it was always a crapshoot as to what the seller would declare and whether you'd get away without paying any VAT or need to pay VAT + sometimes crazy fees. Without Brexit there would be less downsides though!The sensible way to do it would have been to put a threshold on sales before requiring UK VAT registration, which would capture all the big players while not hurting smaller companies with excessive compliance costs - NZ has done this for example - but the UK and it's govt isn't known for having an abundance of common sense recently.As for this purchase, the only way for Kofen to ship one to me direct is to declare as a gift (at correct value for two pieces it would incur VAT and fees but at least it is possible, one @ $47 USD might just squeak under the threshold if shipping doesn't count) or register for UK VAT, though if you're going to mis-declare as a gift to sidestep the stupid rules you may as well adjust some numbers to sidestep the VAT/fees as well. Norway not being the in the EU doesn't come into play here other than possibly making it more annoying/expensive to get it via an EU country (as I was thinking of as an option in my last post).

author: Monkeh
author_rank: Super Contributor
timestamp: January 04, 2025, 12:53:39 am
content: Quote from: Hydron on January 04, 2025, 12:30:56 amIt is an EU wide system. This was an EU move we simply continued to copy after brexit, as a wonderful demonstration of our newfound independence.

author: Hydron
author_rank: Super Contributor
timestamp: January 04, 2025, 01:27:30 am
content: Huh, didn't realise that. I did know that Germany had some similarly annoying though different compliance requirements. Still think the VAT registration/collection thing should have an annual total sales threshold to avoid unreasonable compliance costs but it would have far fewer downsides as part of the large EU market...

author: Kofen
author_rank: Regular Contributor
timestamp: January 04, 2025, 08:23:20 am
content: Hi everyoneYes, Europe / EU and shipping VAT is a mess. While norway is not part of EU we are part of the EØS agreement that binds us to some of the same rules I think. At least we have the same problem as you describe.But, please send a message if there is any request to make life easier thru customs or if there are any special rules I need to know about.I am also VAT registred thru my personal firm that I can use in case things get really complicated. Just let me know!All of you that have already sent me a message should have gotten your invoice now. I have tried to organize everything up so I can keep track, but in case you notice anything wrong, just reach out and I will fix it.I will also try to edit the first post with all the info that is a bit spread around to make it easier for new folks that stumble across to figure out what the deal is.I have sent a message to all of you who have posted that you want an adapter in this thread after I posted the pricing, asking for shipping details.I would do another round of invocing later today.And still plenty of adapter to go around, no worries there.I will do my very best to keep the production time as short as possible, just need to get some parts and pcbs in house.Thanks again for all the support!

author: Monkeh
author_rank: Super Contributor
timestamp: January 04, 2025, 03:00:12 pm
content: Quote from: Hydron on January 04, 2025, 01:27:30 amWell, in the EU market it's optional for foreign companies to register and collect (it probably is for us, too, but I have yet to locate the actual legislation driving all this, the government will not cite it, and they're experienced in.. creative interpretations in guidance to suit agendas other than what parliament voted for). The purpose was to pay VAT to the EU nation a product was sold to, rather than the nation it was purchased from - so a unified VAT payment portal was created, which you'd use whether you're paying it to your own nation or another EU nation.We just decided to continue implementing the same system.. on our own. With none of the benefit and all of the cost.

author: Kean
author_rank: Unknown
timestamp: January 11, 2025, 11:04:53 pm
content: PM sent for 2 unitsI didn't see anyone else from down under showing interest, but if there was a bunch of us then I could possibly do a small run on my PnP (with Kofen's blessing and a longer lead time)

author: Kofen
author_rank: Regular Contributor
timestamp: January 12, 2025, 10:43:51 am
content: Hi guys,Quick update here:All the parts are in, including the switch that was back ordered(it came early!).Now I am just waiting for the pcbs that should come shortly.All that has shown interest in this thread has gotten a message thru the forum, not all have responded, but there is no rush(but if you have signed up in the thread and not gotten a reply, check your inbox.).Kean is the first from Australia to sign up, I have replied to your DM.And you are more than welcome to do a run your self, the more devices gets built, the happier I amIanJ has gotten his adapter(one of the prototypes) and I am happy to report that it worked fine with wingpib with default prologix config.He pointed out that connection details is missing from the github repro, I will write a guide on there as it is not totally clear that one should just use standard Prologix details as I avoided name dropping as much as possible.I have done some quick testing on the test controller software, but not been able to make it work(with any type of adapter, mine or others), I will look into this to figure out whats going on, I am sure the fault is on my side.I also have on my list to fix fixed IP support and the first post of this thread to make it easier to read, just been a bit busy here.So far 19 out of a run of 40 units is spoken for, plenty to go around stillAnd of course, the units will be available after they are built as well, until I run out, for any one needing one in the future.Thanks again for all the support, I will do my very best to deliver these as quickly as possible.

author: voltsandjolts
author_rank: Unknown
timestamp: January 19, 2025, 09:31:48 am
content: FYIIn the last few weeks there's been some positive progress on a potential solution for using Prologix devices with PyVISA.See the end of this discussion;https://github.com/pyvisa/pyvisa/issues/112

author: Kofen
author_rank: Regular Contributor
timestamp: January 19, 2025, 04:28:36 pm
content: Thank you, that was a nice tip. I will try to involve my self in this to facilliate testing towards this adapter.But right now PCB's are in so I will prioritze getting your units readyI will for sure revert back to this when the orders have shipped out.I will keep you guys posted on the progress, I will make one panel of 4 units first to verify that all is well, then it is serial production.All parts should be in and I have picked boxes and shipping stuff as well so there should be no delays unless something unforseen happen with the units.

author: OH2LAK
author_rank: Newbie
timestamp: January 20, 2025, 12:24:56 pm
content: Quote from: Kofen on January 12, 2025, 10:43:51 amI sent you DM regarding my order.Thanks,Erik OH2LAK

author: ftg
author_rank: Frequent Contributor
timestamp: January 20, 2025, 04:37:56 pm
content: Also sent a message

author: Kofen
author_rank: Regular Contributor
timestamp: January 21, 2025, 06:06:42 am
content: Thank you for the support! I will get the DM's answered and sorted today.Always nice to see fellow hams here!73 de LB2NJ

author: faraday
author_rank: Regular Contributor
timestamp: January 29, 2025, 07:23:49 am
content: I need 1 too - Tier 1 PM sent.

author: Kofen
author_rank: Regular Contributor
timestamp: January 30, 2025, 07:55:00 am
content: Hi guys,Quick update:I have been having feeder troubles on my PnP, I have been in contact with the manufacturer and they are shipping out improved replacement parts for me.It was very unfortunate that it was on this run problems started to appear.This can mean there will be a slight delay compared to the original promised ship date, but I will do my best to avoid it.If you like to cancel your order, feel free to message me and you will have a refund in on the hour(in my waking hours).Sorry about this!EDIT: And if anyone has urgent needs, let me know and I will hand assembly it for you.

author: Kofen
author_rank: Regular Contributor
timestamp: February 06, 2025, 11:09:43 am
content: Quick update, new parts for feeders in house, will start working on repairing them and hopefully get us back on track

author: maat
author_rank: Regular Contributor
timestamp: February 10, 2025, 12:35:49 pm
content: Just sent a PM for 3 tier 2 units

author: Kofen
author_rank: Regular Contributor
timestamp: February 10, 2025, 05:53:50 pm
content: Hello all,I have fixed all my feeders, parts are loaded back in, need to do a parts offset and a run of 1 panel to see that everything is correct.So hopefully all troubles are in the past and I can get these out to you.Since I must do this on my evenings / weekend, it might be a bit past the promised mid feb ship date, but I am prioritizing to get these out.I will keep you updated as it progresses along.Thank you for the patience and continued support, not fun that the first major public project and group buy ends with troubles and delay...

author: Kofen
author_rank: Regular Contributor
timestamp: February 16, 2025, 08:40:09 am
content: Guys,I’ve been struggling with a tough decision, and I want to be upfront about the situation.My PnP machine has suffered yet another major failure, the mother board is completely dead, and I have no idea how it happened. I’ve been stressing over this since Friday, and the guilt of delaying something that people have already paid for is really weighing on me.My original plan was to finished the run this weekend, but that is obviously not happening.And since I already delayed it due to feeder troubles, and now the MB dies, I am also afraid that it might seem like I am only making excuses. I don’t understand why an otherwise perfectly function machine decided that this run was the Armageddon.Right now, I see three options:1. Wait for new parts to repair the PnP machine and delay shipping – This would let me fulfill the orders myself, but I hate the idea of keeping everyone waiting after they’ve already paid, I have reached out the the manufacturer, but I have not heard back yet.2. Outsource assembly (e.g, via PCBWay) – This would ensure delivery happens sooner, but I would lose money on almost every order.3. Cancel all orders, issue full refunds, and let people reorder once I have stock in hand – This feels like the cleanest option, but I also know it’s frustrating for those who have been waiting.I have all the shipping materials and components ready - this delay is entirely due to something outside my control. That said, this situation is really starting to take a toll on me, and I need to make a call soon.I originally choose to ask for pre-payment to ensure that folks did not back out of their purchase, being new at this and unsure as to how common it is.Instead I get an overwhelming support and not a single one has questioned this and every single one that message me, paid their invoice promptly.This being my first group buy, I have also learnt that keeping the money from 18 different buyers and for a total of 32 adapters, is stressing me out. In retro spec I should have checked interested, noted your names and reached out once the adapters were ready. I am new at this and I am learning.If there is no input on the matter, I am quite sure I will go for option 3, and then revert back once they are built but, I’d really appreciate your thoughts on this.I know I loose face in this regardless and the only way for me to restore that is to deliver, one way or the other.Thanks for your patience and support, so sorry for this

author: voltsandjolts
author_rank: Unknown
timestamp: February 16, 2025, 09:13:18 am
content: Sounds like you and I are having a similar start to this new year - what can go wrong, will go wrong!I appreciate your updates here, and I'm happy to wait (option 1). No worries. No hurry. No stress.

author: BennoG
author_rank: Frequent Contributor
timestamp: February 16, 2025, 10:35:08 am
content: I am also nog in a hurry so wait a couple of weeks is no problem for me.After I receive them it will be probably a couple of months before I have time to start testing them.Benno

author: Hydron
author_rank: Super Contributor
timestamp: February 16, 2025, 10:40:46 am
content: No rush for me either, happy to wait. I've got plenty of projects to finish before I really need gpib adapters (e.g. build a workshop for my gear, redo my network so I can use PoE in the first place without power injectors!)

author: mankan
author_rank: Regular Contributor
timestamp: February 16, 2025, 10:54:47 am
content: No issues waiting for me. I'd go for option one. Thanks for keeping us updated.

author: Miek
author_rank: Regular Contributor
timestamp: February 16, 2025, 12:37:10 pm
content: Option 1 is fine by me, no rush at all

author: H.O
author_rank: Frequent Contributor
timestamp: February 16, 2025, 12:46:34 pm
content: I don't mind waiting, this isn't something I NEED so getting an adapter three months (or whatever) from now is better than getting no adapter.With that said, you should to do what feels best for you. No one wants you to burn out or feel bad because we told you do it one way or another.Thanks for the update!

author: krish2487
author_rank: Frequent Contributor
timestamp: February 16, 2025, 01:47:29 pm
content: Option 1 is fine with me as well..I dont need it immediately.. but would make managing my T&M equipment a whole lot of fun..

author: The Soulman
author_rank: Super Contributor
timestamp: February 16, 2025, 02:20:40 pm
content: No rush, option 1 is perfectly fine for me.Don't worry about it.

author: Kofen
author_rank: Regular Contributor
timestamp: February 16, 2025, 03:11:39 pm
content: Thank you for the support! It means a lot to me.I’ll admit that I have taken my failure to delivery on time quite heavily.I added a buffer for unforeseen cases, but as voltsandjolts said, everything that could go wrong, went wrong this time.It kept me up last night. I have taken “the day off” today and think I need a good night’s sleep before deciding further.Thank you for understanding, I will revert back tomorrow.

author: sameos
author_rank: Newbie
timestamp: February 16, 2025, 09:06:25 pm
content: No rush at all—don’t stress over it. I’m happy to wait until you’ve got the PnP sorted (option 1)!Best regards,Erik

author: Kean
author_rank: Unknown
timestamp: February 17, 2025, 03:50:26 am
content: I am also fine with option 1. Certainly no point in you stressing or losing money on this.Like most of the others there is no rush for me, but I guess there should be a limit of something like 3 months max from time of payment? I am not sure what Paypal/Visa expect in terms of shipping timeframe on a goods & services payment, but I think max 90 days is a common expectation.Out of interest, what type of PnP are you running if you don't mind sharing?

author: ftg
author_rank: Frequent Contributor
timestamp: February 17, 2025, 10:53:47 am
content: Option 1 is fine by me as well.

author: lu1s.p
author_rank: Contributor
timestamp: February 17, 2025, 11:07:56 am
content: Congratulations on the project!This seems like a fantastic solution to simplify the connection of GPIB instruments in a more efficient and affordable way. The compatibility with PoE and USB-C is a big plus, as it reduces the complexity and clutter of cables, which is very useful in lab environments. Additionally, the integration with the AR488 project is an excellent added value.As for the software, I understand it’s still under development, but if you need help with testing or suggestions, feel free to reach out. I’ll be keeping an eye on updates, and if you decide to make a small batch of boards, I’d definitely like to know more details.Great work, and I’ll be following the project with great interest!

author: Kofen
author_rank: Regular Contributor
timestamp: February 17, 2025, 04:13:48 pm
content: Hello everyone,Thank you for understanding and encouraging words!You guys are the best!70% of you that has ordered has responded in this thread or thru PM, all positive.I am exploring two roads right now, waiting to hear back from the mfg of the PnP before digging into it myself and I have gotten the first quote from PCBWay to check, that is not as bad as I excepted so I might go that route to save my time. I will have a definite answer tomorrow, but for you guys it will not affect anything (Other than the timeline for one or the other being longer / shorter).But it seems I will be able to deliver, before Paypal buyer protection starts making problems for us. That must be the final deadline (3 months from invoice date).Give me a couple of days to get an overview before I can give new estimates for shipping date. I do plan to keep these in stock for any further orders, so we do not end up in this situation again.But as always, if you want to cancel your order, send me a message and I will refund you as soon as I read it, no questions asked.Edit:Kean, forgot to add, it is a LumenPnP, troubles aside, it is a great little machine for small runs! I would highly recommend it. The feeder troubles were due to a dimensional fault on the cog wheel to forward the tape when they are of the thick paper type(and there were a lot on this run), they already had a fix that worked excellent and sent replacement parts FOC. I am sure the MB is just bad luck. I just don't want to give the impression that it is a bad machine, it does really, really well for the price as long as you don't have my luck!

author: Kofen
author_rank: Regular Contributor
timestamp: February 17, 2025, 04:15:52 pm
content: Quote from: lu1s.p on February 17, 2025, 11:07:56 amThank you for the kind words!Input and contributions on the software is very much welcome. I need to dig into that when I get this whole manufacturing situation under controll.I am very grateful for the AR488 project, but is has grown quite a bit over the years so the code base need a good restructure to enchance readability and maintance.

author: Kofen
author_rank: Regular Contributor
timestamp: February 18, 2025, 01:36:36 pm
content: Alright!The way forward is sorted.I got a quite nice quote from pcbway, and my only instinct when I got it was to press “play”, so I did, 50 boards with all smd components ordered.In the end, since you guys are so nice, and several have paid more than I asked and some with higher tiers, I do not lose money on this, don’t make much if anything, but that does not matter now. I am just happy to be able to deliver.I will have to adjust pricing for tier 1, I will probably also increase the tier 2 a little, tier 3 stands. I will do so and finally update the first post, so it is easy to find.In the end it was a tradeoff for me against time vs money. Time is the most valuable resource in the end, I will run the boards for stock when I get the PnP fixed so that I can keep a stock for them, for you and for me.The bad news is that this means a delay for y’all, estimated shipping date from pcbway is 23 of march, add 3 days shipping and they will go out end of march. I will prepare everything here in advance so it should be bring up, test and ship. We are within the limits of the paypal buyer protections so it should be fine.This frees me up to make some tools for testing easier for tier 1 kits and to enable me to investigate the software a bit.I hope this is okay for everyone, if not, you know how to reach me.Again, thank you so much for understanding!As for fun, I can add that also one of the 3d printers decided to break on me now, what a start of the year (but all your cases are already printed)!

author: krish2487
author_rank: Frequent Contributor
timestamp: February 18, 2025, 02:16:15 pm
content: Thank you for the update..I m certain you will find many more enthusiastic buyers and repeat buyers within the community itself..:-)Edit : about the 3d printer and the pnp machine... murphy gets you everytime...There is no way anyone could have foreseen this and planned accordingly.. given what has happened, I would say you have been very forthcoming and transparent.There is very little anyone else can ask for..

author: Yrrah
author_rank: Contributor
timestamp: February 18, 2025, 03:22:40 pm
content: Excellent work Kofen! I send private mail. Option 1 is perfect for me, if at all possible.Best regards,Yrrah

author: Zucca
author_rank: Unknown
timestamp: March 15, 2025, 09:07:21 pm
content: Kofen!Excellent!Can you write down how much PoE power is needed for your board?I apologize if I missed it.

author: Kofen
author_rank: Regular Contributor
timestamp: March 16, 2025, 09:16:46 am
content: Quote from: Zucca on March 15, 2025, 09:07:21 pmThank you!It draws about 1 watt over PoE, a bit dependent on the input voltage. So fairly low power.Almost any PoE switch that has PoE on all it's outputs should be capable of powering one on every port.For the rest of the gang that has ordered adapters: Currently in SMT mounting at fab house, so we are on track!

author: Zucca
author_rank: Unknown
timestamp: March 16, 2025, 09:09:58 pm
content: Very sexy, I need about 5 but not now I wait until you do a v2 maybe

author: Kofen
author_rank: Regular Contributor
timestamp: March 17, 2025, 08:35:10 am
content: Sure thing, plan to keep a few extras in stock so just reach out. But I'm not sure if there will ever be a v2, v1 just works, hard to justify doing something else when that's the case

author: Zucca
author_rank: Unknown
timestamp: March 17, 2025, 08:59:53 am
content: I hope for you v1 is the perfect one with no bugs, if this will be confirmed you will sell trucks of theseMeanwhile keep scanning aliexpress, alibaba, taobao and so on.Some people in Asia loves to replicate the good projects and sell them at low prices in the aboves....

author: H.O
author_rank: Frequent Contributor
timestamp: March 17, 2025, 06:16:27 pm
content: Question on usage, apologies if it's been covered. I'm not familiar with Prologix ethernet adapters, only the AR488.Does it do DHCP or do you set the IP-adress over UART?Once the IP is known, how do you actually "connect" to it using for example TeraTerm for testing or Python for automation.Not looking for a tutorial, just basic pointers.

author: Kofen
author_rank: Regular Contributor
timestamp: March 17, 2025, 06:34:16 pm
content: Quote from: H.O on March 17, 2025, 06:16:27 pmI have not added much on usage on the git page, it is on my todo list, I have just been vague with "prologix syntax"So out of the box it is configured for DHCP, right now fixed IP requires a recompile, but before the adapters ships I should be able to have a new push that lets you read and set IP address over serial so it will be easier.Next step is quite easy, it is a TCP server/socket at port 1234, aka telnet port.So simple example to connect and read would be:via example netcat, telnet, TerraTerm etc, netcat used as example:NC <IP> 1234The way the adapter works then is the same as AR488.e.g a command prefixed ++ and ends with LF/CR is config command for the adapter, while all others are sent straight for the bus.So say you want to do a simple *IDN? of the instrument:NC <IP> 1234++addr <gpib_addr>*IDN?++readHere we set the address, send command and query the bus.This can also be more automated with the ++auto command, setting it to ++auto 1, then it does query automatically based in ? in command sent.Then there is also ++EOI that is default 1, but then we are also getting a bit deeper into GPIB bus structure, let me know if you need any pointers there.I will see if I can add quick guide on the github or maybe I can refer to a modified AR488 manual for now. Just let me know if you need more for now.I will prioritize to get a config interface implemented over the usb-c serial when ethernet is used first, docs can always be updated when they are in transitI also hope to check out the pyvisa fork that has preliminary support for Prologix as I think that is an easy way to get folks going, but need some time to look into, main priority is to get the adapters out first.Luckily any FW changes is very easily programmed over the USB-C interface for all OSes so any FW update should be very easy for everyone.@Zucca V1 is verified, I am not sure if you have seen the DT that gives a high level overview over testing? The prototypes that are the final design have been working excellent over many months of heavy use, but I am sure some bugs will surface when they get sent out, but I think those will be firmware more than anything. Link to DT:https://github.com/Kofen/PoE_Ethernet_GPIB_Adapter/blob/main/docs/dt.md

author: H.O
author_rank: Frequent Contributor
timestamp: March 17, 2025, 08:13:22 pm
content: Thanks, that's more than enough for now, it was basically the Telnet port clue I was after at this point. Appreciated!

author: Kofen
author_rank: Regular Contributor
timestamp: March 19, 2025, 01:16:45 pm
content: Quick update,Got a couple of pics of finished boards from mfg, soon on it's way here.Thanks again for the patience!

author: Zucca
author_rank: Unknown
timestamp: March 21, 2025, 11:22:43 am
content: Quote from: Kofen on March 17, 2025, 06:34:16 pmIt is just a matter of time I will give you my money.

author: Kofen
author_rank: Regular Contributor
timestamp: March 24, 2025, 10:13:23 am
content: Another quick update:PCBs are incomming tomorrow.All partskits + extra for tier 1 is prepared and ready, cases as well.All on schedule to be shipped out this week.I have prepared a pogo pin test jig so hopefully bring up will be quick and pain less. On the first few boards I will do some extra testing, just to make sure that everything is the same as on the prototypes.I will ship out on first in - first out basis based on order date, but I think all will go out on the same day.I have prepared an extra 5 kits for any late bloomers that can go out this week(Any tier). Any orders after that will go out next week. When in stock(as it should be from now on), shipping time is 2-3 days after order is placed and payed.Thank you again for your patience and support.I have a lot of shipping labels to order now...

author: krish2487
author_rank: Frequent Contributor
timestamp: March 24, 2025, 02:01:57 pm
content: Thank you for the update@Kofen.. :-)Out of curiosity.. did you manage to get your pnp and 3d printer fixed ?? :-)

author: Kofen
author_rank: Regular Contributor
timestamp: March 25, 2025, 07:48:02 am
content: Quote from: krish2487 on March 24, 2025, 02:01:57 pmPnP is fixed, but I have not bothered to look at the 3d printer yet, probably a minor issue, but got a bit fed up

author: Kofen
author_rank: Regular Contributor
timestamp: March 26, 2025, 05:37:13 am
content: Boards are in, under bring up now!The side view led is the only soldering issue, it has been mounted offset from it's pads. All with issues are reworked now. Boards otherwise tested and found to be 100% working.Currently gluing ferrite cores for my lifeThose of you who might read this and is waiting for reply on PMs or invoice, you are on the list and I will get back to you shortly, just want to get the bring up out of the way first.

author: Kofen
author_rank: Regular Contributor
timestamp: March 27, 2025, 08:58:35 am
content: Another update!All boards are brought up and ready for packaing.Some "fun facts" from bring up.50% needed rework of the RGB led due to mounting error from fab house.2 boards needed the ch340x replaced as it was not working over uart.That was all, everything else just came up as expected, which is nice. On the next run it will hopefully be zero faults, but I don't know why the two ch340x is wonky, I have saved them so I can look at them if I get bored one day.I will order all the shipping labels during my lunch break and pack all the orders tonight, then hit the postoffice tomorrow.Thanks again for the support and patience, much appriciated.One thing about EU shipping tracking, it is being sent as traceable letter, based on experience when I sent the prototype to Ian, I learned that the tracking does not update until it reach the main shipping hub. That means that there will probably be a few days delay before the tracking starts working, but I will confirm in this thread tomorrow when the adapters have been sent out.

author: Kofen
author_rank: Regular Contributor
timestamp: March 28, 2025, 04:48:19 pm
content: All orders except for two that I am still waiting payment for shipped out today!I think all of you either have been spammed by paypal with tracking or thru PM. If you are missing tracking number, let me know!Thanks again for the patience!Edit:I have 12 boards that is not spoken for that is up for grabs that has ran thru FAT.5 thru-hole parts kit, more incoming monday.3 3d printed cases left.So any one that wants one, feel free to order, I will print more cases this weekend as well.

author: krish2487
author_rank: Frequent Contributor
timestamp: March 28, 2025, 06:40:31 pm
content: I received a tracking number thru paypal..Thank you@Kofen

author: Hydron
author_rank: Super Contributor
timestamp: March 29, 2025, 08:12:02 pm
content: Quote from: krish2487 on March 28, 2025, 06:40:31 pm+1 to above, got tracking a few days ago (no info yet from postal service though, as warned)....and it just arrived (delayed a day by me because I wasn't in yesterday). Haven't had a chance to put it together and test (and might not for a while) but the boards look great, thanks!

author: krish2487
author_rank: Frequent Contributor
timestamp: April 03, 2025, 02:01:05 pm
content: @Kofen.received my package today..The boards look good and ditto with the case!Thank you very much for a fantastic product.I do have one question though, did you manage to find a source and part number for the long screws that are used to fasten the gpib connector?

author: Hydron
author_rank: Super Contributor
timestamp: April 03, 2025, 03:19:27 pm
content: You probably have some in your house wiring bit and bobs box. Turns out M3.5 is used for fixing switches/sockets to the wall (in the UK at least, I suspect in Europe too). Key will be getting nice ones of the right length.Edit: the GPIB connector seems to take M3 though, which is an issue as you can't pass the M3.5 screws through it. Of course I just soldered one onto the board...

author: Kofen
author_rank: Regular Contributor
timestamp: April 03, 2025, 03:40:01 pm
content: Hi,They are a bit hard to find in right length, let me see if I can find a link for the few I got, considering making a custom one via accu for further orders.The GPIB connectors holes needs to be drilled up, there was a warning posted about this on github and somewhere in this thread I think, but I should have added a reminder. The good news is that it is very safe to do, even with then connector mounted(it clears all components.Another thing to note that I ment to write days ago, the screws for fastening the connector to board/case are 4-40 unc and metric imperial conversion in my head did me dirty so they are about 1-2 mm shorter than ideal, it does fit, but you have to make sure that the spacer is flush with no edges and maybe counter-sink the holes in the case ever so slightly.Longer screw are on the way so this does not apply to new orders placed after tomorrow. On all assembled adapter I added to thread lock to keep the screws in place.Edit: Forgot add, plenty of 3d printed cases and thru-hole parts in stock now and more pcbs in progress. Consider the adapter in stock unless I say otherwise.

author: voltsandjolts
author_rank: Unknown
timestamp: April 04, 2025, 06:39:09 pm
content: Hi KofenReceived mine, well packed, looks great and I look forward to trying it out.Thanks for your efforts both in the design and the (hectic) past few weeks of production!

author: The Soulman
author_rank: Super Contributor
timestamp: April 08, 2025, 10:00:35 am
content: Mine also arrived safely and is now fully assembled, thanks!Is it possible to set static ip-address (yet)?

author: Kofen
author_rank: Regular Contributor
timestamp: April 08, 2025, 10:42:56 am
content: Quote from: The Soulman on April 08, 2025, 10:00:35 amExcellent, glad they have started to arriveRight now you need to hard code and compile, but you can set it, but you know what, lemme take a look this afternoon to implement a simple serial config interface and you can be my test subjectOr I will write a guide to set it and compile.

author: faraday
author_rank: Regular Contributor
timestamp: April 08, 2025, 11:03:50 am
content: Mine arrived too. Must admit great mechanical and electrical design Thank you .

author: The Soulman
author_rank: Super Contributor
timestamp: April 08, 2025, 11:25:51 am
content: Quote from: Kofen on April 08, 2025, 10:42:56 amA simple program over serial (usb) would be great, I'm not much of a programmer and don't have the tools to flash the chip.Currently I have trouble connecting to the device, I have it on my home network that has dhcp enabled, but the (simple consumer) router does not seem to recognize it.The adapters mac adres doesn't show on the connected devices list in the web gui of the router.All led's are acting normal. Any Idea's?I'd prefer fixed ip anyway because that is what I use on my, not connected to the internet, test equipment network.Thanks.

author: Kofen
author_rank: Regular Contributor
timestamp: April 08, 2025, 12:38:15 pm
content: Quote from: The Soulman on April 08, 2025, 11:25:51 amSorry to hear about the troubles!One quick way to tell if the adapter as been given a IP ipaddress is that the rgb status led should start glowing withing a few seconds, if it takes like 20-30 seconds the ethernet interface has timed out.What OS are you on? So I can taylor help to the particulare os.Regardless, we need to do one flash, but it is very easy with Arduino GUI for a one off, I'll walk you thru it. I need to finish my work day, then look into ip setting.

author: The Soulman
author_rank: Super Contributor
timestamp: April 08, 2025, 12:48:43 pm
content: I needed the manually enter the mac addres in my home router before gpib adapter would get an ip, strange, first time that has happened.It now shows as: Hostname WIZnet1B264EEdit: to answer your questions: I'm on W10 64bitAbility to assign a static ip would be a "nice to have" at the moment, no hurry.

author: Kofen
author_rank: Regular Contributor
timestamp: April 08, 2025, 12:58:09 pm
content: Quote from: The Soulman on April 08, 2025, 12:48:43 pmHost name is right, good! And odd... But I sort of excepted that we will get some bugs when they left my place, the fact that they just work here, is not a garantuee elsewhere, feedback is important so we can make it as robust as possible!Do send me the OS you use so I can help with the static IP thing.Edit: If you don't mind, it would be very helpful to if we could do a couple of tries to see if we can figure what the issue is on your network, it _should_ be straight forward connection to the router, but maybe it is something we need to look into.

author: The Soulman
author_rank: Super Contributor
timestamp: April 08, 2025, 01:18:49 pm
content: In case you've missed my edit, I'm on W10 64 bitI'd be glad to help/test were possible, I do know a few things about networking, but not everything..

author: Kofen
author_rank: Regular Contributor
timestamp: April 08, 2025, 01:22:20 pm
content: Thank you! I need support from the community and you buyers to make this as robust as possible!I'll try of course to limit any issues but good to hear you are on boardI will look into the IP issue and the terminal to get the fixed ip going, just need to finish my work day.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 08, 2025, 10:03:34 pm
content: For those that want to work on the software, this is the platformio.ini file I use (WIP in my fork, looking to implement a RAW or VXI-11 interface, easier with pyvisa):Code:[env:ATmega4809]platform = atmelmegaavrboard = ATmega4809framework = arduinolib_deps =robtillaart/DEVNULL@^0.1.6arduino-libraries/Ethernet@^2.0.2;board_build.f_cpu = 16000000Lboard_build.f_cpu = 20000000Lboard_build.mcu = atmega4809upload_protocol = arduinomonitor_speed = 115200build_flags =-DARDUINO_AVR_ATmega4809

author: BennoG
author_rank: Frequent Contributor
timestamp: April 09, 2025, 02:39:53 pm
content: I received my units today and all seems to work ok.DHCP is also working as expectedBenno

author: faraday
author_rank: Regular Contributor
timestamp: April 09, 2025, 03:54:39 pm
content: Looks like I missed smth I connected to my router but it does not seem to find my adapter.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 09, 2025, 04:08:05 pm
content: If you can run a packet sniffer on the DHCP exchange, that would help a lot.How to do it: use a sniffing tool (wireshark or npcap or ...) either, on your router, or on a hub (not a switch!) connected to the device (will likely need external power then), or on a network with promiscuous mode (ex: wifi, via a bridge), to capture the exchanges (direct and broadcast) between the device and the DHCP server (router). Then send us the (preferably filtered) exchange in a pcap or pcapng file, here or via DM if you haven't filtered.What is brand/model is the router that serves DHCP?

author: faraday
author_rank: Regular Contributor
timestamp: April 09, 2025, 04:49:35 pm
content: It does not connect thru terminal too.

author: BennoG
author_rank: Frequent Contributor
timestamp: April 09, 2025, 04:53:00 pm
content: just to be sure you did use a POE switch to connect the adapter to ?And used the port with the yellow bar on the bottom ?Benno

author: faraday
author_rank: Regular Contributor
timestamp: April 09, 2025, 04:58:05 pm
content: Yes I did unit power on but have no comm thru usb and lan. On terminal when write ++ver it does not answer. I tested my arduino ar488 and it work ok so there is problem with board or I miss smth.

author: Kofen
author_rank: Regular Contributor
timestamp: April 09, 2025, 05:20:15 pm
content: Quote from: faraday on April 09, 2025, 04:58:05 pmSorry about that, when you connect the device to power with ethernet, how quickly does the indicator led turn on? That gives us an idea.All boards went thru FAT with every interface tested so it is odd. But of course, thing can happen so should it be any fault, I will replace it.Let's start with the basic to see if it starts the main lopp after 3-5 sec(not like 20-30 sec) with the led glowing, if it does it could be a similar network isse like The Soulman has(and thus something I need for sure to look into).EDIT: Sorry, since you try to write to it you probably already have the IP, ++addr reply zero as well?

author: bateau020
author_rank: Frequent Contributor
timestamp: April 09, 2025, 06:25:12 pm
content: Just to make sure there is no misunderstanding: serial console only prints the mac address on 115200 baud (if you have the latest batch, the version on git doesn't do that). It does not react to serial input. All interaction for now must go through telnet to port 1234, and therefore you must have an IP address before doing that.

author: faraday
author_rank: Regular Contributor
timestamp: April 09, 2025, 07:20:10 pm
content: Quote from: Kofen on April 09, 2025, 05:20:15 pmI try thru USB I don't have IP. When I plug Ethernet cable it lit power diode after 3-5s.

author: faraday
author_rank: Regular Contributor
timestamp: April 09, 2025, 07:24:00 pm
content: Quote from: bateau020 on April 09, 2025, 06:25:12 pmWhat command need to use to see MAC address thru serial?

author: Kofen
author_rank: Regular Contributor
timestamp: April 09, 2025, 08:34:09 pm
content: Quote from: faraday on April 09, 2025, 07:24:00 pmAhh, then it makes sense, the serial interface only prints the MAC and the MAC is fixed based on the unique id of the board.Since the led lights up, it gets IP from your router so that part works fine.But you would probably want to set fixed IP.I have been a bit busy, I will take a crack at it early in the morning so you can set fixed IP. The other option right now is that you can hard code it in the source code and compile&upload.But I will fix a verys simple serial config interface for you guys.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 09, 2025, 08:40:22 pm
content: Quote from: faraday on April 09, 2025, 07:24:00 pmNo command. Just hook up the USB cable, open serial terminal to it on 115200 baud, and press and release the reset button. It will print the MAC address (if you have the latest batch, otherwise it will print nothing). Also, the device should have come with a sticker showing the MAC address.However, the device works since the led comes on.But if you have an older firmware and do want to see the MAC address on serial console, then either Kofen, or I can easily provide firmware that does print the MAC address via serial. You will however need to be able to flash it. That goes through for example a tool called avrdude, and it needs simple USB. There is no need for special cables.Another method for getting the MAC address is using a tool like Wireshark, and searching for DHCP traffic. It requires a bit more technical knowledge about IP networks.

author: faraday
author_rank: Regular Contributor
timestamp: April 10, 2025, 04:45:48 am
content: I checked on 2 routers and it does not work on booth of them. I can see mac on serial terminal.EDIT: I have option in router to assign ip to mac address. I can ping assigned IPPinging 192.18.1.11 with 32 bytes of data:Reply from 192.18.1.11: bytes=32 time=2ms TTL=128Reply from 192.18.1.11: bytes=32 time=3ms TTL=128Reply from 192.18.1.11: bytes=32 time=3ms TTL=128Reply from 192.18.1.11: bytes=32 time=2ms TTL=128Ping statistics for 192.18.1.11:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 2ms, Maximum = 3ms, Average = 2msbut it does not answer thru telnet (putty).

author: BennoG
author_rank: Frequent Contributor
timestamp: April 10, 2025, 05:41:06 am
content: Can you install wireshark ?When you start it up it will ask what adapter to capture.On the right side uncheck everything except the wired checkbox.Then select your main adapter (probably the top one)and type in the filter lineCode:port 67 or port 68then hit the enter key (or double tap on the line you selected before)Reset the adapter and you will get probably 4 line in your wireshark window.If you click on the line with "DHCP ACK" and in the bottom screen click open theDynamic Host Configuration Protocol (ACK)part then you see a line withYour (client) IP address: xxx.xxx.xxx.xxxThis will be the IP address of the adapter.If not can you save the captured data and post it here (you probably need to zip it)Benno

author: bateau020
author_rank: Frequent Contributor
timestamp: April 10, 2025, 05:44:37 am
content: (edit: canceling all my previous questions)If you can set an IP address and it pings, you are very close.If you do use putty, please do so on telnet (not ssh or serial) and do so to port 1234. Once connected, you can type '++help' and enter. If there is no reply, try changing the end of line markers. Try setting to CR+LF.

author: BennoG
author_rank: Frequent Contributor
timestamp: April 10, 2025, 05:44:49 am
content: Quote from: faraday on April 10, 2025, 04:45:48 amDid you use port 1234 ?And connection type other.As in the image below ?If so can you do the wireshark thing as in my previous post only filter lineCode:port 1234on the same pc as you are using putty.Benno

author: faraday
author_rank: Regular Contributor
timestamp: April 10, 2025, 05:54:29 am
content: Quote from: bateau020 on April 10, 2025, 05:44:37 am1) yes3) about 5s4) ZTE5) Yes I can arduino ide6) I'm nerd but will do my best

author: faraday
author_rank: Regular Contributor
timestamp: April 10, 2025, 05:58:24 am
content: Quote from: BennoG on April 10, 2025, 05:44:49 amYes I connect like on attached picture

author: bateau020
author_rank: Frequent Contributor
timestamp: April 10, 2025, 05:59:43 am
content: Sorry, messages crossed. Wireshark is not really needed anymore. You're very close to having it running. '++help' enter should do it.

author: faraday
author_rank: Regular Contributor
timestamp: April 10, 2025, 06:12:33 am
content: it is aliveAR488 GPIB controller, ver. 0.51.29-eth_addon, 18/05/2024

author: The Soulman
author_rank: Super Contributor
timestamp: April 10, 2025, 10:28:30 am
content: Same as Faraday I also use a ZTE router. I'm not concerned with how this router (does not) recognize the adapter, setting a fixed ip adres from serial would be good enough for me.But if it helps others I could bring the adapter to work and plug it in to a more professional switch/router and see what that reports.And mine also appears to work from putty (thanks BennoG).For instance I can successfully set and read the adapters gpib adres by ++adr 3 (set it to adres 3) and ++adr (reads the adres number, in this case returns 3).However It is unclear to me how to send commands to a specific device on the gpib bus, in this case a Keithley 192 on adres 8?I know this question is not restricted to this adapter but any help is appreciated.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 10, 2025, 10:43:09 am
content: This device talks the "prologix" protocol for now (am working on other protocols), that is unfortunately not yet compatible with mainstream tools like pyvisa.However, PyMeasure should be able to talk to it.If you want to test it with telnet for device address 8:connect to it++addr 8++auto 1*IDN?You can even save that config to the device via ++savecfgIt will not be completely VISA RAW socket compatible, but close.("++auto" is 0 by default, meaning you need to send "++read" after every query)

author: Kofen
author_rank: Regular Contributor
timestamp: April 10, 2025, 10:47:53 am
content: If you can do a test at work, that would be nice so we can confirm it is the home router that is the cause of the bug, but as I said, I am sure this is something we can fix in FW, I have not tested any ZTE, mostly use Mikrotik and Cisco stuff at home.The 192 is a bit old so I don't know the specific GPIB commands, but here is a simple rundown how you can communiate.Open telnet session <adapter_ip> port 1234First set the addres you want to talk to:++addr 8Now you can just write the command you like, example:*IDN? then hit return.Now without auto set, you get no reply, to do that, you need to query the bus with:++readNow you will see instrument response.You can also set ++auto 1, this enables automatic query so if you now write *IDN? and hit enter, it will return the response.To make it simple, try:++addr 8F0R2XI think this sets the 192 in 2v range mode so you should see a change on the display.You can look at the prologix ethernet gpib manual, that is the same way this adapter works:https://irtfweb.ifa.hawaii.edu/~s2/software/gpib-eth-ls335/PrologixGpibEthernetManual.pdfLemme know if you need more helpEDIT: Seems we posted at the same timeThat is excellent, thats for adding support bateau020!

author: The Soulman
author_rank: Super Contributor
timestamp: April 10, 2025, 12:10:25 pm
content: When the multimeter is set to "talk mode" (dip switch on the back) ++read returns the value that is on the meters display.Will have to investigate/read/learn on how to enable gpib control on the 192 and than start working on a device definition for Test Controller.I expect to be able to test the dhcp things at work (netgear m4250) over the weekend, perhaps I can also test with a linksys router that is running openwrt, if I can find it..

author: BennoG
author_rank: Frequent Contributor
timestamp: April 10, 2025, 12:34:11 pm
content: I don't know where you live in NL but if you live near Alkmaar / Heiloo then you can also test over here.Then we use a switch in monitor mode to see all the network traffic between your router and the POE adapter and can see what is going wrong with it.Benno

author: The Soulman
author_rank: Super Contributor
timestamp: April 10, 2025, 12:50:34 pm
content: I'm on the other end of the afsluitdijk (near Assen) not that close/ worth the trip, I could do a port replication on the netgear as well to capture some traffic but to be honest I don't care so much for this minor issue that for now appears to be limited to zte routers requiring some little (one time) manual configuration to get dhcp to work.Will test with other routers when time permits to see if it is indeed limited to zte, if not limited to zte I'll make effort to investigate further.

author: voltsandjolts
author_rank: Unknown
timestamp: April 12, 2025, 06:44:25 am
content: Quote from: bateau020 on April 10, 2025, 10:43:09 amAt the end of last year there was some positive progress on a potential solution for using Prologix devices with PyVISA.Some folks have reported the patch is working.See the end of this discussion;https://github.com/pyvisa/pyvisa/issues/112

author: bateau020
author_rank: Frequent Contributor
timestamp: April 12, 2025, 08:21:13 am
content: The problem i have with prologix, is also that it is not discoverable, and that the intégration in pyvisa has been taking ages, giving not a lot of confidence. Anyway, my fork now has a fully operational vxi11 version. Will integrate in the original repo soon.

author: Kofen
author_rank: Regular Contributor
timestamp: April 18, 2025, 06:10:01 pm
content: With big thanks to @bateau020 there is a new release for the software out now:https://github.com/Kofen/PoE_Ethernet_GPIB_AdapterKey points, it now supports VXI11, it is either that or prologix syntax so you have to choose which you want at compile stage, I have provded binaries for both under the release.There is also some bug fixses for reported problems now taken care of.The documentation on github is update to give at least a brief introduction and I will start to work on a manual.On VXI11 there are a limitation of number of clients, read the readme on github carefully if you have many gpib devices.The adapter now also have a web interface, but it is very work in progress and right now serves as a info screen for connetion, it is available at port 80, aka in your webbroser <your_IP>:80For flashing, this is done over USB with avrdude, syntax:avrdude -c arduino -p atmega4809 -P <Your_serial_port> -D -U flash:w:vxi11_488.hex - If you want the vxi11 versionavrdude -c arduino -p atmega4809 -P <Your_serial_port> -D -U flash:w:prologix_488.hex - If you want the prologix versionIf your hex file is not in the folder you run avrdude, update path accordingly.You can also use avrdudess if you prefer a gui, attached a screenshot of correct config.We would love as many to try it out as possible and please report bugs, either(preferd) github or here.Hope most of you folks have gotten your adapter by know, 60 pcs of pcba is inbound over easter.

author: The Soulman
author_rank: Super Contributor
timestamp: April 20, 2025, 01:07:26 pm
content: One thing I've noticed with the adapter connected to the netgear switch is that the Link Layer Discovery Protocol (LLDP) field is empty (no data) perhaps the zte router needs that to recognize it?Another thing with the adapter is that after a day or so of up-time putty would give a network connection error, I could still successfully ping but only resetting the adapter can make putty connect to it again.Unplugging and plugging the lan cable does not help in that case.

author: Kofen
author_rank: Regular Contributor
timestamp: April 20, 2025, 01:33:44 pm
content: This is interesting and I will look into this.Can you update the adapter to the latest FW to see if this resolves some of the problems, I have done some bug fixses there.

author: The Soulman
author_rank: Super Contributor
timestamp: April 20, 2025, 04:11:16 pm
content: Dumb question, can anyone provide a trustworthy link to download avrdudess?I've installed avrdude from a questionable source and it opens and closes in a split-second. (not usable)Also installed Arduino ide, that is running fine but not sure if that helps me here..

author: Kofen
author_rank: Regular Contributor
timestamp: April 20, 2025, 04:38:30 pm
content: No dumb questionAvrdudess is here:https://github.com/ZakKemble/AVRDUDESS/releases/download/v2.18/AVRDUDESS-2.18-setup.exeI am guessing avrdude alone open and closes as it is meant to be run in the terminal, try out avrdudess first!

author: The Soulman
author_rank: Super Contributor
timestamp: April 20, 2025, 05:14:22 pm
content: Thanks! It updated smoothly using avrdudess and the firmware file from here:https://github.com/Kofen/PoE_Ethernet_GPIB_Adapter/releasesI've used prologix_488.hex

author: Kofen
author_rank: Regular Contributor
timestamp: April 20, 2025, 05:17:37 pm
content: Excellent! Let me know how the timout goes

author: The Soulman
author_rank: Super Contributor
timestamp: April 20, 2025, 05:22:38 pm
content: I will, for those that are curious, this what the web server currently looks like.

author: Kofen
author_rank: Regular Contributor
timestamp: April 20, 2025, 05:44:57 pm
content: Yeah, still a work in progress, and more so for the proloigx as the cmd_help print eats a lot of rom.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 20, 2025, 05:55:16 pm
content: Ongoing work on the web interface is here:https://github.com/Kofen/PoE_Ethernet_GPIB_Adapter/issues/3Indeed, not all will be available for prologix, as it already consumes a lot of ROM.

author: voltsandjolts
author_rank: Unknown
timestamp: April 20, 2025, 06:16:22 pm
content: I don't know the details, so this is likely a stupid idea:Could the cmd_help go in the 32KB eeprom?

author: Kofen
author_rank: Regular Contributor
timestamp: April 20, 2025, 06:33:29 pm
content: Quote from: voltsandjolts on April 20, 2025, 06:16:22 pmIt indeed something I am looking into!

author: The Soulman
author_rank: Super Contributor
timestamp: April 22, 2025, 03:36:44 pm
content: To not further clutter this topic I've created a new topic specifically to the gpib control of the Keithley 192.https://www.eevblog.com/forum/testgear/keithley-192-gpib-control/

author: The Soulman
author_rank: Super Contributor
timestamp: April 22, 2025, 03:39:59 pm
content: Quote from: Kofen on April 20, 2025, 05:17:37 pmSadly I had to use the reset button again: ip address could be successfully be pinged, Putty cannot connect, web server cannot be reached.Reset fixed it.

author: Kofen
author_rank: Regular Contributor
timestamp: April 22, 2025, 05:12:33 pm
content: Quote from: The Soulman on April 22, 2025, 03:39:59 pmThanks for the udapte!Interesting... I have had adapters on for months without issue, but I will do a test with a couple with the latest firmware and try to recreate. It is odd that you can ping it, but not connect to it.I will also do a review of the code to see if there could be anything obvious, but I can't really think of what this can be on the adapter side. I'll keep you updated!

author: The Soulman
author_rank: Super Contributor
timestamp: April 22, 2025, 05:49:12 pm
content: It is still on the zte router, wouldn't be surprised if that is the cause of these issues.

author: H.O
author_rank: Frequent Contributor
timestamp: April 22, 2025, 06:02:19 pm
content: I'm no network expert but can it be DHCP that doesn't renew the lease and you two have (way) different deafult lease times setup in your respective DHCP-server?But I suppose you shouldn't be able to ping it either then...I updated mine this weekend, web-interface says 0.53.03, currently have it powered via USB, can ping and connect via Putty. Will leave it turned on for a few days and report.BTW. After connecting with Putty, the adapter ignores the first the command sent to it, producing zero response. Sending the same (or another) command produces the expected result and from there on it works. Replacing the first command with a blank line (Enter-key) also work.Is this standard Telnet stuff or do I have a setting not quite right?

author: BennoG
author_rank: Frequent Contributor
timestamp: April 22, 2025, 06:48:46 pm
content: I noticed that when a previous TCP connection is still "LINGERING" (still not closed or even still open) a new TCP connection is accepted and accepting data but not answering until the first connection is fully closed.Benno

author: The Soulman
author_rank: Super Contributor
timestamp: April 22, 2025, 06:50:09 pm
content: The adapter gets its ip adress from the router just fine, perhaps the router closes some unused ports after x-amount of time.Mine also does not respond to the first line same as you describe.

author: Kofen
author_rank: Regular Contributor
timestamp: April 22, 2025, 06:57:54 pm
content: This is interesting and I will create a debug build with some serial we can log.Trying to get response, gets me one of the first try:➜ ~ nc 192.168.30.103 1234++verAR488 GPIB controller, ver. 0.53.03, 08/04/2025I will fire up the VM windows tomorrow to test putty.I have two adapters up now that logs mem and number of sockets in use and state over serial.Will clean it up a bit and post a hex of a debug build for you Soulman unless I can recreate it on my end.There is a limit of max open connection on the ethernet chip of 8 clients, but there is logic to close dead sockets, but I'll have to do a review of it.

author: The Soulman
author_rank: Super Contributor
timestamp: April 22, 2025, 07:04:11 pm
content: Nice, although I really don't want to use the adapter on this zte router but have to for the lack of being able to setting a fixed ip-address.But will be happy to assist as it may help other users.

author: Kofen
author_rank: Regular Contributor
timestamp: April 22, 2025, 07:25:27 pm
content: Quote from: The Soulman on April 22, 2025, 07:04:11 pmNice, need some help to solve this will help others users, I have not been able to locate any zte routers locally to recreate, so I need some community help here to make it more roboust.Btw, you can now try fixed ip if you like, configured over the serial interface. Example:➜ ~ picocom -b115200 /dev/tty.usbserial-1230picocom v3.1port is : /dev/tty.usbserial-1230flowcontrol : nonebaudrate is : 115200parity is : nonedatabits are : 8stopbits are : 1escape is : C-alocal echo is : nonoinit is : nonoreset is : nohangup is : nonolock is : nosend_cmd is : sz -vvreceive_cmd is : rz -vv -Eimap is :omap is :emap is : crcrlf,delbs,logfile is : noneinitstring : noneexit_after is : not setexit is : noType [C-a] [C-h] to see available commandsTerminal readyEthernet2GPIB Gateway v1.1 (AR488 v0.53.03)- SRAM left: 5098MAC Address: E8 EB 1B 1B 27 FDConfiguring and Starting GPIB bus...Waiting for DHCP...IP Address: 192.168.30.103Starting Prologix TCP server on port 1234...Starting Web server on port 80...Starting Serial Menu...Setup complete.1 - Set IP address? - Menu>1Current IP Address: 192.168.30.103Configured IP Address: via DHCP.Enter the desired IP address (0.0.0.0 means: use DHCP):>10.0.0.1IP Address will be set to: 10.0.0.1You will need to reboot now.Reboot needs to be done with the switch for now, looking into if the bootloader will give me watchdog controll without breaking, working progress, but at least possible to set it now.

author: Kofen
author_rank: Regular Contributor
timestamp: April 24, 2025, 11:37:18 am
content: Quick update on the adapter "time out" after being connected for a while, still not able to reproduce, have several on test and some have been left totally alone if that could trigger it.Have to finish the debug code for you Soulman now.

author: voltsandjolts
author_rank: Unknown
timestamp: April 25, 2025, 08:03:55 pm
content: Like most bench dmm's, my keithley 2000 can save readings to a buffer memory, which can be read after the acquisition is complete. This works fine over usb-serialport and over usb-gpib with theTwilight AR488. With the LXI firmware I'm only getting 256 bytes maximum (i.e. 16 ascii format readings) when I try to read the buffer memory with kei2000.query("trace:data?"), so truncated response. I'm not setup to try with the PRLGX compatible firmware. Has anyone else tried reading >256 bytes?

author: bateau020
author_rank: Frequent Contributor
timestamp: April 25, 2025, 09:15:15 pm
content: Yes, you caught a limitation to the buffer size in the vxi version. I will look into that. Not easy to solve for all response sizes, and streaming will likely never be possible, but better/bigger than now is possible.Prologix might not have that issue.

author: voltsandjolts
author_rank: Unknown
timestamp: April 26, 2025, 09:01:25 am
content: This PoE adapter with PRLGX firmware seems to have the same issue, but with 1024 byte limit.(might be my setup, so please confirm for yourself)Using the usb-gpib adapterTwilight AR488a full buffer of 1024 readings (about 16KiB) can be retrieved OK.

author: Kofen
author_rank: Regular Contributor
timestamp: April 26, 2025, 09:38:33 am
content: That the VXI have limit is understandable from looking at the code(And I am not sure about the correct way to fix this for VXI, but as the agilent gateway don't have this issue so I am sure we can fix it, need to read up a little).But the latest prologix version should be okay, this build:https://github.com/Kofen/PoE_Ethernet_GPIB_Adapter/releases/download/2.0.0/prologix_488.hexCan you confirm which version you are using, in version 2.0.0 I specifically implemented a fix that sends the buffer if it either reaches 1024 or is terminated with \n so that you should be able to read the whole buffer, you just get two packets(or however long the data array is) I have a Keithley 2002 so I guess it has the same function so I can try to recreate it on my end as well.What tools are you using to fetch the data?EDIT: The AR488 stock is a bit different, it is not fully prologix compliant in that it's spits out data as soon as it arrive, it don't wait for the line termination or buffer it. I added this function to my fork as my scripts was not able to work out of the box and it makes it more compliant with Porlogix ethernet adapter.

author: voltsandjolts
author_rank: Unknown
timestamp: April 26, 2025, 10:41:41 am
content: Hi KofenThe adapter webpage reports "Ethernet2GPIB Gateway v1.1 (AR488 v0.53.03)" so I need to update to v2.0.I'm using python and reading buffer data with "results = gpib.query("trace:data?")" (see attached).I don't see a keithley command that allows to read a portion of the results buffer, you just get all recorded data at once.How do I split this into multiple reads?

author: Kofen
author_rank: Regular Contributor
timestamp: April 26, 2025, 05:15:50 pm
content: Quote from: voltsandjolts on April 26, 2025, 10:41:41 amYou were in luck as I had a 2182a right by me that supports this.The FW is right when you have web interface, forgot to update fw revision in code...So the problem is not the adapter, but that you only ask for one measurment, two conditions can give you that, either a line termination or a buffer overflow, then it purge it over the connection.Since you only ask for one, you only get the first 1024 bytes, it might be the issue with the VXI as well, but I have not looked into that, I just ran your prologix code, I made a quick change and this gives you all the data, it request data until the line termination is met, it is needed for that particular python lib.Output from test: Readings requested: 120Readings retrieved: 120Number of bytes retrieved: 1920The change to your code:print("Retrieving...")gpib.write("trace:data?")buffer = "" # Start with an empty string# Read chunks until we get a full response with \nwhile '\n' not in buffer:buffer += gpib.read()print("Raw buffer received:", buffer)# Now split the buffer into readings (assuming comma-separated)voltages = buffer.strip().split(',') # Remove whitespace and splitprint("Voltages:", voltages)print("Readings requested: ", number_of_readings)print("Readings retrieved: ", len(voltages))print("Number of bytes retrieved:", len(buffer.encode('ascii')))gpib.write("trace:clear; feed:control next")gpib.close()So for at least the prologix version, it is a code issue on the top side, not adapter function. Could you try the same approach with your VXI code? I'll have to clear my bench a bit to pull out a boat anchor to help another fella out.Hope this helps!EDIT: When I say need for that lib, I did not read the docs or the code, I just observed the behaviour and did a quick patch, maybe there are hints in the docs.

author: voltsandjolts
author_rank: Unknown
timestamp: April 26, 2025, 07:01:12 pm
content: Thanks Kofen.I haven't actually used prologix before, I normally use pyvisa, which has a nice function to return all data as list of floats;voltages = kei2000.query_ascii_values("trace:data?")which works fine with usb-serial and twilight ar488, as one big read.Maybe it's the additional network functionality that requires multiple reads, IDK.Anyway, if multi-read fixes it, that's great.I'll give it a try after the weekend.Sounds like you have some nice kit...K2002, K2182. I do like the Keithley stuff.Regards,

author: Kofen
author_rank: Regular Contributor
timestamp: April 26, 2025, 09:20:05 pm
content: Could you post you pyvisa code that failed so I can take a look as well? For the VXI adapter version for the adapter that is.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 26, 2025, 09:41:25 pm
content: It would be nice to match the adapter's behavior with how a dmm6500 behaves. I can work on that, but it'll take a bit of time, on the road now.

author: Kofen
author_rank: Regular Contributor
timestamp: April 27, 2025, 11:28:33 am
content: Quote from: voltsandjolts on April 26, 2025, 07:01:12 pmI realize I was a bit short in my reply yesterday.Over GPIB there are usally two ways to know when the instrument is done sending/has cleared it buffer.The gpib bus is quite robust as it has it own hardware line for this EOI (End Of Identify).Normal behaviour of the Talker(the instrument sending data), is to raise this line to mark the end of a message/buffer.This is the prefered way and is used on most instruments.The other method is a line termination in the message string, usally LR/CR (Hence the \n hack in your code yesterday).This is not the prefered method as this is not a requirement in the GPIB specification so the manufacturer is not required to enforce this, and when you ask for raw binary data of many instrument, you will not get the line termination.The prologix does support EOI, but you need to handle it on the topside in the driver/library.Prologix is a very low level bridge, made as transparent as possible so the logic handling is shifted to the driver, aka the user.Since I have not used the library you are using, beside a quick test to confirm it was compatible with the adapter, I opted to hack in the \n as I know this behaviour is supported by the DMMs in question.But it is not a fix for all. I don't know how it handles EOI in the background, if at all.Since the adapter is made to be 100% compatible with prologix ethernet adapter, I do not wish to make any changes on the fw on the adapter to enforce other behaviour as this will just break everything and make it harder for people(aka me) to switch adapter depending on which one is closest in my drawer.Now more interesting is the VXI apporach, here we have much more options and this is something me and bateau020 need to look at and discuss when he is back.The goal should not have it mimic a DMM6500 as then we create an "instrument" for the instrument, but rather we should study the behaviour of the Agilent GPIB Gateway as this is a very robust device(and I have one for easy testing comparison). Since we do not need to clone a speific device behaviour, we are much more free to decide how to handle interactions on the instrument side. But every smart logic we add to the adapter, makes for increased risk of incompaible behaviour of older instruments / instruments that do not enforce thru GPIB standard implementation.I'll admit, I have not yet fully dug into the VXI code for the adapter, as bateau020 did the heavy lifting there and I have focused on fixing bugs in the prologix parts and support.When it comes to the AR488 serial adapter behaviour, I have no way of knowing why your script works with that, as I have not seen the code. IRCC, it spits out byte for byte on the serial bus so I am sure the heavy lifting is done topside there as well.What is very important to me is the feedback from all the users, that helps define what is needed for this adapter to work for all of you, regadless of Python / code foo.Maybe looking into the pyvisa prologix fork and get that pushed to main is good enough. Maybe we need to create a more robust prologix python library to suit more of the use cases?I don't know, but with feedback and help with issues in this thread we will figure it out, but I hope for some understanding that I need some time to get the overview.What I do wish for all of you, if you have issues, write it in the thread, not on PM, as this helps us share the challenges so we all learn, and then we can compile it to an FAQ.Creating my first "popular" open source project is a big learning curve, the most obvious thing that is missing is good documentation, that should have been done before launching, but I did not know any better and I am working on it. But right now I am in a bit of catch22 as I try to write docs to help, but also have a lot of support cases to get you guys running. This is in no way of a complaint, I am very grateful for your orders and support, I just need some patience from you guys. I am truly humble that you have trusted me and supported me.

author: voltsandjolts
author_rank: Unknown
timestamp: April 27, 2025, 04:39:34 pm
content: Apologies for this quick terse reply, I don't have time this evening!Quote from: Kofen on April 27, 2025, 11:28:33 ampyvisa is bit clunky with PRLGX interface, but this code works withTwilight AR488 usb-gpiband retrieves all 1024 (full buffer of k2000) in one read:Code:import timeimport pyvisa as visafrom pyvisa.constants import StopBits, Parity, ControlFlowrm = visa.ResourceManager() # default backendar488 = rm.open_resource("ASRL9::INSTR", baud_rate=115200, data_bits=8, flow_control=ControlFlow.none, stop_bits=StopBits.one, parity=Parity.none)ar488.timeout = 10000 # milli-secondsar488.read_termination = '\n'ar488.write_termination = '\n'ar488.write("++mode 1")ar488.write("++addr 20")ar488.write("++auto 0")ar488.write("++eoi 1")ar488.write("++eos 3")ar488.write("*rst; *cls")ar488.write("*idn?")print(ar488.query("++read eoi"))interval_in_ms = 10number_of_readings = 1024ar488.write("volt:dc:rang 10")ar488.write("func 'volt:dc'")ar488.write("status:measurement:enable 512; *sre 1")ar488.write("sample:count %d" % number_of_readings)ar488.write("trigger:source bus")ar488.write("trigger:delay %f" % (interval_in_ms / 1000.0))ar488.write("trace:points %d" % number_of_readings)ar488.write("trace:feed sense1; feed:control next")ar488.write("initiate")ar488.write("*TRG")print("Sampling", end='')spin = Truewhile(spin):time.sleep(0.5)print(".", end='', flush=True)ar488.write("status:measurement?")if ((512 & int(ar488.query("++read eoi"))) == 512):spin=Falseprint("\nRetrieving...")ar488.write("trace:data?")voltages = ar488.query("++read eoi")ar488.write("trace:clear; feed:control next")ar488.close()print(voltages)print("Readings requested: ", number_of_readings)print("Readings retrieved: ", voltages.count(",") + 1)print("Number of bytes retrieved:", len(voltages.encode('ascii')))pyvisa with your adapter in VXI form, works for at most 16 samples in one read:Code:import timeimport pyvisa as visarm = visa.ResourceManager() # default backendkei2000 = rm.open_resource("TCPIP::192.168.1.84::gpib,20::INSTR")kei2000.timeout = 10000 # milli-secondskei2000.read_termination = '\n'kei2000.write_termination = '\n'kei2000.write("*rst; *cls")print(kei2000.query("*IDN?"))kei2000.write("func 'volt:dc'")interval_in_ms = 100number_of_readings = 16kei2000.write("status:measurement:enable 512; *sre 1")kei2000.write("sample:count %d" % number_of_readings)kei2000.write("trigger:source bus")kei2000.write("trigger:delay %f" % (interval_in_ms / 1000.0))kei2000.write("trace:points %d" % number_of_readings)kei2000.write("trace:feed sense1; feed:control next")kei2000.write("initiate")kei2000.write("*TRG")print("Sampling", end='')while (512 & int(kei2000.query("status:measurement?")) == 0):time.sleep(0.5)print(".", end='', flush=True)print("\nRetrieving...")voltages = kei2000.query_ascii_values("trace:data?")kei2000.write("trace:clear; feed:control next")kei2000.close()print(voltages)print("Readings requested: ", number_of_readings)print("Readings retrieved: ", len(voltages))Code:KEITHLEY INSTRUMENTS INC.,MODEL 2000,4345022,B01 /A02Sampling.....Retrieving...[-0.0952147802, -0.0677902183, -0.0403273559, -0.0134135439, 0.013183989, 0.0400936004, 0.0662085656, 0.0922829095, 0.115487853, -0.106685633, -0.0747559541, -0.0490926409, -0.0234869743, 0.00241608643, 0.0279617216, 0.0532273171]Readings requested: 16Readings retrieved: 16

author: H.O
author_rank: Frequent Contributor
timestamp: April 29, 2025, 06:17:45 pm
content: After about one week of uptime mine was suddenly unreachable. No Telnet, no ping, no web-interface.Checked my router and sure enough the adapter had gotten a new IP-address. Using that address I can reach it but now the LED on the adapter is red all the time while previously it was breathing green and, I believe, turning purple when there was an open connection.

author: bateau020
author_rank: Frequent Contributor
timestamp: April 29, 2025, 06:54:48 pm
content: Yes, red means there is a network problem or that the ip address got changed since startup. A reboot will reset the led color. It works, but you had to reconnect the client. So an action was needed anyway. It is best to fix the ip address via your dhcp server.Note to myself: adapt the led controller: reset the led if you see a connection after an ip address change.

author: bateau020
author_rank: Frequent Contributor
timestamp: May 03, 2025, 03:58:23 pm
content: Support for large queries is imminent. If anyone wants to test it (you will need to compile it), be my guest. See the test branchhttps://github.com/Kofen/PoE_Ethernet_GPIB_Adapter/tree/7-allow-large-reply-when-using-vxi

author: WaveyDipole
author_rank: Frequent Contributor
timestamp: May 03, 2025, 08:32:53 pm
content: With the help of HKJ, I managed to get this interface working with TestController and was able to control my Agilent 34401A.I have attached a screenshot of the configuration. In the GPIB pop-up, it is first necessary to select theAR488Lanadapter from the list. Apparently AR488Lan is an existing project that provides a TCP connection over WiFi to the AR488. One then provides the IP address and then adds the port number 1234 as a parameter in theSettingsfield in the the formatport:1234, which overrides the default port (23) for AR488Lan.For some reason it did fail on the first attempt and the meter just beeped, but worked fine on the second attempt. I tested Windows and Linux and it worked on both.

author: Kofen
author_rank: Regular Contributor
timestamp: May 06, 2025, 11:18:10 am
content: bateau020 is currently working hard on bug fixes on VXI and I am looking into other minior bugs, there should be a new release very soon. Thanks to all for your feedback, it is extremely valuble to make the design robust.Also a new batch of pcba in, and plenty of thru hole parts so for any one that needs an adapter, consider it fully stocked now, lead time to ship is max 2 days from order date.

author: gentlearc
author_rank: Newbie
timestamp: May 15, 2025, 04:55:08 pm
content: Fantastic project. I will be PM'ing as soon as I have the post count. I noticed the w5500 product family appears to be limited to '8 independent sockets'. Is this the hardware limitation for the number of simultaneous devices, or is it more complicated than that? 4 is just fine, I am just curious. 4 per box is still an economical solution.

author: bateau020
author_rank: Frequent Contributor
timestamp: May 15, 2025, 05:06:07 pm
content: Slightly more complicated.The number of instruments you can connect:The GPIB bus protocol itself allows up to 30 instruments. This does not mean you can effectively control 30 instruments via the gateway, as the gateway device has its electrical limits, depending on the length of the cables and instruments themselves. And also the software has its limits:The Prologix service will allow only 1 client software connection and will allow you to interact with only 1 instrument at any given time: you must switch between the instruments you want to address.The VXI-11 service will allow you to set up multiple instrument connections at the same time. It will allow your client software to be easier to set up and maintain, and will make it easier to interact with multiple instruments, whether they are connected to the gateway or not. There is a however a limit to the number of open connections to the gateway:- up to 4 instruments: no restriction- 5 instruments: only if you do not use the web server- 6 instruments: only if you disable the web server (use the compile option -DDISABLE_WEB_SERVER) (but the web server is nice, see screenshot in the git repo)- 7 or more: not possible via VXI-11This does not mean that you cannot physically connect more instruments to the gateway, it just means that you cannot connect to more of them, via your client software,at the same time.Also, be aware that the GPIB bus is a shared bus. Even if you have connected to multiple instruments, you might encounter problems if you run multiple commands or queriesat the same time, via for example multiprocessing or threading.

author: voltsandjolts
author_rank: Unknown
timestamp: May 17, 2025, 01:34:07 pm
content: Quote from: bateau020 on May 15, 2025, 05:06:07 pmCan you please elaborate on the meaning of "at the same time"?Do you mean that if already at max connections, and a new connection is established, then the oldest connection is closed?So in pyvisa, older connections would error if you tried to use them, e.g.Code:inst_1 = rm.open_resource("TCPIP::192.168.1.84::gpib,21::INSTR")inst_2 = rm.open_resource("TCPIP::192.168.1.84::gpib,22::INSTR")inst_3 = rm.open_resource("TCPIP::192.168.1.84::gpib,23::INSTR")inst_4 = rm.open_resource("TCPIP::192.168.1.84::gpib,24::INSTR") # 4th instrument, all goodinst_5 = rm.open_resource("TCPIP::192.168.1.84::gpib,25::INSTR") # 5th instrument, but don't access the webserver!inst_6 = rm.open_resource("TCPIP::192.168.1.84::gpib,26::INSTR") # 6th instrument, ok if using compile option -DDISABLE_WEB_SERVERinst_7 = rm.open_resource("TCPIP::192.168.1.84::gpib,27::INSTR") # inst_1 can't be used, connection closed

author: bateau020
author_rank: Frequent Contributor
timestamp: May 17, 2025, 01:49:38 pm
content: Quote from: voltsandjolts on May 17, 2025, 01:34:07 pmno, the additional ones should fail to connect and fall in timeout. Existing connections will not be closed.

author: voltsandjolts
author_rank: Unknown
timestamp: May 17, 2025, 02:47:09 pm
content: So to talk to a different set of instruments (on the same bus) you would need to close existing connections.Would pyvisainst.close()work for this?Or would it need power cycling of the adapter, or maybe unplug/reconnect ethernet cable?Thank you.

author: bateau020
author_rank: Frequent Contributor
timestamp: May 17, 2025, 04:08:24 pm
content: Code:inst.close()and probably alsoCode:del instwill work.Just give it a bit of time to do the close(). 0.1 sec should be OK. (my tests show that even 0.01 sec is OK, but don't push it)

author: BennoG
author_rank: Frequent Contributor
timestamp: May 17, 2025, 06:13:43 pm
content: you ca of course use multiple instruments with 1 connection.Benno

author: bateau020
author_rank: Frequent Contributor
timestamp: May 17, 2025, 06:45:34 pm
content: Quote from: BennoG on May 17, 2025, 06:13:43 pm.. on prologix.On VXI-11, every instrument will have its own socket.Or do I misunderstand what you wanted to say?

author: BennoG
author_rank: Frequent Contributor
timestamp: May 17, 2025, 08:27:38 pm
content: Quote from: bateau020 on May 17, 2025, 06:45:34 pmOk that I did not know.Benno

author: voltsandjolts
author_rank: Unknown
timestamp: August 16, 2025, 12:30:36 pm
content: Quote from: Kofen on December 27, 2024, 01:13:15 pmHi Kofen, hope you had a good vacation.Small request: I'm still on a 5Mbit internet connection...could the 12MB photo on the Github repo home page be reduced x100 please!I'm watching the 'large reply #12' PR but unable to assist with testing at the moment.

author: bateau020
author_rank: Frequent Contributor
timestamp: August 16, 2025, 01:56:39 pm
content: Don't know if it is much help (as git will still download everything, even the past versions), but I just resized the biggest images in the related branch (https://github.com/Kofen/PoE_Ethernet_GPIB_Adapter/tree/7-allow-large-reply-when-using-vxi).

author: voltsandjolts
author_rank: Unknown
timestamp: August 16, 2025, 03:25:01 pm
content: It certainly helps when browsing the github web interface, thank you.