Collecting data from advantech-usb4704 with two different apps at the same time

I wonder if I can access to Advantech-4704 with two different applications at the same time?
I use this block in my vis.
I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
Thankyou!

Dear gtu,
as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
Best Regards,
Adam Cseh
Applications/Systems Engineer
National Instruments

Similar Messages

  • Cannot work with two Swing app. at the same time.

    Hi guys,
    I bring this problem here may somebody experienced that.
    I developed two client side applications(applets). Locate them on Apache/Tomcat. There is also a Index.html file with two links, so when user clicks on each link the associated application will downloaded on his/her PC and ready to work. (In index.html I used JavaScript function window.open(?) to load the applications)
    Now please see this scenario:
    1-I ran/loaded both application in two separate browsers(IE5.5). And tried to work with them(minimized one and work with another). Soon I faced unexpected frizzing/locking or very slow running on both applications.
    2-Then closed/killed one of them(killed IE). Then re-executed same application again. The application loaded with the last activated screen . Seems it never killed and it was still alive.
    3- The only way to successfully working is one by one. Means execute & work with one, then kill that, and then execute and work with another.
    To Debug:
    When both applications were running(each on it?s own IE), I opened the Task Manager and saw there was only one IEXPLORER.EXE was running, also there was only one Java VM (a little bird icon) on right-bottom of the screen.
    I believe this causes the problem. Seems they both running in the same session. Since I opened two applications in two IE I was expected to see two IEXPLORER.EXE with two JVM. Am I right? Do you think so?
    Note that the two app. have no Communication with each other.
    Any way, Now I am seeking to find the solution. My primary mind says probably I should not use window.open(..) in index.html to load the applications.
    Would appreciate any command on this.

    I am also facing the same problem !
    Since this may be a very late reply , if any body has a solution pls share!
    What I understand is that when we use javascript:window.open() it opens a new browser window
    but under same JVM. This is helpful if we need to have a 'Close window' button/link in the newly opened window and use javascript:window.close() there. Then browser will not show us the confirmation dialog box 'Webpage you are viewing is trying to close the window. Do you wish to Proceed?'
    But if we want a new JVM for each opened link and also donot want the popup dialog to be displayed when we close the browser from there..what do we do??

  • How do I sync two ipods with two different IDs on the same computer?

    How do I sync two ipods with two different IDs on the same computer?

    Simply connect them.  One computer with one iTunes can manage multiple devices.  They're tracked by S/N but you might wish to assign them unique names so that you can track them yourself.
    The only minor issue is app updating and purchases while on the computer.  It's necessary to log out and back in to the "correct" ID.  Much easier to do these things from the iPods.

  • Control two different parameters at the same time

    Two motors were connected each other rigidly. One motor controlled torque and the other motor controlled speed. I generated some torque and speed data which represented one cycle of motion from a motor simulation. I like to send these two different data sets (torque and speed) to two different motors at the same time. Torque data sends to one motor and speed data sends to the other motor to see the response of the load profile. In order to do this, I thought about using multithread, but I am not sure it will work for this application. Usually multithreading delay the CPU time so the overall control process might be delayed, right? If you have better idea, please let me know.

    If you are using one motion controller to control both motors, you will probably run into problems if you try to use multithreading on the PC. However, you can execute up to 10 programs (threads) at a time, in addition to host communication, using on-board programming. For more information on on-board programming please refer to the following tutorial: Developer Zone Tutorial: On-board Programming in FlexMotion
    Best wishes!
    Dawna P.
    Applications Engineer
    National Instruments

  • How to sync with two computers not at the same time, I'm registerd with one computer

    How to sync with two computers (not at the same time), I'm registered with one computer and am trying to connect with second computer with same iPhone. To sync the first time with the second PC "Firefox Sync Option tells me Create New account or Connect, when I connect it gives me a Passcode and on iPhone it also gives me a Passcode, than how do I connect? Both the iPhone and PC gives me a Passcode and have now idea what to do with them.
    Where do I find my Sync Key ? so I can install manually if it works ?

    Use the Sync Key ''(Recovery Key)'' from the PC that you used to initially setup your Firefox Sync service, when setting up that 2nd PC with Sync. You need to use '''Add a device''' to setup the 2nd and subsequent devices on a Sync account. <br />
    https://support.mozilla.com/en-US/kb/add-a-device-to-firefox-sync

  • HT204380 Can you FaceTime two different people at the same time?

    Can you FaceTime two different people at the same time?

    No, not at this time. Feedback to Apple goes HERE, and click on the appropriate section.

  • Is it possible to face time with 3 different people at the same time?

    Is it possible to face time with 3 different people at the same time?

    Check out GoToMeeting http://tinyurl.com/k6q84kw
     Cheers, Tom

  • Is it possible to realize two different processes in the same time with TDMS?

    Hello all,
    we have one TDMS but a lot of workstreams. Is it possible that 2 different workstreams in the same time realize anonymization in TDMS?
    Thanks in advance!!!
    Ilkin Mammadov

    Hello Anita,
    I am sorry.I mean we have a lot of projects (for example Procurement, Finance, Logistics, etc) and each of them wants to anonymize. But it is existing just one TDMS. Can these projects start with anonymization in the same time or they have to wait till one of projects finished anonymization?
    Thanks in advance!
    Best regards,
    Ilkin

  • How can I log into two differant accounts at the same time in two windows without the second window affecting the first.

    I'm trying to log into two facebook accounts at the same time in differant windows. When ever I log into the second account in the second window it changes the login in the first window. When I hit home or any other link the first window account has been logged out and logged into the second window account. I tried installing a second copy of firefox in a differant folder that the first but it seems to use all the files of the first installation. If I can get 2 toatally seperated instalations that don't rely on the same history, cookies, cache, etc I belive that will solve my problem. Please help.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)

    Nah, that won't work. Facebook has a feature that gets your IP Address, so as soon as you sign into one on the same computer, it changes the other login for safety purposes (say, someone was on a public library PC. They forgot to log out. Someone else logs in, and it automatically logs them out). You'll need 2 computers to do that.

  • How can collect the data from laptop sound card and serial port at the same time?

    I'm working on a project, I need to collect the data from laptop sound card, and also from serial port at the same time.
    The attachments are my VIs for sound card and serial port communication, I'm wondering that can I combine these two VIs together? Or can I run these two VI at the same time?
    Thank you!
    Attachments:
    AC_Radar_Receive.vi ‏46 KB
    RadarAudioPlug.vi ‏774 KB

    A smarter way is just to put all your code in the same VI.
    Two parallel loops if rates are different.
    Attachments:
    RadarAudioPlug.vi ‏450 KB

  • How to compare two different characteristics at the same time in polestar

    Hi Gurus,
    I would like to analyse the e fashion universe in polestar with comparison of previous year product line with current year product line at the same time.
    is there any way to do that we can compare two years of the product line sales revenue at the same time with comparison chart like 2003 T shirts vs 2002 T shirts 
    in polestar we can compare the two measures at the same time but i want to compare the sales revenue of product lines of two years in a comparison chart at the same time.
    Regards and thanks
    Abid Paul

    Hi Stratos,
    I am actually able to compare the Measures  but i want the comparison between the two different characteristics like this year  productline  vs last year productline at the same time with say one measure like sales revenue or any other.
    Is it possible to compare the both and it should represent in the chart as well at the same time.
    In the polestar i can compare three measures at the same time but i want to compare characteristics like year  2009 productline VS 2008 productline with one measure say sales revenue.
    I would really appreciate if you could help me out.
    Regards and thanks
    Abid

  • Record with two usb devices at the same time on LOGIC PRO X

    I would like to record both with my Samson USB mic and my guitar wich has also a USB input in the same time. How do i make that happen? Logic Pro X only sees one device whilst recording.

    You need to create an aggregate device in OSX, and then select that as your audio device in Logic's options.
    Then whatever you've set up as the inputs will be selectable within the logic audio buses.
    Here's an official Apple article to get you on your way:-
    http://support.apple.com/kb/HT3956
    Any more questions please post back.

  • How to update 2 datagrids in 2 different app at the same time?

    I'm very new to flex/flash builder and my question is: first I have to explain how the applications works. The first applications have a form for a customer to fill and datagrid to show the results.The data is send using PHP to a database in the server. The second application have a datagrid for the admin  that show the data that the first application send. Now, when  the data is inserted in the database, the first application dataGrid show the result soon as the records are inserted in the database, but the second application show the records after I refresh the Browser. The second aplication have a delete button to clear records from the database as is obious, the firstt database needs to be refreshed in order to see if the record has been deleted. So what I need is that both applications update as soon as the database is altered.If anyone have a suggestion I appreciate very much thanks in advance.

    Then, the time interval should be implemented in both applications since the first one inserts data and the second one delete the data. Instead of doing time interval I eliminate the second app and make 'states' in the first app for the 'add' and 'delete' data so I was able to open two instances of the app, one using the add state and the other with the delete state thinking that since was the same application both update at the same time but unfortunately I was wrong and one needs the browser refresh anyway. I really not know how to do time interval in flex since is different to flash that you just do the interval for the next frame and back to the first to load the data since is a timeline based app, flex not, besides, I'm just start using flex a couple weeks ago and don't know much about the coding  but I will keep researching to do that. Thanks for the advice and sorry to take so long to answer.

  • Is it possible to order two different cards at the same time? I do not want to pay shipping costs twice.

    Hi, here's my problem. I made two different Christmas cards that I want to hand over in person. When I order one however, I can not select the other one, despite the fact that I want them both delivered to the same adress. Is there a way to order both as a bundle?
    Thanks a lot
    Best, Stefan

    Afraid not.

  • Keys playing two different sounds at the same time

    I keep getting one of the synths whenever I'm playing the Pop Kit, or any drumkit, with my MIDI. Basically when I hit a key, two sounds come out of it when it's only supposed to be one. I've rebooted GB and the MIDI with no success. How can I fix it?

    That's weird - never heard of that phenomenon. Could it be that the second sound is coming out of your keaboard? What's your setup?

Maybe you are looking for