To whom that is concern.
I need to print out report from Spectrum Analyzer (GPIB ) to HP laser Printer (Lan).
Do we have any device, I would like to order.
Thanks
V/R.
John.
To whom that is concern.
I need to print out report from Spectrum Analyzer (GPIB ) to HP laser Printer (Lan).
Do we have any device, I would like to order.
Thanks
V/R.
John.
I am trying to control a Tektronix 370B curve tracer using VBA 7.1 (64bits) via a GPIB interface (using GPIB-USB-HS), but I'm not sure if NI-VISA/488.2 contains the library compatible to control GPIB with VBA.
Thanks for you support!!
Hello,
I have installed NI-VISA 17.5 on my windows 10 computer. It easily finds USB instruments attached to my computer and I can establish a communication link with those.
However, I have old instruments that can only communicate through GPIB. For these, we bought a NI GPIB-USB-HS control device. It seems we need to install an additional driver to use the GPIB-USB-HS. I read on the download page that NI-VISA is able to control GPIB instruments.
What is the driver needed to continue working with NI-VISA ?
Thanks for your help and have a nice day,
Baudouin
I recently tried updating NI Max, but after the update, I am not able to open the test panels of any of my NI devices, and it throws an error as shown. I tried rolling back to a previous version, and now it is still showing this issue. Does anyone have thoughts on what the issue might be? Thanks a lot!
I have recently been resuming work on a setup after the pandemic, but have had some issues using matlab to communicate with the devices for code that was working before. I am loading the NI control functions through the dll nicaiu.dll as a library function, and I am able to call the library function "DAQmxCreateTask" to create a task; however, when I try to do any further action with this task, for example "DAQmxCreateCICountEdgesChan", an error -200088 (task specified is invalid or does not exist) occurs. Does anyone have ideas about what the issue might be? Thanks a lot!
Hello,
I am trying to collect s-parameter data and am having trouble saving the results in the touchstone file format (.snp). When I run the VI (attached), I can view the results locally on the vna for all 9 s-parameters since I am doing a 3-port measurement. However I cannot find any command or option to export the data in a .s3p format. I am using the Keysight N5227A PNA Network Analyzer and have the drivers associated with it. I am communicating with the instrument through GPIB as well.
Thanks in advance!
Hi I am using the U2722a Keysight source measurement unit to mesuere the output current as the voltage is sweeping between any negative to positive voltages. I download the labview driver. The attached diagram shows the stepes I did to get the process. However, I noticed that when I change the limit current from 1^-6 A, I get the error "1074000000". If the limit current is fixed at its defualt value the programme is working smoothly, but I cannot get currents values higher than the limit one, any advice..?
Regards
Hi all,
I've developped several test benches with PXI chassis including DMM (PXI-4065) and Switch (PXI-2432) cards, and using Python to communicate with the equipments. Computers are running on Windows 10 Pro (x64) and I'm using the NI 20.0 drivers and Python 3.7 with the most recent modules for NI. All of the set up were running nicely but whitin a month, each of these set up went down because the nidmm.session or niswitch.session used to initialize the cards lead to an IVI unrecoverable failure at initialization. Would you have an idea of what could be the root cause of the issue which is occuring on every of the systems ?
Thanks a lot
To avoid direct mapping from their internal registers to what we see on our supervisory control system they gave us access to a fixed address space like in the example diagram above. For example you create a list of all the commands you want our control system to access. Then in your own internal address space you allow access through local input and output buffers, which do the mapping. PLCs do this internal register mapping quite well, I’m not sure if this is possible with the CompacRIO. Your suggestions will be Highly apreciated. I am developing a control
software application for Laser Pump diode module using Compact RIO.
Sincerely
A.P
Hi,
We have connected USB Serial devices to the two USB Ports available in the PXI RT 8183 Controller. It is getting detected as USB0 Raw and not as Serial COM Port. What is the way to detect this device as COM Port to interface the device in LabVIEW using NI-VISA.
Chassy : PXI 1036
Controller : PXI RT 8183
OS : NI Realtime Pharlap ETS 13.1
LabVIEW Software - LabVIEW 2014
PXI Software : LabVIEW RT 14.0, NI-Serial RT 14.0.0
Please let me know incase of more information.
Thanks,
Hameed Ibrahim
Some years ago, while I was still working, I obtained an hp 8903. I have recently discovered some rather nice software which I would like to use. http://www.pmillett.com/hp_8903_software.htm.
I have never used GPIB before and I am looking for an interface. I would like to use USB but the prices are way beyond the means of a retired person. I discovered a PCI card for sale on Ebay which is PCI-GPIB/TNT4882C with assembly number 183617K-01. This is card only without drivers. I see two software downloads on the NI site, NI-488.2 and NI-Visa, are these the drivers and which do I need (Windows 7 pro, kept un to date till support was dicontinued)
Now I can control my E4418B with some commands
the commands are "*IDE?", "*RST", "*TST",
but I cannot use "MEAS1?" and some else
what is problem?
And,, I can make remote mode with scpi command mode
but HP437B doesnt work..
Helpme T,T
private void send_Click(object sender, EventArgs e)
{
try
{
byte[] data = Encoding.UTF8.GetBytes(demo_textbox.Text + "\n");
serialPort1.Write(data, 0, data.Length);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
--------------------------------------------------
above one is my C# code for send command
it works on "*IDN?" and "RST" and some else
but It never works on query commands
What should i do first
Do i need to chage mode? about like remote mode?
Or change SCPI? but SCPI mode doesnt work with "*IDN?"
.. Regards
Hello all,
I'm attempting to interface with a Knopp KATC-V2 transformer tester, product sheet is here , operator manual is here , and most importantly the extremely poorly written TCP/JSON interface documentation is attached (KNOPP JSON Functional Command Sets RevA.pdf).
TL;DR, I can initiate a TCP Open, and perform a TCP Write on this device, but it always errors out to a timeout on the TCP Read no matter how the data is sent.
In the Functional Command Sets pdf, on document page 6 (Page 11 by a pdf viewer count), a network connection has 2 stipulations. First being that the IP address of both the KATC and computer must be on the same subnet. All of my testing and code is on a customer's computer that must be remoted into to do any work. But the device's IP is 192.168.123.125 and the host computer's IP is 192.168.123.220 with a subnet mask of 255.255.248.0. With that info, I believe the first requirement is taken care of.
Secondly, the connection must be on port 1235. You'll see in the following screenshots and the attached LabVIEW 2018 VI, this is taken care of.
Here is the front panel:
Here is the relevant portion of the block diagram. There is an enum that cycles all sorts of different strings that can be sent, as the documentation is not clear how this data is to be formatted.
Sending just a typed string as a tcp write to the device.
Sending the typed string with a carriage return appended.
Sending the typed string with a line feed appended.
Sending the typed string with a carriage return AND line feed appended.
Creating the string using flatten to JSON.
Creating the string using flatten to JSON with a carriage return.
Creating the string using flatten to JSON with a line feed.
Lastly, creating the string using flatten to JSON with a carriage return AND a line feed.
I use the TCP Write VI with timeout at the default value (25 seconds).
For an unknown reason (why I'm here.. 😅), the following TCP Read always times out.
The only thing I've found is this thread that was created a few months ago, but as internet help forums go, a followup was never provided. Obligatory XKCD: https://xkcd.com/979/
Is there some network magic or LabVIEW-ism that is not obvious to me that needs to be taken care of before I can initiate the read? Is there anything else I should try to get the device to communicate back and respond to the TCP Write?
This may be more of a general networking question, as I wrote a python script to do a TCP Write/Read and that also fails on timeout on the read.
As you see on the TCP Read, I selected Immediate with 1 byte to read, my thinking there is, if there is any response whatsoever, the TCP Read VI will respond.
Edit: I forgot to mention that if I open a command prompt (windows 10), and ping the IP of the device, it responds accordingly.
Thank you in advance,
Zach
Hello, I am hoping to use LabView to control a small relay with a USB port. Some other forum posts suggest that this isn't quite possible - I'd have to do some funky stuff with Windows to accomplish this. However, on our testing floor, this has apparently been accomplished with LabView, and I have found the code that's used (below is a screenshot of some of the code). On the testing floor, there is a computer with a USB cable going to a small homemade relay box to control a few different relays. I haven't been able to find the schematic or take apart the box, but I've been told it was made by an old engineer here and is mostly made up of shift registers and relays and just uses the data wires of the USB cable (I think).
I've tried to test this code on a USB wire that I've chopped up and have connected to an oscilloscope, but so far no good. "USB-DIO" (as shown in the screenshot) must be a custom name given a device, right? The error I get is that LabView can't find an instrument. Is there a way to "fake" a connected instrument in NI MAX and send a high signal through a specific USB port? That seems like what is going on in the screenshot, but I could be wrong.
I have been having a problem initializing session using python nidcpower.
code:
import nidcpower
import numpy as np
from time import sleep
import datetime
class SMU:
def __init__(self,device_name ='PXI1Slot2' , channels = '0', options = {"simulate": True}):
self.session = nidcpower.Session(device_name, channels)
self.session.measure_when = nidcpower.MeasureWhen.AUTOMATICALLY_AFTER_SOURCE_COMPLETE
error:
File "C:/Users/valentinasa/Desktop/PD setup Scripts/PD GUI/PXIESMU.py", line 99, in <module>
PX1440 = SMU()
File "C:/Users/valentinasa/Desktop/PD setup Scripts/PD GUI/PXIESMU.py", line 19, in __init__
self.session = nidcpower.Session(device_name, channels)
File "C:\ProgramData\Anaconda3\lib\site-packages\nidcpower\session.py", line 3995, in __init__
self._vi = self._initialize_with_channels(resource_name, channels, reset, options)
File "C:\ProgramData\Anaconda3\lib\site-packages\nidcpower\session.py", line 5075, in _initialize_with_channels
errors.handle_error(self, error_code, ignore_warnings=False, is_error_handling=False)
File "C:\ProgramData\Anaconda3\lib\site-packages\nidcpower\errors.py", line 95, in handle_error
raise DriverError(code, description)
DriverError: -1074135040: IVI: (Hex 0xBFFA0000) Unrecoverable Failure.
The instrument itself works as expected if using "NI_DCPower soft front panel", all modules shows up in the software and self calibration works and etc. The example code attached was also working, but it seems to have start giving this error after windows update. don't know exactly which one(maybe KB5003637), but other computer has the same results were you cant even simulate the instrument.
I have tried reinstalling all NI software including deleting everything using package manager , deleting package manager itself and having a clean install(installed software attached in software.png)
Any help would be appreciated .
I'm commanding a Sorensen/Ametek SGe Series DC Power Supply via GPIB (IEEE488.2) using NI MAX. My write and query commands all seem to work but no power turns on. When the unit is commanded manually (locally) in the same configuration it works.
The unit remote/local switch is in remote mode,
I'm using the correct GPIB Address.
Here's an example string of commands that seemingly works despite no power actually coming on:
Query *IDN?
Response Sorensen SGe...
Query *RST
Query *CLS
Query *SYST:LOCAL?
Response 0
Write OUTP:STAT 0
Query OUTP:STAT?
Response 0
Query SYST:ERR?
Response No Error
Write SOUR:VOLT 12.0
Write SOUR:CURR:LIM 10.0
Query SOUR:VOLT?
Response 12.0
Query SYST:ERR?
Response No Error
Write OUTP:STAT 1
Query OUTP:STAT?
Response 1
Query MEAS:VOLT?
Response 0.28
Query MEAS:CURR?
Response 0.0
Query SYST:ERR?
Response No Error
Query SYST:FAUL?
Response 0, 0, 0, 0
No Errors or faults are reported and the output when queried says it is on with the commanded voltage, however no power comes out/or is measured.
Link to programming Manual: https://www.powerandtest.com/-/media/ametekprogrammablepower/files/dc-power-supplies/sge-series/manuals/programming-manual--sg-ethernet-ieee-rs232-rev-l.pdf?la=en&revision=71179239-5051-432e-8316-5dd0091500c4&rev=1623271524127
I am trying to operate a compact-RIO 9054 at elevated ground potentials (150kV+). I have configured the system as shown in the schematic. I however have some question on the operation of the crio.
1. Is this safe to operate (in terms of the hardware)? I have had shorts between the casing and the PCB at high potentials (~20kV) causing equipment failure.
2. What is the highest operating voltage of a CRIO unit? Can apply high floating voltages if the -VCC is tied to the floating ground?
この度、KI-VISAが入っているPCにNI-VISAを入れてしまい、その後アンインストールの手順が悪かったのかどちらもアンインストールしてからNI-VISAをいれてもIVI FOUNDATION と VISA SHAREDのアプリケーションがインストールされなくなってしまいました。
レジストリに何か記録が残っていて入っているKI-VISAのときのものが入っていると認識してしまっているのでしょうか?
申し訳ございません。
対処の方法ご教示願えませんでしょうか?
環境はWindows Pro 10 64bitです。
I need to move my cRIO-9030 (with NI Linux RT OS) 50m away from my desk, where I currently have my monitor, mouse, and keyboard directly attached to the cRIO.
I have found this KVM extender on Amazon which states that it is compatible with all operating systems: Windows, Mac, Linux. No Driver Needed, plug & play.
planing something like this:
[cRIO]-[KVM transmitter]-------------50 meters-------------[KVM receiver]-[Keyboard, mouse, monitor]
Will my cRIO recognize this KVM extender or there will be a compatibility issue?