Control two E3631A outputs at the same time with the values of voltage defined in excel

Hello

It's my first time using LabView and I want to control remote E3631A power using the instrument driver. I downloaded the driver from this site http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=0475216F9FCA5335E0440003BA7CCD...

Basically, there are two different files excel for the two output channels (+ 6V and + 25V). I'm trying to use the two output channels to review the voltage defined in excel files every second. I am able to extract data from excel, but my problem now is that I'm not sure on how to control both channels simultaneously. Could someone please help me solve this problem?

Thank you.

Just use the VI of output configure in drivers to set each supply individually.

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

  • 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

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

  • Can I have Photoshop open with my desktop and laptop at the same time with the account of the company?

    I already have two individual accounts for my husband and me, but together, we use and work on 4 computers, so we need their access at any time. At the same time I can work on Photoshop on my computer laptop and InDesign on my desk. I'm not the greatest to leave thoughts programs the day either. If at some point, Photoshop can be opened on all computers. Will this be a problem on the behalf of the company?

    Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html

    -Two activations may NOT be used at the same time (noted in the link above of the license)

    If you must have the program create open on 2 computers at the same time, look for a subscription of the TEAM, so each ID is unique

    Team license links that can help

    - https://creative.adobe.com/plans?plan=team team plans

    -http://www.adobe.com/creativecloud/buy/business.html

    -https://helpx.adobe.com/contact/creative-cloud-teams.html using the team

    -manage your account http://forums.adobe.com/thread/1460939?tstart=0 team

  • Can I pair headset Bluetooth and a chest strap heart rate monitor Bluetooth at the same time with the Apple Watch 2 series

    Does anyone know if you can pair Bluetooth headset at the same time and heart rate monitor strap chest Bluetooth with the Apple Watch series 2? I can't find any info about it online. I hope so, because they have everything works without your phone now since it has GPS. Obviously a chest strap heart rate monitor gives you a more accurate reading. And who is running without music? If they want to really all the new capabilities of fitness improved series 2, that this is a must!

    The original WATCH allows you to do this, so I don't see why the series 2 would not.

  • all play them at the same time with several videos tabs

    When I have several tabs open tabs with videos that all try to play at the same time

    Hi crazychief,

    Some Web sites will have this default tag value for their videos. You can try:

    • Enter about: config in the address bar and press to enter.
    • Agree that you will be attentive
    • Search for media.autoplay.enabled
    • Double click to change the false value

    Hope this helps!

  • HP 8630: cannot copy and fax at the same time with hp 8630 all-in-one

    This unit is designed to be able to receive a fax and copy documents at the same time?  If so, my camera doesn't seem to be able to do.  is there a solution?

    Hello
    It's a consumer product dedigned for small & medium business, he cannot perform this multitasking as a commercial product or end of superior business.

    You can use a feature to a volume, not simultsnly...

  • Measure the voltage and the temperature at the same time with a single card PCI 6014 DAQ?

    Hello guys,.

    I'm doing a charger measuring the voltage of the battery, the charge current and the temperature of the battery using a 6014 cardboard...

    I want to use my PCI6014 DAQ card to measure 2-channel analog voltage input and 1 temperature Channel Analog input using thermocouple type k measurement of voltage or temperature isolation is OK, but I can't understand how to measure the voltage and the temperature at the same time... I want to use input differential...

    Thank you in advance, all the tips

    YSL

    Create a task and add channels to the task, as follows:

    Christian

  • Can I use Lightroom on my mac and my pc at the same time with a single subscription?

    Hi all

    for five months now, I have a subscription to creative cloud for Lightroom and Photoshop. So far, I used just on my PC. Now I have bought me a MAC and want to install Lightroom on MAC either. Do I need a second subscription for MAC or can I use my subscription on MAC and PC at the same time?

    thx for your comments

    If you ask if you can run the software subscription on both machines at the same time, the answer is no.  Your license you can only use one of the facilities at any given time.

    If you ask that if you have the software installed and that can be used on both machines so the answer is Yes... just can not both machines in use, software subscription running at the same time.

Maybe you are looking for