是德科技
直播中

李德鹏

8年用户 205经验值
私信 关注
[问答]

为什么HP / Agilent主要以某种形式的BASIC编程网络分析仪?

我观察到了广泛使用IBIC语言的IEEE 488.1协议。
IBIC和C语言兼容。
当开发IIEEE 488.2时,为什么HP / Agilent主要以某种形式的BASIC编程网络分析仪?
BASIC相对于C和IBIC的优势是什么?
为什么这种语言优先于其他语言?编辑:SOLT_guy于2012年10月9日晚上9:50

以上来自于谷歌翻译


     以下为原文

  I have observed the IEEE 488.1 protocol that used the IBIC language extensively.

IBIC and C language are compatible.

When IIEEE 488.2 was developed, why did HP/Agilent primarily program the network analyzers in some form of BASIC?

What was the advantage of BASIC over C and IBIC? Why was this language given priority over other languages?

Edited by: SOLT_guy on Oct 9, 2012 9:50 PM  

回帖(18)

李青

2019-6-26 07:38:59
> {quote:title = SOLT_guy写道:} {quote}>我观察到了广泛使用IBIC语言的IEEE 488.1协议。
>> IBIC和C语言兼容。
>>当开发IIEEE 488.2时,为什么HP / Agilent主要以某种形式的BASIC编程网络分析仪?
>> BASIC相对于C和IBIC的优势是什么?
为什么这种语言优先于其他语言?
>>编辑:SOLT_guy于2012年10月9日下午9:50只是一个疯狂的猜测,但惠普有9000系列计算机我认为运行BASIC。
当然在我的8720D的手册中,它列为兼容的计算机之一“HP 9000系列700工作站与HP BASIC-UX”我不确定是否有其他编译器可用。
我正在为我的HP 8720D编写一些软件 - 我昨晚读了一些合理的数字,并且今天会更加努力。
不用说我不是*使用BASIC。
我正在使用C - 或许有人认为Agilent VEE或Labview会更好,但它们不是免费的,而我的开源C compier(gcc)是!
甚至我的操作系统(Solaris)都是免费的。
实际上,自Oracle收购Sun以来,Solaris不再免费,但我正在运行一个免费的旧版本。
*更新:似乎我错了。
HP9000系列运行HP-UX。
肯定有一个C编译器(我家里有一个旧的HP-UX盒子。)事实上,HP-UX附带了一个脑死C编译器,但它专为重建内核而设计,并且可以
不能用于一般编程。
上次我看,人们不得不为HP C编译器付钱。* DaveEdited:drkirkby于2012年10月10日凌晨3:14

以上来自于谷歌翻译


     以下为原文

  > {quote:title=SOLT_guy wrote:}{quote}
> I have observed the IEEE 488.1 protocol that used the IBIC language extensively.

> IBIC and C language are compatible.

> When IIEEE 488.2 was developed, why did HP/Agilent primarily program the network analyzers in some form of BASIC?

> What was the advantage of BASIC over C and IBIC? Why was this language given priority over other languages?

> Edited by: SOLT_guy on Oct 9, 2012 9:50 PM

Just a wild guess, but HP had the 9000 series computers which I think ran BASIC. Certainly in the manual of my 8720D it lists as one of the compatible computers

"HP 9000 series 700 workstation with HP BASIC-UX"

I'm not sure if other compilers were available for it. 

I'm just in the process of writing some software for my HP 8720D - I got it reading some sensible numbers last night, and will work more on that today. Needless to say I'm *not* using BASIC. 

I'm using C - perhaps some would argue Agilent VEE or Labview would be better, but they are not free, whereas my open-source C compier (gcc)  is! Even my operating system (Solaris) is free. Actually, Since Oracle bought Sun, Solaris is no longer free, but I'm running an older version which is free. 

