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

RS232C--VEE program--(LCR-106X)

$
0
0
  • When I use an RS232C device connected to my computer via the Keysight VEE program (or via another software), an error appears: "Bus error occurred?”. 
  • Via IO libraries, an error appears when I try to scan using *IDN? command. The description says: "The device did not respond to an *IDN? query".

Would you mind telling how can I make a successful connection?.  Please, what can I do to resolve this problem?

Sincerely, 


Rigol 1054 via LAN

$
0
0

Hello All,

 

I am trying to connect rigol 1054z oscilloscope with labview via LAN.

I downloaded rigol driver and example.

When DC voltage is measured, there is inverted value on labview.

Please check attachment.

Can someone get hint how to solve this?

 

Thanks.

System.Reflection.TargetInvocationException in communication via GPIB-USB-HS

$
0
0

Hi there. I am trying write code in VB.net language and communicate with Keithley electrometer via GPIB-USB-HS with NI-VISA language.While debugging my vbproj codes, I encounterer the following message; "System.Reflection.TargetInvocationException, COM target does not implement IDispatch.". I wonder what it does mean and how to work it around.

 

The related statement is "DMM.IO = RM.Open("GPIB0::21::INSTR)". One could communicate with it via NI-MAX. So, I guess the problem probably stems from that I am not familiar with NI-VISA language.

 

Dim RM As Ivi. Visa.Interop.ResourceManager

Dim DMM As Ivi.Visa.Interop.FormattedIO488

RM = New Ivi.Visa.Interop.ResourceManager

DMM = New Ivi.Visa.Interop.FormattedIO488

