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

GPIB for Linux

$
0
0

We are in the process of upgrading our Window OS platform to LINUX.  In so doing we have several systems configured with the NI PCIe-GPIB/LB circuit card 780575-01 which comes with Window/XP GPIB Drivers. 

 

The question to the forum (NI) is whether it is possible to upgrade to LINUX with these existing 780575-01 circuit cards by down loading the LINUX driver or is there a hardware change to the existing systems.  Order information for the NI PCIe0GPIB/LB identifies a 779779-01 part number for the LINUX version, however I'm assuming this part number is the same hardware platform but includes the CD for the LINUX driver instead of the Window/XP drivers?  Is this a safe assumption and true?

 

Thanks


Trouble programming Keithley 2400 to source constant current for a time

$
0
0

Hello,

I have been working on a code to program my Keithley 2400 sourcemeter to source a constant current for a given period of time and measure the voltage, output into a waveform chart (which i understand i can easily extract excel files from). I am brand new to LabView and Keithley, but have been reading user manuals and these forums for the past 2 weeks to try and figure it out. So far, I have written about 4 different .vi's and none of them are working properly. I attach the one that I tried to incorporate the timing into. 

When I try to run the program, I am getting the ERR (30) at pretty much every point after entering the while loop. Is there some reset after entering the loop that undoes the previous naming of my GPIB device on the front panel? I'm running out of time to try and get this program working, so that is why I'm posting here to see if anyone can offer me some help.

Additionally, even if I'm not getting this error, I have no idea if the program is going to do what I want it to do, is there someone who can tell me at least that much?

By the way, I AM able to successfully communicate with the Keithley through MAX.

Thank you in advance for any and all help!

PCI-GPIB time out.

$
0
0

I have used 2 kinds PCI-GPIB (one from Agilent, and other from Ni); I have create looping software to acquired the testing data from spectrum Analyzer.

with both computers one with Agilent, and other with Ni PCI GPIB, I have found out that Agilent PCI-GPIB computer continue running looping find forever; but Ni-PCI-GPIB 

computer is failed to acquired the data after 37xx loops count.  Is any one have any idea what configuration that I need to change at the driver level to remove this limitation?

One more for notice:  I have used WindowsXP service pack 3 for both computer with Dell Optiplex GX520.  Everything else loading the same driver.

 

I have duplicated the same failure all the time from Ni-PCI-GPIB computer; it responses null data.

 

Any suggestion will be appreciated.

 

 

 

 

NI-Visa Driver Installation

$
0
0

I'm using VISA Wizard on Windows 8, after it creates both the .ini and .inf files, it generates the following error:

 

"An error has occured that has prevented the driver from being installed onyour computer. One reason for this may be because you lack the proper priviledges to install this driver. You may need to login as an administrator to complete this operation".    

 

I am logged in as an admin.  I suspect the real error is elesewhere. I am using a third party memory controller using desktop with no PXI.  The board is plugged in the PCIe slot.  This board does not show up under "device manager" but does show up in "RW Everything", PCI device search utiltiy.  Trying to figure out why the driver installtion fails.

NI-VISA Driver with Interrupt detection

$
0
0

Hello everyone,

 

I am new to PCI and PCI driver, encounter an problem when use the NI-VISA to program a PCI driver with the interrupt detection.

 

Here is the situation:

 

This PCI card is made of two chips : the PCI9030 pci bridge chip and ET1100 chip (the local chip that connected to PCI9030). The memory of ET1100 is mapped 1:1 to the PCI9030 memory starting at BAR2. Now I want the PCI card generates an interruption when the content of register at offset 0x221 changes.  

 

Capture.JPG

 

I add the interrupt detection (see the figure above or the attachment), interruption removal and disarm following the guide "Using the NI-VISA Driver Wizard and NI-VISA to Develop a PXI(e)/PCI(e) Driver in Windows". However, when I completed and installed this driver in the LabVIEW RT OS, the system can recognize the card, but cannot generate the interruption when the register at offset 0x221 changes, therefore does anyone tell me the reason ? Or tell me how to program this driver using NI-VISA?

 

Any suggestions is welcome.

 

And Thank you in advance!

Instrument I/O Assistant Crash

$
0
0