*UPDATE: Seems I was wrong. HP9000 series run HP-UX. There is certainly a C compiler for that (I have an old HP-UX box here at home.) In fact, there is a brain-dead C compiler included with HP-UX, but it is designed for rebuilding the kernel, and can't be used for general programming. Last time I looked, one had  to pay money for the HP C compiler.*  

Dave

Edited by: drkirkby on Oct 10, 2012 3:14 AM
举报

李鑫赢

2019-6-26 07:45:25
引用: 60user7 发表于 2019-6-26 14:00
> {quote:title = SOLT_guy写道:} {quote}>我观察到了广泛使用IBIC语言的IEEE 488.1协议。
>> IBIC和C语言兼容。
>>当开发IIEEE 488.2时,为什么HP / Agilent主要以某种形式的BASIC编程网络分析仪?

'ibic'是National Instruments的“接口总线交互控制”,它不是一种编程语言,而是一种基于NI的IEEE-488驱动程序的基于命令行的接口/仪器操作的方法。
HP(以及随后的安捷伦)I / O库多年来一直包括“VISA助手”,然后是最近的“安捷伦连接专家”,它可用于交互式发送NI IBIC等命令(我想我们可能提供过)
从那之前的一个类似的基于SICL的工具)。
而HP BASIC确实是一种编程语言。
NI后来推出了LabVIEW和LabWindows编程环境,同时惠普推出了VEE可视化编程环境。
然后两家公司都参与了VXIplug& play联盟,该联盟定义了可在任何上述编程环境中使用的“VISA”I / O功能集(除了安捷伦停止开发的HP BASIC)以及更多
常见的语言,如C ++,.NET语言等。这些编程环境也支持不同类型的特定于仪器的驱动程序,但这本身就是一个完全不同的主题。
所以,我已经抛出了一些额外的历史:-)。编辑:bhokkan于2012年10月10日上午9:04

以上来自于谷歌翻译


     以下为原文

  'ibic' was/is National Instruments' "Interface Bus Interactive Control", which is not a programming language but rather a means for doing command-line-based interface/instrument operations specific to NI's IEEE-488 drivers.  The HP (and then Agilent) I/O Libraries have for years included the "VISA Assistant" and then more recently the "Agilent Connection Expert" which can be used to interactively send commands like NI IBIC does (and I think we might have offered a similar SICL-based tool since before that).

Whereas HP BASIC is truly a programming language.  NI later came out with the LabVIEW and LabWindows programming environments while HP introduced the VEE visual programming environment.  Then both companies got involved with the VXIplug&play alliance, which defined the 'VISA' set of I/O functions that can be used within any of the aforementioned programming environments (except HP BASIC which Agilent stopped development on) and also in the more common languages like C++, .NET languages etc.  There also also the different types of instrument-specific drivers supported by those programming environments, but that's a whole different topic in itself.  So there I've thrown in some additional history :-).

Edited by: bhokkan on Oct 10, 2012 9:04 AM
举报

李德鹏

2019-6-26 08:05:07
引用: uwyywefwd 发表于 2019-6-26 14:07
'ibic'是National Instruments的“接口总线交互控制”,它不是一种编程语言,而是一种基于NI的IEEE-488驱动程序的基于命令行的接口/仪器操作的方法。
HP(以及随后的安捷伦)I / O库多年来一直包括“VISA助手”,然后是最近的“安捷伦连接专家”,它可用于交互式发送NI IBIC等命令(我想我们可能提供过)
从那之前的一个类 ...

亲爱的Bhokkan;
谢谢您的回复。
BASIC比C语言和C ++语言有什么优势吗?
或是BASIC被使用,因为它是最初的惠普平台?
顺便说一下“仪器专用驱动器”的主题,目前是否有可编程测试系统可以进行“真正的”并行测量,即在精确的瞬时时间内进行多次测量,另一种测量
正在制作(测量之间没有时间延迟)?

