Output signal analog two at the same time with the SCC-68. Is this possible?

Hello!

I plug in my SCC-68 two things. You're driving in the ao0 (22 screw terminals) and aoGND (55 terminal screw) and a speaker in ao1 (terminal screws 21) and aoGND (55 terminal screw).

I'm trying to generate a sugnal ao1 sine and a DC ao0 signal. Separately, they work, but at the same time they do not have...

I had try in Labview SignalExpress and also...

Any help?

Thanks: Koli

Hi Koli,

already use you it in your code. The vi s Express that you marked with ao0 ao1. :-)

Mike

Tags: NI Software

Similar Questions

  • 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

  • Why can't acquire data from strain and resistance at the same time with a NI 9219 module?

    Hello

    I use a chassis with a NI9219 module 9172 cDAQ to try to acquire the strain and resistance at the same time, with the Labview SignalExpress software.  Is this possible?  When I try to display two values of signal at the same time, I get an error of assistant DAQ 50103 'the specified resource is reserved.  The operation could not be performed as indicated.  I used to be able to acquire the strain and tension at the same time, but now even that gives me error 50103.  I have hours trying to figure this out.  Any help would be greatly appreciated.

    Thank you

    Justin

    That's all!  Thank you very much, now I can sleep tonight - seriously!

    Thanks again,

    Justin

  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • How many user take RDP at the same time with different user login ID in Server R2 2012

    How many user take RDP at the same time with different user login ID in Server R2 2012?

    How many user take RDP at the same time with different user login ID in Server 2008 R2?

    How many user take RDP at the same time with different user login ID in Server 2012 starndard?

    How many user take RDP at the same time with different user login ID in Server 2008 standard?

    This issue is beyond the scope of this site (for consumers) and to make sure you get the best answer, we need to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • I want to teach my students the adobe Illustrator. If I buy CC-Illustrator, we work at the same time with every devices with my ID?

    I want to teach my students the adobe Illustrator. If I buy CC-Illustrator, we work at the same time with every devices with my ID?

    No, you have your own identification number

  • I live in the United States and would like to buy a song from the Germany. Is this Possible?

    I live in the United States and would like to buy a song from the Germany. Is this possible?

    Hello

    You can buy songs that are available on iTunes Store for your country.

  • Create a disc of the Encyclopedia Britannica, which is designed for up to Windows XP with Vista work. Is this possible?

    Create a disc of the Encyclopedia Britannica, which is designed for up to Windows XP with Vista work. Is this possible?

    Hi Silas Martin,

    I have not used Britannica for many years now, but I suppose there is a program of "installation"? If so, try compatibility mode.

    1 / locate the setup.exe (or install file) for the program of Britannica

    2 / right click on the file setup.exe or install.exe, and in the drop-down menu, select Properties.

    3 / in the Properties window, click the Compatibility tab

    4 / on the Compatibility tab place a 'TICK' in the box beside the box "run this program in compatibility mode for", then select the operating system Windows XP (Service Pack 3). This should automatically appear in the box under the run this program in compatibility mode for option. If Windows XP is not visible, then click on the arrow down to see a selection of the available operating system options.

    5 / click OK

    6 / the installation program will now begin to install the program in compatibility mode for Windows XP

    7 / once done, you should be able to run the program as if you were using Windows XP

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Desktop Experience: Web:http://www.winuser.co.uk;  Web: http://xphelpandsupport.mvps.org;  Web: http://vistasupport.mvps.org;  Web: http://www.silversurfer-guide.com

  • Looking for specific files of the .bkf. Is this possible?

    I have an external drive on which I had saved the entire desktop.  Desktop is dead (without power on/off switch) and now have a new laptop.  Looking for specific files of the .bkf.  Is this possible? If this is not the case, how can I 'restore' old office files to new pc? XP on desktop and laptop.

    What are the Windows Vista forums. Please repost your questions in the forum XP here: http://social.answers.microsoft.com/Forums/en-US/category/windowsxp.

  • I have a pdf file and I need to convert to word to modify the document.  Is this possible?

    I have a pdf file and I need to convert to word to modify the document.  Is this possible?

    As far as I know, this is not possible with just the free reader. You will need Acrobat or one of its associated services.

  • Photoshop CS6. How to jump to a text block to another without going through the toolbar. Is this possible?

    Photoshop CS6. How to jump to a text block to another without going through the toolbar. Is this possible?

    Choose the (circled) T will isolate and stack layers of text to make it from one to the other just about choosing a distinctly named layer

  • I want to download ancient Photoshop 4.0 or following, but not not as modern as the CS. Is this possible?

    I want to download ancient Photoshop 4.0 or following, but not as modern as the CS. Is this possible?

    They were on the CD as the tests, save/print functions have been disabled. There wasn't any 'unlock code '. The commercial version was the only fully functional version.

    So, no. There is no 4 versions available on Adobe servers CS.

  • Can I flag on iPad for deleting and data synchronization to my office for the suppression of the CATALOG. Is this possible?

    I want to mark photos on my iPad for deletion and have this synchronization of data to my office for the suppression of the CATALOG. Is this possible?

    Yes, this is how it works.

  • Question about running from two cameras at the same time with MAX

    Hello

    I have two cameras attached to NI PCIe-1430 frame grabber card (Atmel Aviiva M2 CL and Fairchild 2 K LS) IRLS. It's ok when I run two cameras individually, but I can't run them at the same time.

    This is the step that simultaneously run two device:

    1. open MAX, select the port and start image acquisition by pressing the 'Grab' button, I can see the image at this point.

    2. open another MAX session, select the other port and press "enter". I got following error:

    "Error 0xBFF60021".

    Unable to perform request; acquisition in progress'

    Sometimes, I got this error too:

    "Error 0xBFF60022".

    A timeout error occurred while you wait for the specified event. If you expect a picture, check the video data is acquired in the period. If in the meantime the signal, check that the assertion of signal has occurred within the period. »

    I already give enough timeout Fame to the tab settings of Acquisition.

    The MAX version used is 4.5.

    You have an idea on that? Makes simultaneous Imaging MAX support?

    Thank you

    -polarfox

    Thanks for the quick response Bruce.

  • Problem with the connection of two computers with windows7 to internet at the same time with wrt110

    Me and my friend have two windows7 installed on our computers.

    If one connects to the internet via a WRT110 wireless router it goes without any problems.

    But if we both try to connect to the internet at the same time, it does not connect.

    Can anyone help?

    You can try the upgrade/flashing the firmware on the router... Download the firmware from www.linksys.com/downloads and save it on the desktop... Opening of session in the Linksys GUI and click on the Administration tab... Click on the "firmware upgrade" sub-tab and choose the correct .bin file... click on upgrade... Wait a few seconds until it shows that "the update is successful," after the upgrade of the firmware, click on "Reboot" and you will be returned to the same page OR it will say 'cannot display the Page.

    Now, hold down the button to reset for 30 seconds... Release the reset button... Unplug the power cable from your router, wait 30 seconds and reconnect the power cable... Now re - configure your router...

Maybe you are looking for

  • Vista - complete PC - cannot restore without a good Vista DVD backup

    I did a complete PC Backup using the tools system of Windows Vista on an external USB drive. When I tried to restore from it as I did the following: 1. plugged in USB drive2 startup PC, press F8 until I got the recovery menu3. choose the option to re

  • Windows XP system repair and commmand prompt still does not

    I'm still having a promblem with my computer. System repair and command prompt still does not. I got a response from Joselbarra, but I can't find the link to meet him. So if you see this here some answers to the questions you asked. My system is micr

  • Variable button

    Hello Does anyone know how to create a button that changes its label just by clicking on it. Basically, my goals is to create a table with buttons marked '1' or '0', and whenever the user clicks on the button, it goes from his current number ('0 ' or

  • Windows 8 is not connecting with my internet.

    I had to reset hard my computer to a factory state original because he was about to crash. Nothing was wrong for 2 weeks and I get my internet is this as not having don't not linking with a * mark by it, when I try to connect it will tell me "Unable

  • Where can I find a complete list of updates in first CC 2015 (including bug fixes)

    Hi allIs there a documentation which details all the updates and bug fixes for Premiere Pro CC 2015?  I was not able to find it.Thank you!-Randy