How to get two outputs at the same time?

Hello

I use the PCIe6351 DAQ card to generate two signals separately. This product has two exits, so I thought that I can use both at the same time, but when I run the code it gives an error: "the spesified resource is reserved. I just want to know if it is possible for me to use both outputs together at the same time or not? If so, would you please guide me what should I do to solve the problem?

Thank you very much

Soran

Great! This works. I appreciate your help

Tags: NI Hardware

Similar Questions

  • How to watch two clips at the same time on the other, with an opacity of 50% each.

    How to watch two clips at the same time on the other, with an opacity of 50% each. It is confirmed that the position of the object even two clips of mergers.

    Thank you

    PPut a clip on top of another in the timeline panel. In the video Inspector reduce the opacity of the clip on top.

  • I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    I can't have multiple files open at the same time! I need to compare the content from one to the other. How to display two files at the same time?

    Hi sindres79946597,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> General-> uncheck "Open Documents in the new tab in the same window.

    Now, reboot your system, when you open multiple PDFs that all will open in a new window so that you can easily compare.

    Kind regards
    Nicos

  • How to open two PDFs at the same time (for example on two related screens)? It was always possible in the previous version of the Adobe Reader software.

    How to open two PDFs at the same time (for example on two related screens)? It was always possible in the previous version of the Adobe Reader software. Now while one of them is open, I can't open the other, because it is hidden, and I have only shown in the taskbar as a thumbnail.

    Hi ewap51098943,

    You can disable this in the Edit menu-> preferences-> General

    Kind regards
    Nicos

  • Avoid to get two theards at the same time

    Hello

    I was wondering how to avoid to run two threads at the same time in teststand. When I using teststand, I found it can run two threads in simultaneity.for example, I can open a file sequence, using single-pass enter point to run a theard, when this theard is not finished, I use single-pass or TestUUTs enter point to run other theard. I want to avoid this case. Is there settings, we can get motor teststand to tell me a thread is running or not?

    Thank you!

    You write a custom user interface? If you use an application Manager (all the example user interfaces and the sequence editor to do), you can see:

    ApplicationManager.Executions.Count > 0

    If you use just the engine that you can keep the number of executions by increment your account upon receipt of the UIMsg_StartExecution UIMessage and reduce your number when UIMsg_EndExecution is received.

    If instead you want to determine the number of executions of a sequence running, you can use RunState.Engine.GetInternalOption () to get a reference to the Application Manager (at least of the UIS and the sequence editor that use an Application Manager) and then do the following ActiveX to get the Executions.Count property.

    Hope this helps,

    -Doug

  • How to view two documents at the same time

    Side-by-side view?

    Is it possible to display 2 documents at the same time in a side-by-side format?

    In the taskbar so that you have both open documents select the first document and then hold down the CTRL key and click on document 2.  Right-click on the 2nd document and choose "vertical mosaic".

  • How to have two tabs at the same time on the screen... like split in the half

    My daughter once divided the screen into two tabs by dragging, I forgot just how she did... need help

    Breaking of Windows,

    http://Windows.Microsoft.com/en-us/Windows7/products/features/snap

    http://Windows.Microsoft.com/en-us/Windows7/arrange-Windows-side-by-side-on-the-desktop-using-snap

    You can also click with the right button on your taskbar and click on next.

  • How to open two projects at the same time?

    I have more than 40 project files. Stadium.

    I'm finishing my work, but I forgot something. I did not notice that I've lost a few animation keyfreme. I didn't in the 30 draft and I'm now over more than 40 years. I did a lot of work and I can't go back to 30 projects. I don't want to do this from the beginning, so let me COPY my keyfremes of 3o to 40 project. For this I need to have 2 programs opens (to copy project keyfremes 30-40 project). But I can't open two After Effects.

    How can I copy my keyframes on the timeline?

    To copy ALL this in a turn and paste also:

    X4HYsAo.png

    Import your another project in the works project.

    Mylenium

  • Mr President, how can I enter two rows at the same time with different default values that only the first line to use see?

    Mr President.

    My worm jdev is 12.2.1

    How to enter two rows at the same time with different default values that only the first line to use see?

    Suppose I have a table with four fields as below

    "DEBIT" VARCHAR2(7) , 
      "DRNAME" VARCHAR2(50),
      "CREDIT" VARCHAR2(7) , 
      "CRNAME" VARCHAR2(50),
    

    Now I want that when I click on a button (create an insert) to create the first line with the default values below

    firstrow.png

    So if I click on the button and then validate the second row with different values is also inserted on commit.

    The value of the second row are like the picture below

    tworows.png

    But the second row should be invisible. It could be achieved by adding vc in the vo.

    The difficult part in my question is therefore, to add the second row with the new default values.

    Because I already added default values in the first row.

    Now how to add second time default values.

    Concerning

    Mr President

    I change the code given by expensive Sameh Nassar and get my results.

    Thanks once again dear Sameh Nassar .

    My code to get my goal is

    First line of code is

        protected void doDML(int operation, TransactionEvent e) {    
    
            if(operation != DML_DELETE)
                 {
                     setAmount(getPurqty().multiply(getUnitpurprice()));
                 } 
    
            if (operation == DML_INSERT )
                       {
                               System.out.println("I am in Insert with vid= " + getVid());
                           insertSecondRowInDatabase(getVid(),getLineitem(),"6010010","SALES TAX PAYABLE",
                            (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                           }
    
            if(operation == DML_UPDATE)
                              {                                                    
    
                                 System.out.println("I am in Update with vid= " + getVid());
                             updateSecondRowInDatabase(getVid(),
                                 (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                              }                      
    
            super.doDML(operation, e);
        }
        private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object value4, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "Insert into vdet (VID,LINEITEM,DEBIT,DRNAME,AMOUNT) values " +
                 "('" + value1 + "','" + value2 + "','" + value3 + "','" + value4 + "','" + value5 + "')";  
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }
                  }  
    
                  private void updateSecondRowInDatabase(Object value1, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "update vdet set  AMOUNT='"+ value5+"' where VID='" + value1 + "'";                     
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);  
    
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }                  
    
                  }
    

    Second line code is inside a bean method

        public void addNewPurchaseVoucher(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("VoucherView1Iterator");
                   RowSetIterator rsi = dciter.getRowSetIterator();
                   Row lastRow = rsi.last();
                   int lastRowIndex = rsi.getRangeIndexOf(lastRow);
                   Row newRow = rsi.createRow();
                   newRow.setNewRowState(Row.STATUS_NEW);
                   rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
                   rsi.setCurrentRow(newRow);
    
                   BindingContainer bindings1 = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter1 = (DCIteratorBinding) bindings1.get("VdetView1Iterator");
                   RowSetIterator rsi1 = dciter1.getRowSetIterator();
                   Row lastRow1 = rsi1.last();
                   int lastRowIndex1 = rsi1.getRangeIndexOf(lastRow1);
                   Row newRow1 = rsi1.createRow();
                   newRow1.setNewRowState(Row.STATUS_NEW);
                   rsi1.insertRowAtRangeIndex(lastRowIndex1 +1, newRow1);
                   rsi1.setCurrentRow(newRow1);
        }
    

    And final saveUpdate method is

        public void saveUpdateButton(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindingsBC = BindingContext.getCurrent().getCurrentBindingsEntry();      
    
                   OperationBinding commit = bindingsBC.getOperationBinding("Commit");
                   commit.execute(); 
    
            OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");
            operationBinding.execute();
            DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("VdetView1Iterator");// write iterator name from pageDef.
            iter.getViewObject().executeQuery();  
    
        }
    

    Thanks for all the cooperation to obtain the desired results.

    Concerning

  • How can I produce two outputs of the same project

    Dear Sir.

    My goal is to produce the two outputs of the same main project, Webhelp and HTML help, each of them will be used differently in my compnay.

    Producing two outputs is fine, but the problem was that external links are done differently for HTML help and Webhelp and as I Knew about you that can be solved by using conditional tags.

    Actually I am new to conditional tags and I don't know how to use them. Could you please help me to do this or recommend a link on how to use condtional tags to produce different outputs.

    Thank you very much

    Hi there ahlam323

    See if the link below helps everything. Some goober wrote something on it.

    Click here to read the goober guide

    See you soon... Rick

  • My wife and I have iPhone 5 s, the two rings at the same time while we are at home when one of us Gets a call. They are on the same account, is there a way to stop this without establishing separate accounts?

    My wife and I have iPhone 5 s, the two rings at the same time while we are at home when one of us Gets a call. They are on the same account, is there a way to stop this without establishing separate accounts?

    settings - phone - call another device - off.

    One of you should get their own apple ID, you just go to have problems later.

  • Two users on the same PC. How to run the application even for two users at the same time?

    Hello friends,

    I have two user accounts on my pc. Is it possible to run the same application (for example: DEFRAG or disc cleanup utlities) for two users at the same time? I mean, these utlilities work by all of the computer or user account? That would mean the same application to perform for a single user in the background and foreground to the user, or I'm totally lost in space?

    Thank you for your comments

    You should run Disk Cleanup in each user account. Do not try to shut it down or change user when defragmentation; system files may be damaged. You must stop the defragmentation, log off, restart the defragmentation and don't really no point for it. MS - MVP - Elephant Boy computers - don't panic!

  • two cursors at the same time move under a certain condition

    I'm trying to move the two sliders at the same time under a given the conditions. I have my program set up as follows:

    When 1st setting on "Continuous", all output values 4.

    When the 1st setting on "Pulse", values output based on ' 'Send the Signal' button support according to the following below:

    1 1 shows the value of cursor 1 and 2 slider when the switch is on "simultaneous."

    2. the cursor 1 and 2 output the value of cursor 1 and 2 slider when the value of "independent".

    My question is based on 1 above. I basically have a hard time trying to figure out when the condition is set to "Simultaneous" be able to see cursor 2 movement.

    Can anyone help? A large part would be appreciated.

    NOTE: The output is correct how I want it. I want just the cursor 2 move when cursor 1 must move under a certain condition.

    All I needed was to move the Slider 2 property node before the total multiplcation.

    Thanks again James.Morris for your help!

  • Two applications at the same time on the M200?

    On the Amazon website (and I'm sure elsewhere), it says on the M200:
    "With the optional Tablet Multi Dock station, you can connect an external keyboard and monitor allowing you to run different applications on screens separated at the same time."
    I've been reading my M200 and the multidock and it doesn't say how to do this. It seems strange when it's supposed to be something special you can do with the M200, he's not telling how you do! Could someone enlighten me please?
    Thank you very much

    Hello

    In my view, this means that the option of extended desktop.
    If the external monitor is plugged so that you can use this option to enlarge the display option. This option, you can activate with the key FN + F5 combination. If this option is enabled for example, you can open two widows of IE and one from this window, you can switch to the external display. In this case, you can use two applications at the same time

    Good bye

  • How read datalog multiple files at the same time?

    Hello friends...

    can someone help me to show how read datalog multiple files at the same time?

    Here is the example of my case.

    I have 500 files in a folder. each file contains a waveform and its setting.

    and then I want to do a card spectral these files, because these files have been saved in the order.

    the point is to know how to read these 500 files at once? I made a program to read these files, but the program can read these files in one by one. So it is very uncomfortable to read 500 files one by one. can someone help me solve this problem? Thank you. I hope you can show me the program. Thank you again...

    Hi jojo,

    Well, in the range of functions daughter, you will find a function to list the contents of the folder. This allows to get the names of all the files datalog, and then use a loop FOR to read.

    No one is obliged to provide 500 names of files manually - that's why we use a programming language to let the computer do the stupid work

Maybe you are looking for

  • If the mozpay is supposed to hit the postbacks URL 6 times?

    I've set up mozpay in my application. When I send the jwt signed with postbacks to the app url, and then the application use it with mozpay, during the simulation, the postbackURL gets hit 6 times. I wanted to know if that is planned. If so I can wor

  • What spare hard drive do I need?

    Hello Thank you for viewing my post. I really appreciate any input. This is my first time, replacing a hard drive. That comes with the computer has gone wrong and told me that I need to replace it. I thought it would be nice to replace rather than bu

  • Alias of VISA to the Protocol TCP/IP without MAX

    Hello Is there a way to create the VISA alias for device TCP/IP (scope) without using Max? The VISA is used to refer to the scope of TCP/IP. I need to distribute the executable vi to the other PC and I would like to avoid the installation of MAX just

  • Updates windows 7

    I have windows 7, from 6-10 that my computer stop saying that it updates of 7 elements, they are all faloures, I tried to do this manual too but nothing happens, have ideas? Galina cordially

  • HP pavilion dv6-2150us: problems with the upgrade of processor for an i7-720qm on a hp pavilion dv6-2150us

    Hi all My friend recently bought an i7-720qm processor used to upgrade hp pavilion dv6 2 1 5 0 US and I summer giving a helping hand by making the upgrade. Since the 10 Windows running Google Chrome used up to 70% of the processing of an i3 - 330 m p