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

GPIB-USB Interface installation/connection

$
0
0

Hello all,

 

I'm using NI LabView2013 for a few months, and now I am trying to connect a power supply (Agilent E3631A) to the computer with a GPIB-USB Interface (Agilent 82357A). I have installed the interface according to the user manual of that model, and used the Keysight IO Library Suite to verify that the power supply is connected to the computer.

However, in NI MAX, I could not find the GPIB-USB Interface. I have installed NI-VISA and NI-488.2 as instructed by this NI website:

https://www.ni.com/getting-started/install-software/instrument-control

 

And attached below is the captured screen of my NI MAX.

 

Any suggestion for me?

Thanks,

Joey

 


DPO7014 can’t determine saving CSV data range by programming command

$
0
0

When the scope recall length is 50K, I want to save scope channel 4 full data as csv file.

 

Trying the command as below:

data:stop 50000;

SAVe:WAVEform:FILEFormat SPREADSHEETCsv;

SAVe:WAVEform CH4, ,"C:\CH4";

 

But I always got 20K data length , not 50K that I set.

I have looked for the programming manual P.439.

In the manual, it could be use “DATa: STARt and DATa: STOP” command to determine what range I want to save.

But in real, it not so.

 

 

telemetry for solar car

$
0
0

Hello everyone!

i want to ask about telemetry for solar car system.

1.How does telemetry system work in solar car?

2.what components do i need to use?

really hope someone can help me.

thank you.

DMM 4040

$
0
0

Hello sir,

I am using LABVIEW 2010, and am in need to interface DMM 4040 using gpib to the former. What driver would you suggest   for the same?

PCI-GPIB: BSOD on bootup

$
0
0

Hi All,

 

I am trying to get a system up and running in my lab and I'm having an issue with a PCI-GPIB card. I installed the card and booted the system and bootup was ok. I checked in device manager and saw that the device was there and no drivers were installed. I downloaded and installed version 15 of the 488.2 drivers from NI's website. After install I rebooted and ran into a BSOD after the windows logo saying "Hardware Malfunction" and "Memory Parity error" Picture is posted. 20160628_125423.jpg. If I boot into safemode the system boots and the device is now recognized in device manager. I can only boot into regular mode once I've removed the card.

 

Any help is appreciated.

 

Here are my system specs

 

DELL OPTIPLEX 7040

 

Intel Core i5-6500 Processor (Quad Core, 6MB, 4T,
3.2GHz, 65W)

 

Windows 7 Pro 64

 

4GB (1x4G) 2133MHz DDR4 Memory

 

Intel Integrated Graphics

 

 

 

USB device shown in NI-MAX, but SOMETIMES VISA Resource name in LabView shows nothing but refresh

$
0
0

Ok so this is the problem

 

Im communicating labview with a MCU using USB Port. The device is recognized in NI-MAX when i plug it in but sometimes it won't show in VISA Resource name,for example last week it worked but today it doesn't

 

 

Then i open an old VI which i have on my pc, if i run it, close it, and open again from labview project directory the one i really want to work, then the problem its solved. The device its shown and the communication works. But lets say that for example I close labview, and open the VI from my desktop, again the refresh problem..

 

problemVISA.JPG

 

 

Reading Full Memory Rigol DS4032

$
0
0

I am working on a project that needs to read the full data from a rigol ossiloscope over a network. Right now I can only fetch 1400 data points, the equivalent of a screen grab off the ossiloscope. I am able to change the memory depth using NI but am lost in how to get all the data, attached is the VI that I have written any advice would be helpful 

 

-ZG

 

ni max

$
0
0

I am working with NI MAX 15.3 on a windows 7 professional PC. I'm connected to my PC to a blackbody source with a cross over cable and am able to PING the blackbody. I want to add the blackbody in NI MAX under Devices and Interfaces but the option to create new just DOES NOT exist. Any ideas why that would not be available?

I'll be writing code in Labview 2015


libnipalu.so failed to initialize

$
0
0

Greetings,

 

We installed NI-VISA 15.0 on RHEL 7.2 (output attached). When running our application, the following error message appeared and the program aborted. The abort happens on the very first call to viOpenDefaultRM().

 

libnipalu.so failed to initialize

Perhaps you need to run updateNIDrivers

Abort (core dumped)

 

We ran updateNIDrivers (output attached), which didn't appear to change the installed RPMs (also attached, from the command "rpm -qa | grep ^ni"). But the problem persisted. Previously we have tried uninstall/install with no luck. I have looked around the forum and seen this message appear elsewhere, but without a solution for this particular problem. Any suggestions would be greatly appreciated.

 

