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

VISA Open Error

$
0
0

Hi ,

 

I'm trying to connect my PC to the Ixia Traffic Generator using the NI MAX and using ethernet, got the message:

 

IP address of device: 2.10.2.7 and socket of 23

 

Error opening resource:

TCPIP0::2.10.2.7::23::smileyfrustrated:OCKET

 

VISA: ( Hex 0xBFFF0011) Insufficient location information or the device or the resource is not present in the system.

 

With the same above configuration, I have no problem connecting the device.

 

 

What is the problem? Please help.

 

 

Thanks

 

Phong

 

 

 

 

 


Create an executable build for eurotherm instrument driver

$
0
0

Hello,

 

I would like to know if anyone has or can create an executable build from the instrument driver for the eurotherm 3216 Temperature Monitoring Control vi.

 

I have downloaded the file from the NI website http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=7F14CDCB24923797E04400144F1EF859 .

 

It runs fine when I run the VI from the project explorer, but the moment I create an executable build and load the application, I constantly get this error, Error 7 occured at open File+.vi:smileysurprised:pen File.

 

I will be glad if someone can help.

Virtual USB

$
0
0

Hello -

 

I hope I describe this correctly so please forgive me in advance....

 

I want to create a 9 button front panel VI that will send a predescribed hex string/number to the computer to act as a command in a third party software package.

 

The key is that it needs to be sent through a USB port so the 3rd party software will react correctly. I believe the correct terminology would be a virtual keypad input device that would be interfaced through a virtual USB port. Does that make sense? The third party software needs me to tell it the Com port to look at for the commands to be coming from.

 

I would like to see it as a device on my Windows device and printers screen as a com port. I would also like to be able to watch that virtual port to see the string that was sent.

 

I did quite a bit of searching here but don't see anything as I am asking for it. I am wondering if my terminology is leading me astray in my searching.

 

I tried to add a port in MAX with no luck. It seems to add it but in the VI, it doesn't show up as an available port and my devises and printers screen doesn't show it either. I tried to add Com2 in the MAX screen shot attached and trying to see it in the Visa resource control in the other picture.

 

Thanks in advance for any help you may be able to give me.

 

Steve

HP428XA Close.vi

$
0
0

Hi,

I am a new Labview user.

We use labview to control LCR meter.

It was working fine before.

Recently, when I opened the file, it started to load the file and can't find "HP428XA Close. vi".

I tried to search in my hard drive but couldn't find it.

Could you give me some suggestion to solve this problem?

Thanks

 

Instrument uptime

$
0
0

Hi!

 

Anyone know if there is a way to query the uptime/on-time for a Keithley instrument? Or some other way to get this information?

 

I'm using Keithley 2182A Nanovoltmeter and according to its specification it is only valid after 2.5h warm-up time.

 

Thanks in advance

/Peter

agilent 2000 3000 x-series waveform generator.vi "undefined header"

$
0
0

I am trying to run the example vi "agilent 2000 3000 x-series waveform generator.vi" with LabView 13 but I get "undefined header" error. The example vi "Agilent 2000 3000 X-series Acquire Waveform Continuously.vi" works fine, so I"m comunicating with the DSO-X 3054 scope but unable to control the waveform generator. Any advice will be greatly appreciated. Thanks.

 

Reading measurements from Agilent 34972A with Labview

$
0
0

Hello,

 

I'm trying to measuring from Agilent 34972a by using Labview with no succes. Already i tried the voltage-example from the agilent web seite but it not work. Always time out error. I read some threads here but not realy helped. Is there any working example to simply read any measurement from any channel?

 

thanks in advance

ilhami

Parallel Comunication to GPIB instrument

$
0
0

Hi

 

We have a GPIB instrument (Agilent 33210A Function Generator) and we want communicate from 2 parallels process in the same vi, (2 parallel loops). In labview 2012

 

