Run two VI's simulateously?

Hi,
I was wondering is anyone has atip how I run two VI's simultaneously. The first VI is collecting data (through an instrument from HP) and I would like the second Vi to dislay the data while it is collected. I have seen some old VI's in a different program that use "Occurences", is that a solution? Or is there ab easier way?
Thanks!

Just adding a tidbit or two to devchandler's reply...
Another key distinction is that a queue is best for lossless buffered transfer of data to exactly 1 reader from 1 or more writers.  A notifier is best for lossy unbuffered transfer of data to 1 or more readers from 1 or more writers.
Notifiers let multiple independent parts of the code react quickly to read data immediately after it gets updated by some other part of the code.  If there are 2 writes between any reads, the data from the older write is displaced and unrecoverable.
I've begun making a habit of basing my "global abort" status flags on Notifiers.  Anyone can write an abort condition and everyone can read it.
-Kevin P.

Similar Messages

  • Can a mac mini be set up to run two separate users at the same time?

    I work for a middle school and we need to purchase 20 computers that will just be used to run internet apps. Though we have all Macs, we don't have a big budget and for this one use only, we are condsidering purchasing inexpensive HP all-in-ones for about $450 each. However, I was wondering if a Mac Mini can be first set up with 2 partitions, install the OS on both partitions, then run two different users, with two separate monitors and keyboards, at the same time? This way, instead of purchasing 20 Windows computers, we could purchase 10 Mac Mini's (and displays) and save money, and still be supporting just one OS throughout the campus.

    If you setup a server, as in the Mac OS X Server Installation, pages 23ff show configurations, you can have multiple users, but they must all have computers.  Some installations can be done with dumb terminals but that is not what you seem to want.  Unix machines do have a multiple simultaneous user capability but you still have to have a computer for each user, again, not what you seem to want to do.  Right now there are two other users logged in on my Sun workstation on the desk behind me...they are logged in because I permit them to do so.
    And last night for an experiment I connected my iMac and MBP by ethernet wire, logged in on the iMac, then logged in on the MBP and from there on the iMac...but I set up the network to permit that and then disabled it again.  You can create security holes doing things like this.
    As dwb points out switching from Apple to PC equipment is a false economy that lures in administrators.  In our county school system we had a superintendent who hired a good friend...who had PC-industry ties.  Decided to remove all Apple equipment from the elementary schools and switch to PCs.  It wasn't long before they ended up going on a 4-year cycle of "refreshing" the equipment, i.e., completely replacing all hardware in every school on a four year cycle.  Since my wife was a Media Specialist, aka librarian, and responsible for technology in her school, every four years she had to develop a complete school map of where each teacher wanted the computers in their classrooms, complicated by where the technicians predetermined the locations of the network wire drops, of course.  then teachers get shuffled over the summer and all the plans are for naught.
    Anyway, there really isn't a solution to your problem except to buy a large number of computers and let each student use one and have them networked to a server, print server, printers, etc.  This is not inexpensive and cutting corners will only cause headaches for you.

  • How can I run two different versions of Firefox, the latest does not work with an important site I need to use?

    With the latest version of Firefox I cannot send "Quick Mails" to my students using the college's ANGEL system. I had to uninstall it and go to an earlier version. I prefer the newest rev.
    Any way to run two different versions. It does not have to be simultaniously. Seems to be a problem on both my Mac and XP systems.
    Thanks,
    Kim

    Currently I don't think there is a way to run two version of firefox at the same time. But you can install Firefox Beta or Aurora instead (which is build for future release for firefox) and help test it! Here's the link:
    http://www.mozilla.org/en-US/firefox/channel/

  • Running two copies of iTunes on one MAC

    I have a couple of different user sign-ons on my MAC, I need to be able to access iTunes on both, but I want them both to share the same library. Is this possible?
    I tried setting up iTunes for the second user and it had no songs, so I tried to reroute the access back to the original users library. Well after changing the access to the original user, I was able to get the songs in the second iTunes.
    However, now the iTunes from the original user ID can't find most of the songs even though I did not change their locations!
    So I have 2 questions.
    1) Can you even run two iTunes under different User IDs that can access the same iTunes library? If so, how?
    2) If you can't, how do I get my original iTunes to see all my songs again without having to go through them one at a time? I have over 17,000 songs!
    Thanks!

    This should help:
    iTunes: How to share music between different accounts on a single computer
    Note that when it says "publicly accessible location", it needs to be a place where everyone has read and write access. The most common such place is the Shared folder in the Users folder, but you can place the music elsewhere if you change the access permissions manually (don't start tinkering with permissions unless you're confident you know what you're doing and can reverse things if they get messed up).

  • Can I run two separate versions of the LabVIEW Run-Time Engine on one PC?

    Hello, I am curious if anyone knew if it is possibly to install and use two separate versions of the LabVIEW Run-Time Engine on one PC?  I currently have the 2009 Run-Time Engine installed on one machine and wanted to install the 2011 Run-Time Engine as well. I know that you can run two separate versions of the LabVIEW program on one machine, but what about the Run-Time Engine?
    Thanks!
    Solved!
    Go to Solution.

    I'm guessing this is a bug that NI needs to fix.  I see no reason you shouldn't be able to install the run-time engine of an older version.  I'd be interesed in if it allows you to install the older development environment, which also includes the older run-time engine.  There are some command line switches for NI installers as mentioned here:
    http://digital.ni.com/public.nsf/allkb/C361087EE9F20810862577850073128E
    I wonder if there is a force install option.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to run two icalenders on the same computer?

    How can i run two separate icalenders on the same computer? I have my own icalender with work, home, etc, and it's totally full. I am now running an artists collective and will publish the collectives icalender on the web. I don't, however, want to mix what will be a pretty busy calender with my own already too full one. Is it possible to run two totally separate calenders on the same computer?
    macbook   Mac OS X (10.4.8)  

    trsv,
    Welcome to Apple Discussions.
    Create two Groups...
    Calendar 1:
    Work
    Home
    etc
    Calendar 2:
    Collective Calendar
    You can then switch which groups you wish to display by activating/deactivating the check mark in the Calendar source window.
    That will also allow you to selectively publish the Collective Calendar.
    ;~)

  • How to run two query  in the same preparedStatement

    Hi all,
    Please tell me how to run two queries in the same preparedStatement object ?
    In my module I have to run two queries and I don't want to make two methods for running two different queries.
    I just want to call this method for both of my queries.
    methodName(long param)
    Connection conn=null;
    PreparedStatement pstmt=null;
    //////////////// some coding
    Please Help !
    Thanks in advance
    amitindia

        public void foo()
            Connection connection = null;
            PreparedStatement stmt = null;
            try {
                connection = ...get from pool...;
                stmt = connection.prepareStatement("...");
                ...fetch results...;
                stmt.close();
                stmt = null; // So the finally statement works if there is an exception
                stmt = connection.prepareStatement("...");
                ...fetch results...;
            } finally {
                if (stmt != null) ..close it...;
                if (connection != null) ..return it to pool...;
        }

  • Will the ATI Radeon 700 AGP card run two Studio 21 Displays?

    I just bought a G4 MDD 1.4 GHZ Mac that has what I assume was the stock video card, which appears to be for LCD displays, since the cables from my Apple 21" Studio displays (CRTs) don't match up to it (those are called VGA monitors, right?).
    On my present Mac (G4 Quicksilver) I am running both of these 21" Studio Displays, one plugged into the stock AGP card and the other connected to a PCI video card. As I prepare to switch over to my "new" MDD Mac now, I need to figure out how best to run the two monitors with this G4. (I will leave the video cards in the old Quicksilver and give it to a relative who also wants to run two monitors with it).
    I notice a new Radeon 7000 AGP card being offered on Ebay which has one VGA port, and they provide an adapter so that the second (DVI) port can also run a VGA monitor. If that card would run both my 21" Studio Displays independently as claimed, it would be the ideal solution, if the performance is adequate.
    I do lots of Photoshop(CS2)adjustment of digital camera images and also make video movies with Final Cut Express, iDVD, etc., with both monitors set to 1152 X 870 at 75 Hertz. Would such a card as this one be up to the task with both monitors?
    Every time I try to post the link to the Ebay auction for this card, everything in this text box disappears. So I'll just copy and paste the description of the card from the auction: "ATI Radeon 7000 64MB DDR Dual Monitor capable AGP Video Card with VGA, DVI-I, and S-Video Out and a DVI to VGA adapter. The video card has ATI's latest firmware (v226) with the latest ATI Displays support. It does not have any sleep issues. The card is capable of dual true independent/simultaneous monitor support with extended desktop. The adapter allows for dual VGA operation. This model has been tested in a G4 Tower, G4 Cube, and G5 with several versions of OS X including OS 10.4/Tiger. This card is guaranteed to work in any Macintosh G4 Tower, G4 Cube, or G5 Tower with OS 9.2.2 or later that has an available AGP slot."
    Sounds good---maybe too good to be true. Any drawbacks to such a setup as this?
    Any advice most appreciated.
    Tom

    Thanks for the info Malcolm. I checked out those links you provided, and it appears that buying two adapters for the presently-inistalled video card which would allow it to run two VGA monitors looks like a workable solution, all right. But it would be more expensive than just buying that Radeon AGP card to run both monitors, if the latter would work (that's what I'm still wondering).
    Also, I notice that the DVI to VGA adapter sold by Apple has some poor reviews and seems to have glitches. It is reported by several people to be unreliable and seems to turn a lot of displays magenta, and in other cases requires a lot of wiggling or careful positioning to make it work right. Sounds like Apple needs to work on the design.
    I appreciate the info, but I'm still favoring the Radeon 700 AGP card if someone can tell me it might work.
    As to which card my Mac has in it right now, I can't tell just by looking at it (why don't they put an identifying sticker or something on the things?) and I can't connect any of my VGA displays to it yet to let the Mac report what it has in it, so it's still a mystery.
    Thanks again,
    Tom

  • Running two displays from one DVI port...time to put my ADC down

    Hi Guys,
    I have a G5 dual with a GeForce FX 5200 which has 1 each of DVI+ADC ports. Until recently the 17" Apple display has been my only monitor. As I have a recording/mix studio I need to move the G5 base unit far away from any recording as it makes quite a lot of noise. I have been unable to do this as I have been having trouble finding either a Dr Bott or Griffin ADC extension. I have been searching off and on for over a year with no success.
    Recently I purchased a cheap reconditioned NEC monitor which I am running from the DVI port and am thinking perhaps now is the time to get rid of my apple display due to the ADC connection troubles.
    Is it possible to run two monitors from the one DVI port? I need to run a mirrored image so that I have one monitor to my side so that I can do close editing work and then one further away behind my analogue mixing desk, they need to show exactly the same thing.
    Will splitting the DVI port degrade signal or is there a way around this. I also want to get some long cables 6m+ so that I can place the base unit outside of the control room, will this be a problem?
    I would really appreciate some help on this matter.
    Thanks,
    Iwan

    Thanks BSteely, Would you happen to know of a box to recommend? I guess something like this would be more suitable:
    http://www.amazon.co.uk/StarTech-com-Port-DVI-Video-Splitter/dp/B000MPL5ZC/ref=s r129?ie=UTF8&s=electronics&qid=1272121514&sr=1-29
    Than this:
    http://www.amazon.co.uk/Ex-Pro-Premium-Female-splitter-connections/dp/B003HE91CE /ref=sr140?ie=UTF8&s=electronics&qid=1272121514&sr=1-40
    Thanks,
    Iwan

  • Can I run two PIDs from the same vi?

    Hi
    I want to control speed of the rotating shaft and force applied by the pneumatic cylinder using two different PIDs from the same program.
    I managed to get two PIDs to work separatly using PID control loop VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is no overshoot). When I try to run both PIDs within my vi they don`t work. I again tried various gains and managed to get one PID to work but not the other. Then through trial and error I managed to get a second PID to work but I had to change refresh time of the FOR loop from 100msec to 1msec.
    Does anyone have experience with running two PIDs in the same program? Does the timing of the FOR loop influence PID contorller? Does equiring of other data while run
    ning PID has effect on the PID?
    I would really appreciate any comments/help. I am pretty thrustrated at this time
    Thanks"

    The timing of the FOR loop will influence your PID control, which is a fundamental part of PID control. Acquiring data doesn't affect the PID although it could affect the timing of the loops. For instance if you only have one DAQ card you would want to have it all in one loop because you can not have two AI sessions open to the same card.
    For more detailed information on PID I would recommend reading the "PID Control Toolset
    User Manual" which should have been installed to your machine but can also be found at : PID Control Toolset User Manual"
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • Can i run two PIDs at the same time?

    Hi
    I want to control speed of the rotating shaft and force applied by the pneumatic cylinder using two different PIDs from the same program.
    I managed to get two PIDs to work separatly using PID control loop VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is no overshoot). When I try to run both PIDs within my vi they don`t work. I again tried various gains and managed to get one PID to work but not the other. Then through trial and error I managed to get a second PID to work but I had to change refresh time of the FOR loop from 100msec to 1msec.
    Does anyone have experience with running two PIDs in the same program? Does the timing of the FOR loop influence PID contorller? Does equiring of other data while
    running PID has effect on the PID?
    I would really appreciate any comments/help. I am pretty thrustrated at this time
    Thanks

    I don't know whcih PID vi's you are using but I had similar problems. I
    solved it by going to the VI properties of the PID subvi, select category
    execution and make sure that reentrant execution is selected. Only then two
    instances of the PID vi can run without interfering each other.
    Martien
    solved by setting the execution mode
    "smartlander" wrote in message
    news:[email protected]..
    > Hi
    >
    > I want to control speed of the rotating shaft and force applied by the
    > pneumatic cylinder using two different PIDs from the same program.
    > I managed to get two PIDs to work separatly using PID control loop
    > VI`s supplied with labview 6.1 (I got Kc, I and D right, so there is
    > no overshoot). When I try to run
    both PIDs within my vi they don`t
    > work. I again tried various gains and managed to get one PID to work
    > but not the other. Then through trial and error I managed to get a
    > second PID to work but I had to change refresh time of the FOR loop
    > from 100msec to 1msec.
    > Does anyone have experience with running two PIDs in the same program?
    > Does the timing of the FOR loop influence PID contorller? Does
    > equiring of other data while running PID has effect on the PID?
    > I would really appreciate any comments/help. I am pretty thrustrated
    > at this time
    > Thanks

  • Can I run two big external monitors on my 2012 MacBook Pro?

    I understand that my NON-retina 2012 MBP can be set up to drive two Apple Thunderbolt Displays, but am I out of luck on driving two generic 27" DVI or HDMI external monitors?
    Boring details: I've just bought a mid-2012 MBP, with a quad-core i7 and 16 Gb of RAM plus the high-end GPU w/ 1GB of video RAM, but non-retina. I'd like to run two external 1080p or DVI HD-equivalent monitors (I have several new Samsung 27-inchers). I can live without the laptop 15-inch screen while I'm doing it!
    I know that the retina MBP has two Thunderbolt ports, plus a DVI port, which would have easily given me what I need. However, I didn't get the retina MBP because it's totally non-upgradable by a user. There were a couple of other potential additional issues, including some reported problems installing Windows into Parallels via external DVD player. There's also the $mid-3000's price for retina, tricked out the way I'd like... Tradeoffs! At least I still have Firewire.
    The two big externals help a lot with video editing. Even with my old G5 PowerMac, you could immediately drive two 1080p-equivalent displays. I expect that someone will release a much-more powerful solution than the Matrox USB 2 screen driver dongle, etc., sometime soon, using "superfast" USB 3, but I'll lose one of my two USB 3 ports; I'll want to have 'em both free for other externals, I'm sure.
    Thoughts and/or solutions?

    For those following this thread...
    There is a posting elsewhere here in Discussions that describes how to get two large external monitors running on a recent Macbook Pro by using only ONE Apple Thunderbolt Display, then daisychaining a LaCie Thunderbolt drive after the T-Bolt display, and this allows adding another large DVI display in the chain after the LaCie.
    Still pricey, since it does involve buying one Apple Thunderbolt Display, plus a LaCie drive, and cables, plus the DVI display, but it's around half a thousand dollars cheaper than two Apple T-Bolt displays, plus you have a very fast LaCie external drive.
    Still not what I'm looking for, but if you're interested, here's a link...
        https://discussions.apple.com/message/18391941#18391941

  • Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details?

    Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details? (In order to be able to use the older applications no longer supported in 10.9)

    If you want to add a second partition to the internal drive (in Disk Utility, select the drive, then open the partition tab and just click the + button), you should first be sure that you will have enough room to accommodate whatever the second volume will be. I am currently doing this for Snow and Mountain Lion.
    To get to whatever volume is not the startup disk, restart and hold down option/alt at the chime, which will bring up a selection of the two volumes. Use the left or right arrow keys to select it and then hit enter/return.

  • Can I run two external displays off a MacBook?

    Hi there.
    I would like to run two external 20" Acer (VGA) displays off of my MacBook. I already use one 20" in addition to my MacBook screen but would like to have two full sized screens to work off and would not need the 13" from the MacBook.
    The MacBook literature says that only a second monitor is supported but I was hoping there is a way to override the MacBook screen in a two monitor setup and port the display to the third monitor.
    Any ideas ??

    You can have two independent external displays on the workstation macs such as G4, G5 and Mac Pros but not on apple laptops to the best of my knowledge. If you look on that page it shows the Mac Pro then underneath it is the image of two montiors side by side with the shark image going across it. Lower down is a Macbook Pro with one additional monitor next to it.
    This is the text which accompanies the image:
    "With an all PCI Express architecture, Mac Pro supports a lineup of state-of-the-art graphics cards to ensure a spectacular visual experience. Every Mac Pro supports two displays — including one 30-inch Apple Cinema HD Display — and can be expanded to drive an array of up to eight displays."
    Im assuming the up to eight displays refers to the fact that you can add extra graphics cards to the Mac Pro.

  • How can we launch the labview screen beyond other screens while running two applications on a same time

    Hi all,
     I need to run two applications in my system at same time. one of the application is labview. it is running in backside. the dialog boxes which i created in labveiew need to display in fron of all applications.... what should i do to do that.....any suggestions...
    thanks in advance
    Regards,
    Ragu 

    The easiest thing to do (but can be bad) is to make the LabVIEW window modal.  This will make it the front most window at all times, until the program stops executing.  As you can imagine if you don't have a way to close the window then you will be forced to kill LabVIEW through the taskmanager.
    To make window modal go to VI Properties (by right clicking the VI's icon) go to Window Appearance, click Customize, then under Window Behavior select Modal.
    The other more complicated solution is to use Dll calls to bring the window to the front.
    Message Edited by Hooovahh on 07-02-2009 08:44 AM
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for

  • Error in Custom Adapter

    Hi ALL, i have developed one custom adapter and its was working fine now we have change some code according to new requirement. now the thnig is this adapter is capable for sending the data once but when its again going to send data its giving me err

  • ALE, EDI and IDOCS

    Hi I am learning some stuff on ALE,EDI and IDOCS... are there any good sites which gives clear step by step procedure for the above. Thanks in Advance. Sudhi

  • Lost Calendar, Settings, etc.

    My wife and I decided not to have two user accounts because we couldn't figure out how to make availabe to each other the individual files and programs we downloaded. We deleted her account and renamed mine. Now all my settings have been changed. I l

  • All thing's Windows 10

    This site is dedicated to all thing's Windows 10. You can look up any question's you have or you can choose to join it free. Windows 10 Forum. http://www.tenforums.com/ Joining allows you to ask any question you may have. The only requirement to join

  • Ios 6.0.1 battery drain iphone 4s

    ios 6.0.1 iphone 4s battery drain on call,wifi,standby i ithink ios 5 was batter thn ios 6 in this battery issue i jast want to know there is any solution???