Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all 5661 articles
Browse latest View live

Gpib usb adaptor and NI PCMCIA-GPIB

$
0
0

I would like to connect Keithley to my laptop and found two solutions: one is to used GPIB USB adaptor or to use NI PCMCIA-GPIB. The GPIB USB adaptors seems to be more modern  and does not require PCMCIA slot, which starts to disappear in new  laptops. Which one is better in performance, easier to setup, and cheaper to buy??

I shopped ebay for the GPIB USB adaptor and found significant differecencies in the price between the far east and the west. Also, some are manfucutered in Hungary and some in Malaysia. All these issues arise my suspestion from fake instrument. Any body with experince can offe my advise? 


IET OS-260

$
0
0

Has anyone successfully interfaced the IET OS-260 decade box with the LabVIEW environment? The instrument is fairly dated (2003  haha). It has an interface port, but I'm not quite sure what type. It looks like it may be RJ-10, but slightly smaller. I am still waiting on a reply from IET tech support for what type of cable it is exactly. While I waited for a reply from IET, I figured I would post something here to see if anyone had any experience with the IET. Thanks.

I can not find NI cRIO-9076 in Remote System

$
0
0

I can not find NI cRIO-9076 in Remote System. How can i deal with it? The Status LED is on every couple seconds.

Unknown channel or repeated capability name N6700

$
0
0

I am using the IVI-C driver for the N6700 power supply (http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=7695). I am using LabWindows / CVI to create a DLL and TestStand to controll it. I have successfully used this driver to intialize, power up, readback values, power down, and close. However, I am  having an intermittent problem revolving around the error "Unknown channel or repeated capability name." It occurs randomly on any function call.

 

I attached some of the files I'm using for reference.

 

Any Ideas?

VISA read & write takes ~4.5s each for GPIB instrument

$
0
0

Hi,

I have a large application that handles communication with 5 devices.  Three of these devices communicate using telnet via a terminal server.  The other two devices are on a GPIB bus.  The two GPIB devices are an Agilent 34970 data recorder, and a Chroma 61605 AC source.  I am having problems reading data quickly from the Chroma 61605 AC source in the large application.  The read time for 5 measurements (AC Voltage, Frequency, etc.) is ~45 seconds when in the large application.  Each measurement consists of a VISA write and a corresponding VISA read.  Both the VISA write & VISA read take ~4.5s to execute when in the large application.  So, 4.5 seconds for each read & write for five measurements gives the 45s read time (4.5s*2*5=45s).

 

However, when I pull the measurement functionality out and put it into simplified code, taking all 5 AC source measurements takes ~ 90 ms.  This is more along the time I was expecting for the read.  I have tried setting all VISA reads & writes to asynchronous which didn’t resolve the delays.

 

A few more details that may or may not be important:

  1. I am dynamically calling the Vis that communicate with all the instruments
  2. I am reading from & writing to some of the instruments.  When I do this I use a semaphore to ensure that I am not doing both at the same time
  3. The Vis that I call dynamically for communicating with Agilent recorders are reentrant because I spawn 1-4 instances depending on how many recorders I am communicating with

Thanks in advance for your help!

 

B

GPIB/ENET 100 connects but can't pass Troubleshooting Utility Test or detect instruments

$
0
0

Hello,

 

I am trying to control two Agilent power supplies (AC and DC) over GPIB. To connect them to the computer, I am using a GPIB/ENET 100 device but am getting errors connecting it.

 

