Prologix Ethernet controller supports only one client connection. A second connection will disconnect the first one. Make sense, since a GPIB bus can have only one (active) controller. Currently, the controller does not allow a client to lock it exclusively, since that opens up the issue of orphaned locks due to crashed clients, and so on. One solution is to develop a piece of host software (a controller "server", if you will) that acts as the (only) client to the controller, and to which the various test programs then connect. This software can arbitrate access to the controller. For further help, please contact us off-list.
Regards, Prologix -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bob Stewart Sent: Monday, November 11, 2013 9:36 PM To: Discussion of precise time and frequency measurement Subject: Re: [time-nuts] linux-gpib working on a RasPI I've got a question for you Hal. We can take it offline if it's more than a response or two. I opened two sockets to the adapter in one program and found the same socket id. OK, that tells me that I have to address each device before sending commands to it, rather than having a separate socket id. And it makes sense. But how does it work when I have multiple programs wanting to access different devices? Am I doing to need to put some lock code in so that the adapter is globally locked to one program while it sending or receiving to/from a device to prevent the two programs stepping on each other? For example, I've got 2 counters and a voltmeter. It's no stretch to think of two different tests, or even three using those instruments separately. Bob >________________________________ > From: Hal Murray <[email protected]> >To: Discussion of precise time and frequency measurement ><[email protected]> >Sent: Monday, November 11, 2013 11:08 PM >Subject: Re: [time-nuts] linux-gpib working on a RasPI > > > >> With the Prologix unit, I had a homebrew client library (in "C") up >> and running well enough to make me happy the day it arrived. I do >> not use NI-VISA, and trying to figure out that mares nest just left >> me completely mystified. I'm a good enough C programmer to do the >> things I need once I have connectivity and a simple interface. No >> connection to Prologix, etc, etc, etc. > >Another thumbs up on the Prologix unit. > >I'm not sure I had it running the day it arrived, but it was close to >that. (I may have been busy with something else.) My only stumbling >was getting the flow control turned on. > >YMMV etc. I prefer working with low level bits rather than fancy GUI stuff. > >I have one connected to a HP 5334B. It's been collecting data for >several years. > >My demo/starter code is out on the web. I'll dig up the URL if anybody >has problems finding it. > > > >-- >These are my opinions. I hate spam. > > > >_______________________________________________ >time-nuts mailing list -- [email protected] To unsubscribe, go to >https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts >and follow the instructions there. > > > _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
