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

NI-VISA and NI-488 on Mac OS 11.6 Big Sur kext blocked

$
0
0

Hey,

 

So, according to documentation, recent versions of NI-VISA (21.0.0) and NI-488-2 (21.0) have been added support for Mac OS Big Sur.

I've been trying to install the versions with no success. The kernel extensions don't seem to want to load.

After installation, I have a warning about allowing new kernel extension (as usual), but clicking on allow in system preferences is prompting for a restart before it can be allowed so I clicked restart.

After reboot, there was still an entry in system preferences so I clicked allow again and again it prompted for a restart before it can be allowed.

After 2 restarts, there was no entry in system preferences so I assumed it loaded, but I was wrong. Nothing worked.

Running kextstat didn't show me any NI extensions.

I tried manually running: "sudo kextload /Library/Extensions/nipalk.kext" and got this:

Error Domain=KMErrorDomain Code=27 "Extension with identifiers com.ni.driver.nipalk not approved to load. Please approve using System Preferences." UserInfo={NSLocalizedDescription=Extension with identifiers com.ni.driver.nipalk not approved to load. Please approve using System Preferences.}

 

However, there is nothing in system preferences now!!

 

Can you please help?

 


Could not load file or assembly 'Ivi.Visa.Interop, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1' or one of its dependencies

$
0
0

"Failed to install command set '34401 Digital Multimeters'. Could not load file or assembly 'Ivi.Visa.Interop, Version=3.0.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1' or one of its dependencies. The system cannot find the file specified."

 

I get the above error when I try to use Agilent 34401A digital multimeter with the National Instrument GPIB-USB-HS adaptor combination. This is happening when I try to install the command sets for Agilent 34401A using Keysight command expert. 

 

More info:- 

This is what exactly I do in keysight command expert 

New Instrument >> Connect to a real Instrument >> Next >> Selected ESG -D4000B - B.03.86 - US38440605 >> Next >> Selected ESG Signal Generators >> Next >>Add to my instrument >> Getting an error after progress window..

PXI-8330 WinXP Driver support

$
0
0

I have a PXI System which I need to connect with a VXI system. The PXI System is a PXI-1045 Chassis, PXI-8105 Controller and PXI-8330 MXI-3 Copper card. In the VXI system I have a VXI-8340 MXI-3 Card and a VXI intrrument to be driven.

Inserting the PXI-8330 card into the PXI chassis the first time with no cable connected, it did not appear in MAX and no hardware driver request was made. With the cable connected between the 8330 and 8340 a hadware driver is now requested by Windows and the device appears in MAX, as does the remote VXI chassis, but the information for the 8330is incomplete and the remote chassis appears to need a chassis config file.

 

So where would I find the driver for the PXI-8330 that WinXP is looking for? Im guessing it is either part of PXI Platform Services or System Configuration  of which I ve Version 15.1 and 5.6 respectively and neither appears to have a suitable driver making me wonder if it was unsupported by then. Ive searched all the Readme files for both packages , as far back as they are made available and can't find the cut-off point.

 

 

公司内网域内的电脑(win7 戴尔)安装了NI VISA软件开机会很慢很慢,基本到了十分钟以上卡在‘请稍后’界面,

$
0
0

尝试禁用所有NI的服务还是没有效果,附件是跟踪的netlogon日志,实在是非常影响生产工作,如果有解决方法,烦请告诉下非常感谢

Traditional NI-DAQ (Legacy) Devices

$
0
0

Afternoon,

I am facing an issue regarding MAX 4.1 (XP Machine). I have an 'Amplicon PCI215' card installed but cannot get it to display in 'Traditional NI-DAQ (Legacy) devices. In Device Manager the card is 'Working Correctly' and i have the correct drivers installed. When i refresh the page sometimes i can see the device but when i go to click on it it prompts an Runtime Abnormal Error and crashes. This is a known working card. Looking for any suggestions to try. 

Many Thanks

Visualize oscilloscope on pc

$
0
0

Hello, 

