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

NI-IO trace for Linux

$
0
0

Hi,

I was used to run all the tools with MS Windows machine, but now I am challenged to run T&M SW from a Linux/Ubuntu machine.

Is there a way to run NI-tools like

VISA, NI-Max, NI-IO trace  on a different OS?

Thanks

Y3G


RS232 comm problem under Win 10 (Burster Kelvimat 4323)

$
0
0

Hi everyone,

 

I was forced to upgrade some Win7 machines to Win10. Since then, the Burster Kelvimat 4323 has communication issues (same exe, LV2018 SP1 32bit, NI-Serial 17.5.0)

 

Error after PC restart:

  • Device doesn't respond to *IDN? query
  • response to next command (e.g. read Channel A0) is the IDN string
  • every successive command has a "delay" of 1 message
  • reinitialization doesn't change this behaviour (next *IDN? query gets response of last measurement and so on)

Some additional information:

  • the delay can grow (I saw delays of up to 3 messages, I don't know when/ how this happens)
  • the error can rarely appear even after an successful initialization (which makes this way worse...)
  • restarting the Burster solves the error. Restarting the PC makes the error appear.
  • the Burster doesn't support any restart / reset / initialize / ... command
  • RTS/CTS handshake is used, I/O config is RS232 9600,8,0,1,1
  • you probably won't find a manual for it, but I have a hardcopy if you have specific questions
  • COM driver is Serial.sys V10.0.17763.1
  • I have attached logs of both an successful init and a failed one

(some of the) things I tried so far:

  • changed device and PC
  • used an older COM driver
  • changed timing and added delays 
  • used different / additional termination chars
  • contacted support (since the device is quite old the manufacturer and the provider point to each other for help and none can provide it...)

 

If you have any ideas whats wrong or how to narrow down the problem let me know!

 

 

Thanks for reading

 

Jürgen

How to find out VISA-address of HMP4040 which does not get listed anywhere?

$
0
0

Hello everyone,

you guys are my last hope. I am studying Electrical Engineering and I have a project in which I have to automate a test sequence with some devices.

My idea is to write a Python script that communicates with the Devices with SCPI commands

 

I have 2 Keysight devices and one Power Supply from R&S "HMP4040". There are no problems with the Keysight devices and I can communicate freely with them

 

Only the HMP4040 shows trouble:

The power supply does not get shown in NI MAX or Keysight connection expert, which I need to find out the VISA address.

- Installed the VISA libraries from National Instruments, R&S and Keysight

- Installed the HMP4040 driver for the HO730 board (Device Manager in Attachements/ it shows the device in "USB-Controller")

 

I have read that I have to configure my settings so I can communicate via VISA but I cannot find any sources for help

The HMexplorer which has a SCPI-Terminal CAN communicate with it which is quite confusing for me. If I query *IDN? it does not show me a VISA-address, instead some information about the device (see attached)

 

Also have to add that I use a VM (VMWare Workstation Windows10 64Bit), no troubles with other devices, only the HMP4040

 

I hope you guys can help me out here!

Thanks in advance!

 

IVI Drivers offline

Instrument driver for keysight E3648A

$
0
0

If I download the labwindows CVI instrument driver for that device from IDNET I get idnet-hpe364xa-ivi_3.4_online.exe.

Unfortunately I need to install this on a system without internet access. But this installer obviouesly needs to access internet for installation. Where can I find a version for systems without internet access ? 

Cryocon 24c connection over RS232

$
0
0

Can anyone give me some information?

I want to control a cryocon 24c temperature controller using labview. A NI USB-232 cable was used to connect the instrument. NI-serial configuration and runtime were installed in my computer. But when I used the cryocon 24c driver ( download from www.cryocon.com ) to communicate with the instrument, it reported an error in initial VI.  I further communicated with the instrument with NI-MAX, no response was received from cryocon 24C. I tried to talk to cryocon 24c over LAN, it worke.

 

 

1.JPG2.JPG

Frequency Control of FSW0020 Synthesizer

$
0
0

I'm following the instructions to control the NI FSW0020 synthesizer frequency using Table 2a for native USB control in the Communications Manual here (http://ni-microwavecomponents.com/manuals/5580510-01.pdf).

 

However, the only thing that happens is that the default RF output frequency of 10 GHz gets changed to 2.07 GHz (regardless of what frequency I try to change it to) and then won't change to anything else from there (again, regardless of what frequency I put in the control command).

 

Any help is appreciated.

connection error while connecting TCP/IP through NI MAX

$
0
0

Screenshot (27).png

Screenshot (28).png

Screenshot (29).png

Screenshot (20).png

Screenshot (21).png

Screenshot (22).png

 As per the image attached, I am trying to connect PC1and CRIO9074 with my laptop through ethernet. I already set the IP for CRIO and PC1 & my laptop as per image attached.

CRIO is connected very well, I can access all data of cRIO9074 but when I trying to connect PC1 through ethernet in NI MAX but its showing error(I want to connect PC1 for data sharing using shared variable).

I check the IP of PC1 by pinging in my system, its working well & no data loss but still unable to connect thorough NI MAX.

 

 

Thanks for help and suggestions.

Mukesh


NI-488.2 no download possible

$
0
0
NI referred me to the NI community. I have a GPIB-USB-B and a GPIB-USB-HS device.
To switch from Win 7 to Win 10 I need the driver Ver 17.6, unfortunately I can't download it from the NI site, nothing happens! What am I doing wrong
thank you in advance

Walter

Selecting a board for GPIB Analyzer

$
0
0

I am looking for a board (PCI or USB) to use with the GPIB Analyser software. I understand that I need the + version of either the GPIB-USB-HS or the PCI card. When I look at PCI cards I see some that are marked "PCI GIB/+", but have an unpolulated space that say "ANALYZER FPGA". Will those work with the analyser?

Trouble communicating in RS232

$
0
0

Hello everyone,

 

I recently changed the computer (from windows 7 to windows 10) that is communicating with a bunch of instrument, especially one in RS232.

Since I switched computer, I had trouble establishing a communication with that instrument, either through NIMax or via LabVIEW.

 

More specifically, I have trouble from reading instruction from the port: it work perfectly or not at all from one day to another, for a reason that I cannot understand.

The instructions that I write on the port are always taken into account by the instrument, meaning that the communication is established, but I sometimes can't Read at all instructions from the instrument (leads to timeout).

 

The port configuration (baud rate, stop bit, parity, buffer size ...) are correct, and I write the instruction in the good way (term char, line feed etc.).

So, I can't figure out why it sometimes work, and why it sometimes does not work:

-Is it linked to this new computer's port configurations ?

-Are there errors stuck in the instrument register ?

 

More information are probably needed, I am not an expert in the field.

Thanks in advance for your ideas !

 

Sam

 

Help getting started Visual C#

$
0
0

OK I am missing something simple I know but I have searched and I cannot seem to even get started.

 

I am looking to start to develop some c# programs to interface with some test equipment but all the information on getting Visual studio working with NI-VISA is either dated, or I just don't see what I am doing wrong.  I have done this in the past using VB.NET and key sights SCPI.NET but we don't have everything keysight, so time to learn something better...

 

From what I have read I have to add NationInstruments.Visa and Ivi.Visa assemblies.  Got that part, but after this, I just need a good walkthrough of how to connect to an instrument and send commands.  I look at the examples, but they are not commented very well so here I am.  

 

Does anyone have some good resources for that start from the beginning?

NI GPIB Analyzer capture depth?

$
0
0

I have not been able to find this in any of the documentation: What is the maximum depth I can capture with the NI analyser before it wraps over?

IVI driver for LeCroy HDO 9000 series

$
0
0

Hello all,

I'm trying to interface with a Lecroy HDO 9404 oscilloscope.

So far I've drawn an almost complete blank.

- First tried on Linux using USBTMC or Ethernet connection, sending SCPI, VICP or LXI commands, but nothing worked (for some unknown reason I do not see port 1861 as open)

- Then tried on Windows where NI-MAX sees it and assign a Visa address via USBTMC or ethernet (both work). The most I've managed to do so far is a viWrite ("*IDN?") with the proper reply. Yeah!

 

I haven't found ANY info on the SCPI commands this model accepts and instead it says to use a different protocol (MAUI ? VICP passport ? VBS ? ActiveDSO ? Automation ? I'm not clear what those are yet).

 

