The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 communication with GPIB
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jonni

United Kingdom
58 Posts

Posted - 01/21/2003 :  3:51:38 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I saw some where at originlab.com
that in origin C built in GPiB library
is it true???

if it is, where I can finde samples how to start work with GPIB devices using origin C

Thanks

Evgeniy

easwar

USA
1964 Posts

Posted - 01/21/2003 :  4:42:49 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Evgeniy,

In Origin 7 installation, there is a GPIB sample program under \OriginC\Samples subfolder, called GPIB.c, which demonstrates how to use Origin C to access an HP34401A Digital MultiMeter.

Easwar.

Go to Top of Page

jonni

United Kingdom
58 Posts

Posted - 01/22/2003 :  09:07:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
UPS........... how I can run it????

and compilation error....
external DLL cannot find function gpib-32: user _ibsta

what is it??

Edited by - jonni on 01/22/2003 09:10:58 AM
Go to Top of Page

easwar

USA
1964 Posts

Posted - 01/22/2003 :  11:13:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

This program will only compile if you have that dll, which would be on your system if you had installed a National Instruments data acquisiton card.

If you are working with a different GPIB card, you may have a different DLL installed. You will need to create a new header file (similar to the NI488-2.h header file that we provided with the example), and a new C file that are appropriate for your device.

Easwar
OriginLab.

Go to Top of Page

jonni

United Kingdom
58 Posts

Posted - 01/22/2003 :  11:53:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
So......
How can I, for exampl, find adresses of all instruments, which connected to the GPIB intreface?
And then using commands Send() and Reciev() start to work with devices?

Thanks

Evgeniy
Go to Top of Page

easwar

USA
1964 Posts

Posted - 01/22/2003 :  4:09:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Evgeniy,

We will work on an example code for doing what you are asking for, and provide that at a future date.

Easwar.
OriginLab.

Go to Top of Page

jonni

United Kingdom
58 Posts

Posted - 01/22/2003 :  5:34:09 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
ok ..

it will be better if you will build example using which we can configure divace and read data to the graph for example (GPIB + ORIGIN)

when it will be ready???

thanks

Evgeniy
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000