i'm new to Labview and currently working on a project which requires me to visualize/ control an oscilloscope from a computer.  I use a keysight USB/GPIB adapter and a Lecroy waverunner LT342L. I haven't succeeded to display the signal part of my screen and i would really appreciate if someone could help me. 

I see the command syntax of this scope model is very different and i really can't find the right command to display the waveform with the correct scaling. ( INSPECT?''SIMPLE'', WF?DAT)

How can i make my program faster so that it gets data in (or close to) real time?

How can I compare the most significant bit of a binary number with 0 or 1?

$
0
0

I'm currently working on a temperature measurement program, and the temperature is sent in hexadecimal from the instrument. However, when I look at the protocol, I see that negative values are calculated using two's complement, so I would like to convert the hexadecimal data to binary, and then convert it to decimal if the most significant bit is 0, and calculate two's complement if it is 1.
How can I compare whether the most significant bit is 0 or 1?
If anyone knows, please let me know.

Translated with www.DeepL.com/Translator (free version)

GPIB-ENET/1000 LAN Cable

$
0
0

Hello,

I am trying to set up GPIB_ENET/1000 on a windows 10 PC. I am not sure (As it is not very clear in the manual)  I have to use cross-over LAN cable or straight LAN cable from my PC LAN port to GPIB-ENET.

Thanks

 


NI-VISA attempting to connect out

$
0
0

My team recently installed NI-VISA and I noticed in some additional logging with the machine this was installed on, and now it has made several attempts to try to call out. Can anyone point me in a direction for a config file or any other direction to stop these events from happening? 

Is this expected behavior from NI products? Any tips and tricks is very appreciated 🙂

 

two file locations example:

C:\Program Files (x86)\National Instruments\Shared\mDNS Responder\nimdnsresponder.exe

C:\Program Files (x86)\National Instruments\Shared\Registration Wizard\Bin\registrationwizard.exe 

 

How to read data from instrument (TOS9201) to computer using GPIB interface

$
0
0

Hi, I am having trouble transferring my measurement data from an instrument (TOS9201) to my computer. I would like to ask how should I code in LabVIEW such that I am able to transfer the data read in my instrument to an excel file in my computer.

VISA 0xBFFF003E Error @ RS232 on new PC

$
0
0

There are a lot of topics on similar problems, but I don't find this one.

The System uses a Mahr Multitast indicator which sends data over a RS232 port to a Computer.


I changed the PC from an Fujitsu Siemens with an pentium 4 @ LV2011 to a Lenovo with a i5 @ LV2017, both with a integrated RS232 Port.
The new PC runs into the VISA 0xBFFF003E Error everytime it tries to read the RS232 port.
When I switched back to the old PC, it runs the first try to read in this error but works after that correctly.

The Settings on both are the same:
baudrate 4800, databits 8, parity none, stoppbits 1.0, flow control none, termination char \n.

I tried to read data at the new System through the VISA-testpanel with the same results.

I attached the I/O-Trace-files of both systems.

Any ideas on this would be greatfully received.

Regards,
Lucas


how to convert millisecond time interval to microsecond

$
0
0

Dear NI community,

 

I'm using Keithley 2460 for continuous current measurement vs time-source as voltage.

I have a problem with measuring time as microsecond because in the code measure interval time is in milliseconds and the graph time is in seconds.

I do some changes to the code also.

can anyone please let me know what is the way to correct the issue or let me know which vi can use for this?

Please find the attached code below.

Logging Electrical Properties vs Temperature

$
0
0

Hello,

 

I am relatively new to labview. For background I have completed LabVIEW core 1 and parts of LabVIEW core 2 tutorials.

 

I have been developing code that allows me to log electrical properties (electrical impedance, capacitance, microwave resonant frequency etc) using various pieces of hardware (Keysight E4981, E4990A and Keysight network analysers) as a function of temperature. The thermocouple is NI hardware controlled using DAQmX VI's.

 

