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

Software needed for Instrument Control

$
0
0

Hello,

 

I currently have an Agilent Power Supply I want to control through LabVIEW. The power supply has a GPIB port and I have a GPIB to USB converter to hook this up to my computer's USB port. I have installed the instrument driver and NI VISA. Do I also need to download NI 488.2 to use the instrument through LabVIEW? I am currently getting a 'Timeout expired before operation completed error'. 

 

Thanks

 


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

$
0
0

Hello,

I am using an Agilent 6675A DC power supply and want to control this through LabVIEW. I have a GPIB to USB converter and have connected the supply to the computer through this cable. On opening up NI MAX, I see COM3 as the USB port which is connected. On running the VISA Test Panel with the *IDN?\n command and clicking query, I get the error ' (Hex 0xBFFF0015) Timeout expired before operation completed.' I have increased the timeout, however I still get the same error. I observe in the 'View Attributes' section, I have an 'Invalid Property Value' for the 'Is Port Connected' attribute. However, on reading few other posts, I understand this can be ignored if the GPIB to USB cable is a non-NI cable as is my case. Since the COM3 port shows up in NI-MAX, could the non-NI cable still be the reason for this error? If not, could someone help me troubleshoot this error? 

 

Thanks 

NI 9870 Problem with connection in VISA test panel

$
0
0

I am using NI 9870 for serial communication. It shows me following errors when trying to connect in VISA test panel. I have cross checked all the paramters like bata bits, parity, bytes and also increased timeout. please help.

 

ATTRIBUTES :

IS PORT CONNECTED : INVALID PROPERTY VALUE

(VISA:  (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.)

 

READ COMMAND:

 

VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).

 

 

Communication to NI 9202 without LabView

$
0
0
Hello Experts, I am a rookie in NI products and LabView. I will try my best to describe my question accurately. Our project uses "NI-9202" to measure and send data(including voltage and current measurements) to the PC. We were capable to establish connection and receive data on LabVIEW. However, we have our own software that does data processing and it controls other sensors that we developed. Our goal is to communicate with NI-9202 somehow via USB without installing LabVIEW. Is that something that can be done? I looked into .dll and .net but I couldn't find any open resource. Should we create a .dll in LabVIEW or Windows VISA, or any suggestions? I would really appreciate if someone could guide me to the right direction! Thank you experts! Yuchang

Whole Greens CBD : Oil Work For Pain Relief

$
0
0

In pregnant ladies, taking medicine ought to be done  Whole Greens CBD under close supervision of the specialist. In the event that conceivable, the specialist will in general ask the patient not to utilize any drug. Accordingly, taking Pain Relief Pills executioner may not be as appropriate. The most prescribed strategies to manage the torment incorporate dodging over the top weight gain, practicing to fortify your back muscles, keep up right stances for the duration of the day and wearing  Whole Greens CBD sensible shoes with no high heels. These normal estimations have helped many individuals lessen the possibility of having back torment. You can likewise utilize them to diminish the possibility of having one.

https://supplementsangles.com/whole-greens-cbd/

https://ello.co/supplementsangles/post/j-wv5xgfimfar33zsfnn2q
https://www.flickr.com/photos/168615813@N02/31529834967/

 

Ecotech Serinus Gas Analyzer

$
0
0

Hello NI Community,

 

I am currently trying to get an Ecotech Serinus gas analyzer to communicate in labVIEW. Specifically I just want to query the instrument for instantaneous gas data.   I was wondering if anyone has had any experience with working with this instrument in labVIEW.  The device does not have any drivers and after contacting the manufacturer they told me the only way to use it in labVIEW was to use modbus protocol.  

 

If anyone has any insight I would greatly appreciate it.

Read data bytes or wireless temperature sensor using Arduino in labview

$
0
0

Hi, I am using this code to monitor the data from Arduino connected to the wireless modem which receives the data from the wireless temperature sensor.

Now I have shot circuit the RST pin and GND pin so that my Arduino will act as FTDI32 and read the bytes which is received by the wireless modem with the help of LabView

 

