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

acquiring logic probe with signal express (Tektronik MSO 2024)

$
0
0

Hello All,

 

I'm trying to acquire for the first time the logic probe of my oscilloscope (MSO2024) with Signal Express 2.5.

Once the oscilloscope is recognized, I'm only able to select the 4 probe but not the d0-d15 logical probe.

Is it possible to measure them or not?

Thank you for any help in advance.

 

 


Trouble communicating with a GPIB instrument using VISA functions

$
0
0

Hi all,

 

I am trying to create subvi's that will allow communication between a computer and a MS260i spectrometer. This is an old spectrometer, and can only be interfaced via GPIB or RS232. I have chosen to use a GPIB-USB-HS adapter to connect it to the computer. The following settings in NI-MAX allow me to easily send commands to the spectrometer when using the NI-488.2 communicator. I have also attached an image of a successful wavelength query.

 

NIMAX _settings.JPG

NI_comm_success.JPG

However, I am unable to make a subVI with the same settings. For instance, the following VI

block_diag.JPG

returns the following error

error_gpibtestvi.JPG

 

Is there something I am forgetting? I also noticed that even though I saved the GPIB interface properties, these do not come up by default when using the NI-488.2 Communicator. Indeed, I have to manually configure the EOS settings each time I reopen the tool.

Any help would be greatly appreciated.

 

I am not able to do voltage/temperature measurements using keithley 2700 and 7705. I am using labview 8.6 and NI-GPIB-USB-HS connector.

$
0
0

I am using following hardwares and softwares,

NI-GPIB_USB-HS connector ( IEE 488.2)

Keithley-2700 Multimeter/DAQ

Keithley -7705 swithing card

Driver software supplied by Keithley

K-type thermocouple

LabView 8.6

 

 

As I am new to Lab-View, I am not able to make it out how to do correct measurements. Can any one suggest me how to make voltage/temperature measurements.

Using NI USB-232/4

$
0
0

Hi, I have an application where i need to monitor communication between two devices that use serial ports.

Does anyone know if i can do this with the NI USB-232/4? Can i use 1 of the serial ports to monitor what happens between two others?

Thanks in advance.

 

Looking for a Labview controllable relay or switch

$
0
0

Hi Guys,

 

I have a Labview controllable power supply, which does not have the ability to change its polarity. Since I need to do that with Labview, I want to build a circuit with a Labview controllable Relay or even better just a switch to do so. I tried to find something like that, but wasnt succsessful yet. Does someone know a device like that and can help me out?

 

Thanks in advance.

Joni

Visa configure serial port crashes in windows 10 when selecting COM port

$
0
0

Hello ,

I am operating a data acquisition system with 4 channels for over 1 year and the appllication had no problem in earlier version of windows 7,8.1 .

Now i have installed the application in a new laptop with Windows 10 .and while selecting the COM port in Visa configure serial port.vi ,the application crashes. I have updated the NI VISA to 15.01 and created the instaler again and installed it again. Still i am not able to find a solution for the problem.

While creating installer i have seleted the option "Automatically select additional Installers " . and the list also includes the updated NI VISA 15.01 ,and Labview 2013. 

 

Error 1073807346 Serial Modbus

$
0
0

Hi everybody,

 

I'm trying to acquire data from an Infineon XMC 4500 microcontroller with serial Modbus protocol (9600 8 N 1); I also use a USB-RS232 converter.

When I read registers I get a 1073807346 Error ("The given session or object reference is invalid"). In particular the error appears in Read Holding Registers and Read Input Registers functions.

I checked all possible solutions from NI suopport document relative to this kind of error.

Does anybody ever dealt with this problem? 

I also include a VI snippet from selection.

 

Thanks any advance for any advice.

 

Andrea.

system service exception blue screen

$
0
0

Using a usb connected GPIB adapter LabView 2015, NI Max ver. 15, and the NI 488 2. Replacing old system. New system with same versions of software installed causes a BSOD whenever we run our program or "scan for devices" the BSOD looks like as follows;

 

System Service Exception

ni488k.sys

0x00000033(0x00000000C0000005)  FFFFF8800A44702E

any ideas?


PXIe 5450 Multitone Generator Spectrum

$
0
0

Hello,

 