We try to use the "GPIB status" function to check when instrument is in listen mode. (We check the LACS bit to determine when the instrument is in listener mode)

 

In my program we have  a principal loop and a secondary loop. The principal writes different frequency data to the instrument and the secondary loop try to write a frequency when the instruments is "free".  Sometimes it's works and sometimes it doesn't work.

 

How is posibble to make it? Do anybody in here knows a smart way to do it?

 

Thanks you very much!


Slow Power Ramp Up

$
0
0

Hello, 

 

I have a high power voltage supply.  I need to slowly ramp up the voltage of the power supply, say 20 V per second, up to 1000 V.  

 

I can control the power of the supply manually. For example I can set the power supply to be 100 V run the program, then 120 V run the program, etc. Is there a way to have the program do this automatically?

 

Attached please see my code.


Thanks for the help.


Respectfully, 

 

Andre

Installing NI-VISA and NI-488.2 on Mac

$
0
0

I have a new Mac on which I'm trying to install the NI instrumentation drivers (both VISA and GPIB), and things aren't working so some advice would be appreciated. I downloaded the most recent versions of both (14.0 for VISA and 3.0.1 for GPIB), ran the installers (restarting between the two installs), and then tried to run the VISA configuration utility and the GPIB configuration utility to check that the drivers were ok (at this point, no measurement hardware is attached to the machine; ultimately, the hardware will be a USB->GPIB adapter and a USB->RS-232 adapter). 

 

Both configuration utilities crashed on running. The GPIB config got as far as putting up its window and then crashed a couple of seconds later; NI-VISA never even managed to finish displaying its splash screen. 

 

Looking at the crash reports, the crashes appear to be in the low-level NI-PAL driver. The report says

/Library/Frameworks/nipalu.framework/Versions/1/nipalu

abort() called

 

Poking around the list of files mentioned in the NI-PAL uninstall guide, it appears that the kernel extension nipalk.kekt wasn't actually installed properly (it is missing from both /Library/Extensions and /System/Library/Extensions, and according to the uninstall file, it should be present in both. I tried copying the kext over from a machine which does have a functioning VISA/GPIB install, but OSX refused to load it as it wasn't actually installed.

 

My tentative plan right now is to follow the uninstall instructions for VISA, GPIB, and NI-PAL and then try rerunning the installers, but I'm afraid that I'll end up in the same place. Is there some special trick or something needed to get these drivers to install properly (i.e. should things be installed in a specific order, should I try installing VISA 5.4 and then do an upgrade install to 14, try sacrificing a goat, stuff like that)?

 

Hardware is a Mac Mini running OSX 10.9.5.

 

Thanks for any help.

change recordlength in dpo4054

$
0
0

I am trying to control a tektronix DPO 4054 oscilloscope with labview 2010.

I started from the driver package that is available at ni.com.

Starting from "tkdpo4k Edge Triggered Acquisition Waveform Example.vi", I tried to change the horizontal properties such as time base and recordlength. Although the oscilloscope does use the changed recordlength, the transferred data is not consistent with that change. To reproduce this issue, I just inserted an 'array size' in the example program.

Any ideas how to fix this?

Thanks... 

Connect hamamatsu c9525 to labview via USB port/communication error

$
0
0

Hello to everyone!

 

This was my first attempt at connecting an external device to LabView: I watched a tutorial and tried to follow.

 

I tried to connect the Hamamatsu C9525 HV source to a laptop (Windows7, 32b) using the usb port.

First I tried to install the provided software, written in VB6, and it did not work: I had to download from the internet two .ocx files:

sysinfo.ocx and mscomm32.ocx. After that it worked.

 

Then I tried to set up NI MAX in order to establish communication between LabView and Hamamatsu :

 serial&parallel/COM3

The driver for the USB Serial port (COM3) had already been successfully installed by Windows

when I was trying to configure it in ni-max.

Having completed the ni-max dialogue I opened an axample in labview: Hamamatsu C9525 output DC volts.vi

