In message <199711031531.AA121701069@hpislsup.lvld.hp.com>, Greg Goebel
<gvg@hpislsup.lvld.hp.com> writes
>> Hi,
>>
>> I would like to developp a HP Vee "front panel driver" (.cid), but I have
>> no idea on how to do it.
>>
>>
>> regards,
>>
>> Mike.
>
Mike
My advice is to save yourself a lot of time and tears and just jump
straight on to creating a function library for the instrument.
If, say, the instrument is a Trace instrument such as a DigiScope, you
could have a list of clearly named functions that say what they do;
SetupInstrumentFromTextFile - Send file of GPIB strings to the scope.
SetNumberOfPoints - Set number of points.
TriggerANewTrace - Start a new capture.
GetATraceFromInstrument - Get a fresh trace from the instrument.
You could design the functions to accept and return data types of your
own choosing rather than have to be pressed in to giving '1's and '0's
to the components in a .cid panel driver.
Can I finish off with an anecdote.
2 years ago, I did my first VEE program and I took 18 days difficult
programming to put together a Panel Driver for the HP3784 Bit Error Rate
Test Set. It had about 50 componets ( or functions ) in it and most of
them were never used.
Two months ago I had occasion to write a similar large program usin, in
part, a very similar instrument. I 1 1/2 days a had a function library
of about 10 functions written and fully tested.
Most importantly from above, a function library is far more re-useable
than a panel driver and can be more easily supported and tested.
I hope Greg agrees with my views and that my advice is of some help.
Regards
--
Ger Murray
<gvg@hpislsup.lvld.hp.com> writes
>> Hi,
>>
>> I would like to developp a HP Vee "front panel driver" (.cid), but I have
>> no idea on how to do it.
>>
>>
>> regards,
>>
>> Mike.
>
Mike
My advice is to save yourself a lot of time and tears and just jump
straight on to creating a function library for the instrument.
If, say, the instrument is a Trace instrument such as a DigiScope, you
could have a list of clearly named functions that say what they do;
SetupInstrumentFromTextFile - Send file of GPIB strings to the scope.
SetNumberOfPoints - Set number of points.
TriggerANewTrace - Start a new capture.
GetATraceFromInstrument - Get a fresh trace from the instrument.
You could design the functions to accept and return data types of your
own choosing rather than have to be pressed in to giving '1's and '0's
to the components in a .cid panel driver.
Can I finish off with an anecdote.
2 years ago, I did my first VEE program and I took 18 days difficult
programming to put together a Panel Driver for the HP3784 Bit Error Rate
Test Set. It had about 50 componets ( or functions ) in it and most of
them were never used.
Two months ago I had occasion to write a similar large program usin, in
part, a very similar instrument. I 1 1/2 days a had a function library
of about 10 functions written and fully tested.
Most importantly from above, a function library is far more re-useable
than a panel driver and can be more easily supported and tested.
I hope Greg agrees with my views and that my advice is of some help.
Regards
--
Ger Murray
gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
website: ftp://fcext3.external.hp.com/dist/mxd/index.html
to: VRF-MG
date: Monday, 03 November 1997 0827 MST
> Hi,
>
> I would like to developp a HP Vee "front panel driver" (.cid), but I have
> no idea on how to do it.
>
> - can a front panel driver be developped using only HP VEE software, or
> is an additional one needed ?
>
> - does someone have any kind of sample(s) for that ?
>
> - does a user object just like the "state driver object" used for the
> "front panel HP VEE drivers" exist ?
>
> - any piece of advice about front panel drivers is welcome.
>
> regards,
>
> Mike.
Sir:
Please see the Driver Writer's Tutor on the Website ... address at top:
PCTM Support -> Obsolete
[<>] regards -- gvg