Instrument Control (GPIB, Serial, VISA, IVI)

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Send command from my own application

Hi,
I have some problem to send commands to �Instrument�, which connect to computer via GPIB card.
I use my own application with advanced script language and 16-bit GPIB ISA card, OS � Windows 2000. I have send to �Instrument� command as string.
Here is fragment of code :

LoadLib(�gpib-32.dll�) <-- Loading DLL
RunLibFunc(handler, , ) <-- Running function from DLL

- the name of function from DLL � should be something like �Send�
- array of arguments for the function : GPIB card ID, GPIB address of �Instrument�, my string, and something else �
Please Help me to find exactly commands syntax and the way to use it.
Thanks in advance
0 件の賞賛
メッセージ1/4
3,684件の閲覧回数
When you installed the software for your GPIB board, it should also have installed the help file that documents the function calls. Choose the NI-488 help topic from MAX (Measurement and Automation Explorer) or look in the \Program Files\National Instruments\NI-488.2 folder. You will mostly be using the functions ibwrt (to send a cmmand to an instrument) and ibrd (to read instrument data).
0 件の賞賛
メッセージ2/4
3,684件の閲覧回数
Dennis is correct, you can find information about the functions in the help file.

You can also find a list of functions in the "NI 488.2 Function Reference":

http://digital.ni.com/manuals.nsf/websearch/35cd6168125e0ebd86256789006e84d4

The 488.2 user's manual may also be helpful:

http://digital.ni.com/manuals.nsf/websearch/2c9c18cf53d69f678625678d005075e9

Salvador Santolucito
Applications Engineering
National Instruments
0 件の賞賛
メッセージ3/4
3,684件の閲覧回数
Hi,
I spoke to Local Technical support of NI in my country and receive help. I'll like to thank Special to Dalia Russek for her care.
And you, people, thank you for your help.
I start to write some code for GPIB at VB (its easy) and I think that I got the principle. Later I'll transfer the code at VB to my application.

Again : Thank to all of you.
0 件の賞賛
メッセージ4/4
3,684件の閲覧回数