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

Ametek XG series power supplies - Unknown physical repeated capability selector errors

$
0
0

Downloaded the Ametek/Sorenesen power supply IVI and labview drivers from 3rd party website. Ran import wizard and have AmetekXG pallete. Almost all VI's fail with "Unknown physical repeated capability selector errors". However, NI-MAX does not display the IVI driver so o that you can assign a channel number/name to eliminate this error. What is the proper configuration in order for this process to work properly?


is it possible to use LabVIEW to control hydraulic press and conveyor belt ?

$
0
0

dear all,

 

I would like to know if it is possible to use LabVIEW to control and syncronize the operation of a conveyor belt that feeds material into a hydraulic press.

If this is so, what would be required?

 

We need to be able to experiment and change the operation parameters until we find the "sweet spot"

 

example of parameters to change:

 

1. connveyor belt speed, from 8 m/s to 3,3 m/s

 

2. hydraulic circuit parameters:

- piston stroke

- relieve valve set pressure: from 2500 psi down to 2200 pis

 

these are just examples.

 

any comments / suggestions are appreciated

 

alvaro 

Program Error

$
0
0

Hello All

 

I have created all the necessary subVIs for making the instrument driver.But the utility folder that has some Vis got deleted because of which certain Vis does not run anymore. However, I have rewritten these Vis and placed these blocks inside other Vis which need these functions and all the connections are perfect. But still the program says that the subVi is missing. Can anyone suggest how to deal with this problem?

How to interact with a straightpoint load cell in LabVIEW?

$
0
0

I have a Straight Point Radiolink plus load cell. I need help with creating a VI to gather data from the load cell and to be able to wake and put the cell to sleep. It is connected to my PC via a RAD24 Radio controller that plugs into a USB port. How could I create such a VI?

convert hp4294a drivers to hp 4195a

$
0
0

Dear all, 

 

I am having trouble with a code. I already have one that does exactly what I want but involves the hp4292a impedance analyzer drivers, and my instrument is a hp4195a network analyzer. If anyone knows how to convert the code without interfering to the drivers, please, share with me :-)

 

Hope this finds you well,

 

Sophita 

usb rs232 problem

$
0
0

Hi everyone,

 

I have been fruitlessly searching for some solution to an issue I seem to be having with communication to a serial device using a USB to rs232 converter.

I am using Labview 2013 on a windows 7 computer and using a converter using the FTDI chip.  My computer recognizese the converter, and NI-MAX recognizes it as ASRL7::INSTR which I have named "pc830."  I have attached a screenshot of my VI.

 

I am attempting to write a command to a pc830 (p 169,170 for relevant ASCII write/read commands) requesting position data from a piston. The issue I am encountering is that, while I can send a command, I am not receiving any data back during the read portion of my program and timing out my connection (Error -1073807339 occurred at VISA Read in PC830PosVelExtractor.vi, VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.).

 

The first and obvious questions are whether the serial port settings I am using are correct.  I am essentially rewriting a previous Labview program that use to control this same piston.  I have taken (and verified) that these are the correct values (baud rate, stop bit, etc).  Additionally, this older program sending the message \02255\sR\s10034:96\r gets back a reply from the serial device with position data (eg \02V26057:148\r).  I have checked that the hex version of the message sent by my new program is the same as the old one.

 

Now, to check that the USB cable is actually working, I performed a loopback test by opening a VISA test window.  In this, by shorting the cable in an rs232 configuration, I was able to successfully send and receive that same \02255\sR\s10034:96\r command.  I had a timeout issue before, however, I enabled the terminal character, and this went away.  The message is sent and received without issue.

 

Going back to my program, I similarly enabled the terminal character (\r) at the serial port hoping to get rid of the issue.  When connected to my serial device, I still get the timeout issue at the reading.  However, if I once again short the cable in an rs232 loopback configuration, I can send and receive my message \02255\sR\s10034:96\r without issue.

 

I actually connected the old and new program together by the cable just to see that I could talk with other devices.  This works fine, and I can both read and write back and forth from each of the programs.

 

My most recent attempt to diagnose/fix the issue was to add a "flush read buffer" just before performing the read/write operation.  This has not changed anything as far as I can tell.

 