Initially, I followed the steps here (http://www.ni.com/gettingstarted/setuphardware/instrumentcontrol/gpibenet.htm) and was able to connect the device using GPIB Ethernet Wizard. Initially, I only ran the software check in the NI 488.2 Troubleshooting Utility and thought everything was working fine since it passed. When I went to MAX, however, the instrument scan produced and error. I do not have the instrument available to me now so I can't be as specific as I'd like but the error was unlike the ones I saw in the troubleshooting resources; it simply said something to the effect of "there was an error." 

During troubleshooting I found that the device failed to pass the NI 488.2 Troubleshooting Utility test. I tried a couple of fixes suggested in the Utility's Help option including changing pinging the IP and the suggestions for changing it. The ping got a response but it came from a different IP and said something to the effect of non-responsive although the same amount of packets that were sent came back and none were lost. Initially I tried setting the device's IP manually to the previously set address and put everything else (subnet mask, etc.) at zero. Then I tried matching the computer's subnet, then asking GPIB Ethernet Wizard to suggest an address, then the former with the IP itself changed to the previously set address, and finally the DHCP option (wouldn't go through). None of these worked and I got the same results from the ping. In fact, when I would go into MAX to check the IP changes, they would not be there and I would have to enter the values a second time. Nothing I've tried so far has led to the device passing the Utility test.

I went through all the suggested fixes in the NI 488.2 Troubleshooting Utility and searched online but nothing has worked. I would really apprecate some help on this matter and am hoping that someone on this forum has dealt with a similar problem. Finally, if you need me to post any screenshots or specific error messages, I can do so starting Monday.


Thanks in advance,
Yusif Nurizade


VXI control Borland Builder

$
0
0

Hi All,

 

I usually write small programs using Borland C++ Builder v3.0 (very old) to control instruments connected to GPIB port. For that, all I have to include in my software is the #include "ni488.h" and to link "BorlandC_gpib-32.obj".

I would like now to be able to use remote control of instruments via the ethernet port. From what I read, I believe the port or the communication type is called VXI. Ideally, I am looking for a library to include in my projects that is similar to ni488. If nothing is available for Borland C++ Builder v.3.0, then maybe for Borland C++ Builder v5.0 or v6.0? Or, if none of these are available, maybe some simple code for Visual Studio (Basic, C++ or C#) that allows me to send the command *IDN? and get the answer from an instrument? I have NI Visa, IVI and all the rest installed.

I know that nowadays there is a multitude of drivers written by manufacturers, but I prefer to make my own mistakes in processing strings rather than using a million of complex functions :)

 

Regards,

Nick

cRio cannot found in distributed manager system

$
0
0

 hi,
i have this problem that i cannot add the cRIO to ni distributed manager system
i am trying to follow this but cannot
http://www.ni.com/gettingstarted/setuphardware/compactrio/systemmanager.htm




one more problem when i want to build the project how is the my cRIO is diferent from the examples
example project


https://www.dropbox.com/s/yr0hejj0z9xse1y/example.png

my project

https://www.dropbox.com/s/npxascuimdfkca7/Untitled.jpg
if you notice that the mod1 in my project with blue sign cannot extend to show the I/o
can any one help me plz??
thanks


SetConfiguationOption

$
0
0

Hi all,

 

I'm trying to disable serial polling on my interface.

 

I need to do this in VISA but long since realised it's not possible. I need IBCONFIG but this command is not supported with .NET.

I have located what I think is the .NET alternative 'SetConfiguationOption'

NI 488.2 Documentation "Mapping the NI-488.2 .NET API to the NI-488.2 C API" shows 'SetConfiguationOption' mapped to 'IBCONFIG' 

The specific reference can be found here:- http://zone.ni.com/reference/en-XX/help/370628F-01/mstudiowebhelp/html/gpibapimapping/

The documentation also notes that this function is located inside the 'NationalInstruments.NI4882' library and there's my dilema!

I cannot found the 'SetConfiguationOption' method inside the 'NationalInstruments.NI4882' library. Am I missing the plot? or it's located somewhere else?

 

Any help greatly received :-D

 

Br

Nigel

Get Marker from ZVL6

$
0
0

Hi, i am trying to get the Marker values from an R&S ZVL6 (connected via ethernet to LABView 2012,  zvl driver v3101)

 

1. i can set all markers, but i just cant find the options to retrieve the active markers, and their positions.

2. what is the best solution to show the markers in my graph?

 

How to use CWGPIB API

$
0
0

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

 

HP 4155A 4 point measurement

$
0
0

Hello everyone,

 

I was wondering if anyone has a 4 point measurent vi for HP 4155 A semiconductor parameter analyzer. For that matter, if you know where to find one or suggest me, that would
be helpful.

 

