AnsweredAssumed Answered

VRf-HPGL files

Question asked by VRFuser on May 27, 1996
Subject:       Re: VRf-HPGL files

Hello to all

> > I've written a routine to read HPGL files and send the drawing to an
> > XY object. But, this does not work fine.
> > Does HP plan to include this ability in near future revisions of VEE ?
> I have a similar need and solution, and it seems acceptable.
> What doesn't work well in your solution?
> Stan Bischof
> stanb@sr.hp.com
>

Yes! This would be nice, but also the other way aroud: I need HPGL
format as output from VEE.

At this moment I use a 'hand-made' headerfile which includes the grid
I need, and I append my data and comment to it. It works, but is
inflixible with respect to the grid, and clumsy to get good axis
information in the picture.

And it would be fine to be able to get this info back in VEE to
display.

It sounds reasonable to have a good interface between HPvee and HPgl
from HP itself, isn't it?.

Any information on both directions I would appreciate
With kind regards,

              Johannes Mulder
              Philips Electron Optics
              Building AAE-room 21
              P.O.B. 218
              5600 MD ACHT, the Netherlands
              tel +31 40 2766947
              fax +31 40 2766820

To: Stan Bischof <stanb@hpnmrsb2.sr.hp.com>
From: Juan Vera <jvera@mdr.inisel-espacio.es>
Subject: Re: VRf-records field naming

At 08:09 24/05/96 -0800, you wrote:
>>
>> I=B4m currently using VEE3.2 under both HP-UX and WIN enviroments.
>> I have the need to build records which field names can change while
>> execution.
>> I=B4ve solved the problem under HP-UX by using a litle sophisticated
>> combination of HP-UX commands ('ed' , 'tr' and others). These commands=20
>> modify the data set file which contains the record structure. But,
>> obviously, this solution is not valid when I try to port the programme
>> to a WIN platform.
>> I need to know any other way to do it valid in both platforms.
>> Tanks.
>>
>>
>
>There are two ways to do this that are completely portable:
>
>(1) Create the record in VEE ascii format as a string and feed to a
>"from string" object reading in "container" format. This requires a
>little bit of work to understand the ascii format, and it could
>likely break at future releases but is otherwise quite simple.
>
>(2) Write a utility - say strReplace(str, old,new)- that replaces
>occurences of one string with another. Then create a record with dummy
>names, write that record to a string, replace the names, and then
>read into a record using a "from string" object. This is a
>little slower and clumsier but should also be more robust since
>you are not relying upon the VEE ascii syntax. This is what I
>have done for our user group here and it works great.
>
>Stan Bischof
>
>
Thanks for your help.


Outcomes