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

Unable to use NI 9211/9162 with VISA

$
0
0

I am trying to get some NI Hardware (9211 running in a 9162 USB Chassis) up and running with our other instruments which have VISA Python control libraries. I have used the NI-VISA Driver Wizard to generate the INF files, and I have gone through the special reboot procedure to allow the unsigned INF file to be installed. I finally have the device showing up in Device Manager as shown here. (The IVI Device is my power supply that is also hooked up via USB). Before I went through this process, the device was recognized as a DAQmx device, but I need the VISA interface working. What other troubleshooting can I do to get it to actually show up in MAX or Python as a VISA instrument? ( I do have both Keysight and NI VISA installed, but disabling one or the other does not seem to make a difference.)

 

Device Mananger.png

Thanks,

Paul


NI Device 1.3 upgrade

$
0
0

we have an emulator application, work fine with PCI GPIB4882 and NI Device standard 1.3.

 

now we want use usb-GPIB 4882, but looks like can not find device.

 

I try to download NI Device 14. or 15, but can not find.

 

what software should I upgrade?

 

Thanks
Frank

IEEE 488 to USB adapter for Netzsch TASC 414/4

$
0
0

Hello. I woauld like to know if NI IEEE 488 to USB adapter works with a Netzsch TASC 414/4. Does any of you know or have tried before?

 

Thank you in advance

VISA Serial read error

$
0
0

I´m trying to read data from my OHM60 Heratherm oven with a RS-232 cable and Visa Test Panel /Visa interactive control. 

I´ve followed the OHM60 document and enter the wanted parameters:

— 57600 bits per second
— 8 data bits
— 1 stop bit
— No Parity

Also entered the given commands from the document, (?:3010:00::c2) in order to read the temperature. But when sending Read/Query i get this error:

"Read Operation
Error

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

 

I´ve looked around this forum and googled for many hours but can´t find a solution.

Please help.

/D

Keithley 2410 sweep time much longer than it should

$
0
0

Trying to write a vi to do a current-voltage sweep with Keithley 2410 hooked up to Labview with GPIB. The vi is attached, as well as screenshot. According to the manual, if I do not set a manual voltage setting time, and use default NPLC (1PLC), each voltage point should have 3ms automatic voltage setting time (with the current range I'm in), then come the measurement which is 1/60 s = 16.7 ms, so the measurement time for one data point should be 16.7 + 3 = 19.7 ms. However, when I run the program and read the time stamp, 100 data points takes 7.2s, which averages each data point takes 72 ms, which is significantly longer than it should. I triple checked the wiring to make sure everything is correct. Am I doing anything wrong here? Thanks a lot for your time!

Capture.PNGimage001.png

 

NI 488.2 and NI VISA problems on win 10

$
0
0

I'm having problems getting my NI GPIB hardware operational on Win 10x64. This hardware worked fine previously on win10x64, but I had to reinstall the OS as my disk died. I took the opportunity to download & install the latest NI-488.2 v17.6 & NI VISA v18 from the website. I installed both these (can't remember which order I installed in), but could not see the drivers loaded properly in device manager. Re installing the NI-488.2, I get a message saying that the NI-488.2 Runtime 17.6 (64 bit) installation has failed.

 

I uninstalled everything using remove all button in the NI manager & installed NI-488.2 version 17 which I was previously using before I had to replace my disk. I get a similar message. Any ideas? Its driving me nuts. 

 

The GPIB hardware is a PCI NI card, but I've also tried with a GPIB-USB-HS with the same result. Apart from the error message indicated above, the drivers don't install.

 

Thanks for any help on this.

 

Joe

 

GPIB-ENET/100 does not configure in gpibexplorer LINUX RHEL6

$
0
0

I am installing the GPIB-ENET/100 on my linux workstation running RHEL6, 2.6.32 with NI488.2 driver version 17.0.  I launch the gpibexplorer utility and add new device.  I select my staticIP assigned and the utility finds the device (serial, mac, hostname, etc).  I then, however, am unable to change those settings.  I am prompted to set the CFG_RESET button (which i successfully do), but am still unable to to change those settings.  I believe this prevents me from adding the device and thus configuring the driver. 

 

I am able to ping the device successfully.  I have this connected on eth1, a second ethernet interface I setup (dedicated for instrument control).  the gpibtsw yields no help.  I was investigating using ibconf but this seems like a wall given how old it is.  

 

One side note.  I have many systems with this device and they are installed on ancient solaris machines.  Thats how I was able to cheat and set the static IP in the first place, by using the older ibconf utilities.  I am worried that utimately I need the driver properly configured on my linux machine, so its not as simple as just writing the network config to the gpib-enet.

 

