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

IVI Driver Configuration

$
0
0

I'm trying to use IVI drivers for the first time, instead of instrument specific ones.  I've installed the IVI compliance package, created a logical session in MAX as described in the somewhat out of date support doc: http://www.ni.com/tutorial/4594/en/

 

I haven't been able to establish a working path from a Labview IVI driver to the IVI configuration in MAX(IVI VISA resource in Labview shows nothing, and a manual entry can't locate the resource).  For my test case, I'm working on a HP 34401A, but I have other instruments I'd like to get this working with (HP 83752A, 8562EC, R&S SML02)

 

Are there any newer support documents for IVI driver configuration, or should I cut my losses and use hardware specific drivers?

 

My software versions are:

Labview 2013 (LV 2018 also installed)

IVI Compliance Package 16.0

NI-VISA 16.0

NI-MAX 19.0


Driver to communicate with RUSKA 7615 by GPIB

NI 3rd party LV driver with CIN (no longer supported) for Eurotherm PID Controller

$
0
0

Looking for a solution for a LabVIEW Driver for the Eurotherm Nanodac PID controller. The one on the NI site uses the CIN which leaves a broken arrow due to obsolescence. Is there a way to fix the lowest leve CIN calls? I understand the solution is to use the "Call Library Function" but I don't have the .DLL or whatever file needed to replace the CIN. Any ideas?  

Which version of NI-VISA or pyvisa is compatible with OSX Catalina and Python 2.7?

$
0
0

Hi all,


I am trying to install pyvisa and/or NI-VISA on my MacBook (max OS X Catalina).


Using Python 2.7.

 

Prompt says NI-VISA 17.5 (and 19.0) is incompatible with Catalina...

Error 538179 occurred at Transmission Data Unit.lvclass:Write ADU Packet.vi:1820001

$
0
0

Hi, 

Have created two VI's for transmitter and receiver. Performing a modbus serial communication on moxa uport 1250/I 2 wire RS-232. Communication between the two ports is perfectly happening but a timeout error is coming in the transmitter side. Please help me resolve this problem. 

Conectando Agilent 34970A ao Labview 2019

$
0
0

Oi

 

Você sabe ler e escrever dados 34970A em labview e enviar os dados para excel ou bloco de notas?

 

image.png

 

 

Remote systems can`t detect real PXIe card

$
0
0

Hi,


I am having this NI VISA problem and I had read all possible threads about this NI VISA setup . I am using PXIe1082 chassis having PXIe-8135 and a few PXIe subcards. In the 8135 everything seen fine. But when now i want to remote it using ethernet, it is just detected the subcards but not the as I expected as in the remote 8135 unit.


Please help. Thanks

 

 

Multiple-thread use for pyvisa

$
0
0

Is Pyvisa safe with multiple-process use? I have several instruments that had to control using threads. I have a issue with conflict in GPIB when put all together. No problem with using them individually. 

 

Bests,


Visa Read and Write via USB

$
0
0

Hello

 

I need to interface my spectrum analyzer Rigol RSA 5060-TG with lab view via USB

 

my target is to first configure the setting of the spectrum in peak search mode and note down the peaks with a certain level .i weant my continuous data from spectrum analyzer to be recorded on an excel sheet for analysis..how can i carry it out using VISA read write.How can i configure seetings of my instrument through visa..I do not have device driver for my instruments

 

Regard

NI VISA windows 10 driver issue

$
0
0

I have a microchip device which we interface with Labview 2016 and VISA V16.

 

I ran the NI VISA and created a driver file (below). apparently I can't attach and inf file.

 

In Windows 7 it creates the 'NI VISA USB Device' but in Windows 10 it doesn't

 

Do I need to modify the inf file to get it to work with windows 10?

 

-----------------

;===========================================================================
;  This file was generated using:
;  NI-VISA Driver Development Wizard version 5.3
;===========================================================================
;
;  This file is for use with Windows 8/7/Vista. This will not work on Windows
;  XP.  This Windows Setup Information File contains the information
;  NI-VISA needs in order to access your instrument.  Do not modify the
;  contents of this file unless you are sure about what you are doing.
;
;===========================================================================
;
;  Windows Vista/7 Installation:
;  To apply the contents of this file to a system's settings, right-click
;  this file and choose "Install". If the device was plugged in before this
;  file is installed, the device will need to be removed from the "Unknown
;  Devices" class in the Windows Device Manager.
;
;===========================================================================
;
;  Windows 8 Installation:
;  To apply the contents of this file to a system's settings, a catalog file
;  must be generated and signed using either a personal certificate or a
;  certificate obtained from a Certificate Authority (CA).  For detailed
;  instructions on how to install your INF on Windows 8, visit
http://ni.com/info and enter the Info Code INFWin8.
;
;===========================================================================
;
;  Removal:
;  At installation, Windows copies the file into the %SystemRoot%\inf
;  directory using the alternate filename oem##.inf.  You may have
;  to search all the files to find the one from which this is copied.
;  Remove that file and its associated .pnf file (if it exists) from
;  %SystemRoot%\inf.  Either reboot the computer, or perform a
;  "Scan for hardware changes" from the Windows Device Manager.
;
;===========================================================================
[Version]
Signature=$WINDOWS NT$
Class=visaUsbDevice
ClassGUID={A3330EDF-239D-4206-833B-1D58952613D5}
Provider=%Vendor0%
DriverVer=02/04/2020,1.0
CatalogFile=PotBox.cat
;===========================================================================
;  Default Installer
;===========================================================================
[DefaultInstall]
CopyINF=PotBox.inf
[DestinationDirs]
[SourceDisksNames]
[SourceDisksFiles]
;===========================================================================
;  Class Installer
;===========================================================================
[ClassInstall32]
AddReg=AddClass_AddReg
[AddClass_AddReg]
HKR,,,0,%DeviceClassString%
HKR,,Icon,,"-20"
;===========================================================================
[Manufacturer]
%Vendor1%=USBList,NTamd64.7
[USBList]
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
[USBList.NTamd64]
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2
[USBList.NTamd64.7]
%USB\VID_04D8&PID_F2E2.DeviceDesc%=WinUsb_Inst, USB\VID_04D8&PID_F2E2

[PreCopySection]
HKR,,NoSetupUI,,1
[WinUsb_Inst]
Include = winusb.inf
Needs = WINUSB.NT
[WinUsb_Inst.hw]
AddReg=WinUsb_Inst_HW_AddReg
[WinUsb_Inst.Services]
Addservice = WinUsb, 0x00000002, WinUsb_AddService
[WinUsb_AddService]
DisplayName    = %WinUsb_Service_DisplayName%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\WinUSB.sys
[WinUsb_Inst_HW_AddReg]
HKR,,DeviceInterfaceGUIDs, 0x10000,"{761ED34A-CCFA-416b-94BB-33486DB1F5D5}"
[Strings]
Vendor0=""
Vendor1=""
USB\VID_04D8&PID_F2E2.DeviceDesc=""
DeviceClassString="NI-VISA USB Devices"
WinUsb_Service_DisplayName="WinUSB Driver"
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
 

 

 

-------------

Inquiry about pci cable

$
0
0

Hello. I bought a pci cable from Ni.  

I purchased a PCI cable to operate lamp of the QSSPC instrument and operated it in Windows XP

but the lamp of the QSSPC device does not work in Windows 7.

I`m wondering if the PCI cable is compatible with XP but not with Windows 7 or 10.  

 

