01-28-2011 05:02 PM
How do I send out commands and receive commands to the little pcmcia-gpib card? Is it a print to a port, as if it were a com port?
Bob
01-31-2011 04:23 PM
The only way I know of is to call throught the ni4882.dll in system32.
02-02-2011 08:30 AM
Bob,
When you refer to BASIC, are you referring to Visual Basic or some DOS based version of BASIC (such as BASICA or QuickBasic)? Also, what operating system are you using? What version of GPIB software do you have installed?
gpibtester
02-02-2011 11:47 AM
Hi,
I want to use LibertyBASIC (www.libertybasic.com), which is a compiled BASIC. The commands are essentially the same as basica, gwbasic, etc. I can read, write, print, input, output, etc. I think the solution will be some driver that creates a way for me to do this: "print #2, (instrument #1, some instruction) for a command and something similar for an input read. People were talking on gpib this sort of way long before Windows came along.
02-02-2011 02:25 PM
Bob,
National Instruments does not have a language interface for Liberty Basic nor are there any plans to create one. However, if you are using a National Instruments GPIB driver, by default it installs Visual Basic examples. You can refer to the Visual Basic examples and the 2 Visual Basic language interface modules (NIGLOBAL.BAS and VBIB-32.BAS), to see how to implicitly do direct entry to access GPIB-32.DLL. According to Liberty Basic's online help (http://www.libertybasicuniversity.com/lb4help/), direct entry is possible.
gpibtester