Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use CWGPIB API

Solved!
Go to solution

Hello,

I want to use CWGPIB component to control a GPIB device such as power supply or spectrum.

First thing is to search the what GPIB device is on the bus, but I don't know which given API can be used to scan the device by feeding back parameters such as the address.

Can anyone help me?

 

Thanks very much

 

0 Kudos
Message 1 of 5
(5,309 Views)

Hey Jkuan, 

 

Could I have more information for your question ?

 

What program language will you use ? 

 

Your OS system ?? 

Are you trying to use Measurement studio GPIB for your project ?

 

Regards,
Sean
0 Kudos
Message 2 of 5
(5,242 Views)

Hi, Sean:

I'm using Delphi for programming under Windows 7 system.

After I installed NI-488.2 driver for my GPIB card, I import CWGPIB component from ActiveX into my Delphi.

There are a lots of functions provided with this component, and I want to write a Delphi program to control a GPIB device, but I just don't know what and how functions are to be used to control such a device.\

 

Thanks 

JK

 

 

0 Kudos
Message 3 of 5
(5,237 Views)
Solution
Accepted by topic author jkuan77

Hey JK ,

 

I found some article about how Delphi application using 488.2 software ,

 

http://www.ni.com/white-paper/4873/en/

http://digital.ni.com/public.nsf/allkb/F6E5713B040699E38625630600554D79

 

 

I also found this http://www.ni.com/support/cw/cwtechspec.htm

it seems Borland Delphi and C++ Builder do not support the ComponentWorks IVI ActiveX controls

because the controls were developed in Visual Basic (that is, Delphi and C++ Builder do not support ActiveX controls developed with Visual Basic).

Regards,
Sean
0 Kudos
Message 4 of 5
(5,229 Views)

Thanks Sean. 

Got your point

 

Rgs

JK

0 Kudos
Message 5 of 5
(5,203 Views)