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

How to refresh visa resource list

$
0
0

Hi,

 

I have a device connected on COM4 of the system. Initially LabVIEW finds it. Then I send a RESET command (VISA write) to this device connected on COM4. As a result of the RESETcommand, the COM4 momentarily closes and reopens. But when it reopens, LabVIEW is not able to find COM4, as shown in the first picture below. The second picture below is my block diagram where I am trying to find COM4, so that when COM4 re-appears, I can proceed with sending other commands to this device. The third picture shows, that when COM4 does reappear (after closing first), the OS is able to find it but LabVIEW does not (in the first picture).

 

The question is, How can I have LabVIEW refresh and find COM4 in the VISA resources list?

Thanks

Jeet


1073807202 error in Keithley 2401 SMU

$
0
0

Every one.

 

I am using Labview 2012. I am trying to interface Keithley 2401 SMU with laptop via Keithley-GPIB KUSB 488B. When I am trying to run the program, it is indicating error 1073807202. I have reinstalled all the labview software, NI-VISA (latest), drivers and 2401 library files, but the problem remain as the same.

 

Can any one hepl me. I need to fix this problem as soon as possible as I need this for my research purpose.

 

Also can u suggest me the SOP (Standard operating procedure) sequence for installing labview, NI-VISA and instrument driver.

 

Thanking you

 

Avishek Das

 

NI USB-GPIB-HS not recognized by LabVIEW 2013

$
0
0

We received a brand new NI USB-GPIB-HS today.

 

It is recognized in NI-MAX along with the 3 instruments connected.

 

Yet, in LabVIEW 2013 SP1 (32-bit) none of the instruments is recognized.

I drop a VISA resource control box onto a new blank VI. The dropdown shows no choices. not even the COM ports .

 

Is it because we have Tulip enabled?

 

Programatically remove devices from Max

$
0
0

I have one laptop that can be connected to different cDAQ systems.  Each system is identical built with a cDAQ 9178 with 4 modules.  The VIs are written using DAQAssistant for data collection.  Every time a different system is connected, NIMax loads the system but with a different alias name.  Becasue of the different alias name, the code does not see the connected chassis.  What is the best way to resolve this issue without having to open NIMax to manually remove the chassis that is not connected so that the connected chassis is loaded with the correct alias?

how to know the GPIB address of instrument?

$
0
0

I have a Prologix GPIB-USB connected with an Anritsu power meter ML9001a. In the Prologix webpage, it says to communicate with an instrument in Labview, 

Send ++addr X terminated with Line Feed, where X is the GPIB address of the instrument.

 

I checked tha datasheet of power meter, it didn't mention GPIB address. So how can I know the GPIB address? I conctacted their company and got no reply. Do I need to try from 0 to 30(max value)??:womansad:

IVI and interchangeability

$
0
0

I am developing a C# application which will talk to some power supplies over TCP/IP. I am not using Measurement Studio.

I would like to have the ability to swap out one or more of these PSUs for another manufacturer's PSU, quite possibly with a different interface, i.e,. serial or USB

I was thinking that IVI would be the way to go as it supports instrument interchangeability, but even looking at the examples on the IVI foundation website, I can't find any examples which do not depend on a specific driver provided by the instrument manufacturer.

I would rather not have to re-compile the code just to swap in a different power supply.

What steps should I take to ensure that I can achieve interchangeability.

Are there any examples which are not tied to a specific manufacturer?

Capturing Images or Triggering GoPro

$
0
0

Hey Guys, 

 

We are trying to capture images from a GoPro or similar device to make a timelapse of wear to a part throughout a test that is being run by a Labview program. We want the camera to capture and save an image with a certain name once every 4-5 minutes. We can use a GoPro, DSLR, or any camera, but resolution is key. Does anyone have experiance with this?

VISA option in Instrument I/O pallet not working

$
0
0

Hi,

 I am using Labview 2013 version and there seems to be some problem with my VISA pallet. I am doing a project on patient monitoring and i have started with the temperature sensing part using Arduino. But i am not able to read in values from the VISA read option from my PC and to do the interfacing in another system. What can i do to resolve this problem??

 

Anu 


6221-2182A to plot IV of FET

$
0
0

