Setting up a Vi to take data from ~ 25 inputs

I am using a PCI-6033E DAQ under labview 7.1 on a PC running W 2000 and
plan to take data on ~ 25 inputs , and average them for a short period
of time. The objective is to get operational dfata on a large air dryer
system and need pressure, temperature, humidity and air flow data
in the incoming air stream. adn in other parts of the system. The
apparatus would be modified with the airfow sensor being slightly
moved farther a small distance into the airstream and this data taking
process repeated.
I would appreciate being pointed to a reference on setting up this
large a number of inputs in one vi ( or more if necessaery) , and
averaging the results - for each run and present the results in a
graph- or an impo
rt to an Excel file to then plot the results. and be
able to compare results between two runs with different insertion
distances of the airflow sensor into the air stream
That objective for this airflow sensor movement is to obtain the air
flow profile in a ~ 10" ID pipe. and other parts of the air dryer
system
Thanks in advance .
Dan

Dan,
There are two things to consider right now. The first is the programming architecture and the second is the DAQ programming.
DAQ Programming:
For the DAQ programming there are a couple of ways to set this up. Both methods are equally valid and differ only by what you are more familiar with.
The first is to programmatically setup your tasks to run different types of measurement. The following link will point you to a knowledge base on this. http://digital.ni.com/public.nsf/websearch/89B7218072F1CAF686256DC500722B6E?OpenDocument
The other way is to create a global channel for each input and group them all together on the block diagram using the DAQmx CHAN constant with I/O filtering set to �allow multiple channels�.
Program Architecture:
F
or the architecture I suggest some form of producer/consumer loop. There are templates for this setup that come with LabVIEW. This setup will allow for your acquisition and processing to run in parallel loops, which should reduce the chances of one interfering with the other.(note that there is always a limit to what you can do based on your hardware)
I think this should get you started in the right direction. Hope it helps.
Brett

