How to run two vi's at the same time, one uses an AI task with 8 AI channels the other a single AI and AO channel???

Hello Everyone,
Here is my situation.  I have one vi that is reading an AI task of 8 channels AI0 --> AI7 (one sample on demand) and also has control of all of the digital outputs on the board.  My problem is that I want to run another vi that will use the last AI channel AI8 and an AO channel AO0.  These two vi's do not need to know anything about one another but I do need them both to be running at the same time.  Currently when I try running the two vi's together both vi's crash and I get an error message stating that the AI8 pin is reserved.  AI8 is not part of the task and is not refrenced anywere in the larger vi.  I am assuming that this problem is do to the fact that the larger vi is occupying the DAQ board, cycling through the task when the smaller vi is requesting data from AI8 and the DAQ board cannot do two things at once.  The sampling rate on the smaller vi is not really that important.  Is there anyway I can get the smaller vi to read from AI8 and not crash??? Software and Hardware listed below.  Thanks in advance for any suggestions.
PCI-6221
Labview 7.1 

Hi steve ,
Sorry to say that you cannot configure and acquire from AI channels on a   Device simultaineously from 2 seperate VI's.
regards
Dev

Similar Messages

  • Running two rpd in obiee at same time in same machine.

    can OBIEE run two rpd files at the same time?
    if can, how to config it?
    I need to run these rpds in a single machine so how is it possible.
    could u plz sort out the issue.

    Yes,you can run two rpd files in single OBI server.But you need to have two different presentation server(machines) to access the web.
    Star     =     paint.rpd, DEFAULT;
    Star     =     Personal.rpd ;
    while configuring the ODBC select the option -CHANGE DEFAULT RPD TO : type the RPD name.
    This is simple and i don't see any performance or other issues

  • Running two stepper motors at the same time from one port

    Hello,
    I have to run two motors at the same time - one used to move a linear ball screw and one to turn a grip. I am doing tension and torsion testing on small wires, but tension and torsion have to be done at the same time. I also have to build in the ability for each motor to take multiple steps, ie. have a motor take x number steps at y velocity and then move x number of steps at z velocity. Both motors need to be able to do this. However, I am having problems getting the motors to run at the same time and to take all the steps. The motors are connected to two RMS Technologies R356 controllers. Both of the controllers are then connected to one RS485 to USB converter card, and that card is connected to one of the USB ports in the computer. Currently, I pass an array of commands to two for loops each containing VISA read and writes. I've attached the vi to look at. All of the timing stuff in the code is because a new command cannot be sent to the controller before the motor is done executing the previous command. If commands are sent right after one another, the controller will only execute the first command and then return with an error. 
    Does anyone have a suggestion as to what I am doing wrong?
    Thanks in advance for any help. 
    Solved!
    Go to Solution.
    Attachments:
    Motor Controller (Sub VI 3).vi ‏41 KB

    I'm not too clear on exactly what you are trying to accomplish or some of the details.
    Are there equal number of torsion and tension steps?
    Is there a pairing between a torsion and tension?  For example, you want to tension and torsion simultaneously, but those two together make a complete step?
    Do you want to wait until both the torsion and tension have completed before moving on to the next torsion/tension pair?
    Is there any time delay you want to hold at before moving on to the next step.
    When working with state machines, it is important not only to define the states, but also the logical stepping from one state to the next, or alternatives based on conditions.  It could be flowchard, but sometimes people call them state charts.
    Right now your latest posting has goes to "Write to Motor" event though and will wait there forever because there is nothing in the queue to write out through the VISA port.
    Let's assume your first state would happen to be Enqueue Tension (in order to get something in the queue), you will actually queue up all your tension commands at once with the For loop.  Then i will be 1 less than the size of the array it always will be because for an array size n, i will go from 0 to n-1 on each iteration.  So your false case will run and you will go to "Write to Motor".  Write to Motor will run and dequeue the first command then go to Waiting for Response.  Waiting for response will iterate through the while loop until 66 or 67 comes back.  I assume only 66 will come back for tension since you have yet to write a torsion command.  Once that comes back, it will go to Enqueue Tension again and insert a whole other series of commands.  Then go back to write Motor and will take out the 2nd queue element from the first set of commands your wrote.  It will stay in a Tension mode and the Queue will grow endlessly putting in a whole new series for each element that you dequeue.
    A state machine is the way to go, but I can't really sketch one out for you because I'm not sure exactly how your applications is supposed to work.  If a tension and torsion command are paired together,  perhaps you should just queue them together and write them out at once.   But the key thing is to sketch out on paper your application and flowchart exactly how the program should progress from step to step.
    PS:  One other thing, make sure you wire the queue reference wire through all states.

  • How to run two files with same url-  urgent

    hi,
    i created two servlet page and both are working very fine.but at same time i only able to run one file with same url. Is possible to run two or more file at same time with same url name..
    if you r not understanding what i want to ask then, i have two file names under helloWeb directory
    1) helloWorld.java(servletname s1, url /man)
    2) helloWeb.java (servletname s2,url /man)
    to run - http://localhost:7001/helloWeb/man - it runs very first file which is added to deployment module.
    so i want to know how i can run both file with same url, for this what i have to pass on my address bar.
    plz help me i m wating
    <b></b>

    Hi,
    We can give same url mapping to both Servlets but we can access the servlet which is entered first in web.xml because whenever we send a request to the webserver then webserver look at the elements in web.xml file one by one.
    When it finds the corresponding url mapping then immediately sends the response to the client.The same url mapping for the next element will be ignored.
    I think there is no possibility to access both servlets with same url.
    Regards
    Anilkumar kari

  • 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...;
        }

  • How to run two versions of dreamweaver at the same time

    How to run two versions of any dreamweaver at the same time?
    There must be a way to do this.

    east99 wrote:
    > How to run two versions of any dreamweaver at the same
    time?
    > There must be a way to do this.
    Yes, there is: on two separate computers.
    You cannot run two versions of Dreamweaver simultaneously on
    the same
    computer. They can coexist side by side, but the operating
    system will
    not let you run them together.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to run two sub vi simultaneously??

    i need to run two sub vi simultaneously in one main vi, becasue it is a must the two sub vi run exactly at the same time, but now i find that if i put they in one diagram ,in fact they are not exactly run at the same time. if you see in high light mode Just like the attached simple example code.  any one can help me to handle this to run the two subvi exactly at  the same time ? how to do it ? thanks so much.
    Attachments:
    how to run subvi simultaneously.vi ‏11 KB

    You are correct, they will not run at exactly the same time.  What is it you are actually trying to do?  What platform are you developing on? What version of LabVIEW? What processor does your target system have? This information is vital in order for us to assist you.  In a nutshell, unless you are running a real-time OS, then the OS you are running is not deterministic.  When you say "at the same time", what are you actually referring to? As a note, when executing parrallel operations in LabVIEW, the execution order may or may not be the same with the highlight bubble on as it is when it is running without highlight execution.  It is highly unlikely that you will be able to just run two sub-vis at the exact same nS.  If you are using DAQ boards, you accomplish this through triggering.  Please give a detailed description of what you are doing, and what you see the road blocks being.
    Thanks
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • HT4314 I have 4 iPads and one apple Id. Two the devices record clash of clans and dragonvale individually and the other two are tied to the other two. Drives my kids nuts. How do I fix this?

    I have 4 iPads and one apple Id. Two the devices record clash of clans and dragonvale individually and the other two are tied to the other two. Drives my kids nuts. How do I fix this?

    Also, I'd prefer to keep the same ID on both so I will keep access to my calendar/contacts/etc on both devices.  Would I be able to share reminders and voice memos and the like as well?  And how often would they update each other?  If I edit a contact on the 5, and the 4 is in wifi, assuming they're both on my same ID, will the contact update on the 4? 

  • 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 place two narrow portlets in the same row of a wide column

    Hi,
    How to place two narrow portlets in the same row of a wide column.
    Im using ALUI 6.1
    Thanks in advance
    sandeep

    As I understand there is no easy way to do it now. I guess in theory that can be done by customizing ALUI page layout source code, but this is significant efforts. Correct me if there is more easy way to do it.
    Edited by Bryazgin at 05/23/2007 7:32 AM

  • When I open my itunes it shows me two sides one is iTunesU and the other side is Podcasts and I can't connect with iTunes.How can I fix it

    When I open my itunes it shows me two sides one is iTunesU and the other side is Podcasts and I can't connect with iTunes.How can I fix it?

    Hi emzigal,
    Thank you for using Apple Support Communities. 
    Take a look at the following article to make sure that you are not missing any steps necessary for downloading past purchases. 
    Download past purchases - Apple Support
    Cheers,
    Jeff D. 

  • How do I download Mountain Lion to the other computers at my home without additional cost? I downloaded 10.8 to my main IMac but have two additional computers in my home.?

    How do I download Mountain Lion to the other computers at my home without additional cost? I downloaded 10.8 to my main IMac but have two additional computers in my home.?

    Install 10.6.8 on the other computers. Sign into the App Store with the same Apple ID used to purchase Mountain Lion. Click on the Purchases icon in the toolbar. Locate your Mountain Lion purchase entry which will show an active Install/Download button to the right of the entry. Click on it to download to the computer. If you don't wish to download Mountain Lion twice, then do this:
    Make Your Own Mountain/Lion Installer
    1. After downloading Mountain/Lion you must first save the Install Mac OS X Mountain/Lion application. After Mountain/Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Mountain/Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    3. Locate the saved Mountain/Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the content of the InstallESD.dmg disc image to the flash drive as follows:
    Double-click on the InstallESD.dmg file to mount it on your Desktop.
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the mounted disc icon from the Desktop into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable installer that you can use without having to re-download Mountain/Lion.
    Note: The term Mountain/Lion used above means Lion or Mountain Lion.
    As an alternative to the above you can try using Lion DiskMaker 2.0 that automates the process.

  • How to run a procedure before executing the report in BI Publisher

    Dear All,
    I got a requirement when I should execute a procedure before running the report.
    Here is my requirement
    I have created a temp table and created a stored procedure (temp_proc) which will insert sysdate value.
    create table temp (emp_name varchar(10));
    create or replace procedure temp_proc
    is
    begin
    insert into temp values(sysdate);
    commit;
    end;
    I have written a query in the Data Model section with a new Dataset as SQL Query Type. Now I want to run this report so that the procedure should be executed and it should insert a value in the temp table. I cannot create a datatemplate instead of sql query as it will consume more time.
    I am using BI Publisher 10.1.3.4.2 Standalone version. Please help me out.

    Hi,
    better to ask a question about BI Publisher in BI Publisher Forum than here in Reports Forum.
    You can create a template in your rtf wich you reference in your header. With BI Desktop in Winword you can use a different header for first page than the others.
    Regards
    Rainer