Note: I work in a closed area and have to scribe output files like the ones attached. If the niSystemReport output would be useful, please let me know what I could grep for :-)

 

Extra info:

//--------------------------------------------

// OS - RHEL 7.2, 4 GB RAM

//--------------------------------------------

>>> uname -r

3.10.0-327.el7.x86_64

 

//--------------------------------------------------------------------------

// Application - simple C++ program with dependencies

//--------------------------------------------------------------------------

linux-gate.so.1 => (0xf76f7000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf76bb000)
libvisa.so => /usr/local/lib/libvisa.so (0xf7672000)
libstdc++.so.6 => /lib/libstdc++.so.6 (0xf7586000)
libm.so.6 => /lib/libm.so.6 (0xf7543000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7527000)
libc.so.6 => /lib/libc.so.6 (0xf736a000)
libdl.so.2 => /lib/libdl.so.2 (0xf7365000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf734b000)
/lib/ld-linux.so.2 (0xf76f8000)

 

 

 

 

hex over tcp?

$
0
0

Since NI has dropped the ENET-232/4 we have had to look else where to handle our serial communication. I am testing a B&B Electronics VERSR4x4 and 2 out of our 3 instruments use ASCII strings with termination characters. This was easy to swap the VISA functions over to TCP. However one of instruments uses hex packets. With VISA the U8 array was type cast to a string and sent via VISA Write no problem. I captured the network traffic and the data packet was 23 characters. I don't know why but VISA sandwiches the data with a bunch of other hex numbers. However when I swap over to TCP the network traffic only shows the original 5 byte hex data.

 

The orginal data is 7e 05 ff 19 94

 

Here is the successful VISA write using a ENET-232/4

successful VISA.JPG

 

Here is the unsuccessful TCP write using the B&B VESR4x4

unsuccessful tcp.JPG

 

What gives? I have tried to recreate the VISA traffic by artifically creating the full 23 byte data but it doesn't have an effect. I am not sure where the issue lies.

timeout fails when instrument is turned off

$
0
0

I have a power supply connected to my PC over GPIB using VISA.  Everything seems to work fine, but when I turn off the power supply, and then try a query, VISA seems to just hang for around 30 seconds.  I would expect it to timeout after only a few seconds (or whatever the timeout is set to, which is much less than 30s), but it does not.  After this first query, it will timeout in a normal fashion, but the first query after powering off the instrument always takes forever.  Nothing else can be sent over GPIB in the mean time.  Any idea what might be causing this?

NI VISAで認識されていた計測器が不明なデバイスになりました

$
0
0

