‎07-29-2008 04:45 PM
‎07-29-2008 09:46 PM
I know of no lists.
I have not used HTBASIC since it was called Rocky Mountain Basic and it was long before the pc was around. My memory is not quite good enough to remember the details. Could you provide some information on the commands you are trying port over? For example, ABORT 7 - what exactly does it do? Is there also an ABORT 1, ABORT 2, etc.?
‎07-30-2008 11:01 AM
ABORT 7: the "7" refers to the Select Code of the Interface that is presently used (essentially the output channel number). It is almost always set to 7 in RMB. The ABORT command stops any IEEE-488 activity and causes the computer to assume active control. There was a generic part to my question: How do I find certain system commands. One of the other ones I could not find is the LOCAL command or icon which sets the Remote line to the local state. Thanks.
‎07-30-2008 11:25 AM
Those are not what I would call system calls (at least in LabVIEW). They are extensions to BASIC for GPIB communication. In LabVIEW, if you are using an NI GPIB controller, then you use the Instrument I/O>GPIB funtions or Instrument I/O>VISA functions. For GPIB local, you use the GPIB>488.2 Enable Local. There is a VISA GPIB Control REN function.
I'm not sure about the ABORT command. There is the ResetSys function. If you can get details on what GPIB functions it actually performs, it might be easier to find an equivalent.
In most programming languages, you would make calls into the GPIB driver and not have the commands part of the language. You would have similar issues if you were porting to a normal BASIC dialect, Visual Basic, C/C++, etc. Have you checked with TransEra to see if they have anything that fully describes these langauge extensions? If any cross-reference exists, I would think that they would be the only ones to have it.
Also note that any HTBASIC program was almost certainly written with an Agilent/HP GPIB controller. You cannot use the LabVIEW GPIB functions with any other hardware than NI's. You can use VISA functions with NI and Agilent controllers.