Maybe you are looking for

  • Javascript go through cells of a standard report column

    hi, my apex version is 4.0.2 how can i go through the cells of a specific column? when the cell is not null then it should remove the class "data" and add a new one data1 html snippet of the table <th class="header" id="JACK"> <td class="data" header

  • Problem installing WL 6.1SP3 on Linux - 'Exception in thread "main"'

    I'm trying to install an evaluation copy of WEBLOGIC 6.1 SP3 in a Linux REDHAT 7.x. I did the following: 1. Instaled the JDK 1.3.1 2. Inserted the JDK1.3.1 as the first path in my $PATH 3. Called: java -cp weblogic610sp3_generic.zip install And this

  • Unable to update iPad to iOS 5.1.1 - Connection Error

    I have been trying for months to update my iPad from 4.3.5 to 5.1.1.  Each time I try, I get the following error when it is downloading: "There was a problem downloading the software for the iPad "[my iPad name here]".  The network connection timed o

  • IPhoto 9.6 hangs when opening

    Whenever I try to use iPhoto the color wheel spins but it never opens.  This seems have been since I recently upgrades to OS X 10.10 Yosemite.  I left things alone for almost 24 hours thinking that the library was upgrading but nothing happened, this

  • Problem in Thai Locale - Java 1.4.2_04

    We use Java 1.4.2_04 for our client development. But when windows OS changed to Thail locale with Thai encoind and language set is Englist then the date shwon in client comes wrong. If windows date is 24/04/2007 then in client UI we get 24/04/2550. A