USB or GPIB LabVIEW Interface

I have a question about making an interface from a computer to some instrument using LabVIEW with a USB or GPIB connection. Before I run the program, I must select the instrument from the resource name control. I run the program a couple of times and if I'm going to select the instrument again, the instrument appears to repeats itself and it shows up an strange icon. Can anyone explain to me why does this happens? Thank you.
Attachments:
icon.JPG ‏38 KB

Hello Dennis, I hope you are doing well. I understood what you said about having an existing session opened with the instrument. The problem is that in my program, I need to have a while loop to measure multiple readings and average them inside the program. If I leave the initialize and close VI of the the meter inside of the while loop, the instrument with reset itself each time the while loops finishes its run. For that reason, I need to leave the initialize and close VI outside of the while loop. Because of this (I think) is that when I stop the program the session between the instrument and the LabVIEW is not closed and when I run it again it opens a new session. Is there a way to fix this? I included an example of my program in this message. If you are missing the functions of the instrument and you want to see them, it's an Agilent 34405A Digital Multimeter. Thank you.
Attachments:
Measurement Example.vi ‏19 KB

Similar Messages

  • Whether Loading a Labview Program in SEWELL(USB to GPIB) adapter is possible

    hi,
    i am using a SEWELL(USB to GPIB) adapter for communication between PC and GPIB instruments whether Loading a Labview Program from PC to SEWELL(USB to GPIB) adapter is possible,in that adapter it has only USB and GPIB port there is no other port or Reset button is there for loading the program.if it is possible please tell me how to load the program to that adapter.
    WIth regard's.

    Your question makes no sense at all. You do not load a LabVIEW program to the adapter.
    A google search shows that you are not even correct about the type of controller. Sewell sells the prologix brand and you just have to go to their web site for examples or search here for prologix.

  • Adaptation of LIFA (LabVIEW Interface For Arduino) to other Arduino compatible boards

    Hello evryone,
     I am trying to use a ''Sakura board", which is an Arduino compatible board, having similar programming as Arduino. This board is manufactured by Renesas; more specifications on it can be found on the following link: http://sakuraboard.net/gr-sakura_en.html
    What I would like to know, is if the firmware used for LIFA to interface Arduino with labview, or the ChipKit firmaware, can be used to this kind of Arduino compatible boards.
    My aim, is to use the Sakura Board for acquiring signals from various pins(Be it digital or analog), and setting other pins (Digital) parralelly, using labVIEW, as this is done using LIFA, or LabVIEW interface for ChiKit!!
    Thanks in advance for your support.

    I haven't had any experience with the Sakura board, so can only go on the information on the website.
    I've used the Arduino LabVIEW interface previously, and it basically uses serial communications between the PC and the Arduino. This serial interface is provided by the on-board USB-serial converter (an ATMega8u2 running custom firmware).
    From what I can tell about the Sakura, it appears as a storage device when plugging into a PC, and doesn't seem to have a USB to serial converter. If this is the case, then the LIFA toolkit won't work. That said, my understanding of the Sakura board may be incorrect (for example I'm unsure what operation modes the slide switch changes between). If you can confirm it has a USB-serial port then LIFA may work. I guess the key thing is that the serial port is required.
    You may be able to use a software serial port (http://arduino.cc/en/Reference/SoftwareSerial) on the Sakura to communicate with a PC, though that would require a PC with a serial port, or an external USB-serial converter. This approach would also require you to modify the LIFA arduino code (located in vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base) to reference the software serial port. It's probably a long shot that this will work, as the software serial library has been written for AVR chips, making use of their specific internal timers.

  • LabView interface for SRS DG645

    I need to implement a driver for my SRS DG645 module connected to my computer by an NI GPIB, does a driver already exist in LabView? I need a LabView program interface on my computer seperate of my module to control it. I read that Stanford Research Systems does not assist with LabView programming for their machines, and so I have yet to find a LabView interface created for this module.
    Thanks for any help!
    Kelsi

    Hi zeddy and others.
    Sorry for replying on old post but i got just the same question.
    I will be using SRS DG645 for my project on LabVIEW 7.0.
    Do i need any driver for it?
    When i search at NI website, i found some plug and play drivers for DG645.
    but there are no driver for labVIEW 7.0.. 
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=D62E8D508F9832E6E0440021287E6A...
    Plus, the drivers need NI VISA 5.2 version to work.
    Does that version with my LabVIEW?
    Here is the compatibility table of Ni-VISA and LabVIEW but there is no LabVIEW7.0 in there.
    http://digital.ni.com/public.nsf/allkb/CF4279A34F855AB186257B1F00003B82
    Can you help me with it.
    Thanks in advance.
    Regards,
    Eki

  • Interfacin​g a USB signal in LabView

    I am trying to acquire the signal from a Vernier LabPro USB connection with LabView. Any suggestions?

    StefanM,
    Thank you for your question regarding interfacing your Vernier LabPro with LabVIEW. Fortunatly the manufacturer of your instrument provides an instrument driver that is compatible with LabVIEW 6.1 and above. It provides examples and VIs that you can use to interface with your LabPro with LabVIEW. This instrument driver can be found at the following link.
    http://www.vernier.com/labview/software/labprotool​kit.html
    Shea C
    Applications Engineering
    NI

  • Kinect LabVIEW Interface issue

    Hello.  I am hoping someone can help with this problem.  I am trying to get the LabVIEW Kinect Demo.vi and additional vi's (from Kinect LabVIEW Interface Using Microsoft Kinect API) to run on my system:
    64-bit Windows 7 Professional SP1
    LabVIEW 2011 w/ Vision
    Microsoft Kinect SDK (most recent)
    .NET 4.0
    I have been able to get the vi to load without errors, but when I run it I receive the attached error message.
    Error 7 occurred at Constructor Node in Kinect_API.lvlib:Initialize Kinect.vi->Kinect_API.lvlib:Kinect Demo.vi
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer. ========================= NI-488:  Nonexistent GPIB interface.
    Any assistance is appreciated.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    KinectLabVIEW_Error.jpg ‏51 KB

    I apologize for the delay in getting back with you.  Here are the screenshots from the main VI, and what appears to be the problem VI from the error message.  It appears as though LabVIEW finds the files correctly, but this error pops up which says it can't find a VI.  Thanks for helping me with this issue.
    Attachments:
    KinectDemoVI.png ‏77 KB
    InitializeKinectVI.png ‏75 KB

  • How can I capture live video and still image by a DirectX compatible USB webcam using LabView ?

    Dear forum members
       I'd like to design a user interface which shows a live video and capture still images for it by a DirectX compatible USB webcam using LabView or NI Vision Toolkit, how can I do this ? and If this is possible How can I reach the webcam DirectX filter properties and set them using LabView ? I would be grateful to anyone Who lead me to the correct solution.
        Sincerely
        Cem DEMiRKIR

    Cem,
        With our example programs you can acquire and save an image (IMAQ >> File Input and Output >> Snap and Save to File.vi) from one camera, if you double the VI's to create the image and the image task, you can easily have one program acquire and save for two cameras.
        I may need more information on what you mean by calibration.  Do you mean basic camera setup?  That can be done in Measurement and Automation Explorer by setting up the options within the IMAQ settings for each camera.  Or do you mean more complex calibration for special types of images?  The more description of what you mean, the better I will be able to help you get it done.  You mentioned zoom and motion parameters, what kind of motion?  Our vision drivers only control triggering the camera to acquire, then analyzing, processing and displaying the resulting image.
        If you have more details on exactly what you want to do, that would be great.  Let me know if you have more questions, thanks!
    -Allison S.
    Applications Engineering
    -Allison S.
    Calibration Services
    Product Support Engineer

  • Does anyone know how to comunicate with a USB port using labview 6?

    Does anyone know how to comunicate with a USB port using labview 6?

    Unfortunately, there is no way to communicate directly with a USB port before LabVIEW 7.0 and VISA 3.0. With the new releases, there are functions called "VISA USB Control In" and "VISA USB Control Out" that give you direct access to a USB port.
    You can definitely communicate with DAQ, Serial, or GPIB devices that are connected through a USB port, though. This is done seamlessly through the NI-DAQ, NI-Serial, and NI-488.2 drivers.
    Luke S.

  • GPIB Labview NI-DAQ, Micro 1401 and Windows 7

    Does anyone know if:
    a) GPIB, Labview/NI-DAQ is essential for running a Micro1401 unit?
    b) If it is, will it work in Windows 7 please?
    Thanks loads!!!!!
    Jo

    If you mean this then I cannot see any easy way of making it run in LabVIEW... unless you have an older version of the Micro1401 that has a GPIB interface?
    Mark B
    ===If this fixes your problem, mark as solution!===

  • Trouble connecting MCC USB 1208FS to Labview 10.0

    I have trouble in connecting MCC USB 1208FS with Labview. I can see that the MCC card is detected through the InstalCal software of MCC. I am not able to see it on Labview interface. How to confirm that MCC device is connected with Labview. I have installed the latest MCC software and have Universal Library(UL) installed. I could see the UL functions listed in the Labview "functions>user libraries>MCC data acquisition".

    Duplicate Post

  • LabVIEW Interface VIs for SolidWorks/COSMOSMotion

    Dear Sir/Madam
    I am using softwares Labview 7.1, SolidWorks 2005, Cosmos Motion 2005 and LabVIEW Interface VIs for SolidWorks/COSMOSMotion. I try to solving my project entitled “Tracking of a Two Link Robot”. We give a point which includes X and Y as its coordinate system. To do so, robot will move to this point. However I have a problem to solve my project. Considering to Example(PID Example.vi from http://zone.ni.com/devzone/cda/epd/p/id/3402). that including one degree of freedom. I wish to solve a project with two degrees of freedom. I attached an image of my project in JPG formatting. Could you please let me have a solved problem in same case or helping me in this way?
    Thank you so much for your attention.
    Sincerely yours
    Naser Sepehry
    Attachments:
    assem1.jpg ‏21 KB

    Trevor,
    This has been done for the TMS320C5410 at
    http://www.ti.com/sc/docs/general/dsp/programs/sha​reware/apps_inst.htm
    This will be helpful.
    Roland

  • LabVIEW Interface for third party EtherCAT slaves

    I have a third party EtherCAT hardware (slave) and software. I am using and industrial PC with Intel PRO network card as the EtherCAT master. This setup works fine, and I can talk to the EtherCAT modules using the thirdparty software. 
    Now, I would like to develop a LabVIEW interface to talk to the EtherCAT slaves for testing purposes, since most of my test programs are written in LabVIEW.
    Is it possible to write EtherCAT software in standard LabVIEW 2013 using an inustrial PC as Master?
    If I use the DLL of the third party software, do I need LabVIEW Real Time module for etherCAT communication?
    -Thanks

    Hi rosh,
    I think it will depend on how the DLLs are designed. If you call the DLL at the right rates, you may be able to avoid using LabVIEW Real-Time. If you want to run LabVIEW Real-Time on your PC, you would need to replace the existing OS with LabVIEW Real-Time. Once you do that, you may be able to run your existing DLLs but compatibility is not guaranteed. This KnowledgeBase article describes the process of determining if your DLL is compatible with LabVIEW Real-Time (NI PharLap ETS is what installs when you replace the OS). For our other Real-Time operating systems on different targets, you would need access to the original source code so you could recompile for the new target.
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • I would like to create a pop-up window appear from Labview Interface. In this window, I will have a slide control and an image taken from a camera. The main VI have to run while pop-up window is open. How can I do ?

    When I pushed a button, this pop-up window has to appear. There will be a slide control and a picture from a camera in this window. Is it possible to make appear this windows while main VI Interface continue to run ? How can I do this ? Thank you for your answers.
    Cyril.

    Here you go. This is simple example. Maybe not the best way, I am just
    beginner in LV and still not comfortable with data flow that much. I prefer
    events, so I would change this to use Event Structures.
    When you click on OK button on SliderMain, it opens Slider.vi. Now both
    windows are open and you can interact with both. Now if you click on OK
    again with Slider.vi open, you run into problems. Only thing I did was
    change VI properties of slider.vi, mainly window appearance.
    vishi
    "Cy" wrote in message
    news:[email protected]..
    > I would like to create a pop-up window appear from Labview Interface.
    > In this window, I will have a slide control and an image taken from a
    > camera. The main VI hav
    e to run while pop-up window is open. How can I
    > do ?
    >
    > When I pushed a button, this pop-up window has to appear. There will
    > be a slide control and a picture from a camera in this window. Is it
    > possible to make appear this windows while main VI Interface continue
    > to run ? How can I do this ? Thank you for your answers.
    > Cyril.
    [Attachment SliderMain.vi, see below]
    [Attachment Slider.vi, see below]
    Attachments:
    SliderMain.vi ‏16 KB
    Slider.vi ‏11 KB

  • "problem installing LabVIEW Interface Generator"

    Hello,
    I am running labview 7.1, windows xp sp2.
    I am interested in trying out the new labview interface generator, but something seems to be going wrong on installation.
    I download and run the executable, it unpackages a bunch of stuff pretty fast, then it starts unpackaging an "MDSPlus" package that takes a very long time (20 minutes). Then the MDSplus install wizard comes up, I press ok/next. Then another very long wait while it installs, then finally a message saying MDSplus installation complete, click close to exit which I do. Then that wizard goes away, as does the extracting zip dialog. No errors, everything seems fine.
    But then when I open labview, there is no change: same old tools under tools/instrumentation. There is no "interface generator" on the list produced by add/remove programs (top level or under National Instruments). The only thing added is MDSplus.
    Have attempted several times, rebooted, etc. Still no new tools.
    Thanks in advance
    TR Livesey
    Dynamic Signals LLC

    Hi TR:
    Thanks for your patience.   I think we (at NI) started barking up the wrong tree.  I went back to your original post and notice you said things like MDSplus, 20 minute install time, etc.   I'm wondering if this is something as simple as you are running the wrong installer.  The self-extracting archive file for the LabVIEW Interface Generator tool is named "driverctolv.exe".   Is this what you downloaded and are running?  If not, please go back to the web site:
    https://sine.ni.com/apps/utf8/nigb.guestbook?code=GB_INFOLVINSTDRIVER&lang=US&gb_prof_id=4982&scode=...
    Fill in the info again, select "Continue" to get to the next page.  If you are running Internet Explorer, right-click on the "Download the utility for LabVIEW 7.1" link and select "Save Target As...".  You should see the filename at this point.  Verify that it indeed has the name listed above.   After download then run the extracting archive.  The installer should take no more than a minute or two to install (no where near 20 minutes) and the dialogs should not indicate MDSplus.
    I did a few Google and other searches on MDSplus.  It seems that there are VI wrappers around MDSPlus libraries.  So, maybe you are also using this product separately?  
    If, for some reason, you are indeed launching the driverctolv.exe and somehow the MDSplus installer is being launched, we really need to take a totally different approach to problem solving.  But, maybe you can confirm before we go down that path.
    Again, thanks for your patience.
    Noel Adorno

  • Please I want to make a snapshot from a driverless usb webcam in Labview 2011. I can do that easily using Matlab. Any help.

    Please I want to make a snapshot from a driverless usb webcam in Labview 2011. I can do that easily using Matlab. Any help.

    Please post in the LabVIEW forums rather than the version conversion board.

Maybe you are looking for

  • Macbook Pro to HDTV audio cable

    I'm currently trying to run my Macbook Pro display through a Vizio E370VL LCD HDTV, and while I do get full picture, there is no audio present. I have a Moshi Mini DP to HDMI Adapter I use that supports audio, but after doing some research I came to

  • Java and Flash not working ONLY in Safari

    Ok, so Java and flash stopped working in Safari on my 10.6.8 system. It seems a recent update caused a problem and all of the normal items I have gone through have made it worse or not helped. Java is not working in Safari (My account or guest accoun

  • Music Plays on iPod Touch won't update to iTunes 10.5

    number of music plays on ipod touch won't update to itunes 10.5

  • Select a field having some content from a table

    Hi Friends, I had a requiremen where I need to fetch the field(having some content). I need to select FISTL field which is having some value (not space) from table BSIS into my internal table, so that I need to update this field value for all the lin

  • Updater not allowin to update n70

    cant seem to upgrade n70 to ver 5 it say update to pc did download nokia software updater that now sayin minimum memory 256 requiired how can i updte phone