All of my code so far has basically logged the electrical properties across a user defined temperature range with a user controllable measurement interval. This has then plotted xy graphs of the data until the maximum temperature is reached or the user stops the measurement and the data is then exported into an excel spreadsheet. These are simple programs but sufficient for what we require. My next challenge is to record the electrical properties as a function of temperature as stated above but to also record the electrical properties at a single user-inputted reference temperature i.e. 20°C or 25°C +/- 0.5°C. One solution would be to measure much more frequently to ensure I capture data at this point but it then means I will be generating far more data than is required especially as my measurements tend to run over a few hours. 

 

What would be the best way to achieve the above requirement? Preferably using structure or boolean controls as I understand these better than labview architectures I am not or may not be familiar with.

 

KR,

JBCTUK

Keysight PCIe-GPIB with labview

$
0
0

Hi

I have a problem reading the instrument addresses in labview 2021 with Keysight PCIe-GPIB card. I can read the addresses from e.g. NI MAX and manually enter the address in the labview program, but it would be convenient if labview could find it.

The procedure I used when installing was:

-Install Labview 2021

-Install IOlibsuite downloaded from https://www.keysight.com/se/en/contact/support/software-download.html

- Enable Keysight GPIB cards for 488 programs in Keysight connection expert.

- Open NI MAX and check  NIVISA Tulip.dll

-also in NI MAX Disable Keysight VISA.

Best regards

Tommy

Make an automatic script to import NI Max Tasks

$
0
0

Hi, 

 

We want to automatize importing the tasks to NI Max. Our idea is to use a ".bat" to do this work or a python script also would work for us. Has anyone have done it before?


Wiring diagram humidity sensor HIH 4030 and NI-9201

$
0
0

I measured relative humidity using HIH 4031-003 in collaboration with NI-9201. This sensor has 3 pins, namely (+) supply Voltage 5Volt, Voltage out (to channel 1 on NI-9201), and (-). I have problems with the output measurement results in the form of fluctuating voltage values such as noise. Is the wiring diagram that I made correct?

 

What is the solution to my problem?

 

Thank you.

PXIe-8301 Thunderbolt 3 thread pitch.

$
0
0

What is the thread pitch/screw size for the holes next to the Thunderbolt 3 ports on the card?  Are there any readily available retaining clips that are compatible?  Thunderbolt 3 is great but in a busy production environment it's easily disconnected or damaged with a bump or tug.  I think the larger one is 4-40 but not sure about the smaller hole.

Retreiving VISA error code in Visual Studio C#

$
0
0

The example is the main .cs file from a simple console c# .net project.  All it does is attempt to open an invalid VISA resource, which will throw an exception.  Returning the error message string is easy, but I'd like to get the VISA error code.  See the comments in the code provided for the steps to see the VISA error.

Centos7.9 cannot add GPIB-ENET/100

$
0
0

I ran into some problems when using GPIB-ENET/100 in a Linux environment, and I hope to get help.
Background description:
Operating system: centos7.9, 64-bit;
ni-488.2: 17.0;
ni-kal: 17.5;

gpibexplorer can run, and fill in the IP of GPIB-ENET/100 to find the NI hardware. When connecting, it prompts "Device currently not in configuration mode, Press and hold the CFG RESET button on your Ethernet device for three seconds to enter configuration mode". But after I reset the GPIB-ENET/100 as I did, I still get this prompt and I can’t go to the next step.

I can add GPIB-ENET/100 and communicate normally under the MAX of win10。

Attached are screenshots of ni's installation status and screenshots of gpibexplorer

Reading TCP not blocking the program on myRIO

$
0
0

Hi, I need your help next time. I'm making ball balancing platform. So, I have a program running on PC, where camera observes the ball, finds his position and sends it via TCP to a myRIO, which read the messages and controls the engine using PID regulator. The problem is, that to read the message there is needed timeout in reading block, and it makes my system not stable. I need to run the program with regulator and not wait for coordinates. I need something like an interrupt but I've no idea how to do it on myRIO. 

 

On the photo below I show the part of program receiving the message. First block check if received coordinate "x" or "y" and second get the value.

danielll99_0-1636931512593.png

 

Viewing all 5665 articles
Browse latest View live


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