I am trying to generate multitones using arbitrary waveform option on PXIe 5450. I referred the example Fgen Multitone Waveform.vi. The way I understand it is that you can generate a multitone waveform at the desired sample rate and some number of samples. This waveform is then sent to 5450's memory and then it generates the signal by repeating it over time.

 

The problem I am having is that the spectrum of the generated signal isn't as pure as I get with the standard waveform generator on the 5450. I see lot of spectral leakage that changes with number of samples and the signal frequency.

 

What is the impact of number of samples ? I tried coherent sampling, but that didn't help either.

 

Thanks

 

Mayank

Using gpib-usb-hs with VISA on SUSE 13.2

$
0
0

Hello,

 

I am trying to communicate with some GPIB devices using the GPIB-USB-HS on SUSE 13.2. I have installed 488.2 and NI-VISA, and ran the AddUsbRawPermissions.sh script to get the permissions correct for my user. At this point, the VISA Interactive Control can find the USB raw device, but it does not find any GPIB devices.

 

In order to use the GPIB-USB-HS, should it be configured as a USB raw device, or is there some other configuration I need to set it up with? I have attached the output of lsusb -v for this device.

 

Thank you

9871 half-duplex configuration

$
0
0

I am trying to configure an NI 9871 4-port 485 serial module for half-duplex communication with no-echo.  My problem is I can't figure out how to select the transceiver mode.  Table 3 of the manual (http://www.ni.com/pdf/manuals/372277e.pdf) shows four different modes but it's a mystery to me how I configure the mode.  The module is currently in 4-wire mode where the receiver is always active (if I tie TX & RX lines together, I get back what I send.)   I would like to be in 2-wire Auto mode.   Can anyone point me in the right direction?

 

BTW:  I'm using a cRIO-9075 in scan mode and using Labview 2012 SP1 (windows), In case that matters.

 

Thanks.

Open Visa Error

$
0
0

Hello everyone,

I would be very grateful if someone could help me.

I am trying to communicate with a spectrometer. All is working correctely until I turn it off.

When I turn it on after, I can not execute my program and I get the following error:

 

Error -1073807246: The resource is valid, but VISA cannot currently access it

 

When I go to MAX, my instrument is still existing but It is written "Unknown"

 

I have found an interesting page on ni.com explaning the reason behind this:

 

http://digital.ni.com/public.nsf/websearch/6807113B057FDE4C86256B41008212ED?opendocument&Submitted&&node=133020_US

 

I understood that I am getting this error because the previous sessions are still open.

so I added  "close VISA" whenever I got any error when trying to open a session. In this case the instrument is not detected by MAX and I have to disconnect it and reconnect it.

Can anyone help me in finding a way to use my instrument without disconnection and reconnection it again?

Thanks

 

 

Controlling NI SCXI 1195 with LabVIEW via USB-1359 - Problems controlling switching relays.

$
0
0

Hi all, I searched around the forums but couldn't find this question. First off, I'm using Windows XP SP3, LabVIEW version 8.5, and NI Switch Executive 2.2 with the NI Switch Soft Front Panel. The NI SCXI 1195 quad 4x1 switch shows up correctly in the NI SCXI-1001 switch box under the NI-DAQmx Devices pane of MAX ver 4.2.0.3001.

 

When using the Ni Switch SFP I am able to go to the relays tab and toggle relay positions open and closed, and I hear the relay actuating inside the switch.

 

I created a virtual device in the NI Switch Executive called "AH_Test" (attached as a text file, just change to .xml if you want to import it into NI Switch Executive) that is linked to the switch correctly labeled "SC2Mod4_ivi". This configuration file gives aliases to two channels on the multiplexer, labels the Hardwires, and creates a Route for the two channels. The Route configuration is valid (attached).

 

When using the LabVIEW program "NI Switch Executive - Interactive Control," I can open the virtual device "AH_Test" and generate the correct route string, but pressing connect/disconnect does not actuate the relay in the switch. I can see on the Schematic tab of the NI Switch SFP that the path is connected/disconnected when pressing the corresponding buttons in the LabVIEW program, but the Relays tab does not show the relay switching.

 

I think the problem is somewhere in the virtual device I created; maybe the IVI drivers aren't working correctly? Why can I actuate the relays with the Ni Switch SFP by using the Relays tab, though when using LabVIEW I can see on the Schematics tab the switch toggling but no relays are switching?

 

