LabWindows and gpib

HII all! I'm new to labwindows, want to develop an application to automate the instruments (controller and data movement counters) using the gpib interface. I want to know if I have to install the system initially with connections to the gpib controller before you actually start with the programming part? I want to know the development process in labwindows who can help me in a way faster and better to develop. Thank you in advance!

Wrong forum. You want the forum of LabWindows/CVI or instrument control forum.

Have you gone through the tutorials and samples? There are many examples that are provided with the product OR, and most of the answers can be answered by just looking at. Yours looks like one of them.

Tags: NI Software

Similar Questions

  • LabWindows and Vista

    We are about to upgrade to VIsta using LabWindows, and I'm sure that a lot of people out there have experience with this.

    Y ' All could let me know or give links to:

    -What need whatch out for

    -Learn about the issues

    -Availiblity pilot

    -No problem with older versions of LabWindows with Vista

    -Anything else I might need to know.

    Thank you

    Joe v

    Hey Joe,

    Of the perspective, NOR a majority of our Vista information are on the National Instruments for Microsoft Windows Vista product compatibilitypage. This page lists software, tool box, driver, etc. of the information about Vista.

    A few quick CVI specific notes I can add are:

    • 8.1.1 the CVI was our first version supporting Vista.
    • All our known issues are documented in the Readme of CVI file
    • With older versions of the CVI (8.1 and earlier versions) on Vista is not supported and we do not pretend that compatibility. However, having said that, we did some basic tests to see what worked. The majority of areas which did not have cause of Vista UAC, so if you fading, older versions of the CVI will work a little better. Even with UAC disabled, there was some questions that we have achieved. Overall, I would suggest using 8.1.1 and later to be sure.

    Hope this helps some.

    Best regards

  • Insulator usb and GPIB-USB-HS

    Hi all!

    I'm trying to control a range of aglient with a labview program.

    everything works well, but for my application the scope must be one reason other than the computer.

    so I bought a usb isolator: http://www.bb-europe.com/product_family.asp?FamilyId=651

    but when I plug the reach through it, it is no longer recognized by windows. If I plug the GPIB-USB-HS only, it is not recognized nor.

    GPIB standard speed is 1.8Mbits / s, so I chose the UH401SL (low speed), and the GPIB-USB-HS is compatible with USB 1.x, so for me it is not a problem of transfer speed...

    any ideas?

    THX

    Power would have been a problem, but the speed was probably just as well. The GPIB-USB-HS is designed for USB 2.0 high speed, but also works with USB 1.1 Full Speed(12 Mbits/s). It is not designed to work with USB Low Speed, because most computers with USB implemented USB 1.1 or later. It is virtually impossible to find a USB port that does not support Full-Speed at, but apparently this insulator is an exception. Low speed is usually reserved for devices with needs bandwidth close to zero, as keyboards.

    I must also point out that the maximum speed of the GPIB-USB-HS is 1.8 MB/s, which is of 14.4 Mbps, before taking into account overhead Protocol USB or traffic from other USB devices on the system. This puts a little above the capabilities of Full-Speed USB, and much more than can be supported with USB low-speed.

    -Jason S.

  • Using PCI and GPIB-Enet drivers set

    We need to use a PCI and Enet GPIB controller at the same time under Solaris 9.

    Is this always the case that it not there no driver unified for the PCI GPIB card and the Ethernet GPIB for Solaris (Solaris 9) controller, as shown in your post on the forum of April 2004 (pfrogers and JoshuaP)?

    If there is no unified driver, is it possible to install two drivers in different directories, and then compile a program that will access both devices having carefully he use different files for header C and libraries, according to what access controller?  It seems to me, the answer will always be no, because your API GPIB function calls will have the same name between the two controllers, so there is no way to specify what (PCI or Enet version) function to call.

    Thank you.

    Hello

    Thank you for your message.  Yes, it's always the case that there is no unified driver for the PCI-GPIB card and controller ENET/GPIB for Solaris 9.  You are also right in your assumption that you will not be able to compile a program that will allow you to access these two drivers in different directories.  I apologize for the inconvinience this may cause you.

    Have a great day!

    Kind regards

    Todd v.

  • Can't control RS232 and GPIB devices simultaneously with labview.

    Hi all

    I have a thermostat that has a RS232 to my computer connection and a counter from the source which has a GPIB to my computer USB connection.

    I have screws that allow me to control each device separately. But when I did a VI to fight them together that I can communicate with the GPIB device, but not with the RS232 device. I think that the VISA GPIB and RS232 VISA having a problem to determine this.

    Do you know what I could try to fix this?

    Thanks for your help.


  • 7001 2001 Keithley and GPIB Analyzer +.

    Hello

    I have an old system consisting of an old PC with BACK, and via an ISA GPIB card connected to a Keithley 2001 D.M.V. and multiplexer Keithley 7001 (card1: 40CHs relay 2 poles and map 2: 10CHs 4-pole relays are inside). Software runs under DOS, what are the measures of tension and resistance with the digital Voltmeter via the 2-pole relay and previous resistance via the 4-pole relay. The source code is not available.

    We bought LabView2010full, as well as a PCI-GPIB + Analyzer card.  I began to analyze the communication in this system by MAX.

    What I would do, is "clone" of multiplexer from the old system and the reason for the measure and do the same thing in LabView. For the most part, I understand what I see in the captured GPIB communication, for example these lines:

              --  --  --     UNT UNL UNT LA27 TA1
              --  --  --     :SCAN (@2!1,2!3,2!5). END
              --  --  --     UNL UNT LA27 TA1
              --  --  --     :TRIG:COUN 3. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :ROUT:SCAN:EXT:FUNC (@1:3),'FRES'. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :TRIG:COUN 3. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :ROUT:SCAN:LSEL EXT. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :TRAC:FEED:CONT NEXT. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :TRAC:CLE. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :TRAC:FEED:CONT NEXT. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :STAT:MEAS:COND?. END
              --  --  --     UNL UNT TA28
              --  --  --     0. END
              --  --  --     UNT UNL UNT LA28 TA1
              --  --  --     :INIT. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :STAT:OPER:TRIG:COND?. END
              --  --  --     UNL UNT TA28
              --  --  --     2. END
              --  --  --     UNT UNL UNT LA27 TA1
              --  --  --     :INIT. END
              --  --  --     UNL UNT LA28 TA1
              --  --  --     :STAT:OPER:COND?. END
              --  --  --     UNL UNT TA28
              --  --  --     0. END
              --  --  --     UNT UNL UNT LA28 TA1
              --  --  --     :STAT:OPER:COND?. END
              --  --  --     UNL UNT TA28
              --  --  --     16. END
    

    The multiplexer (GPIB address is 27) is ordered to use its 2! 1, 2! 3 and 2. 5 channels for son 4-measurement of resistance and the digital Voltmeter (GPIB address is 28) perform these steps. These measures of resistance 4 son takes some time, so the PC is permanently checking wheather they finished yet or do not by repeating the last four lines.

    My problem is why "16" decimal values are there? In fact, when the DVM ends this particular measure, the answer to the question

    STAT:OPER:COND?
    

    becomes 1024. With regard to the Keithley (Manual keithley) manual, page 329, on figure 4-24, 16 is not an answer for the statby: cond. 1024 is okey, this means that the digital Voltmeter is inactive. But 16 is not a valid value. In any case, I understand that this means that the device is always busy with the previous measure, but why 16? With respect to the manual, the number must be 512 instead of 16...

    I am new to GPIB, if someone could explane this gap for me, it would be nice... A simple manual would be even better, part of the manual Keithley's GPIB is not really practical...

    Thank you very much!

    PS. : I joined the capture file exported comm of GPIB.

    Okey, I think I'm finally on the right track... If someone gets into a similar situation (you need to treat gpib on first use), I advice to see a simple example program:

    Like this:

    http://www.Keithley.com/base_download?dassetid=11901

    It really helps a lot, understand the basics in GPIB comm, when you have to deal with a digital Voltmeter and a MUX at the same time...

    concerning

  • Problem using labview and GPIB

    Hi guys,.

    Finally got recognized my tool GPIB in labview, which is nice. I created the block (attached you can see you diagram) but it works like 20 sec. I press run continious and I can change the values in direct mode, as I hear it. But then after 10 seconds, it appears the error that is in the screen and only works again if I reboot the function generator.

    The model is Tektronix AFG3102.

    Concerning


  • How to synchronize streams RS232 and GPIB in labview

    Dear all, SOS.

    I built a system with 2 instruments GPIB and serial RS232 1 instrument.

    The VI works well with high light performance. But when I run the program normally with games step by step, what I get is only the stream GPIB. The serial data is not found after reading the GPIB data.

    I wonder if there is a sync issue. If so, how can I get these two data streams synchronized?

    BTW: I was trying to use the RS232-GPIBCVA converter to connect GPIB, but always had error6 at visa read. I still can't understand. Without the GPIB-RS232 converter, data can be read with the series making.

    I'm fighting this case several days, hope you guys can give me some suggestions!  Thank you very much!

    Zhenxing

    A quick glance and I don't know why you need all local variables. And even if you have bunches of error wired inside all of these structures from sequence (you should also get rid of), you have not connected to the indicators or pass them to the sequence of the sequence. I have a question some of your other codes. With each iteration of the inner loop, you can reset each instrument. It is highly unlikely that you need to reset or initialize the serial port more than once.

    You will need to also get rid of the constant cable outside during the end of the Terminal loop. Using the button abandon, this isn't the right way to stop a program.

    Highlight the performance slows down the program in a little. You may need to add some delay. Run in normal mode and set breakpoints so that most of the code that runs at a normal speed. By the process of elimination, you will finally find the area problem.

    p.s. These are Keithley instruments, you should really try the drivers that are available.

  • Interface and installation of my instrument with lab view and keithely, GPIB-USB-HS

    Hai...

    We have 236 Keithleu and software vision lab and GPIB-USB-HS. I had the GPIB software installed is OR-488. 2 3.1.1

    Now, I had the indication like that.

    1. in Kethely no indication

    2. in GPIB +'s got orange led in ready icon.

    3 but if I runt the program I found no results.

    So can you me the interfacing of the keithlye and alo for the GPIB and also computer.

    Regads.

    The pilot here can help you. I suggest you first learn how to set up the action manually. Then study the programming guide to understand what commands you need and the settings for them. Good luck.

  • Installation of NI-VISA and NOR-488. 2 on Mac

    I have a new Mac on which I am trying to install instrumentation OR (VISA and GPIB) pilots, and things don't work any tips would be appreciated. I downloaded the most recent version of these two (14.0 visa) and 3.0.1 for the GPIB, ran the installers (restart the computer between the two installed) and then tried to run the VISA configuration utility and the GPIB configuration utility to verify that the drivers were ok (at this point, no measuring equipment is attached to the machine (ultimately, the material will be a USB-> RS232 adapter and a USB-> adapter GPIB).

    The two configuration utilities crashed running. Config GPIB obtained in what concerns to the top of its window and then crashed a few seconds later; NI-VISA never even managed to finish to display the home screen.

    In reviewing reports of incidents, accidents seem to be in the OR-PAL driver at low altitude. The report indicates that

    / Library/Frameworks/nipalu. Framework/versions/1/nipalu

    Abort() called

    Poking around the list of files mentioned in the uninstall NOR-PAL guide, it seems that the kernel extension nipalk.kekt was not actually installed correctly (it is absent of/Library/Extensions and/System/Library/Extensions, and according to the uninstall folder, it should be present in both. I tried to copy the kext above a machine that does not have a functioning VISA/GPIB install, but OSX refused to load because it has not actually been installed.

    My plan right now is follow the uninstaller for VISA, GPIB and NOR-PAL and then try to run the installers, but I fear that I will end up in the same place. Y at - it something special or something needed to get these drivers to install correctly (i.e. should things be installed in a specific order, should I try to install VISA 5.4 and then do an upgrade installation 14, try to sacrifice a goat, stuff like that)?

    The material is a Mini Mac OSX 10.9.5 running.

    Thanks for any help.

    And just to follow up with a few additional details, I went through the same procedure on a second Mac that was fresh out of the box. When running Setup for NOR-488, one of the things that we tried to install was an "Update" the subsystem NI Core Services of pilots. This was despite the fact that the VISA facility has implemented a much newer version of the kernel drivers.

    Thus, it seems that the problem is that NEITHER-488 Setup does not correct version control before overwriting the subsystem of pilots. He obviously checked that the driver has been installed, since the action has been listed as "update" instead of "install".  At least in principle, running the installer of NOR-488 first, then the VISA installer should work, but for some reason some the only time where I tried in my tests, it did not work. Maybe, I haven't had a full work of sanitation among other failed attempts. Just for the record, is the sequence that seems to work

    (0) remove all traces of any agreement, failed to install. Follow the steps described in the files uninstall.txt for NOR-488. 2, NI-VISA and NOR-PAL. The uninstall for this latter guide is located in/Library/Application Support / National Instruments/NOR-PAL

    (1) perform a standard installation of NI-VISA 14.0. Restart the computer. Check VISA works (just run the config utility)

    (2) perform a standard installation of NOR-488. 2 3.0.1. Restart the computer. The VISA and GPIB crash when access

    (Optional) curse (2A) to the length

    (3) perform a standard installation of NI-VISA 14.0. Restart the computer. The VISA and GPIB should now be functional.

    Tested on a pair of 'Late 2012' Mac mini OSX 10.9.4 running. One machine was Labview 2014 before you install the drivers for the instrumentation, the other had not installed LabVIEW.

  • Window and rescheduling content in accordance with the resolution of the screen

    Hello

    I wrote a program LabWindows and drew a UI according to him. The software is now used on another computer which is much lower display resolution. This leads to the problem that not all content is visible.

    Is it possible for the scale of the user interface compared to the available resolution without writing a lot of code?

    Thanks in advance,

    Christoph

    You can use the resolution setting and scale content on resize the attributes of the Group of experts, as well as SetPanelSize, to get the full scale of the Panel and controls according to the display resolution you use. See this knowledge base entry for more details.

  • How visa or GPIB

    Dear Sir / Madam,.

    I do a program of measure of stability by using Labview and GPIB-USB-HS connected to Keithley. But I have a few questions.

    (1) I can read the signal from the Keithley by using . I saw this method to an example on the site. My question is why should I write before I read? And how can I stream (using the while loop)?

    (2) I also read the signal from the Keithley by using my question; What is the best way (more accurate) read the input method or voltage signal? Why I can't just READ without writing.

    (3) I want to draw the samples I've read in a chart.  X - is the time, Y is the amplitude, but I need your advice for that? !! .

    Thanks in advance

    Ali Al-Omaishi

    PS: Both VISA and GPIB programs in the file attachment.

    Hello

    VISA is the preferred method, as with VISA, you can read and write to the instruments on all buses available on this instrument.

    e.g. GPIB and USB and series.

    You should open the connection of visa that only once in your program, make the necessary entries and read, just before the end of your program, you need to call close.

    On your question, why make an entry if you want to only read is that the instrument has no way of knowing that you want to read, and especially what you want to read.

    PS what Keithley instrument you speak? And there is not an available instrument driver at OR or Keithley?

  • Driver for Keysight 34461 A DMM instruments works with GPIB, errors with USB

    I try to remotely control a DMM of 34461a Keysight using the driver of instruments located here:

    http://sine.NI.com/apps/UTF8/niid_web_display.model_page?p_model_id=21589

    The pilot of the aircraft works like a charm the DMM is connected via GPIB, but it error when connected via USB.  I've isolated the problem to "Default Instrument Setup.vi".  When this VI is called in the case of USB, the device is left in a State which translates by a later call a time-out at VISA Read.  The only way I found to get the instrument still talking after this occurs error condition is turned off.  I have an another 34461a with the same behavior, is probably not a hardware problem.  I can successfully run the example 'Agilent 3446 X series Acquire Single.vi' via USB if I remove all calls to "Default Instrument Setup.vi.

    Everyone knows this unit or a similar problem?

    I use Windows 7, 2014 SP1 LabVIEW, NI-VISA 14.0.1 and GPIB-USB-HS + (OR-488. 2 14.0) when using a GPIB.

    Since the Readme file

    3 known issues

    Agilent IO Suite must be installed to use the USB interface.

  • (My Labview executable built) has encountered a problem and needs to close.

    All,

    I built a labview executable that interacts with the GPIB and the Texas Instruments EV2300 via USB.

    The VI works beautifully on the development computer and I built the VI in an executable file and it works fine on the development computer.  So, I built a Setup program that installs running Labview 2010 on the target computer.  I ran the Setup program on a computer on the production line I know can run GPIB and the EV2300, but when I try to run the executable I get an error that says: ""(votre demande) has encountered an error and needs to close.""

    I can get labview executables that do not speak of GPIB or USB to run on the target computer, then it is not the execution environment.  And I VB6 applications that can run EV2300 and GPIB interfaces smoothly.

    I don't do anything weird with the paths to files in my program, only the creation of the railways using the VI canned to convert strings into paths.  Under the program, I've read some text files and write a.

    Is there anything that I need to know how to build an application with an installer?  I need to get up and running so the test program can work on a production line.


  • Problem with the connection to USB6008 OR LabWindows

    Hello world

    I make a program in LabWindows and so far, I've had two instruments running without any problem. But I try to add a USB6008 OR the program. I downloaded something called "NIDAQmxBase" and has added a file called "NIDAQmxBase.h" but I can´t find the file ".fp" and so I have no function to communicate with the instrument.

    Can someone help me?

    The 6008 can definitely use DAQmx.

    Without worrying about the chouce on the daqmx package to install, you must install it AFTER the CVI has been installed, and in the installation process, you specify to install support for this development environment.

    After that, you should see daq function in the menu of the library (if the corresponding item is gray, go to library > customize, mark the check box, press OK and restart CVI to see the menu filled with the functions of data acquisition).

Maybe you are looking for