Thank you

Visa Read showing wierd data at the output.

$
0
0

Hello,

 

I am trying to automate some measurements using LabVIEW which require me to use the Rohde & Schwarz NRV Power Meter. I am trying to make a simple measurement and display on the Read buffer indicator as shown in the figure attached.

 

As you can see, the data read out of the device into the read buffer indicator on the front panel is not a numeral although the power meter displays the proper reading on its display. Since, it is an RF power meter I was expecting to see something like "0" as in 0 dBm. Also, the front panel sends out a warning(code:1073676294) indicating that there might be more data than the specified number of bytes being read. How can I get VISA to get me the appropriate value? Any comment in this regard is highly appreciated.

 

Thank You,

 

Vivek

Can't find DLL entry point RegisterGpibGlobalsforThread in ni4882.dll

$
0
0

I'm attempting to collect data using a gpib-usb interface and display the data in an Excel Spreadsheet using Visual Basic for Applications and NI 488.2 ver 3.1.2 software in Windows 7 64 bit.  The macros in the spreadsheet worked fine using the gpib-32.dll in Windows XP, but not in 64 bit Windows.  Switching to the ni4882.dll caused the subject error after having added PtrSafe to all of the Declare statements.  I'm not an expert programmer, but I'm hoping there is an easy fix. 

multiple rs232 devices on a single rs 232 port on cRio

$
0
0

Hello

 

I am communicating to a serial device connected to a cRio NI9076 succesfully using NI VISA. It has only one rs232 connector.

 

Now I need to connect two additional serial periphical devices to the cRio NI9076, which has only one rs232 port. Can I use an rs232 hub and still communicate using NI VISA? Will MAX recognize this?

 

Thank you!


Measurement and Automation Explorer

$
0
0

When trying to access my remote systems I get the following error message:

 

 < The niVISAui.mxx plug-in caused an exception in the CmxProviderWrapper::BindPrimary function in the NIMax process. >

 

Any help would be greatly appreciated, thanks.

Split second lag when controlling two instruments via GPIB; functional but bad programming?

$
0
0

Hello,

 

This is a difficut post to phrase because I got the VI working how I want. I am trying to control a DC power supply and a function generator and be able to ubdate their parameters whenever necessary. I combined and modified the example drivers for the instruments (Agilent E3646A and HP 33120A, respectively) and have achieved the functionality intended, however, I notice a little freeze that I can't figure out.

 

As I mentioned, everything works like it's supposed to and the freeze is not so long as to impede the functionality; it's maybe a split second but just enough for me to notice. When I'm upping the Output Voltage on the DC power supply, for example, sometimes the numbers won't change immediately and if I press the increment one more time it will not show that little depression of a button being pressed in the VI but then go up by however many times I pressed once the freeze passes. As you can see by the file name, I've gone through quite a few incarnations of this VI; I got the functionality down but it bothers me that I may have a bad programming practice that may hurt me down the line. Would appreciate some input as I am still in the learning phase of LabVIEW.

 

Hope to hear back,
Yusif Nurizade

Power supply control through Dasylab problem

$
0
0

Hello NI community:

 

I am attempting to set up Dasylab to control an Agilent N5765A power supply through USB. I am able to control the power supply using the SCPI commands through the agilent connection expert interactive I/O, NI VISA interactive control, and VISA assistant utility. Would anyone happen to know of a Dasylab driver that will directly interface with the power supply or a similar USB instrument?

I am using windows 7, Dasylab 13, and the NI measurement and automation software

I need IVI - COM example, can helpOr where can I find

$
0
0

Very hope to get IVI - COM example, requests for help~~~~

How to use IVI switch driver with relays (34959A)

$
0
0

I have the 34980A chassis with a 34959A breadboard in it.  I do not understand how to use this IVI driver to close the general purpose relays.  The driver seems to be setup for a crosspoint matrix and wants the two channels to connect.  I simply want to close one relay, is there some default common channel I am supposed to use for the second one?

Viewing all 5661 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>