Author |
Topic |
|
jonni
United Kingdom
58 Posts |
Posted - 01/21/2003 : 3:51:38 PM
|
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
|
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.
|
|
|
jonni
United Kingdom
58 Posts |
Posted - 01/22/2003 : 09:07:59 AM
|
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 |
|
|
easwar
USA
1964 Posts |
Posted - 01/22/2003 : 11:13:31 AM
|
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.
|
|
|
jonni
United Kingdom
58 Posts |
Posted - 01/22/2003 : 11:53:34 AM
|
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 |
|
|
easwar
USA
1964 Posts |
Posted - 01/22/2003 : 4:09:19 PM
|
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.
|
|
|
jonni
United Kingdom
58 Posts |
Posted - 01/22/2003 : 5:34:09 PM
|
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 |
|
|
|
Topic |
|