Similar Messages

  • How to take data from HTML Template into BSP Variable?

    hi all,
                can we take the data from the input field of HTML Template and collect into BSP variable? i have the shown the HTML Template into BSP page by passing the url in <IFRAME> tag now i have to take the data form the into field of HTML Template and save it back to the BSP table onclicking the Save button of BSP Page. please help me out thanks in advance.
    Thanks & Regards,
    Amol

    Hi Amol,
    This is very simple....
    In the onInputProcessing event of the page use the following code to read data from the InputField into an ABAP variable...
    Then you can use it at will..!
    Code is :
    data : event       TYPE REF TO if_htmlb_data,
           but_event   TYPE REF TO cl_htmlb_event_button.
    event = cl_htmlb_manager=>get_event( request ).
    IF event->EVENT_NAME = 'button' and event->EVENT_TYPE = 'click'.
          but_event ?= event.
          CASE event->EVENT_ID.
            when 'your_button_id'.
              data : lw_inf type ref to cl_htmlb_inputfield.
                 lw_inf ?= cl_htmlb_manager=>get_data(
                                request = runtime->server->request
                                name    = 'inputField'
                                id      = 'your_inputField_id'  ).
              if lw_inf->value is not initial.
                lw_variable = lw_inf->value.
              endif.
         ENDCASE.
    ENDIF.

  • Take data from renamed column

    I created visual web part and used client object model to take data from a list.
    Worked perfect, but when I renamed the list column script failed to take data from the list.
    When I rename the list column back script worked again.
    How I can take data from the list which has rename columns?
    Thanks for any help
    bnossov

    It could be because you are using hard coded column names in your script.
    here are different ways you can make your script to work-
    1. Use the internal name of the column
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spfieldcollection.getfield(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spfieldcollection.getfieldbyinternalname(v=office.14).aspx
    2. change the column name in your code to the corresponding new name
    3. or
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spfieldcollection.trygetfieldbystaticname(v=office.14).aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Why can't apple user share or take data from Andriod?

    1.why can't apple user share or take data from Andriod?

    I was able to easily move all my data from my Android phone to my iPhone when I switched. But, that could be, because, instead of complaining, I actually asked questions that made sense, listened to the answers, did some reading and figured it out.

  • AWM dimension mapping - is it possible to load data from two input tables ?

    Hello All
    I have two tables ProductFamily (parent level) and Products (child level).
    I want to load a dimension from these two tables where the parent-child relationships are maintained (I am using AWM).
    I created a mapping with these two tables as input, but the data loaded does not maintain the relationships.
    So how do I do that? Is it possible to load dimensions where different levels get data from multiple tables?
    Is there any type of joiner available in AWM?
    thanks
    Few Notes:
    - I do not want to use OWB here as my data is clean
    - In AWM, When I loaded the data from a single view which contained data from both input tables, it worked fine. But this is my worst case option.

    You should use the Snowflake Dimension option in the Dimension mapping screen for the Product Dimension (as opposed to the default dimension mapping style - star schema).
    This will modify the mapping inputs to include a separate parent level key for each hierarchy/level i.e. for each hierarchy/level (unless topmost level of hierarchy), you need to specify the parent level key in addition to the current level key, code/name/description/other attributes etc.
    You can do the mapping in either .... use icons at the top of the mapping screen.
    the drag/drop mode by dragging the relational column onto dimension model - hierarchy/level/attribute
    -or-
    the table expression mapping mode which gives the same effect.. dragging a column onto an attribute sets the expression in <schema>.<table>.<column> format.
    HTH
    Shankar
    Note1: Complete the mapping in one go.. Switching b/w the mapping modes cause the mappings to be reset.
    Note2: Assume your data is correct, foreign key to parent level table: ProductFamily exists in child level table: Products.

  • How to pass the data from a input table to RFC data service?

    Hi,
    I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
    I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
    Thanks for your answer.

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How to combine data from different input forms outside a nested iView

    Hi,
    i try to combine data from different input forms in a single one.
    Because of space reasons in Flex compiling i already use nested iViews. Within these nested iViews its possible to use the 'combine' function to do this.
    But in the main iView I cant compose these function with other elements. I need to do this because of using these model in Guided Procedures with output parameters. These parameters I only get with a 'endPoint'. Unfortunatly its not possible to combine data from different input forms into the 'endPoint'.
    Is there any solution?
    Thanx
    Mathias

    Hi Scott,
    i tried this already and i also tried to map all parameters in the endpoint by drawing lines from the other forms and assign the 'empty parameters' by a formula.
    And when i create a collable object in GP and assign the VC iView, only the parameters of the parent-form (the form who trigger the event) are shown as output-parameters.
    Maybe any other ideas? I cant believe that such a simple thing is not possible?!?!
    In my opinion, thats a bug, that I'am not able to use the combine-operator in the main VC-iView. Whats your mind?
    greets
    mathias

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • How to read data from analog input and export it to a file using Components Works

    I've made a simple application (Delphi 5 using the activeX) that read data from analog input channel 0. After I read the data, I want to export it to a file using the Components Works on a 6035E NIDAQ. (I'm not using labview and don't want to use it)
    How can I do that???
    Regards,
    Francis

    Here's a sample code to do this...
    P.S.: If you read only one channel this code won't work.
    function MyFunction: Integer;
    var
    Low, High, i, j, ChannelCount, RowCount: Integer;
    Po: P;
    begin
    //you are reading multiple channel
    ChannelCount := VarArrayHighBound(Buffer, 1);
    RowCount := VarArrayHighBound(Buffer, 2);
    for i := 0 to ChannelCount do begin
    for j := 0 to RowCount do begin
    WriteToDisk(Buffer[i, j]));
    end;
    end;
    end;

  • How do I take data from a data grid and put it into a variable?

    I am having problems taking data from a datagrid (guess you got that from the title) and setting it to a variable. I am tak
    ing the data from 3 different rss feeds, depending on what button you press, and showing it in a grid. I would like to be able to do more with this data. Here is my code so far:
    <mx:VBox id="vbox" x="70" y="150">
      <mx:Label text="This Data Grid is doing nothing" />
      <mx:DataGrid width="1000" dataProvider="{fullXML}">
       <mx:columns>
        <mx:DataGridColumn id="dataGrid" *dataField="channel.description" headerText="Feed"/>
       </mx:columns>
      </mx:DataGrid>
    </mx:VBox>
    <!-- from test 5 -->
    <mx:Move id="moved" target="{hbox}" repeatCount="0" easingFunction="mx.effects.easing.Linear.easeIn" />
    <mx:HBox id="hbox" fontSize="12" fontFamily="courier">
      <mx:Label text="{website**}" />
    </mx:HBox>
    * this is the data I want to get out
    ** this is where I want to be able to put the variable.
    I don't know if I can do it here or if I need a function or what.
    I would like to be able to put it into an array, but step one is anything at all, so I'm trying just a variable.

    Where do I put that line of code? I see that it goes at the Script part near the top, but how can I use that, I am pretty new to this language. I am not familiar with this line, where does it bind the value from the datagrid to the variable?
    fullXML[myDataGrid.selectedIndex].FIELD_NAME;
    myDataGrid would be the id from the grid I am guessing?
    and selected index would be the channel.description part?
    and FIELD_NAME; is the variable name?
    does this go into a funtion or is it placed at the top where the variables are declared?

  • How can I take data from multiple pages documents and put them into a numbers table?

    I produce invoices in pages, with dates, invoice numbers, references and amounts due. I want to take all this data from multiple documents and transfeer it to a single numbers table. Is this possible and if so, how do I do it. I know I can do it the other way round with mail merge but I can't figure out how to do it this way round?
    Thanks,
    Keith

    The data is spread throughout a pages document in specific areas here's a copy of an invoice for you to have a look at.

  • Take data from another numbers file ?

    Let say I have a Numbers file called "FileA" and I want the Sum from another file called "fileB"that is in the same folder.
    Thanks in advance guys

    Very confusing for a newbye like me ..
    what is confusing, the script of the feature unavailability ?
    hope for the next version they will implement this simple feature
    Who told you that it's a simple feature?
    What is your knowledge in programming allowing you to state this kind of thing?
    _*Hoping is perfectly useless, Apple Engineers can't read your dreams.*_
    If you wish to get a new feature, use the dedicated channel:
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    At this time, the easy workaround is to move the tables of document 2 into document 1.
    It's easy to grab datas from one table of document 1 to an other table of the same document.
    Yvan KOENIG (VALLAURIS, France) samedi 12 septembre 2009 21:02:01

  • Bought  2012 I Mac already set up how do I access set up assistance to transfer my data from old PC david

    Hope someone can help I bought the iMac almost new and now want to transfer by date from my old PC

    Here's information on the Migration Assistant workflow for transferring data from a PC:
    http://support.apple.com/kb/HT4796
    Matt

  • How can I take data from specific column in a table using VBA

    Hi
    I do not know how to take the values from the last column in a table, I know how to look over each row but I cannot take the last column values for each row I pass by.
    This is the table for example:
    | Date | Account1 | Account2 | Description | Amount |
    |12/03/2008 | 123-32 | 325-78 | None | $50 |
    |12/03/2008 | 123-32 | 325-78 | None | $20 |
    |12/03/2008 | 123-32 | 325-78 | None | $10 |
    |12/03/2008 | 123-32 | 325-78 | None | $40 |
    I am using this code as a reference that User FiveNines gave me to loop through all the rows in the table, so What I need is to take the values of the column Amount for each row I go through.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    For Each tblRow In tbl.rows
    If tblRow.innerText = strValue Then
    RSWApp.WriteToLog "Tables", "Passed", "Row is Present", True
    End If
    Next
    End Sub

    Hi Lippix.
    This is code that will loop the rows then loop the cells and check for "$" which will return dollar values. I also attached a script.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    For Each tblRow In tbl.rows
      For Each tblCell In tblRow.cells
      ' cycle through the cells and only report those with a dollar value by searching for $
        If InStr(1, tblCell.innerText, "$") <> 0 Then
       RSWApp.WriteToLog tblCell.innerText
       End If
      Next
    Next
    End Sub

  • Best Practice to take data from 11i to 12.1

    Dear all,
    we have 2 instance on linux servers vrsion=5
    1 instance 11.5.9
    2 instance 12.1
    we want to take 11i data to 12.1
    kindly suggest me the best method to achieve it with all validations and everything
    kidnly update
    thank you,
    journey

    Hi hussain,
    we want to take whole data exist in 11i to the traget 12.1 there are many techincla change in them like some table name is change from 11 to 12 so wht whould you sugggest kindly help me.

Maybe you are looking for

  • Custom Columns in Data Form

    Hi All, Is it possible to group few columns in a data form and give it a name ? Say I have many columns in a data form , I want to group randomly few columns and call it as a "Main group" , and for few columns I want to group and called it as "Sub gr

  • Property Name : Row's height Excel

    Hello Every body, I'm using OLE objects to get data from SAP to an Excel file. I have a question concerning the height of the row. The diplayed celle should be like :                Line1                Line2                Line3                Line4

  • Checking of maximum & minimum levels of stock with error on 103 mvmnt gate

    Can anyone help me how to do settings in SPRO or is there any user exit,  to stop entries at gate (103) MIGO when maximum level of stock is already defined at MRP1 menu. Thanks SK Daniel

  • Flash and googlebot

    Google now claims the be able to index flash content by extracting text and links from (.swf) files that it's robot encounters. http://www.informit.com/articles/ar...p?p=454163&rl=1 - What I would like to know is. If your flash files are protected fr

  • Tiger and Snow Leopard

    Dear All I dont know much about these things but I was told that if I upgrade to Snow Leopard there will be a slow down in operations unless my system (Tiger) has 64bit... Is this true because I dont want to upgrade unnecessarily and have problems. t