Any kind of suggestions on this will be a great help.

NI OPC S7 200

$
0
0

Hello,

 

does anyone know if there is a communication protocol for Siemens S7 200 and NI OPC?

 

Kind regards,

Dominik Lastovčić


IVI connection to TTI CPX200 power supply

$
0
0

I am trying to control a CPX200DP power supply from TTI over Ethernet LXI using the IVI driver supplied by the manufacturer. but when I try to make a new logical name I get the attached error message.

 

I can see the device as a Network Device in MAX, and it has a VISA resource for TCPIP, and there seems to be a driver DLL present in C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin.

 

Can anyone help me with what must be the really obvious thing I have overlooked?

GPIB with C# - 64\32 bit OS issues

$
0
0

We use some NI devices and we build a .NET application (C#) that needs to communicate with the devices through GPIB.

The application have two versions one for windows 32 bit (XP) and one for 64 bit (Win7) (The 64 bit application cannot be compiled as x86 because of other reasons).

As I have seen in NI examples we need to use NationalInstruments.Common.dll and NationalInstruments.NI4882.dll in order to communicate with the devices.

I have some questions about using it.

  1. Are there NationalInstruments.Common.dll and NationalInstruments.NI4882.dll for 32 and 64 bits or they have compiled as AnyCpu?
  2. Which drivers should be installed in order to use the above dlls? There are versions for 32 bit and for 64 bit OS?
  3. If on one computer (64 bit) one of those drivers already installed in a 32 bit version (because other 32 bit applications need it) is it disturb?

Thanks

Stack Gas Analyzers

$
0
0

<a href="http://www.vasthi.com/stack-gas-analyzers/">stack gas analyzers</a>  OMGA 8000 is one of the most powerful gas Analyzer and it works as  The extractive dilution system extracts a small sample of gas from the stack. The diluted sample is then analyzed by high precision analyzer.

flight control in QNET_VTOL_Workbook_Student

$
0
0

Excuse me can anyone help me about the value measured of steady-state error for the VTOL device step response when using PD controller in flight control experiment related to the [QNET_VTOL_Workbook_Student.pdf- 4.3.2 In-Lab Experiment step-9] this response is unclear and I can't know the steady-state error

 

NI-Visa on ubuntu 18.04

$
0
0

hello,

I try to install ni-visa on ubuntu 18.04 for using it with pyVisa library.

I downloaded http://www.ni.com/download/ni-visa-17.0/6700/en/

But it fail because ubuntu don't have rpm :

 

 sudo ./INSTALL 

*****************************************************************************
  NI-VISA for Linux
     version 17.0.0f1 for Linux
*****************************************************************************

National Instruments products support the following Linux distributions:
   openSUSE
   Red Hat Enterprise Linux Desktop + Workstation
   Scientific Linux
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.

Continue? [Yn] y

Checking required install tools...
Checking installer tool versions...
rpm        Not found in current path
tar        1.29
Checking dependencies...
glibc      2.27 
Unpacking install files to /tmp/nivisa-17.0.0f1.install...

This document contains the following licenses:
(...)
 y




NI-VISA for Linux version 17.0.0f1
is about to be installed using rpm at /usr/local/natinst

./INSTALL: ligne 1617: -q : commande introuvable

Would you like to continue? [Yn] y

Installing NI-VISA for Linux version 17.0.0f1...
Pre Installation .
Post Installation .
./INSTALL: ligne 422: --showrc : commande introuvable
./INSTALL: ligne 1985: & 1 : erreur de syntaxe : opérande attendu (le symbole erroné est « & 1 »)
Error: Failed to query version information for ni-kal-17.0.0.49152-0+f0.noarch.rpm.

Installer is aborted.

there is a solution ?

maybe using  alien to install rpms ? in this case, wich package I have to install ?

 

thanks

Arduino: timeout error from Visa Serial write

$
0
0

I am using Arduino Mega 2560 to control 16 solenoid valves by ON/OFF 16 relays.
The VI operate very well on my laptops (Samsung I5-7200U and Acer I3-2330M) but unstable on PCs (Core duo).  After a few iterations, time-out error (1073807339) has appeared. I tried using both LIFA and LINX, but this error still occurs.
That problem does not occur when I disconnected loads (solenoid valves) to the circuit.

I attached the VI.

 

VISA fails to connect even though I can talk in MAX

$
0
0

Hello,

 

I'm having issues with communicating to my DC power supply over Ethernet connection.  I can see it in MAX, and talk to it using the test panel, and have configured an alias.

 

However, when I set up a very basic VISA communication VI, I get an error in VISA Read that there is insufficient location information or device not present

 

Hopefully someone here can assist


Advantech Adam 4561 to 4019 not communicating

$
0
0

Having a problem communicating with an Adam 4019+ through an Adam 4561 USB to RS485 Converter. VISA seems to see the converter OK, but all it is just a converter to communicate with the 4019. I'm getting nothing.

 

I put it in INT mode to set the protocols to default 9600 8,1, none. When I try to access it in Adam/Apax.net I get an "Unable to send command!" error and nothing else.

 

This is a Modbus component and I've successfully used Adam/Apax and Modbus in the past. This has me stumped. Any insights? Thanks.

Ridiculous GPIB ibwrt error when communication with Handler~

$
0
0

I have already communicated with several Handler/Prober normally before.

But I meet a ridiculous issue to communicate with a new handler today, and can't find how to solve it.

the basic communication protocol is handler will trigger a SRQ 0x41, then I will use ibwrt  to send a command and use to read the result~

In normal case, before communication I will use NIMax scan for instrument function to make sure Handler's status is normal.

In this ridiculous case, if the Handler is in normal status (ni max can detect the handler), when I receive SRQ, I send the ibwrt command will get EABO error, like the attached file IMG_0340.jpg....

then if the handler is not in normal status (ni max can't  detect the handler), but I still can receive SRQ and send the ibwrt command will successful, like the attached file IMG_0352.jpg. 

I don't know why? the issue is me or handler software?

Please help me~thanks

 

visa resource name not shown in VI front panel

$
0
0

hello all 

I am trying to get data(or control ) from Agilent network analyzer (N5230C) using following hardware and softwares:

hardware:

  1.       Agilent 82357B GPIB-USB controller (cable)
  2. Agilent PNA series netwok analyzer (N5230C)

Softwares:

  1. Labview 2018
  2. Keysight I/O libraries

I have installed NI-VISA and NI-488.2 drivers for labview. I also installed the instrument drivers for N5230A pna.

I checked the connection in keysight I/O software and i am able to see my instrument there to which i can send and read query. 

I did bit steps like checking tulip in MAX and i am able to see my instrument there also in MAX. can send query and read using VISA Test panel in MAX.

The problem occurs when i try to see VISA RESOURCE NAME in front panel of my program VI where i am initialising my instrument using instrument driver VIs.

Only refresh is shown in VISA RESOURCE NAME control. I tried entering the address GPIB::16::INSTR manually but following error occurred:

Error -1074003951 occurred at AGPNA Initialize

Pics are attached for the help.

Thank you 

will wait for the reply.


 

Listening to CAN Communication

$
0
0

I would like to use my program to collect and save data that is being transmitted via a CAN Bus. The CAN communication is between a motor controller and another software program. All I need my labview program to do is listen in and pull some of the CAN messages out. Any tips for accomplishing this? I am pretty new with CAN communication. 

CNC control using third party controller

$
0
0

Hi guys,

I am a beginner to labview.

 

I am trying to know, how to communicate with a third party controller of a three axis cnc machine using labview.

For eg if i start from a normal communication like asking for IDN etc there is no response always a time out error occurs, so basically I think the machine is not communicating.

I have also read the manual of the controller, but there is no information regarding basic communication. The protocols involve all about what command is required to move a axis etc.

Or is this how the protocols of a third party controller are normally and we have to start coding.

I want to generally know whether can i communicate using labview with this 3 axis cnc machine or not._(stepper motor is used for movement)

 

Please assist!

Viewing all 5662 articles
Browse latest View live


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