From VISA resource name I selected COM3_hamamatsuHV as I had named it and an error appeared :

error- 1073807246 occured at visa open... Possible reason: Hex 0xBFFF0072 The resource is valid but visa cannot currently access it.

Went back to NI-max ,selected port, port settings, Validate => Could not open a visa session to "ASRL3::INSTR".visa error code 0xBFFF0072 .The resource is valid but visa cannot currently access it.

On the test panel: is port connected/ error: hex: 0xbfff001d The specified attribute is not defined or supported by the referenced resource.

 

I looked around the forum for these problems, disabled the  "turn off device" from "power management " and the rest but it did not work.

Right now nothing works on that port: not even the originally working Hamamatsu provided program: it gives the same communication error :

COM port # is unacquireble  and "COM port # is not set up"

 

I think I completely messed up the NI-max port setup (in the pdf it said the driver for the device should not be installed but Windows had already done it). 

 

So: how do I undo/delete the ni-max configuration?

what do I need to do in order to properly set up the communication between Labview and hamamatsu ?

 

Please help, I am lost.

 

 

 

Does NI-VISA 5.4 or 5.4.1 Driver Wizard support USB 3.0 devices?

GBIP-ENET/100 device passes NI 488.2 Troubleshooting Wizard, but can't scan for instruments

$
0
0

I recently configured a GBIB-ENET/100. It passes the NI-488.2 Troubleshooting Wiazrd. However, when I go to scan for instruments I get the message "The GBIB1 (GPIB-ENET/100) interface has been configured.". It then tells me to run the Troubleshooting Wizard to correctly configure the device, the Troubleshooting Wizard shays that everything is fine. Any help resolving this would be appreciated.

byte to decimal conversion

$
0
0

Hello, 

 

I'm having a problem to read data in a binary format from a an instrument. according to the manual  The instrument send data as a word - a two byte format - in the following order:

 

The MSB is sent first. The LSB is sent last. EOI is sent with the LSB. 

 

I read it as a string and can convert it to bytes array.

 

how do I turn it into a real number?

 

thanks


MAX can not find a USE INSTR device

$
0
0

Hi all,

 

I am connecting a USBTMC compatible device to PC-computer, and the OS installed IN VISA driver automatically . It shows the device is a "USB Test and Measurement Device (IVI)". But NI MAX can not find it. Does anyone knows what happened?

Comunicating with endpoint in VISA USB Driver

$
0
0

Dear All,

 

I am a new User of Labview ,

 

I need to develope a Temprature Data Logger Software in LabView by using  Pico Technology Data Logger PT104  HW,

 

it use endpoint  0x01 and 0x81 as command comunication and endpoint 0x82 as logging temperature data.

 

Please Let me know How could I take stepping in VISA Driver and using in Labview ? 

 

Best Regards.

PHD 2000 pump

$
0
0

Hey, I try to control the infuse flow rate of the PHD 2000 pump. I can set the flow rate through pump panel but not through LabVIEW PHD driver (specific to this pump) downloaded from ni. com. How to set the infuse rate of PHD 2000 pump through LabVIEW?

Eurotherm 815 Modbus which I/O items refer to the SP, PV, etc and how do i access them

$
0
0

I'm writing a labview vi to access the SP,PV and ramp rates etc on a Eurotherm 815 Temperature controller.

I'm using Modbus to acess the eurotherm. Have created an I/O server and a list of items has appeared.  I'm not sure which items refer to the eurotherm parameters

and how to comunicate with them/

 

I've added a pic so u have an idea what i'm talking about. I need help detemining which i/o items refer to to which parameter mnemonics.

Any help would be appreciated

ni dc power

$
0
0

Hi,

 

I have installed NI DCPower v1.7. But, i could not find the examples in C language.

 

It would be great if some one guides me in finding the examples.

 

Thanks

Chakravarthy Sulva

Viewing all 5670 articles
Browse latest View live


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