I would love to hear back from anyone with suggestions as I'm just about out of ideas at this point.  We don't have space to add a serial port to the computer, and reviews of converters with FTDI chips seem to be good.  How can I get this thing to talk!?

connecting lock-in amplifier to USB-6009/6211

$
0
0

I am working on re-setting up a labview environment in the lab I work at. We are using a SR810 DSP lock-in amplifier and want to bring the data into labview. The labview code says that in the past we used a USB-6009 to read in data from the lock-in amplifier. The output ports on the lock-in are an RS232(DCE), a IEEE-488 port, and a preamp port. Is there someway to feed one of these outputs into the DAQ that we have. Thanks

Cannot obtain output from my controller

$
0
0

I am using a Eurotherm 3504 controller to controll a valve based on input pressure.

 

See details:

PV – Pressure transmitter input (0-5 bar), 4-20mA (i/p to controller)

Module 1 – Remote setpoint (0-5 bar), 4-20mA (i/p to controller)

Module 2 – Analogue output of valve actuators position to control room (0-100%), 4-20mA (o/p from controller)

Module 3- Analogue output to valve actuators (0-100%), 4-20mA (o/p from controller).

 

---Proportional action with gain of 40%/bar

 

(I interprete this to mean ...a 1 bar change in pressure results in 40% valve movement when proportional acts on its own. This gives a gain of 2 and PB of 50% I believe).

 

---Integral action time – 300 secs

---No derivate

 

Problem: I do not get any response in the output. Modules 2&3 are both reading their lowest vales – 4mA as output, which corresponds to 0% open in the actuators.

 

I am using a set point of 2.5 bar (midway of the 0-5bar pressure transmitter scale). When I vary the i/p current I am using to simulate the PV, (4-20mA), I do not get get any output in the valves.

 

Have I got my interpretation of the PB wrong?

 

I wish I could post screen captures here.

 


where is visa32.bas on Windows 7 PC ?

ArduinoDUE and Labview

$
0
0

Hello.

 

I am trying to communicate between Labview and Arduino DUE for DC motor control.

and now i can control the DC motor using PWM signal given from Labview(by serial communication)

but i face the problem here. the problem is that serial communication speed is very slow..  i think Loop time period is about 1sec.

 

when i set the byte count of VISA Read function to zero these communicate very fast

but in other settings there is a problem.

 

Can i get some help, please.

thank you.  

그림2.gif

SORENSEN XG with labwindows

$
0
0

Hello,

 

I have a problem with the XG SORENSEN DC power.

 

I want to pilot this DC power with Labwindows but befor testing this. I begin to control with MAX logiciel.

 

I have installed the FTDI virtual port driver. I see the new port in Windows when the DC power is ON (COM4)

But in MAX, i don't see this instrument

 

MAX does not detect the materiel and when I create the new object, the logiciel can not open a VISA session.

 

I have read the user manuel but they are nothing. I have configured all that they are described in the document (Install VCD and configure the DC power in USB)

 

Any help or suggestions appreciate, i have used all that I know.

Thanks in advance for your help

 

Stephane

 

 

 

 

Serial RS232 through Ethernet ?

$
0
0

Hi,

I have an instrument (simple temperature controller - Omega)

the connection interface is db9 - RS232 - 9600 8 N 1
My labview program works and I read temperature.
The connection is through my computer serial interface.


Now, I want to use a Serial to Ethernet converter.

I have this model : IOLAN SDS4 - 4 x RJ45 serial ports, software selectable RS232/422/485 interfaces, 10/100 Ethernet, advanced feature set
https://www.perle.com/products/product_detail.asp?a=1&i=3


How can I set Labview to access the port 1 of my converter ?

Does anyone already made Serial over Ethernet with Labview ?

Thanks in advance

query unterminated E4980

$
0
0

Hey I am a little new to LabView and I am working with the Agilent (Keysight) E4980A Precision LCR meter. I get an E-420: QUERY UNTERMINATED error reading on the front panel much of the time, but my vi also seems to work despite this. However, recently, some of my measurements have been interrupted by this error message popping up (see image). I'm not quite sure where to start with this. When I operate the LCR meter manually, everything seems fine; further, when I step through the program instead of running automatically, it works fine. What should I do?

 