Anyway, before diving into a new protocol from scratch I wanted to see if I could use a higher level IVI driver. I found one on the LeCroy site that seems to support Series 6000 but when doing an IviScope_ini I get a "The session name or logical name could not be resolved to a session or driver session." if I give it a Via string or an alias name, and "Unknown status code" if I give it an IVI logical name.

More specifically I've defined a new IVI driver logical name "MyIviScope", using Driver session "lcScope", which itself uses the software "lcscope" (LeCroyScope.LecroyScope, lcscope.dll, IviDriver 1.0, IviScope 3.0, WaveMaster, WaveSurfer, WavePro, WaveRunner, HornetRunner, HornetSurfer, JarvikRunner, JarvikSurfer, Falcon, Hawk, Magellan, WaveExpert, SuperJet, Yater4000, Yater6000 [how do they come up with those names, honestly?!?]). It uses the proper hardware asset.

 

So my questions:

- is there an IVI driver for this scope ?

- is there any chance to use this IVI driver on this scope ?

- if not, is there any chance to modify it ? (don't know if source code is available)

- if not, what's the best course of action (which protocol should I choose when calling from LabWindows/CVI) ?

- or maybe I got something wrong with my config

 

Thanks

Multiple Instruments TCP/IP NI-VISA

$
0
0

OK So I believe I understand the basics of NI-VISA and message-based sessions.  I can successfully talk to a single instrument.  Now as I scale to multiple, it seems that I have to have multiple open sessions, one for each instrument that has a different IP address.  Is this correct?  is there a more efficient way?


PCI - GPIB Card error

$
0
0

Hi, 

 

I am trying to bring up PCI to GPIB card on Linux machine. I can see the device in the device manager. I have also installed the driver but still it return following error - 

 

SendIFC Error
ibsta=&H8000 < ERR>
iberr= 0 EDVR < Error>
ibcnt= 22

[SOS] GPIB - First read successful but second times out

$
0
0

Only happens on read, regardless of the command, they can be two different commands, the second and any following will timeout. The device was functioning perfectly for 4/5 months. If I close and reopen the session I can read the result of a previous session, but I can never read anything past the first '\n' character. This applies to reading bytes one by one as well. I have another GPIB device on a different hub that is functioning as expected.

johnstall_0-1645272495391.png

 

Agilent 2702a control

$
0
0

I would like to control the Agilent 2702A  using LabVIEW but I was not successful in doing so. I have attached the simple diagram I was trying to use. I would appreciate any comment helping to run the oscilloscope. I have used Visa write with the recommended commend list by the Agilent (SRATe? & DATA?). I even tried to use the Sequence function with the Keysight Command Expert but I was not able to find the command set for this instrument.

 

ERROR_VISA_D.PNG

 

 

ERROR_VISA.png

 

Capture.PNG

 

ERROR.PNG

Agilent 34980a IVI driver cant install to PC

$
0
0

Hi guys

Reaching out for help

I encounter one issue that being drag for 2 months.

Little bit information,
One of my Computer Tester have blue screen issue,

As usual ,i send my PC to IT team to format and backup the data.

So after getting the new installed window pc,
I started to follow the procedure of installation all the driver needed for that tester .
After finished the installation,i started to running the testing .

Then i encounter some issue with agilent 34980A,

Fast forward to today,i identify the root cause is missing the Matlab IVI driver for 34980a,
per show below(I compare this with other functional tester i use) 

agilentdriver.JPG

So ,when i try to install the program this error occur

lts -eRROR.PNG

and this was my program that i have in my pc

LTS003-PROGRAM.PNG

I seem cant get the IVI driver that i have in my PC being removed in order me to install the new one
The NI -MAX can communicate  with the device ,but my testing program recorded error when try to access the device


 

MTX3292B-CVC control and data aquisition

$
0
0
I am working on a data collection project through various devices (Multimeter MTX3292, CVC3000 regulator, VS etc...) and I am a beginner with labview, I have consulted some documents to interface the devices, I want to know how I can recover the data from the labview and take the controller if necessary, and is the visa necessary to make the communication (RS232, USB), and if ever there is more detailed documentation on this kind thank you for sharing it with me , so that I can follow step by step
Viewing all 5694 articles
Browse latest View live


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