How to change tables of waveforms?

Hi, I hope you can help with this.

I read 6 channels of analog data to a USB - 6008 1000 samples/second, 1000 sample blocks in a loop. The data come from DAQMX as an array of 6 waveforms.

I want to (y) scale all data such as 0, 1, 2 channels are divided by 3 (because electronics has an op-amp of gain of 3 x on channels) and channels 3, 4, 5 are divided by 15 (because electronics has a 3 x the gain and there is a resistance of 5 ohms and I'm trying to measure the current).

You might think it's ridiculously easy... but:
(1) to "scale and offset" labview vi only works on waveforms (no tables of waveforms)
(2) insert a node of matlab or matscript me does not work only the tables on waveforms,
(3) with the help of a simple 'divide' VI, it is impossible to define the denominator as just one number... "3" !

any ideas? as usual, it is the kind of problem, people have to face all the time

Dave

Hi Dave,.

That's how I'd do it - use the table of values of divisor.

Hope this helps - example in lv 8.6.

Kind regards

Tags: NI Software

Similar Questions

  • How to change table properties

    Hi experts,

    How to change the properties of the cells.

    How to make the script below work.

    Could someone show me how

    Respect of

    John

    var

    doc = app.documents,

    myStories = doc.story.everyItem () .getElements (),

    cStory, myTables, cText, CTable::open;

    While (cStory = myStories.pop ()) {}

    cText = cStory.texts [0];

    If (! cText.isValid) continue;

    cText.fillColor = 'Black ';

    myTables = cText.tables.everyItem () .getElements ();

    While (CTable::open = myTables.pop ()) {}

    If (! cTable.isValid) continue;

    cTable.cells.everyItem (). texts.everyItem () .tabStops [0] .alignmentCharacter = ".";

    cTable.cells.everyItem (). texts.everyItem () .fillColor = "Black";

    cTable.cells.everyItem () .fillColor = "paper";

    cTable.cells.everyItem () .leftEdgeStrokeColor = "paper";

    cTable.cells.everyItem () .rightEdgeStrokeColor = "paper";

    cTable.cells.everyItem () .topEdgeStrokeColor = "paper";

    cTable.cells.everyItem () .bottomEdgeStrokeColor = "paper";

    }

    }

    Hi John,.

    As far as I know we can use 'chain of everyItem()' here with 2 conditions:

    1. There are at least 1 story in a doc

    2. There are at least 1 table in a doc

    so, this code should work:

    var cStoriesCheck = app.activeDocument.stories.everyItem().getElements().length;
    if (!cStoriesCheck ) exit();
    var cTablesCheck = app.activeDocument.stories.everyItem().tables.everyItem().getElements().length;
    
    app.activeDocument.stories.everyItem().texts.everyItem().fillColor = "Black"
    if (!cTablesCheck) exit();
    with ( cStories.tables.everyItem().cells.everyItem() ) {
         texts.everyItem().fillColor = mBlack;
         texts.everyItem().tabStops.everyItem().alignmentCharacter = ".";
         fillColor = "Paper";
         leftEdgeStrokeColor = "Paper";
         rightEdgeStrokeColor = "Paper";
         topEdgeStrokeColor = "Paper";
         bottomEdgeStrokeColor = "Paper";
         }
    
  • In the xml editor how to change table as below

    Hi all

    My requirement is how can I change the table from the OLD to the new

    OLD Table

    Topic Max marks Grades
    subj153
    subj152
    subj354

    NEW Table

    Topic Max marks Obtained trademarks
    subj1

    15

    9

    subj2
    subj3

    I thank in advance

    Hello

    Try the following, hope it will help you.

    XML file like this

    1

    Sub1

    10

    1

    Sub2

    20

    1

    Sub3

    30

    Model

    ID

    Name

    Brands of

    G V IF RS ID

    F NAME

    BRANDS E IF RS E

    Explanation of the tag

    G

    V

    IF

    ID

    RS

    F

    NAME

    BRANDS OF

    E

    IF

    RS

    E

    Output like this

    ID

    Name

    Brands of

    1

    Sub1

    60

    Sub2

    Sub3

    Please check the issue as resolved, if that answers your question. Thank you

    Post edited by: sfr.farhan.fani

  • How to change table

    Hi all

    How to find the characters in the table and view it in table 2 If Search_Character contains table.

    I am using the model of correspondence but not finding the character

    Thank you

    Thank you. I did it.

  • How to change table-> sql?

    I'm running 4.2.1 apex and move an application from one computer to another, since I couldn't find a way to export with all necessary tabels for this, I create sql scripts each.

    Check the results in the workshop-> tabels-> sql Object Explorer I get these results:

    CREATE TABLE  "SAMPLE" 
       (     "ID" NUMBER,
         "NAME" VARCHAR2(255),
         "SAMP_ID" NUMBER NOT NULL ENABLE,
         "SAMP_FRONT_IMAGE" BLOB,
         "SAMP_BACKWARD_IMAGE" BLOB,
          PRIMARY KEY ("ID") ENABLE
       )
    /
    ALTER TABLE  "SAMPLE" ADD CONSTRAINT "SAMPLE_CON" FOREIGN KEY ("SAMPLE_ID")
           REFERENCES  "SAMP" ("ID") ENABLE
    /

    CREATE UNIQUE INDEX  "SYS_IL0000031445C00004$$" ON  "SAMPLE" (
    /

    CREATE UNIQUE INDEX  "SYS_IL0000031445C00005$$" ON  "SAMPLE" (
    /

    CREATE OR REPLACE TRIGGER  "SAMPLE_T1" 
    BEFORE
    insert on "SAMPLE"
    for each row
    begin
    if :NEW.id is null then
      select SAMPLE_SEQ.nextval into :NEW.id from dual;
    end if;
    end;
    /
    ALTER TRIGGER  "SAMPLE_T1" ENABLE
    /

    Notice the line "CREATE a UNIQUE INDEX ' SYS_IL0000031445C00005$ $' ON 'CARD_TYPE'", which not only duplicates but shouldn't be there at all.

    So, how to edit them? Also, can anyone suggest why they are there in the first place, that I take all the code of the original project and it doesn't have these lines?

    Hello

    First of all, if you want the tables on the new computer, then you will need to export the schema database (not only the apex application) on which your application is analyzed. To export the database schema use the utility "expdp" of oracle database. This will create the dumpfile that must be imported on the new computer (or I would say that the data base). A DBA can help you do it if you don't know about it.

    Unique indexes might appear due to BLOB fields in your table. I'm guessing that oracle db creates a unique index for each BLOB and, possibly, fields in a CLOB table. Since your table contains 2 BLOB fields, two unique indexes are appearing. I see too many these type sql indexes in my tables with BLOB fields. We don't need to create them. The Oracle Apex sql gives also to these indices is actually incomplete.

    My suggestion to export the tables is perform a dump of the schema of the application using "expdp' analysis and import it using"impdp"on the new database. It is not only import tables but also triggers, packages, procedures, functions and all other objects in the schema of your db.

    Contributes to hope

    Concerning

    Marie Laure

  • How to use table 1 d of waveform in the Matlab Script

    I use Lavbiew to make the classification of Vibration signal.

    The first problem I encountered is the form of incorrect data.

    The output signals are 1 d arrary of waveform. I don't know how to use the Matlab Script.

    is someone can help me with this?

    I really appreciate your help.

    Hey beauzhang,

    I hope that you are well today. It certainly seems that we lack in some problems with the different sources and data types of wells. LVM VI Express load you have emerged from a table of waveforms. So we would need to do a few things. First of all, we need to ignore the range of interests, and we must get the waveform data elements table.

    I have provided an example of how we can extract the waveform in position 0 of the table and then pass the array of data values to the script node Y. I have configured the entry of the data of a table 1 d Reals node (by adding an entry and then the right of entry and select choose data type.)

    If you are interested in getting the values Y and build the table like you did in the script, you need to implement a different subset of table and looping mechanism in LabVIEW code to move each item to the script individually. However, I would recommend working with the entry level instead.

    I hope this helps!

  • When we use alta as default value of skin and then how to change this default skin table selectors?

    Mr President.

    Me using ALTs as my skin by default as follows

    <?xml version="1.0" encoding="UTF-8"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
      <skin-family>alta</skin-family>
      <skin-version>default</skin-version>
    </trinidad-config>
    

    Now, I want to change the width and height of the table added to a page jsff.

    How to change the source code of this file skin.

    Concerning

    Dear all!

    I get the solution to my question how to change the default alta of the skin as follows:

    
    
      altaSkin
      v1
    
    
    
    
      
        altaSkin.desktop
        altaSkin
        alta-v1.desktop
        org.apache.myfaces.trinidad.desktop
        skins/ADFSkin/ADFSkin.css
      
    
      
        altaSkin.desktop
        altaSkin
        alta.desktop
        org.apache.myfaces.trinidad.desktop
        skins/ADFSkin/ADFSkin.css
        ash.view.skinBundle
      
    
    

    If any body finds it useful and correct answer if you please points to fix in my favor.

    Concerning

  • How to change the PCTFREE parameter for an existing table

    How to change the PCTFREE parameter for an existing table?

    Guys can you help me please

    Hello

    Of course it is possible.
    In this case you would export the table from the database (using old style exp)
    Start the import with the index_file option to generate the table/index instructions
    Modify the file created and updated the PCTFREE and remove any that need to be performed (default, if I remember correctly, he comments on the statements of the Index)
    Run the file for the table and the index created
    After that start the import with the option "ignore = yes".

    Make sure that you export only this particular table using "tables =
    Also in importing the "ignore = yes" will also be important data that still exists.

    In my view, however, this is not what you want to do. It's more complex, sensitive failure and the table should be deleted, so users are affected unnecessarily long.

    Success!
    FJFranken

  • How to change the default color for tables/pivot tables

    Can someone share how to change the default font color or background for tables and PivotTables? In my view, there is a CSS or XML setting I need to change.

    It is difficult to read the text when negative numbers are RED and the overall totals have a default NAVY background fill. I'm trying to find out how to change the color of these without doing it manually to each report.

    Thank you.

    Jin

    For pivot Table

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the PivotTable section code

    For table veiw

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the section of the Table

    PS:take backup your original file before you edit any css file. Don't forget to give the points/close the thread

    Thank you
    saichand.v

  • How to change values to text using VBscript

    I have a model that contains the part of text-value 6 and a table. I figured out how to import the string table to the table, but I couldn't find how to change my text values. Below, you can see my table of text values.

    I'll send this table to DIAdem report function. Could you please help me how to change my text values in TDR using VBscript.


  • How to change the time timestamp labview at the UTC time

    Hello

    I have table of database in UTC time field.i select and insert data in the database table based on labview timestamp controll.

    example:

    Table:

    S:no U.name PWD Epoch (UTC 1970)

    1 1450422341 123 kumar

    mock 2 786 1450421623

    the era of labview is difference from UTC time. so ADD this second 2082844800 at the time of labview that it will work for selection quary but time insert is not a job.

    Here's how to convert a timestamp of LabVIEW to a timestamp of Excel (OLE).

    Red the explainiation down and I'm sure you can figure out how to change it to get the party time you need.

  • How can I make graph waveform or file with two different values of DBL Dynamics excel?

    As described in the question, I have two sources dbl from a load cell and linear actuator (from remote). I want to do a curve of load/displacement of the readings of the strength of the load cell and the readings of travel of the linear actuator. Load cell generates an analog signal that can be acquired by data acquisition and the actuator is delivered with a Board and a program of VI to control speed and measure the movement of the actuator at a sampling frequency of my choice. Is it possible that I can do a VI where he continues to collect data and build the chart I'm looking for?

    I think I see where the confusion is.  Looks like your trip data do not come directly from a sensor (LVDT, etc.), but from the control software.  If this is the case, you're stuck sort with a timing of software, that will not sync at all.  Still not really sure what the entire Setup is - but if you do not have access to data of travel other than VI control that drives the actuator, you have limited options.  It depends on where these data comes from and how it is treated.  My initial comment assumed medium of moving a sensor in another Board (Non-OR).

    You can absolutely use a shift register data (or the node property history given in the table of waveform - as someone else suggested) to save the data in the file.  Use the entry in the File.vi worksheet.  There are examples that show how to do this.

    I would start by trying to start the process (movement and data acquisition) as close to simultaneously as possible, let them operate independently, but at the same time, then after you have some data you can see if they are synchornized well enough for your application.  If you put them both in the same loop with while avoiding (wait ms) you will get incoherently timed data of these two sets of data.  Better to use examples of hardware when clock you can.  If your test article moves very slowly, it may not matter how you do it.  If it does not quickly move, will be discussed as your data of force tip line upward with your data points in moving closer in time.

    Good luck!

    Kurt

  • How to convert table 1 d wavefrom (DBL)

    Hi all

    I'm trying to convert a waveform out of Daqmx Read.vi (analog 1 wfm n samples n-channel d - it measures the temperature by thermocouples) table 1 d to save data to a text file. I tried to use the function "get the components of waveform", but it comes out an error. I have attached his printscreen. How can I convert who?

    You have a table of waveforms of the DAQmx Read - multiple channels. You will first need to use the Index Array. You can use 1 channel DAQmx Read in the first place. You can also use the waveform to export it to a spreadsheet file and not make all conversions.

  • How to change the tab order of an array of clusters?

    How to change the tab order of an array of clusters?  I have the cluster arranged into a table in the front panel.   The element of the cluster passes horizontal and array element passes vertically.   When I press the tab key, the cursor will move to the item next to the table instead of the next item in the cluster (down to the place overall).

    so you have an array of clusters or cluster and the separate table?

  • How to change the style of picture frame

    I would like to know how to change the style of table on the front. For the example below, I would like to remove the covered framework of gray color.

    I could not find the table style editor.

    First option: use the table on the classic controls palette, which has no border.

    Second option-

    1. Select the painting tool.
    2. Right click on the border.
    3. With open color dialog box, click the space bar. This toggles the color picker to work on color FG, the background color, or both. It is also described at the bottom of the color picker.
    4. When the two have been selected, you can make the frame completely transparent by selecting the color of T.

Maybe you are looking for

  • Manual for the settings of the BIOS to SR2020NX

    Hello I have a friend with a Compaq SR2020NX that just added a backup usb drive. When it boots up the computer, it goes to a start menu. Is there a document that indicates what are the BIOS settings, so I can walk my friend by changing the BIOS setti

  • Windows 7 upgrade key

    Hi all I have a problem. I tried to upgrade my laptop Satellite L500 Windows 7 Home Basic Edition to another edition like Windows 7 ultimate/Professional/Premium edition. The problem I have is that the product under my laptop key dissipated and he is

  • Blue screen of death after installing Windows updates that are automatically downloaded

    My computer got up until I get the blue screen whenever I try to install a Windows Update automatically downloaded.  The list of updates pending installation are KB978207, KB974470, KB971644, KB972270, KB905866, KB960362 and KB890830.  The first time

  • cannot connect to wifi

    having problems connecting to wifi, it is time out or can't find a connection.

  • No Audio output HDMI signal

    I am running Windows Vista SP1 on a laptop HP Pavilion.  I would like to use a TV high definition as an external display for slideshows read and other audi/visual media on the mobile phone. I connected the laptop and the TV via their HDMI ports with