Please.....anyone have anything I can try? 

Speeding up Keithley 2400 measurement with a for loop


Express VI

can't communicate with my LA-100 syring pump using RS-232

$
0
0

Hallo everyone,

 

i have a big problem in communicating with my LA-100 syring pump(it is a german brand,but almost same like other syring pump). I use a USB/RS232 conventor and RS232/RJ11 to connect the computer and the pump. I build a very typical VISA  structure,  but it doesn't work.

(Baud rate is 9600)

 

1.  " A triangle appears in the upper left corner of the LCD display after the pump has receivedvalid communications "  according to this from manual, it should work, because i see the triangle.  But when i send 0DIA<cr>, 0 means adress of the pump, DIA means diameter of the syring, <cr> is the termination character.  In the read buffer , i get   0DIA    back, without any error, that really confuses me.  I also send other command, just nothing happens, no error,  and always give the same commando back, which i sended.

 

2. In manual 10.2.2, i see the Command syntax to pump is : <command data ><CR>  , command syntax from pump is: <STX><response data><ETX>, i don't know, if hier can any problem appears in my VI. (from 10 begin the RS232 communication in manual)

 

I also asked the manufactory, they means it should be right with my VI and send me again the same manual , which i already have........

I struggle against this problem for already one week, i have read  in NI community maybe more than 100 posts about  syring pump,  but can't find someone, who has same problem like me. 

 

I would really appreciate it, if anyone can help me.

 

 

 

 

 

 

VISA Limitations : Number of Instruments / Type of GPIB Talker

$
0
0

Hey Y'all,

 

I figured I'd bug the community to get some additional input. I am also going to apologize in advance, because this is going to be a jumbled rambling with no code attached.

 

Background:

I'm a test engineer in a lab that mostly plays with network analyzers and switches. Occasionally we have our DAQ's, DMM's, MUX's, and other goodies but our bread and butter are those network analyzers. We speak mostly GPIB (VISA) to them.

 

I've also inherited quite a bit of legacy code. Some started development in LV6. Most of the executables that we have to modify are coming from LV2014 though. When a program crashes and requires the exe to be modified, we're upgrading them to LV2017 in the process.

 

In the past, the lab mostly used Agilent Technologies 82357B USB/GPIB Interface. We started noticing that when upgrading to LV2017 for the exe's, the network analyzers would no longer communicate with them. It was a squirrely timeout issue where in the end we just decided "white = bad, blue = good" and swapped to NI GPIB-USB-HS on all of our "critical stations."

 

Then for kicks and giggles, I got my managers to purchase me a new toy of the GPIB-ENET/1000 for the places where we had a really long separation between equipment and computer. I also have a few GPIB-ENET/100 that we plan on re-purposing for a few test stations as well.

 

Oh, I should also mention half of our computers are Windows 7, the other half are Windows 10.

 

tl;dr: Our lab is hodgepodge'd together with whatever I can scavenge in order to speak GPIB.

 

Current Frustration: 

On a Windows 7 computer, I keep having my VISA instruments drop out unexpectedly. Ideally, I would like to have all eight of my GOM-804s and my single GOM-802 on a single GPIB bus.

 

(Sidenote: I'm using NI Max to sleuth my GPIB instruments. This is code independent, but it is verified by when I run my code and it tells me the instruments don't exist)

 

Here are the rules I've found: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8slSAC

 

And I feel like I'm following them:

  • I am under the requirement for 15 instruments (9 + 1 board < 15)
  • I am under the requirement for total cable length ( 10 m cables < 20 m)
  • I have tried multiple GPIB interfaces
    • The Agilent crapped out on me with any more than four devices
    • The NI GPIB-USB-HS seemed to work with 6 devices, but upping it to 9 caused all instruments to not work.
    • The GPIB/ENET 1000 appeared most stable. But then during a power cycle, all instruments dropped out. They have yet to return.

My current solution is to just have the single GOM-802 running on what I've dubbed "evil PC" and I plan on bringing up an entirely different computer for my eight other GOM-804's.

 

Question for Y'all:

Have any of y'all ever run into these limitations?

 

What's the max number of GPIB instruments that you've been reliably able to keep on a single bus?

 

I seem to remember at my previous job I was able to link up 12 DMM's on a single bus with no issue. I don't know if this is an issue with "evil PC," my GOM's, or how I'm hooking them up.

 

cannot download the control panel

$
0
0

