How can i use multi threading in labview?

i want to run a Digital storage oscilloscope and an energ ratio meter simultaneously using labview. i am using GPIB interfacing and windows XP. how can i do this using multi threading. Bot the instruments shd run and give data at the same time.

You can't do this - at least not with a single GPIB board. It has nothing to do with threading or LabVIEW. There can only be one talker at a time over the bus. Depending on the instruments, you could probably set them up to take measurements simultaneously but you have to sequentially poll them to get the data.

Similar Messages

  • How can i use activeX Control in labview?

    how can i use activeX Control in labview?
    please describe me step by step.
    thanks.

    Well..that was quite helpful..but now I'm encountering certain problems. I've attached the VI I've made.
    I don't need sound at the moment so I dropped it. (Although I tried to play it..but all I could hear was a very annoying sound.) Secondly I don't want to display any date or time..so i dropped that property too.
    Now when I run this Vi...the webcam turns on, the screen of videocapx pops up..then the webcam light goes off..and another pop up appears saying..labview is not responding..and i have to close it reluctantly.
    I haven't placed the stop capture property in this vi. i checked it by placing it too..but that doesn't work.
    I would like to notify that my actual task is to acquire image and then compare it with another one already present on my pc. I want you to please help me out..solve my first query then I'll proceed with the latter part.
    Attachments:
    activexvideocaps.vi ‏20 KB

  • How can i use multi group view criteria in jdeveloper10g?

    Hi.
    i'm using jdeveloper10g.1.3.50,i want add multi group viewcriteria,but can't found ViewCriteriaItem.
    eg.select x from x WHERE ( (( (a = 1) ) OR ( (a = 2) ))
    AND ( (b =1) or (b = 2)))
    how can i use multi group view criteria in jdeveloper10g?

    Hi,
    Did you try with viewcriteriarow.setConjunction?
    http://download.oracle.com/docs/cd/B13597_05/web.904/b10391/oracle/jbo/ViewCriteriaRow.html
    -Arun

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I use local variable in LabVIEW-Action?

    Hi All!
    There is local variable (for example "MyVariable") in local scope of project. There is Action-step, created by LabVIEW. One of input terminals step is "Sequence Context".
    How can I access to MyVariable by Sequence Context? Unbundle? It does't work.
    Thank you.

    On the TestStand palette there is a VI called TestStand - Get Property Value.vi.  Use that.  Attached is an image showing how to use it.  The trick is making it produce the correct data type.  Do that by right clicking on the VI and selecting Select Type.  Then you can choose the type.  I think in LV 2010 and TS 2010 it is a polymorphic VI and you can just change it.  I wrote an example here for Chaz: http://forums.ni.com/t5/NI-TestStand/How-to-execute-two-steps-in-parallel/td-p/1449874
    It's the second example that's attached.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    AccessLocalVar.JPG ‏67 KB

  • How can i use NXT toolbox in labview?

    Hi i am newbie in labview and trying to get Lego RFID communicate with labview.
    But i couldnt get it done. because i could not understand how to connect each other toolboxes. 
    there is no describtions for newbie, but words what i cannt understand, like buffurs thing. T.T
    attached file is the .vi file what i messed up and plus, somebody's RFID circuit which i can not use.
    please save me.... T.T
    Attachments:
    RFID2_NXT.vi ‏37 KB

    Please post to the Mindstorms board - http://forums.ni.com/t5/LabVIEW-for-LEGO-MINDSTORMS-and/bd-p/460
    You can click on Options and request the moderator to move this.

  • How can I program Multi Monitor with Labview?

    I must use more the four  Monitor in my program,one panel at a monitor,How can I programming to decide the panel in difference monitor?
    thanks

    duplicate

  • How can i use modal analysis in labview and Sound and Vibration toolset in my structural studies.

    I am working on structural analysis of buildings during earthqauke.I ahve NI 4472, labView, sound and vibration toolset.Now i also want to carry out Modal Analysis. Where can i find thisin NI software.

    There are third party software packages that support modal analysis. These include IDEAS from MTS, Smart Office from m+p, and ME Scope. You can use LabVIEW to save a file or export the data directly via Active-X. If you have some specific functions that you would like to see implemented in LabVIEW, drop a note to one of our developers, Hui Shao or myselfat : [email protected] on what you would like to see.
    Kurt Veggeberg, BDM Sound and Vibration.
    [email protected]

  • How can i use multi-windows technology in JAVA

    I am developing a java application with JBuilder4, and now i want to make a multi-window application,which can be created dynamically, also the window can contain the button and line drawing i need.
    Please reply in detail because of my first learning java, thanks.

    You can try JInternalFrame, here is the tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html
    Good Luck!

  • How can I use the NI PXI-6508 with Lab View 7? what are the first steps to get started??How can I use the channels with lab view 7????

    I have a 8 slot PXI system with 2 NI PXI 6508 and 1 DMM 4070 in it. I want to get started with programming the digital I/O cards (6508)! How can I use this cards with LabView 7?what is the best way to get started, or where can I get examples showing how to use the several channels?
    Thanks!
    Philipp

    Philipp,
    The best way to get started is to decide if you want to use traditional NI-DAQ or NI-DAQmx. Recently we released NI-DAQ 7.1 which provides NI-DAQmx support for the PXI-6508. In my opinion, NI-DAQmx is more efficient and much easier to use.
    To get started with examples, simply launch LabVIEW and go to Help>>Find Examples. Then expand Hardware Input and Output>>DAQmx and select the appropriate digital group for your application. This should help get you started.
    Please repost if you need addition assistance. Good luck with your application!

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

  • How do we use if statement in labview?moreover can i use if statement inside for loop?

    how do we use if statement in labview?moreover can i use if statement inside for loop?

    The if statement in LabVIEW is the Case structure. You can find that on the Structures palette right next to the For Loop. If you're still on the same subject about terminating a for loop early, then what you do is enclose your functions inside the loop with a case statment and make one of the case's empty except for one or more constants that you might have to wire. Hopefully, the attached picture will explain what I mean. Also, as I mentioned in one of your other posts, I think this technique is not as good as using a while loop. The array in the attached example is the same size no matter what and you may have to handle stripping extra or invalid elements.
    Attachments:
    For_Loop_with_Case.jpg ‏21 KB

  • How can I communicate the instrumnet in labview using RS485 interface?

    I am using NI USB RS485 to connect the instrument, but I donot have instrument driver,I have to use VISA write and read data. the connection and serial setting are correct, I used a software ModScan32 from win-tech, the communication works well. I want to use the labview as my platform, How can I use VISA? please give me any clue or sample code. the instrument has a Modbus commmunication protocol.ThankS!

    Hi,
    VISA allows you to send/receive string data to/from the instrument. Serial communication with RS-485 is just like RS-232, so any of the labVIEW examples on serial will work. For serial you basically need to use VISA Read and write, that's it.
    If you need information on what to send, you can check out the modbus website (www.modbus.org) and the documentation for the device.
    Hope this helps.
    DiegoF
    National Instruments.

  • How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100 format) out the serial port of my computer?

    I am trying to write a vi that interfaces with a piece of OEM equipment that is set up to talk with a VT 100 terminal. I can't seem to locate the ASCII equivalent string (if there is such a thing) of a CTRL D. Is there a vi that emulates VT 100 commands?

    If I recall, CTRL-D is EOF on most ASCII tables.
    You'd probably have to use an escape sequence
    or if you can use an unsigned 8-bit that might be
    easier.
    In article <[email protected]>, TLS
    wrote:
    > How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100
    > format) out the serial port of my computer?
    >
    > I am trying to write a vi that interfaces with a piece of OEM
    > equipment that is set up to talk with a VT 100 terminal. I can't seem
    > to locate the ASCII equivalent string (if there is such a thing) of a
    > CTRL D. Is there a vi that emulates VT 100 commands?

  • How can I use the LabVIEW Symbol Editor as a Sub-VI?

    How can I use the LabVIEW Symbol Editor as a Sub-VI?

    mc-hase wrote:
    > Thank you for your ansver.
    > That means that you see no possibiltiy to use the built in window? (I
    > think the built in window is programmed with LabVIEW as well...)
    The icon editor at least up to version 7.0 of LabVIEW is not written as
    VI but directly implemented inside LabVIEW, which is written in C/C++.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • Export to Word using Adobe Acrobat 9 Pro (mac)

    I get an error message when I try to export to word using adobe acrobat 9 pro for mac.  Any tips?

  • No Load Option for ASE Files in PS 7.0?

    I am still using photoshop 7.0, and was looking to load some swatches from kuler, but I cannot! The only swatch files supported by this version of photoshop are ACO and ACT... am I missing something here.. or is this true? If it is, how can I make it

  • Parse Exception : java.text.ParseException: Unparseable date

    I have inherited a UDF in some mapping that on the whole, works okay... but it throws an error after mapping a few dates: Parse Exception : java.text.ParseException: Unparseable date: "2010-03-18T00:00:00.000Z" Parse Exception : java.text.ParseExcept

  • XSLT: How can I explode a single node value multiple times?

    For a given XML tree like this, <?xml version="1.0"?> <offers>   <fcst start_hr="1" end_hr="10" value="100"/> </offers>how can I get an output like this? (I need to explode the value of 100 from hr=1 to hr=10, ten times.) 100,100,100,100,100,100,100,

  • First time video in Flash

    Hello. I am new to Flash (a bit late perhaps in this day and age!) but anyhow I am to produce a banner with a movie inside that will only play when the user pushes the play button. I have tried and failed so many times. The movie just plays no matter