12-17-2013 12:48 AM
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
Solved! Go to Solution.
12-18-2013 08:52 PM - edited 12-18-2013 08:53 PM
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 ?
12-18-2013 09:44 PM
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
12-18-2013 11:56 PM
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).
12-19-2013 09:35 PM
Thanks Sean.
Got your point
Rgs
JK