🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #543

Re: HELP: Data extraction from HP34901/34970 meter/loggers - how?

#543
From: budgie
Date: Sun, 10 Feb 2002 14:14
65 lines
4027 bytes
On Sun, 10 Feb 2002 07:49:59 GMT, DeductThisPart.gpsnav@pacific.net.sg
(Tom Werry) wrote:

>budgie <budgie@nowhere.cantech.net.au> wrote:
>
>>UPDATE:
>
>>It turns out that to get the HP instrument to actually interpret and
>>act on commands, the OPEN COM has to include the LF parameter.
>
>Peter,
>
>What?  You mean you weren't adding a CRLF pair of bytes to the end of
>each command you sent?

I wasn't explicitly adding one in the sense of the LF parameter in the
OPEN, but wasn't terminating string PRINTs with a semi either.

> I'll have to add this to my list of silly
>things not to omit which I went thru with you before, hahaha - if I'd
>thot of it before it would have been there in my list, but I just do
>this so automatically for any controlled device that I forgot it.

I had tried just about every other combination, and I figured this was
unlikely but worth a try.  Suddenly "bingo" and of course the rest
fell into place.

>I find it never screws things up if you put it in and it is not
>needed.  My output statements ALWAYS have CRLF added explicitly and
>end with a semi-colon - then there's no doubt about what's going down
>the wire.  You also have to be careful, some dipshit devices actually
>want to see these 2 chars. the other way round!!!???

I've seen them.  See the LINE INPUT statement for the other half of
the same problem - takes the <CR> out of the buffer and leaves the
<LF> so it needs to be stripped from the next string pulled ...

>Just a note about another way I sometimes use to sort out the
>undocumented or misdocumented stuff sometimes:

(snip)

>(If you check their web site you might find such a test program from
>HP if there wasn't one in the box).

Nope.  Tried that avenue.  As I mentioned, the only code was two
samples - VBA/XL7 and C.  Neither gave any clue to what the stumbling
block turned out to be.  I left a message with the local Agilent man
late Friday.  Even though he has lent me the instrument for 2-3 weeks,
I think I'll give him a serve regarding how unhelpful the UserMan was
in this case.  Don't all these problems flare up late on a Friday :-(

I have a couple of "PITM"-type programs but in this case they wouldn't
have been able to provide any more info than the breakout box.

Once again, thanks for your input and interest.  That's what makes
usenet one damned big help desk ;-)

As a small aside, if you are in Singers can you tell me who are the
Maxim distributors up that way?  We have only Arrow and they are about
as useless as an ashtray on a motorbike.  I've located one in NZ who
is better, but i figure the volume thru Singers would have to be ten
times the NZ throughput.

Peter
Technical Details
Message-ID: <3c667ddc.985943@news.cantech.net.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news.netspace.net.au!newsfeed.iinet.net.au!nntp.waia.asn.au!nnrp.waia.asn.au!not-for-mail
References: <3c63c419.3768865@news.cantech.net.au> <3c6613b0.397872@news.cantech.net.au> <a455r2$gi2$1@newton3.pacific.net.sg>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10ab99,cb9fb01f867bc3e
X-Google-Attributes: gid10ab99,public
X-Google-Thread: 103407,cb9fb01f867bc3e
X-Google-Attributes: gid103407,public
X-Google-ArrivalTime: 2002-02-10 06:20:11 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mel.connect.com.au!news.netspace.net.au!newsfeed.iinet.net.au!nntp.waia.asn.au!nnrp.waia.asn.au!not-for-mail
From: budgie <budgie@nowhere.cantech.net.au>
Newsgroups: alt.lang.basic,aus.electronics
Subject: Re: HELP:  Data extraction from HP34901/34970 meter/loggers - how?
Date: Sun, 10 Feb 2002 14:14:38 GMT
Organization: CanTech Online
Lines: 65
Message-ID: <3c667ddc.985943@news.cantech.net.au>
References: <3c63c419.3768865@news.cantech.net.au> <3c6613b0.397872@news.cantech.net.au> <a455r2$gi2$1@newton3.pacific.net.sg>
NNTP-Posting-Host: proteus.cantech.net.au
X-Trace: nnrp.waia.asn.au 1013350354 31891 203.26.6.6 (10 Feb 2002 14:12:34 GMT)
X-Complaints-To: usenet@nnrp.waia.asn.au
NNTP-Posting-Date: Sun, 10 Feb 2002 14:12:34 +0000 (UTC)
X-Newsreader: Forte Free Agent 1.21/32.243
Cache-Post-Path: proteus.cantech.net.au!unknown@ra115.cantech.net.au
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)