6月16日から6月30日まで正常動作していた発振器が7月1日に不明なデバイスになりました。 VISA503full.exeをインストールして、WF1974(NF)を使用するアプリケーションを作成しました。 6月30日までは、問題なく動作していたのですが、7月1日午後に動作異常が発生し、 確認したところ、OSのデバイスマネージャー上で不明なデバイス(USB Serial Controller D コード28 Port#0009 HUB #0001)に なっていました。 7月2日に改めて、PCの電源を入れても、WF1974は認識されませんでした。 (7月2日は2回電源を入れてます) なお、状態が変わるといけないので、NI Automationでは、確認やUSBケーブルの差替え、ポートの変更はしていません。  環境     OS  Windows7 EnterPrise 現在、問題になっているシステムは、同バージョンのNI VISAとWF1974、Windows7 Proでは、3年ほど動作している実績があります。 7月1日に、新しくインストールしたアプリケーションはありません。また、追加したデバイスもありません。 ただ、初めてインストールしてあったPowerPoint2010を起動しました。 これは、関係するかわかりませんが、同じシステムで使用している基板が熱暴走しました。 (イベントビュアーにて発覚) NIの名前があるビュアー内の項目では、特にエラー、警告などは見受けられなかったです。 このようなことが、おきる原因として、考えられることを教えてください。

Keithley 6485 picoammeter reading rate via GPIB in LabVIEW

$
0
0

Hi

 

I am fairly new to LabVIEW. I want to take 1000 readings per second through the picoammeter and get them transferred to my LabVIEW program via GPIB. The sample rate is the maximum the device can attain as per product's manual. I am currently using an inbuilt LabVIEW driver (Read.vi) for taking the readings. However the sample rate is quite slow and I can't seem to maximize it. I have all the LabVIEW drivers available for the product but I am not able to use them to get my desired sample rate via GPIB. Can anybody guide me on how to program the drivers? 

 

Shehroz

ASRL COM server

$
0
0

Hi all,

 

I know that it is possible (and I often use it) to configure a VISA server on remote computer in order to allow access from my computer to have access to GPIB device directly connected to remote computer.

 

I would like to know if it is possible, in the same idea, to configure a server on remote computer COM port in order have access from my computer to the devices connected on the COM port from the remote computer.

 

Thank you in advanced.

Controlling ProScan III X-Y stage with LabView

$
0
0

Hi there,

I'm new to LabView and this forum, please excuse me for asking sily questions!

 

I am on a project trying to use LabView for automation PRIOR ProScan III x-y stage to allow Gel mapping.

 

The stage is connected with the computer with USB COM 5.

 

I have tried to use SERIAL PORT with specified parametres

Untitled.jpgIt is still not complete, I was just attempting to be able to establish some sort of controls . But it doesn't work.

 

I kind of followed what my collegue has previously done with a actuator control , and PX GX is what I found in the ProScan Mannual as commands (later I have realised it is the command in the Prior Terminal.

 

I have tried to use code provided in the PRIOR terminal, it all works, so I don't think the connection is a problem. 

 

Also I have found some sample LabView programme from PRIOR website

 

Screen Shot 2016-07-05 at 17.04.04.png

I sort of understood that it is an Invoke node, but I have no idea how this will allow me to connect with the stage. How do I get the reference input?

 

I've been so confused and frustrated with this recently, thus dicided to ask in the forum. Any help will be appriciated.

 

Thank you very much


Keithley 2400 LabView Error -1073807346

$
0
0

I am trying to take a resistance measurement from my Keithley 2400 Instrument and import that data to LabView 2013 SP1. I am running the Keithley example LabView program Read Single (attached). I keep getting the error "VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid." This error pops up after the time out (10000 ms). I established communication with the instrument in NI Max and sent an IDN command which returned with no errors. I downloaded the proper drivers for Keithley instruments and installed the latest version of NI VISA and LabView 2013. Any help would be greatly appreciated. 

 

Full error: 

 

Error -1073807346 occurred at VISA Write in Keithley 24XX.lvlib:Error Query.vi->Keithley 24XX.lvlib:Configure Measurement.vi->Keithley 24XX Read Single.vi

Possible reason(s):

"VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid."

Difficulty Triggering Tek MDO3014

$
0
0

So I am trying to write a VI that waits for a trigger, aquires a waveform and then displays it.  But I want it continuously running so that when I start a new sequence, I do not have to restart the VI.

 

Not sure why I am having issues here. I took the VI's out of the Tek MDO3000 series drivers (named differently), and they just will not respond to a trigger.

 

I am attaching what I have, and I was hoping for some help with my syntax and making sure that the loops are used correctly and what not 

Plug and play devices

$
0
0

Hello,

 

I am trying to interface Keithley 2701 DMM with Labview signal express'15. I tried to download Keithley drivers from NI and found two different drivers ( http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:idr/q/keithley%202701/ ).

 

I installed the driver in LabVIEW, Measurement Studio for Visual Studio, LabWindows/CVI link as it is an .exe file. I was successful in communicating with the DMM as there were no errors in communicating the parameter values such as voltage, resistance, current etc. The deficiency with this driver is that, it doesn't support getting data from the multiplexer card (7708) of the DMM. 

 

The other driver in the LabView (see figure driverList.jpg) link is a plug and play driver and provides support for the multiplexer card. I tried installing the driver following the instructions in the page http://www.ni.com/devzone/idnet/inetinst.htm but couldn’t find the driver in MAX after the installation.

 

I don’t have a clue what the issue is. Can somebody help me in resolving the issue?

 

Thank you very much for your patience.

 

-

Thank you,

Srinivas.

 

agilent 33512B dual channel phase alignment

$
0
0

Using the instrument drivers for the Keysight/Agilent 22500B function generators, how does one align the phase of the dual channel ourtputs o f the 33512B? The pages 162-163 of the user manual discuss first using the 'Phase Sync' command. Then, observering both signals on an oscilloscope, manually using 'Phase Adjust' to align the two signals. However, there does not seem to be a 'Phase Adjsut' function. Is there a method to align the phases using the LabVIEW driver functions? Thank you.

VIA 5630 error 0xBFFA4004

$
0
0

Hi

 

We used a VNA PXIe 5630 and when try to execute the calibration  with automatic module ), some time we have the error 0xBFFA4004 .

the error occured at function :

        public int PerformCalibrationAction(string portList, NivnaCalibrationAction actionType)
        {
            int pInvokeResult = PInvoke.PerformCalibrationAction(Handle, portList, actionType);
            TestForError(pInvokeResult);
            return pInvokeResult;
        }

 

any idea for this error

Viewing all 5662 articles
Browse latest View live


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