My Professor has asked me to make a program to measure the IV of a FET using 6221 (to source/sweep current) and 2182A (to measure voltage). We are using these instruments as the device is made of very delicate material and can support current under 100nA range which means that the voltage across device will be very very low (hence using 2182A Nanovoltmeter to measure the voltage) .. 

 

After measurement I want to plot IV.

 

I can program the 6221 to sweep but I can not get the 2182A to measure voltage as the sweep progress. The problem is I can not get the triggering to work. (I am using GPIB card for connectivity between the equipments not RS-232 cable). Also I am not using delta, pulse delta or conductance mode. I need the 6221 to source and send out trigger and the 2182A to take measurement and send back a trigger which will change source level of 6221. 

 

Does anyone know how I can accomplish this ... Source 6221 .. Measure 2182A .. Plot IV after measurement.

 

A more general question is which instrument buffer will save my result. I mean will the 2182A have my measurement only or will it have source level and measurement or will the 6221??

 

Any help will be appreciated .. 

 

Thanks

NI 9234 and 9264 synchronization issues

$
0
0

Dear all,

 

I have a NI 9264 analog output that is connected to a current control board and a NI 9234 analog input installed on a cRIO-9024.

 

Basically I specify the current I want to output and I measure the voltage using the NI 9234 analog input and do a division to measure the current.

 

However, there seems to be a synchronization issue that can be visible when outputting a sinuosidal current to a 100 ohm resistor that results in the result of my VI displaying a sinuosidal resistance. Since I'm pretty new at LabVIEW, I have no idea what tutorial to learn from in order to begin solving this problem.

 

I attached the project, VI and an image showing this synchronization issue.

 

I would deeply appreciate any pointers towards solving this issue.

ReadString() get time limit exceed to complete operation error

$
0
0

I have a device name Time Electronics 5075. I am trying to use the SimpleReadWrite.2010 in National Instruments\NI-488.2\Examples\DotNET4.0\SimpleReadWrite\cs to comunicate with the device.

I can open the connection and send commands to the device by using this code

 

device = new Device((int)boardIdNumericUpDown.Value,(byte)primaryAddressNumericUpDown.Value,(byte)currentSecondaryAddress);
device.IOTimeout = TimeoutValue.T100s;
device.Write("X0/A1/F0{13}");

 But I am stuck at 

 

stringReadTextBox.Text = device.ReadString();

 

I get the error "Time limit exceeded to complete operation."

I don't know exactly should I add 

 

device.Write("T/D{13}");

before the device.ReadString() or not. But I get the same error for both cases.

Some info: Visual Studio 2010, Measurement Studio 2013, NI.488.2, Windows 7 Pro

Any idea?

GPIB/usb connection loss and OVP freeze

$
0
0

I'm running multiple keithley 2410 power supplies using the agilent GPIB/USB 82357B interface.

 

The power supplies are read continuosly and then set when needed to a new value.

 

The power supplies keep randomly loosing connection and can no longer be communicated with at all. If this happens for one of the supplies then the others also stop communication. The only solution is to stop the vi, turn off the power supplies and unplug the usb then plug back in and turn power supplies back on. But this is very time consuming when you are dealing with a very limited time to take data.

 

 

They can sometimes run for hours without any fault and then will just drop the connection. Sometimes it will run for only 5 minutes.

 

I've also experience an OVP GPIB freeze up which I have found is probably due to a need for a  firmware update. Has anyone found a work around for this(appart from the firmware update)?

 

Thanks in advance,

E

pump 703007

$
0
0

Hi, I try to control PHD ultra pump 703007 through LabVIEW. During configuration, this error will pop up after the whole program running about 1 minute or so:

 

Error -1073807360 occurred at Property Node (arg 8) in VISA Configure Serial Port (Instr).vi->Initialize_PHD703007.vi->perfusion system_pump703007.vi. How can I fix the error?

 

configure.png

 

 

EPWR problem with GPIB-USB-HS

$
0
0

Hello!

Usually I've found the answer with Google or from the forums or just being stubborn until I solve the problem but no such luck this time :smileyhappy:

Anyway, we have a growing problem with our production because NI GPIB-USB-HS is giving EPWR (28) error and nothing seems to work. It's a random problem that occurs on ~20% of the test PCs. It could disappear for a while if we exchange the GPIB-USB-HS between two testers but the problem resurfaces somewhere else half a day later (we've got like ~25 GPIB-USB-HS's...)

Setup:

- We've got industrial PC's equipped with NI GPIB-USB-HS which is connected to a safety tester.
- During high voltage test we poll safety tester once in a second is it still testing ("STAT?").
- During the test we suddenly get EPWR (28) error and after that we need to disconnect the USB cable or remove GPIB-USB-HS -drivers in order to get things working again (otherwise we get EDVR error when trying to initialize GPIB board).
- We've got latest NI488.2 drivers (3.1.2) and VISA drivers (5.1, 5.4, 14.0, whatever is the correct version for "VISA").
- The power saving options are all set to disable. From Two places. (DOUBLE CHECKED!).
- PC's equipped with GPIB-PCI don't have this problem.

- EDIT: We're using Windows 7

Ps. Right. This wasn't a problem until we changed our code to poll whether safety tester was still testing or not.

Thanks :smileyhappy:

Janne Yli-Arvo, Testing Engineer
Vacon Plc, Finland

Standalone application on serial communication

$
0
0

Hi,

    I created a VI using VISA communication to fetch the measurement made by a multimeter which connects on the USB port. Now, I wanted to created a standalone application so that I can connect my multimeter to target PC, install the application on it and fetch the measurements on it (I am not talking about the previous measurements made) . But the problem is that, when I build the application and installer, it works fine on the computers which have labview installed and not on those which don't have labview in them. The target computer is able to communicate with the device which was confirmed by Hyperterminal. What could be the problem? 


CSZ and EZT-430i controller

$
0
0

Hi to all!!

 

I'm really new in this community but not so new LabView, so I hope this question is not too banal.

 

I'm usic a CSZ Microclimate chamber, they use a new controller instead of Watlow F4. It's called EZT 430i. The question is easy,  (!!) Have anyone used and controlled it from LabView??

 

On CSZ site I've found a basic VI module (Modbus RTU Serial Communications and EZT430i Serial Communications) but they are not documented and it's quite hard to use and understand.

Can someone help me? I must integrate the chamber (Humidity and Themperature) with external instrument to have stress measurement of electronic device.

 

Thanks

Rino

Dropped commands via ethernet connection

$
0
0

Hello,

 

I seem to have commands dropped whenever I use ethernet connections as opposed to GPIB or RS232. I do not know if it is due to timing but depending on the instrument the more frequent the dropped commands occur. If I highlight the execution, I see the data flow as expected and commands. I have tried placing timeouts before and after/delays in between commands, even *OPC, to make sure the operation is complete before moving on to the next command. 

This question is very general for very specific pieces of instruments but I am convinced it is due to the ethernet connection and my understanding of the timing of commands.

 

Thanks,

Christian

VISA: (Hex 0xBFFF0015) occurs when I try a query to on 4400

$
0
0

Below is an ttachment of the screen when I try a Query to the INstron 4400.  Also attached is the NAIO trace.

 

Read Operation

Error

 

VISA: Hex(0xBFFF0015) Timeout expired before operation completed.

 

When I turn on the Instron Software to run the Instron (with IEEE enabled), it says that the program is unable to establish communication with the frame.

IVI-com PowerMeter: Getting to Channel and Measurement interface and using FetchCwPower & FetchWaveform

$
0
0
I need a bit of help for the proper usage of the Channel and Measurement interface of IVI-COM driver. I have a sucessfully used the Active-X Automation Open, then the intiate methods via the class browser. Also know that there is communication with the device as some various properties can be set, but Im a bit stuck on the correct way to wireup and use the Measurements on Channel. In C# the syntax is myMeter.Channels.Items["CH1"].Measurements.FetchCwPower or FetchWaveform.

Pretty sure the Channels interface down Wiring down to the Channel, then passing the name in a constant, then to Measurements. But the Blue IsValid input and output wire connection are throwing me off, and causing labview to bomb. Any basic help with or example vi using IVI-COM and iviPwrMeter and the Channel Measurements would be appreciated!!

Labview Program will not communicate with my NI USB-6210 w/ 3 pressure transducers

$
0
0

I have been using a labview program for over a year now that has allowed me to see readouts of three pressure transducers. The program has quit reading the 3 transducers from the USB-6210. My computer still shows that the connection with the USB-6210 is good and i can see a signal when i look in the NI MAX program.

 

Does anyone have an idea in how to get my program to read these transducers?

Viewing all 5680 articles
Browse latest View live


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