Dear Sir/Madam,

 

I'm using web of the control panel, but it cannot download the control panel. Is there some drivers or plugins I need?

MGMotor Control Functions

$
0
0

I'm working with APT ActiveX control C++ and is writing an MFC application to control the motors. There are as many commands like MoveRelative(), MoveAbsolute() but I don't know how to use them. Anyone knows where to get a documentation for these commands?

Serial overrun interrmittent error -1073807252

$
0
0

Hi,

I am having problem with serial communication (RS-232) inside of bigger application. I am using cRIO-9024 with chassis 9118 and LabVIEW 2011 SP1.

Serial reading behave totally erratic, sometimes works few for hours without any problem and sometimes has problems from the beginning and I cannot resolve them by open-close connection, flush-clear buffers, VISA Unmap address. When error occurs most of the time I get error -1073807252, but sometimes I get -1073807253 and -1073807232 as well. All these errors are indicating to me that I have problem with data being read from UART.

When error occurs, most of the time Visa read gives me out 16 bytes instead of 200 bytes.

Serial communication is just one part of my application and total CPU usage goes up to 80%. 

I am using usb-serial adapter to send data from my laptop to cRIO.

I tried running cRIO with different VISA drivers, I tried running it with LV2014,  I also tried setting RXFIFO = 1 (as per https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019M1hSAE).... I have reprogrammed serial communication multiple time but no success yet.

Any suggestions what to try next?

Thanks

Regards

Franjo

 

Serial overrun interrmittent error -1073807252

$
0
0

Hi,

I am having problem with serial communication (RS-232) inside of bigger application. I am using cRIO-9024 with chassis 9118 and LabVIEW 2011 SP1.

Serial reading behave totally erratic, sometimes works few for hours without any problem and sometimes has problems from the beginning and I cannot resolve them by open-close connection, flush-clear buffers, VISA Unmap address. When error occurs most of the time I get error -1073807252, but sometimes I get -1073807253 and -1073807232 as well. All these errors are indicating to me that I have problem with data being read from UART.

When error occurs, most of the time Visa read gives me out 16 bytes instead of 200 bytes.

Serial communication is just one part of my application and total CPU usage goes up to 80%. 

I am using usb-serial adapter to send data from my laptop to cRIO.

I tried running cRIO with different VISA drivers, I tried running it with LV2014,  I also tried setting RXFIFO = 1 (as per https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019M1hSAE).... I have reprogrammed serial communication multiple time but no success yet.

Any suggestions what to try next?

Thanks

Regards

Franjo

 


Using NI 9403

$
0
0

Can i generate PWM signals or a Pulse train to drive a stepper motor with NI 9403?

Scan Instrument Fails

$
0
0

I have a PXIe-8840 connected to two SRS-630 at address 7 and 8 via the GPIB connector.  When I run the "Scan for Instrument" out of MAX I don't see the instruments.

 

I have tried using my laptop and a GPIB-USB-HS+ and connect to the same instrument and it works fine.  I have tried replacing all the cables.  I have also tried just connecting to one instrument.

 

I have attached an NI-SPY trace capture.

usb raw balk frequency measurement

$
0
0

I have send data from xilinx to pc via  usb port, and use usb raw bulk to get data

Untitled.png.

Is There any way to get frequency of input signal?

 

DAQmx Based Event

$
0
0

Hi there,

I would like to fire an event in an event structure based on a digital input from a daq device (button press).

Does anyone out there have an example of that? Can I do it? Please let me kown

Thanks.

Adding GPIB-ENET/1000 to Windows 10 PC

$
0
0

I am trying to add a GPIB-ENET/1000 to my Windows 10 PC, running LabVIEW 2018.  I have updated the firmware, and all my IP settings are correct.  The computer recognizes it nice and quickly, but when I get to the end, I keep getting the same error: "The selected interface could not be added to the system." (see attached picture).  No error message or explanation why it couldn't be added.  Has anyone experienced this before?  I've tried disabling my firewall, and I can't think of what to do from here.  Thanks in advance for any help.

 

Computer IP Settings

IP Address: 192.168.15.100

Subnet Mark: 255.255.0.0

Gateway: 192.168.168.1

Primary DNS Server: 192.168.168.52

 

GPIB-ENET/1000 Settings

IP Address: 192.168.15.101

Subnet Mark: 255.255.0.0

Gateway: 192.168.168.1

Primary DNS Server: 192.168.168.52

Hostname: System15

Comment: System 15

Firmware Version: 1.2.1f0

 

Viewing all 5691 articles
Browse latest View live


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