I am using Instrument I/O Assistant to read data from a scale through a Serial->USB conversion, using LV2012 SP1 (I've also tried this on LV2010 with the same results).

I configure the baud rate, parity bits etc, and that seems to work fine.  

I add the "Read and Parse" step or a "Query and Parse" step, and then try to run the Instrument I/O Assistant.  The Instrument I/O Assistant window closes.  It doesn't throw an error, or a warning or anything.  

Needless to say, the vi where I use the I/O Assistant does not run either.

Any thoughts as to why this is happening?

tektronix dpo 2024 record length

$
0
0

Hello. I'm using Tektronix DPO2024 oscilloscope with labview 2012 via USB. I can read waveforms from it, but I can't get more than 6250 points in a waveform.

I set timebase to 1e-4 s and record length to 10k points. But every waveform  that I get from the oscilloscope has only 6250 points, even if I increase timebase.

Please help.

tek__testd.png

using VI instead of instrument driver for hp 4274a

$
0
0

There are no drivers for the HP 4274A but NI redirects me to this page (http://www.nogi.ch/labview/) to download the VIs for the instrument. 
I downloaded them and had them converted so that I could open them with labview 2013. However, when I start the example VI or any of the other VIs they don't do anything. My 4274a is hooked up and is being read by the NI MAX and GPIB. The GPIB address being used by the VIs is "17" which is what is says on MAX. 
I am not sure what to do. I have the VIs in a different folder than my installed Labview stuff. 

Anyways, I am wondering if there is more to using these VIs rather than just opening and running them. 


Guidance on writing Vi or C/C++/VB.Net Code for ancient Air Data Test Set that uses 488-1975 ASCII Interface Board??

$
0
0

     Greetings All.

 

     I have taken on a personal task to try to automate an ancient Sperry (now Honeywell) ADT-222b Air Data Test Set for work and my drive to learn something new. I am somewhat at an understand of the whole aspect of the workings of GPIB communication after spending a few days doing research.

 

     I guess where I am hung up, to an minor extent, is how to approach the way the ADT-222b reads and writes the GPIB info to and from a program. The ADT-222b programming instructions within the manual and sample conversations works with binary code with each instruction being only 8-bits in length. Communication is from automated test equipment (Controller/CPU) to an ASCII interface board via IEEE-488 connector to the ADT-222b processor then back. Now the manual has listed all the ASCII data bits for the: Bus Words (Listen, Talk, Unlisten, Untalk, Memory Address and Data), Input Memory Addresses and Data and Output Memory and Data.

 

     So my question is would it be useful for me to create some sort of seperate file (a header .h or .cpp file) or independent driver for the ADT-222b to reference a variable to each Bus Word, Input Memory Address, Input Data, Output Memory Address and Output Data since they all have their own defined ASCII data bits (byte) associated with them.

 

     Please throw everything you got at me. I am open to trying anything and learning what I can even if it might be a slow process. I'll learn it one way or the other.

 

     I have tried throwing lines into the Interactive Control with little result that I can see. The ADT-222b does communicate with the PCI-GPIB board installed as I can see it in MAX and see the DIP switch programmed address on ADT-222b.

 

Thank You In Advance..... Robert Haas

viGpibCommand

$
0
0

how read the current measurement with viGpibCommand

VISA write Unknown system error

$
0
0

All,

 

I am trying to communicate with a Microcontroller using serial port. LabVIEW throws the following error at the first VISA vi Instance, let it be configuring serial port or VISA write/read.

 

 

Code- 1073807360 Description - VISA: (Hex 0xBFFF0000) Unknown system error (miscellaneous error).

 

I am able tp communicate to the device using hyperterminal, whereas in VISA I am not even able to configure anything.

 

Thanks for your help in advance.

 

Thanks,

Vignesh

Using DAQmx to close relays

$
0
0

I'm using a pxi2527 car to control a resistance signal across a 4 wire RTD.  In my VI i have set up the topology of the card to a "4 wire 16x1 Mux".  If I have reviewed this topology correctly then when software channel 0 is selected to close, then also software channel 16 should close.  I am never completeing the close of channel 16.  In NIMAX i can view that channel k0 is closing, but k16 does not.  Likewise, when i read the resistance across channel 16 i do not receive any signal.

 

I went an alternate rought and tried to close both relays for channel k16 and channel k0.  Again, i am having no luck with the closing of channel k16.  If anyone can make out what i am doing wrong, i would greatly appriciate it.

 

I have attached a screen shot of the section of my VI that controls which relays should be closed.  It indexes an array that includes all the channels from slot 3 and slot 4.

parameter 2.PNG

 

 

The array that i am indexing is here.

 Array.PNG

I couldn't get the whole thing but Slot 4 is alligned the same as slot 3

Channel 16 = pxi1slot4/k16

Channel 17 = pxi1slot4/k17

Channel 18 = pxi1slot4/k18

 

Thanks,

Matt

how to connect to instruments through RS232 and GPIB

$
0
0

Hi,

  I want to connect SR830 Lock-in amplifier and Agilent function generator using GPIB and RS232 cable respectively. When I connected the instruments and I look in the NI-MAX, it seems labview is not recognizing the interfaces (attched screenshot). Also I have connceted with the DAQ borad and I could not getting any option for VISA dropdown menu for it. I have also connected another function generator using USB and LV is recognising it and it is  working well. But not the other ones. I have installed NI-488.2 (version 3.1.1). Is anything else required? My Labveiw version is 2012 SP1.

 

Thanks,

Premashis

How to make VB6 programs using gpib-32.dll run on 64bit machines?

$
0
0

Please help an old programmer!

I've been using VB6 and NI's drivers,NI-488.2 Version 2.5.2. , under Windows XP for years. I'm writing one now, but it's for windows7, 64 bit and it won't run.

What do I need to write programs for Window7, 64 bit? Can I continue to use VB6 and installand use the NI4882_3 instead of the NI488.2 I'm using?

If I can't continue with VB6, I do have Visual Studio 2005, but haven't used it much, because I have been using VB6 all along. Will I have to use that and NI4882_3?

 

Thanks for helping.

Control of Xbee pro with X-stick in LabVIEW

$
0
0

I have successfully established communication and control of the I/O pins on my Xbee pro via the software from Digi called X-CTU. I am using an X-stick to wirelessly send the data. I am now trying to create a vi to do the same. I am having difficulties. I want to be able to set a certain pin hi or low on the Xbee(pin 21 for instance).  I have searched through the forums and I can’t seem to find what I am looking for. I have attached my unfinished vi for review. Thanks in advance.


Help file for the Plug and Play driver of Agilent Technologies E5071C

$
0
0

I just download the Plug and Play driver of Agilent Technologies E5071C from the below link:
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=5692
I find that there is only some examples and not any help file with detail description for each input of those VIs. Although there is brief description for each VI when I press "Ctrl+H" on the VI,I still can't figure out how to use this driver. :-(
Is there any help files with more detail description?
Or any related examples for my reference? I hope to measure the S11 and S21 of the SMA cables

KUSB 488B not operating with LabVIEW

$
0
0

Hi, I'm trying to establish a connection between an instrument and LabVIEW by using an USB to GPIB Converter (KUSB 488B). Although I installed the driver of KUSB-488B, LabVIEW always shows the same error:  Error connecting to GPIB driver or device (Error 0). The computer recognizes the instrument and also its GPIB address. I use LabVIEW 2011.

It would be great if someone could help me.

 

Thanks.

 

 

USB-9862 (CAN USB) fails (bad FPGA image)

$
0
0

In our production test line (automotive sector), we are using lots of NI USB-9862 CAN boards to communicate with our DUT. However, after a certain amout of time (which can be hours or days following our usage of the device), the USB-9862 only answers to our function calls with "Internal error". When we open MAX, a self-test on the device outputs:

 

"Failed. The FPGA image on the module and the host are different. The module needs to be reflashed before it can be used." (see screenshot)

 

Reflashing the firmware then rebooting the USB-9862 (by unplugging and replugging it) makes it work again.

 

Our software runs under LabWindows/CVI (2012 SP1) 32 bits on Win XP and Win 7 (both OS have the problem) with latest NI XNET library.

 

What is the problem and how can we solve it?

exe error from missing cvirte.dll

$
0
0

I created an .exe on a develoment machine and moved it over to another machine. When I run the .exe on that machine, I get the following error:

"The program can't start because cvirte.dll is missing from your computer. Try reinstalling the program to fix this probelm."

 

I tried copying the cvirte.dll from the system32 folder on the development machine to the instlal machine and the same error occurs.

 

the install mahcine has RT2010 and RT2013 installed and the .exe was developed uisng Labview 2013

 

Does anyone have any suggestions on how to solve this issue?

 

 

 

HM 7044

$
0
0

Hi all,

 

I have a Hameg HM 7044 power supply. I also have a lbview program that should control the power supply.

However, The problem is that when I run the program, it gives me no error but any change in voltage or current is not relected on the power supply. I hjave tried with both USB and RS232 connections. It is as if labview program is not having any control on the power supply.

Is there any hardware setting or switch on the power supply that I have to set in a particular way to allow for control through RS232 or USB? I have looked up the manual but could not figure out what to do.

 

The open vi for HM7044 has choice of connections namely 'COM1', 'COM2'...etc. I have tried all options. It gives connection error only for one of these connections. For all other connections, the labview program gives no error but fails to change anything in the power supply.

 

Thanks a lot for your inputs

 

Best,

chandereth 

Viewing all 5670 articles
Browse latest View live


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