E-420 Labview Error.png

Not getting output from pic-servo board

$
0
0

Greetings everyone and thanks in advance. I wish to use a Pic-Servo SC controller  board (http://www.jrkerr.com/) to control a single stepper motor, using LabView. Here's what I've done so far:

 

-I already have installed 32 and 64 bit LabView (2011) and tried the test program in both

-VISA controller is properly installed

-USB to Serial FT232R converter is also installed, and configured in 19200 baud rate

-COM3 port is shown as the assigned port for the controller, and selected as such in LV

 

So far, I have managed to get the test program to run without communication errors, but upon sending any commands to the motor, it is completely unresponsive and behaves like it has no current or controller attached, despite it being configured in the basic 1-motor setup specified by Jrkerr site.

 

Any help, comment or suggestion about how I could manage to get the motor moving will be welcome.

Library for Modbus ???

$
0
0

Hi, I have a project to control a motor system.
The communication is RS485 through Modbus via Serial.
The computer is the master and the control motor is the slave.
I have just one system to control

I found 3 free driver.


MODBUS Library for LabVIEW Version 1.21
http://www.ni.com/example/29756/en/


LabVIEW Modbus API v1.1.3.32

https://decibel.ni.com/content/docs/DOC-30140

 

MODBUS included in DSC module for LV2014
http://zone.ni.com/reference/en-XX/help/370622M-01/lvmve/choose_modbus_ioserver_vi/



I already made a development with 1.21 from NI.

Should it better to use Modbus library from DSC module ?
What do you suggest me ?

thanks in advance


programming software for NI device

$
0
0

Hello,

 

I would like to make some tests of the communication between PC and the CompactRIO via MODBUS TCP/IP, and I have the serial interface modul (4 ports) NI 9871.

 

The question is that aside from the Labview, could I use the other software like Scilab or Python to program and to achieve the communication MODBUS (read and write data of the automat)?

 

In effect, I have already the programmes of modbus which run successfully in Scilab and Python.

 

Thanks in advance.

NI rs232 to usb converter cable; FTDI or PL2303?

$
0
0

Hi,

 

I am trying to control a pump with a RS232 to USB converter cable by NI (USB-232; 188345C/02) connected to a USB host shield attached to an Arduino UNO. Pump control with the same NI converter cable worked fine with LabView. Could it be I have to use a specific driver, such as FTDI or PL2303 with the Arduino? Does anyone know which chip is on NI's converter cable?

 

Thanks

 

 

Modbus RTU Command Via TCPIP and Receive The Holding Register Value

$
0
0

I have connected Energy Meter with Modbus to Ethernet Conveter Via RS485. My Slave Id:1. Mode: RTU. I want to read holdig register values from 3911 to 3920. I have formatted the modbus command and write to tcp write and read the value from TCP read. I have getting invalid values while decoding. 

 

Please provide your suggestion.

 

Agilent 34401A Resistance Read Timeout issues

$
0
0

Hello All,

 

I designed a relay board which is controlled by a USB DAQ-6501 to perform pin to pin resistance measurements (See Block Diagram).  The board is powered by an Agilent E3646A power supply and the resistance is measured by an Agilent 34401A multimeter.  The issue I am having is when I perform a read with the Agilent 34401A multimeter I see to get intermittent timeout issues.  The VI seems to execute correctly and provides correct data.  However, the program run time is extremely slowed down by the intermittent timeout issues.  I tried clearing the read/write buffer for the Agilent multimeter read but that did not seem to resolve the issue.  Am I doing something wrong in my code?  Am I trying to communicate with to many serial instruments?    I've attached my project with VIs.   Any ideas or help would be appreciated.

 

Cheers,

 

E

Where can I find NationalInstruments.NI4882.dll?

$
0
0

I am using a GPIB adapter to connect to a machine that I want to control using VB .NET. I've installed the examples for .NET 4.5, and one example imports NationalInstruments.NI4882. I can't seem to find a dll by this name on the "NI-488.2 for Windows Version 14.0" CD. Where would this file be located on the CD, or where can I download it directly, or is there a dll with a different name I should be referencing?

Viewing all 5693 articles
Browse latest View live


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