DMM.IO = RM.Open("GPIB0::21::INSTR) ' Here is an error generated point!

 

Thanks in advance for your kind advice.

Processor Compatibility for PCIe GPIB card

$
0
0

Does PCIe-GPIB card (Part Number: 778930-01) require an enterprise Intel Xeon processor or AMD Threadripper to run or any standard consumer range such as Intel Core i-Series & AMD Ryzen is sufficient ?

Thank You,

Clarence.

Connecting Agilent 8164b over rs232

$
0
0

Hello everyone,

I am trying to connect a agilent 8164b over Serial. If i try *idn? over NI MAX i get a timeout error.

I matched settings and baudrate of the computer and the device and I am using a null modem cable.

One strange thing I recognized is if i want to change the baudrate of the Instrument, the instrument gets a bsod saying system Panic 1.

Until now i dont have installed the Agilent IO Library Suite; is this driver necessary?

Im a newby, so I hope this question is not to stupid 😉

Has anyone an idea what the problem is?

Sincerely,

JB

LabView Cannot find units problem with Hardvard 11 Pico Plus Elite pump

$
0
0

Hello,

     I am having a difficulty to use LabView driver to control Hardvard 11 Pico Plus Elite pump.  When I used the driver to run the pump, the LED of the pump was only flashing and the pump didn't do anything. The error message showed that Error-1073999876 occurred at Read Range.vi and Possible Reason(s): Cannot find units. 

      The version of the pump firmware is v1.0.6. The pump is connected with the computer by USB cable provided with the pump.

      It will be greatly appreciated if anyone could help to provide some ideas to solve the problem.

 

      Best regards

      Jim

Two instances of power supply showing up in MAX

$
0
0

Hello,

 

I have two power supply mainframes connected to my PC via ethernet (Keysight N6700C and N6701C). I have set the IP addresses of these devices via telnet to a static IP address. MAX keeps showing me two instances of each mainframe and if I delete one instance it keeps popping up again. There is also a socket associated with each that is showing in MAX and I haven't seen this before. Also, when I update the "hostname" of the device in MAX on the TCP/IP settings tab, it will just revert back to some default name with the format K-N6700C-10529.local

 

Anyone have an idea of what's going on here? See attached screenshots. Thanks!

 

PS_issueJPG.JPGPS_issue2.JPG

visa works with highlight execution

$
0
0

I'm trying to modify the example provided by Omega to read from a PX409 pressure transducer.  The code used to verify that the sensor is present only works when I run the vi in highlight execution mode so I know that means I need to initiate a wait of some sort somewhere along the visa communication trail.  I've tried all sorts of things with no luck.  I've attached the example vi from Omega.  Can anyone point me in the right direction?

 

Thanks.


Just installed DAQmx on Windows 10 and it not recognizing my NI 9211 in my NI USB-9162 carrier. in MAX

$
0
0

Windows 10 is not recognizing my NI 9211 in my NI USB-9162 carrier.

 

I am just getting back into this stuff, I have been away from this for the last decade or so I am on a relearning curve, so please assume my product knowledge is a bit dated.

 

I installed the latest NI-daqmx, version 19.5 in my windows 10 computer today, and have started to try getting my NI measurement hardware running again. I was able to get a driver created and signed for my USB instrument rack, a NI USB-9162.

 

It now shows in device manager,under NI-VISA Devices, but it is named " Device model name" - this seems wrong.

In max, it's listed as USB0::0x3923::0x719A::NI-VISA-60002::RAW - this seems wrong too.

I can launch a visa test panel (see capture2.jpg attached) - this is also not very informative.

 

When I load my NI 9211 C Series Temperature Input Module into the USB-9162 slot, I do not see it in MAX, or device manager. It does not launch or install.

 

Any ideas on how to get the hardware to launch / be recognized?

 

attached snips are device manager,max,visa test panel respectively

 

Thanks,

Jim

 

USB-GPIB-A

$
0
0

Hi! Friends, tell me if anyone has a driver for USB-GPIB-a V. 2. 2? I found an old device, and the modern one no longer supports such an old one.

求助:支持Agilent E4403B的GPIB-USB-HS驱动

$
0
0

环境:Windows 10

现有一个NI4882_312版本的驱动,可以正常用GPIB-USB-HS连接Agilent E4438C仪器,且正常控制。但是在NI-MAX中无法识别到Agilent E4403B仪器。

求助:支持Agilent E4403B的GPIB-USB-HS驱动。

 

NI PCIe-8430/8 fails self test

$
0
0

I bought the NI PCIe-8430/8 and installed the drivers that came with the cd. The device and the COM ports show up correctly in device manager and NI Max but the NI-Serial Troubleshooter fails when it tries to identify each COM and if I open the device in NI Max it fails the self test. I also cannot talk to equipment over the COMS listed. Is there something I did wrong? 

Barcoder reader interface with labview

$
0
0

i have Honeywell Barcode Reader Model No:-1450 with usb interface.How i can proceed with labview to program it.

Set amplitude in Agilent N5181A

$
0
0

Hi. I want to set amplitude value in Agilent N5181A. Vaule - flaot type, unit is DBM, DBUV, DBUVEMF, V, VEMF,DB.
When i try set frequency it's work, but i can't undertstand. Why i can't set amplitude ? What i doing wrong? Thanks.

defset_level(self, value, unit😞
cmd =':POW {}{}'.format(value, unit)
self.write(cmd)

timeout error on ibclr

$
0
0

I am using an old version of the ni 488 driver on a red hat 4 Linux machine.

 

We have a 5 GPIB instruments connected to the a NI PCI-GPIB controller card. This system was working ok until recently, when we started noticing the following behavior. The sequence of commands to the gpib chain is as follows:

 

1. ibsic to the gpib controller

    Returns 480 or 496 intermittently. (Is this an issue? Seems like it is the talker flag that is intermitten)

 

2. ibclr to the gpib instruments

    Returns 0x8000 (error flag is true), and the error is a timeout error

 

3. ibrsp

   Returns 256

 

4. ibwrt *IDN?

5. ibrd

We are able to read back "IDN?" from the instrument just fine  after the timeout error. Also, if we open communication with any individual instrument at a time, sending ibclr works, but it stops working as more instruments are opened. Any suggestions would be very much appreciated!!

 

 

 

 

   


using NI interface under Liberty Basic

$
0
0

Looking to control my SPD1168X power supply using Liberty basic as part of automated product test. Is this possible, and how do I do it?

I found power supply commands in the manual, but are NI interface dll's needed to interface with Liberty Basic? Or am I making this over complicated and the power supply simply does serial IO?

Trouble to communication between Labview and a RS232 Monocrhomator Oriel C130.

$
0
0

I need to read informations from a Monochromator (Oriel Cornerstone 130).

 

The connection between PC and Monochromator is through a USB 2.0 cable.

 

My idea is use the VISA instructions to send some strings to Monochromator.

(Ex: Visa Write, Visa Read, Visa Configure Serial Port...)

 

However, when i try to set the VISA resource name there is no any option of porta COM available. 

 

I´ve already uninstalled and installed the USB driver of monochromator C130 twice. I thought it was the origin of the problem, but probably it´s not. 

 

Does Anyone knows how to resolve this?? I need to Connect LABVIEW and the equipment. 

 

 

OBS: I made a test with an Arduino, and when a plugged the USB cable, immediately appeared a COM PORT available to choose.

 

 

 

 

 

 

GPIBについて

$
0
0

PCI-GPIBボードを使用いている同環境で、USB-GPIBを使用しても

同じ動作しますか?

Connecting Keithley 6517B via RS232-to-USB cable

$
0
0

Hi all, 

I have been tried to connect the Keithley 6517B to PC using RS232-to-USB cable.

I would like to get continuous currents as a function of time from the 6517B. 

 

I set up the parameters of both 6517b and PC COM port are the same; RS232 mode, 9600 baud rate, CR, NONE flow control, RDG=y, RDG#=y, UNIT=y, 8 data bits, 1 stop bits. I also tried several COM ports from 1 to 4.

 

This is my cable and RS232 extension: Ugreen RS232-to-USB (https://www.ugreen.com.cn/products/usb-2-0-to-rs232-serial-cable?variant=15398911737901)

Cable extension: iCan RS232 straight-through extension cable (https://www.canadacomputers.com/product_info.php?cPath=5_1340_1418_1450&item_id=005367)

 

I got a 6517b for RS232 example (RS232_6517BtracedataRS232_example 1.vi, attached), but the timeout expired error appeared at VISA Read. Before reading the data, the 6517B works well. (e.g., voltage set 1.0V, changed the mode as current measurement, and others).

 

Here are the error code and diagram for mine
Possible reason(s): VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

Steven_H_0-1576868365806.png

 

I also got another example of 6517B for RS232 (RS232_6517BRS232_example 2.vi, attached). it indicated the same error as above. 

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

 

Steven_H_1-1576868783966.png

 

IDN*? or other simple SCPI based commands work well, but I think only VISA Read part is not working. 

 

It would be appreciated if you could advise me.

Is the cable (RS232-to-USB) issue?, the LabView programming issue?, or the parameter (baud rate, CR, or others) issue?

 

If the cable issue, we also consider the purchase of the Prologix GPIB-to-USB adapter. 

 

Happy holiday and I hope you all the best. Thank you.

GPIB USB コンバーター

$
0
0

現在、RATOC製USB2.0-GPIBコンバーターREX-USB220を使用して、計測器をGPIBケーブルで接続していますが、NIMAXのデバイスとインタフェースのツリー上に表示されません。

何が要因でしょうか?

Viewing all 5663 articles
Browse latest View live


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