Thank you.

PCI 호환에 대한 문의드립니다.

$
0
0

안녕하세요. Ni 에서 pci 케이블을 구매하여 이용중인 이용자입니다.

 

QSSPC 작동을 위해 PCI 케이블을 구매하여 윈도우 7 환경에서 작동을 하였으나 QSSPC 장비의 Lamp가 작동을 하지 않습니다

그러나 윈도우 xp 기반의 PC 에서는 Lamp가 작동하여

 

PCI 케이블이 XP는 호환이 되지만 윈도우 7이나 10에서는 호환이 되지 않는지 궁금합니다.

 

감사합니다.

labview NXG web service

$
0
0

I am not able to host my data from one system to another system with LabVIEW NXG.

Please provide me with a suitable solution with an example.

Thank you.

Calling a LabVIEW vi from MATLAB and inputting values

$
0
0

Hi,

 

I have a vi written by my supervisor which requires the 'VISA resource name' (which is the USB port, in my case COM4) and has a box called 'write buffer' in which you can type commands to control a Harvard apparatus syringe pump.

 

So far I've got code to open the vi and can write the '00run' command into the write buffer but it will not allow me to put anything into the 'VISA resource name box', maybe because it's a dropdown box of detected devices? Anyway I need to set this to COM4 in order to comminucate with my pumps but I have been hitting my head against a wall for hours and can't find any solutions online.

 

My error is as follows:

In MATLAB:

Undefined function or variable 'COM4'.

Error in VI_Call (line 6)
vi.SetControlValue('VISA resource name',COM4);

 

When it opens the vi but can't fill the VISA box:

Error.png

 

I will attach my MATLAB script and vi and hopefully someone can let me know how to get around this 🙂

Does anyone know if will profibus DP will work using an rs485 card on PC without a converter  ?

$
0
0

Does anyone know if will profibus DP will work using an rs485 card on PC without a converter  ?


LabVIEW - SMC motor driver interface

$
0
0

Hello,

I'm pretty new to LabVIEW, so bear with me.

I've been using a PLC to control an SMC electric actuator, and have recently decided to change my setup to include LabVIEW for its more intuitive use. My system is starting to demand more sensors and actuators, and I'd like to take the load off of my PLC and control the actuators directly usin LabVIEW.

 

This is the driver being used:

https://www.smcpneumatics.com/pdfs_smc_instructional/LEC-OM00603_E.pdf

 

I started looking into Modbus and have downloaded the Modbus Library, bit I haven't been able to set up a connection with the driver.

I opened the Modbus Master Example VI, but whenever I try to connect (Comm port is definitely correct) I get the following error message:

 

"Disconnected
Error 63 occurred at TCP Open Connection in TCP Master.lvclass:Initialize Master.vi->Modbus Master.lvclass:Initialize.vi->API Main.lvlib:Create TCP Master.vi->Modbus Master Example.vi"

 

If anyone could help me in any way, be it directly or by pointing me in the right direction, I would appreciate it very much.

PCIE 1433 can't connect Basler a504k

$
0
0
My camera is :Balser a504k
 
frame grabber:PCIE 1433 (National Instrument)
 
Error 0xBFF6902C Unable to coonnect the camera.
 
I connect the camera with PC by camara link.
 
Basler a504k can connect in CCT but can't connect in NIMAX
 
My situations are in the pictures.
1.png5.png4.png6.png
How can I connect the camera,Thanks.

Interface Technology SR5000 Series VXI Boards

Need NI-488 driver for WINXP for PCI GPIB card

$
0
0

Need NI-488 driver for WINXP for PCI GPIB card

Using VISA Ethernet instrument control on cRIO

$
0
0

I am attempting to control an instrument from my cRIO via VISA Ethernet. The code will work if I connect directly to the instrument from my computer. If I try to deploy it to the target, it is not able to open a VISA session, saying it can't find the instrument. If I use console on the cRIO and ping the instrument, it will see it. The latest VISA software has been loaded onto the target.

Viewing all 5661 articles
Browse latest View live


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