I attached the files I thought were appropriate - I would greatly appreciate help in determining how to use LabVIEW to actuate the relays in the switch bank. 

 

Thanks!

data adquisition

$
0
0

Hi, I'm working with a multimeter Agilent model 34972A, which I need to get the data recorded in voltage, for this, I realized the communication between LabView and multimeter with serial communication VISA Configure Serial Port VI. The meter records the data through a data acquisition card brand and model Agilent 34901A, I would like to know how to establish communication between the data acquisition card and LabVIEW to record the voltage recorded.

Thank you.

ESP301

$
0
0

Hello All, 

 

I am using ESP301 for control of 2 pairs linear drives in XY Assembly to move a thin wire through a beam pipe. I have the ESP301 connected through USB. The motion and position control VIs when run, don't move the linear drives. Motion control example Vi that was downloaded from Newport's website, can control the linear drive but randomly i.e. the same Vi gives an error in the property node of the write and read command Vi. when the read Visa is fed with some bytes to be read, it most of the time, generates an error. Could someone please provide some guidance.

 

 

Thanks in Advance 

 


How to fix .NET Reference error in TLA5201 logic analyzer using Macbook OS X10

$
0
0

Dear Labview users,

I am trying to use the TLA5201-Logic Analyzer with Labview 14.0.1 on Macbook with OSx.10.11.2 operating system. After installing the labview drivers from the link posted above, the example VIs are not compiled successfully. It seems to have problems with .NET reference. I have been searching thorugh lots of Ni forums but they didn't seem to help at all as they were all based on Windows based operating system. Any help or suggestion on solving this issues would be very helpful. I am even wondering if anyone outhtere was able to even compile any of the example VIs given for TLA5201 logic analyzer? Please let me know. Thanks!

VISA: (Hex 0xBFFF0015)

$
0
0

Hello,

 

Currently, I'm using a GPIB-USB-HS controller, but I keep on getting an error message: VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

 

It seems connected, however I can't do anything with it. On the other side is a Bertan 225 series power supply. Here is the IdMAX screen of the VISA:

 

 GPIB_INSTR.PNG

 

Connection through Measurement & Automation Explorer:

IDMAX.PNG

 

Thanks,

Andrea

 

0xBFFF00A7 Cannot open VISA Test Panel in MAX

$
0
0

Hello Everyone, I have a cRIO-9030 that's running the NI Linux RT and Labview RT 2015.  I am unable to access my serial port (ASRL1::INSTR) using MAX.  I can see them, and the status says "present", but when I try to open a VISA Test Panel, I get:

 

"Error opening resource: visa://169.254.76.146/ASRL1::INSTR    VISA: (Hex 0xBFFF00A7...."

 

I have turned off my Windows firewall and changed the name of the cRIO to something with no special characters.

I have also tried pinging my serial device using a simple Labview project, and I can set my VISA target to "ASRL1::INSTR" (its a visible option).  I can write to a ping command to the target without an error, but I never get a response and the read command times out.

 

Any ideas, and thanks for the help?

Insteument automation Basics

$
0
0

I'm pretty new to instrument control, after readin the online material these are the things i could gather.

 

1. You can connect to any instrument which supports IEEE 488 GPIB 

2. You can connect to instrumrnt via GPIB,USB and Ethernet ( provided instrumrnts supports them )

3.Download the driver from IDN net

4.YOu can start controller the device

 

Now my questions are

1. For GPIB Connection on the PC side we need a GPIB card (controller)? Is it Mandatory?

2. If we can connect via USB, then why do we have to invest in a GPIB card?

3. Where does Ethernet fit into this?

 

Appriciate any pointers on this.

 

Regards,

W

Keithley 2400 configured as a meter (not a source) in labview 2011

$
0
0

Hello all,

 

I am new regarding using Labview, and would like to ask you regarding an issue.

 

I am using Labview 2011 and have a Keithley 2400. I installed the latest driver provided by NI (1.2.5 I think), and wanted to get the readings out of the Keithley.

I checked the examples provided for Keithley but they were all dealing with the Keithley 2400 as a source (Voltage or current sources) and IV characteristics.

I wanted to use it as a current or voltage meter? Are there any way to do so?

 

Thanks in advance.

Viewing all 5676 articles
Browse latest View live


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