以上来自于谷歌翻译


     以下为原文

  Dear Bhokkan;

    Thank you for your reply.    

     Does BASIC have any advantages over C language and C++ language?

     Or was BASIC utilized because it was the original HP platform?

     By the way on the subject of "instrument specific drivers", is there currently a programmable test system in operation that can make "true" parallel measurements, in the sense that more than one measurement is made at the exact, instantaneous time, another measurement is being made (no time delay between measurements)?
举报

李鑫赢

2019-6-26 08:17:08
引用: szzjfyp 发表于 2019-6-26 14:26
亲爱的Bhokkan;
谢谢您的回复。
BASIC比C语言和C ++语言有什么优势吗?

> {quote:title = SOLT_guy写道:} {quote}>我喜欢C比BASIC的不同风格好多了。
它更易于使用,开发环境更好。
> {quote:title = SOLT_guy写道:} {quote}> BASIC是否比C语言和C ++语言有任何优势?
>或者BASIC被使用是因为它是最初的惠普平台?
我认为在很多情况下,个人对编程语言的偏好可以通过人们首先学会编程的语言来着色。
在我的情况下,我的第一堂课是在我大约12岁的时候在BASIC(在Commodore上,或者也许是Apple 2e,那是我的日期)。
所以后来当我在大学读完第一个C课程时,C起初感觉更难(处理指针之类的东西)。
但后来我开始欣赏C(以及后来的C ++)并开始喜欢它们。
所以我的猜测是惠普与BASIC一起认为它更加平易近人,尽管我认为C在1970年代后期获得了接受;
但那时候我还在上小学,所以也许有些人可能会长时间参与。> {quote:title = SOLT_guy写道:} {quote}>顺便提一下“仪器专用司机”的主题,目前是否有
一个可操作的可编程测试系统,可以进行“真正的”并行测量,即在精确的瞬时时间内进行多次测量,还会进行另一次测量(测量之间没有时间延迟)?
我认为这取决于你所认为的“测试系统”。
如果您正在考虑多种仪器,那么控制器可以触发一台仪器开始进行测量,然后另一台仪器(在相同的I / O总线或不同总线上)也可以在第一台仪器仍在测量时进行测量
,然后轮询每个仪器以检测它们各自或两者何时完成。
但是,如果你在谈论一个单一的乐器,我会推荐像Dr_joel这样的人在他的知识基础广泛的情况下回答这个问题。

以上来自于谷歌翻译


     以下为原文

  > {quote:title=SOLT_guy wrote:}{quote}
> I like C so much better than the different flavors of BASIC. It is easier to use and the development environment is better.

> {quote:title=SOLT_guy wrote:}{quote}
> Does BASIC have any advantages over C language and C++ language?
> Or was BASIC utilized because it was the original HP platform?
I think that in many cases personal preference of programming language can be colored by what language the person first learned to program with.  In my case, my first class was in BASIC when I was about 12 (on a Commodore or maybe an Apple 2e, that dates me).  So later when I had my first C course in college, C felt more difficult to me at first (dealing with pointers and the like).  But then I developed appreciation for C (and later C++) and began to prefer them.  So my guess is HP went with BASIC on the perception it was more approachable, even though I think C was gaining acceptance by that time in the late 1970's; but I was still in grade school back then so perhaps someone who's been around longer might chime in.

> {quote:title=SOLT_guy wrote:}{quote}
>      By the way on the subject of "instrument specific drivers", is there currently a programmable test system in operation that can make "true" parallel measurements, in the sense that more than one measurement is made at the exact, instantaneous time, another measurement is being made (no time delay between measurements)?
I think that depends on what you're thinking of as a "test system".  If you're thinking of multiple instruments, then yes a controller can trigger one instrument to begin making a measurement, and then another instrument (on same I/O bus or different bus) to also make a measurement while the first instrument is still measuring, and then poll each instrument to detect when they each or both have finished.  But if you're talking about a single instrument, I'd defer to someone like Dr_joel to answer that given the breadth of his knowledge base.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分