473,399 Members | 4,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

help w/ simple GPIB prog.

Hi,
Could someone give me some simple commands for communicating with
GPIB devices. All I want is to aquire values from a multimeter/fiber
optic attenuator/and a power meter. Nothing too complex. I was able to
do so using Matlab (however, I was using the serail port) and
communicating via SCPI language, but now the computer I'm using doesn't
have Matlab, so I'm trying to learn with Python. I've downloaded and
installed: ActivePython_2.4, pyserial-2.2, and
gpib-devices-0.0.4.win32.exe. I have read some beginner's guides to
python, but they don't discuss GPIB programming much.
I thought I would simply be able to open a port, and send SCPI
commands to configure and aquire values. But when I tried to run GPIB
..py files from gpib-device-0.0.4 I got an error: "symbol 'ibsta' not
found". Doing some searching I found that ibsta was refering to a
library for GPIB (I'm assuming some .dll from a driver) and wrapping
them???. But these instruments as far as I know don't need drivers.

The instruments I'm using are:
-PC w/ WIN2k
-Keithley 2000 multimeter
-HP 8156A optical attenuator
-ILXLightwave Fiber Optic Power Meter

Essentially what I would like to do is simply run the attenuator
through different dB values and measure the voltage using the
multimeter. And possibly later integrating the power meter.
If you could help me I would appreciate it, and please forgive the
above longwindedness. thanks.
-Allen

Oct 4 '05 #1
1 3896
Hallöchen!

"whoopsi" <al*********@gmail.com> writes:
Could someone give me some simple commands for communicating with
GPIB devices.


If you find a file called visa32.dll on your system, you can just
use <http://pyvisa.sourceforge.net>. NI ships this file bundled
with their GPIB hardware, and you can download the latest version
from <http://ni.com/visa>.

Tschö,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus ICQ 264-296-646
Oct 4 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dannic | last post by:
Does anyone know of a way to use php to communicate over a gpib interface? Billie Kennedy
7
by: Chaser | last post by:
Hi folks, Just wondering if anyone knows where I can find modules for NI-488.2 GPIB and for a generic ethercard? Thanks.
1
by: whoopsi | last post by:
Hi, Could someone give me some simple commands for communicating with GPIB devices. All I want is to aquire values from a multimeter/fiber optic attenuator/and a power meter. Nothing too complex....
2
by: Madhusudan Singh | last post by:
python-gpib provides Gpib.py (see end of post) for Linux. I am trying to use the method called read. I usually use it without arguments (the default length being 512). However, I am trying to...
0
by: DotNetJunkies User | last post by:
I'm using VB6 under Windows XP, I initilize IEEE488 Board (PCI Board installed and recognized by Device manager, no conflicts) by creating a new thread and also Initilize all the GPIB Devices by...
13
by: sandeep chandra | last post by:
Hey guys, I am new to this group.. i never know wot s going on in this group.. but wot made be brought here is cpp.. guys am currently a part of onw reaserch ... am new to everything.. i...
0
by: dubZ | last post by:
Does anyone have experience with GPIB programming? I am looking for some basic and general information on the general theory and logic flow of programming measurement devices using GPIB. Thanks...
11
by: cybervigilante | last post by:
I can't seem to change the include path on my local winmachine no matter what I do. It comes up as includ_path .;C:\php5\pear in phpinfo() but there is no such file. I installed the WAMP package...
0
by: sathiyamurthy | last post by:
Hi all, i want to retrieve the GPIB address through some commands and queries.. can any one suggest me the command to get the gpib address of an instrument?. i have only instrument name...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.