DAQ, sensor and dt values

Hello ! 
I have got the error 'Waveforms have different dt values'
I would like to know where I can change their values ? 
Actually, I get a signal from sensor with a DAQ.
Thanks for your help

Please post your VI so we can see your setup.  I bet there is just some stupid typo or the like that is causing your problem.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Setting up DAQ system for testing (using pressure transducer, linear position sensor and strain gauges)

    Hello,
    I like to get your suggestion in setting up the DAQ system. I am very beginner in this issue.
    These SCXI listed below are what we have in the laboratory. I will use DAQ card 6062E.
    SCXI 1000
    SCXI 1520
    SCXI 1140
    SCXI 1142
    SCXI 1305 , 1302 , 1300
    SCXI 1122
    SCXI 1100
    I will use linear position sensor in my experiment. But I'm not sure which SCXI shoud I connect to this sensor.
    This sensor gives 4-20mA output. it requires +13 to +28Vdc excitation.
    I will use pressure transducer (strain gauge type) which gives 100mV output and requires 10Vdc supply.
    I will use strain gauges 350 ohm.
    Regarding to the number of channels used in my experiment, I will use 1 channel of pressure transducer, 1 channel of linear position sensor and 3 or 4 strain gauges.
    Could you please suggest me which SCXI should be used with pressure transducer, linear position sensor and strain gauges.
    Now I'm thinking to use SCXI 1520 with strain gauges and pressure transducer. Is that ok?
    But I'm not so sure on the linear position sensor which gives current output.
    And regarding to sampling rate, I like to get minimum of 60-70 KS/s for pressure transducer. And around 1KS/s for linear position sensor and 1KS/s for each channel of strain gauge are enough. Can I archieve these sampling rate from the available SCXI modules mentioned before? I attached the datasheet of pressure transducer and linear position sensor for you. Please see attached files.
    I'm reallly look forward for your suggestion.
    Thank you in advance,
    Ganchai.
    Attachments:
    XPM6_mini. pr. transducer.pdf ‏115 KB
    linear-position-sensor.pdf ‏1683 KB

    Hi Ganchai,
    I would recommend the 1520 with a 1314 terminal block for connecting your pressure transducer and strain gauge. It is designed for excitation, bridge completion and has many other features to fit these applications. For your linear position sensor, try using the 1100 module with an additional precision shunt resistor. For example, our 1308 terminal block has built in 249Ohm shunt resistors for taking current inputs for your 1100. These connections should give you the readings you would like.
    As far as sampling rate goes, you should be fine with your requirements. Good luck and I hope you are succesful.
    PBear
    NI RF

  • Difference between input and output values

    I am using NI DAQ 6024E and SCB 68.
    I have shorted one anlog output and input channel
    in the SCB 68 board itself.(differential connection). that is whatever ouput voltage
    i am giving at o/p channel 22 and 55 should come at i/p
    channel 68 and 34. But when i read the values in my VI,
    the input voltage is higher than o/p. why is the difference.
    I used default buffer size 1000 and AI Single scan and AO Single Update.

    There doesn't seem to be a problem with your pin connections.
    The SCB-68 has a temperature sensor that can be used as cold-junction compensation for thermocouple measurements. If the temperature sensor is enabled, it will use channel 0 of the DAQ device.
    Since you are connecting to channel 0 of the 6024E, I would make sure you have the temperature sensor of the SCB-68 disabled. You can disable the temperature sensor by using the switched of the SCB-68. The User Manual of the SCB-68 is linked below and provides the information on how to disable the temperature sensor (page 2-4).
    SCB-68 68-Pin Shielded Connector Block User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/74C86ADEF0E4813F86256C84007CB3AB?OpenDocument&vid=niwc&node=132100_US
    I hope t
    his helps.
    Regards,
    Todd D.

  • How can I start a loop before the DAQ Assistand outputs a value?

    Hi everybody,
    I created a VI (See attachment) to Measure the speed of a turning wheel. (A optical detector outputs pulses which are proportional to the speed) The DAQ Assistant measures the frequency and the values are written to a log file. To log every 100 ms the value into the table, there is a while loop with should be executet 10 times a second.
    The first question:
    I want to start measurement as soon as I press "RUN". In fact, my VI first begins to run and log data when the wheel turns and the frequency is not "0". But I want to log data too, if the speed is "0". How can I programm that in Labview?
    The second problem:
    Labview writes not continuely the values: Sometimes 7 values a second, sometimes 11 values.... (I can see that because i log the time too). But if the programm runs for some seconds its getting better and better.
    How can I force Labview to run the loop exactly tacted? Is my Computer too slow? Or is my method to log continuely data simply wrong? I am relative new in Labview and would be thankful in getting help.
    Markus
    Attachments:
    Measure Frequency and Log data.vi ‏63 KB

    I would say right off hand from what you describe that the issue is not related to computer speed, but choice of operating system. Windows is not a deterministic operating system - this means you can't count on how long it will take to do anything.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • These i7 4770K Temperatures And Voltage Values Are Normal With Z87-G43?

    Hello everyone,
    I recently upgraded my good old Core2Duo rig and bought a new cpu-motherboard-ram trio. My new specs is as follows:
    - i7 4770K @ stock speed + Coolermaster 212Evo cpu cooler
    - MSI z87 g43 motherboard
    - 2x4 GB G-Skill Ripjaws X 1866Mhz
    - Case: Corsair Carbide 400R
    The problem is I wasn't aware of that new Haswell cpus are running slightly hotter and now I'm little bit worried about my temperatures. Since I was also planning to overclock my cpu a bit and trying to find a point that doesn't need a vast voltage increase, I'm losing my sleeps over this situation at the moment.
    Anyways. I'm using softwares like HWmonitor, Coretemp, Realtemp and Intel Extreme Tuning Utility. Turbo Boost is also active. So the cpu is going up until 3.9 GHz. Other than that I'm on stock speeds, and motherboard's default values. Here are my temperatures:
    Ambient room temp: Varies between 23-25 °C
    Idle: 28-30 °C
    While playing demanding games like Battlefield 4: Max 58-65°C
    With Intel Extreme Tuning's stress test for 15 mins: max 65-70 °C
    With Prime 95 Blend and OCCT burn tests for 15 mins: max 78-82 °C
    I also run realtemp's sensor test and the values are identical since it's using Prime95 too.
    I also noticed that Prime 95 and OCCT is increasing my cpu voltage value from 1.156 to 1.21 while Intel Extreme Tuning's stress test and BurnInTest is using 1.156v. All these test are using %100 of the cores. Couldn't understand why there's a voltage increase on certain tests which leads my temps go even higher and higher. Will I encounter these kinds of random voltage increases during normal tasks? Like playing games, rendering some stuff etc..?
    On the other hand I tried motherboard's OC Genie future to see what happens. It overclocked the cpu automatically to 4.0 GHz @1.10v. With this setting I've seen max of 70 °C for a second and mostly 65-68°C under OCCT stress test. And also my voltage didn't increase at all and sit at 1.10. I'm a bit confused about these values. Since with default settings I'm getting hotter values and my voltage is going up to 1.21 with Turbo Boost under Prime95/OCCT burn tests. I also found out that my BIOS is v1.0. I don't really have a performance or a stability issue for now except this voltage thing. Does a BIOS update help on that situation? I don't really like to touch something already working OK and end up with a dead board.
    Also I'm wondering if my temperature values are normal with the cpu cooler i have (Coolermaster 212evo)?
    I also could buy some extra fans for my case (1 exhaust to top & 1 intake to side) and maybe a second fan for the cpu cooler if you guys think that these would help a bit.
    Sorry for my English by the way. I'm not a native speaker.
    Thanks for all your comments and suggestions already.

    Thanks for the reply Nichrome,
    I will follow your suggestions for the fans. Currently I don't have any fans on top. But I'm considering to buy some fans to top and side. So you get better results with top fans being exhaust right?
    Also which fan are you using as the second fan for the cpu heatsink? I would buy one of these as well since we have the same heatsink.
    I'm also using the default/auto voltages and settings at the moment. Just Turbo Boost is enabled and when it kicks in voltage is going up to 1.156. Which seems normal and doesnt produce dangerous level of heat. The thing is if I start running Prime95&OCCT the voltages going up to 1.21+ level at the same turbo boost speed (which is 3.9 GHz). And that produces a lot more heat than usual. But if I use BurnInTest or Intel Extreme Tuning Utility stress test the voltages sit at 1.156 and under full load on all cores. I'm wondering what's the reason of this difference and if it is software or motherboard related. Even with using the OC Genie @ 4.1 GHz temperatures and voltages seem lower than the stock&auto settings (idle 35-38 / stress test with OCCT 70C max, gaming 60-65C max). I'm not sure if a BIOS update would fix this. Since the whole BIOS flashing process is creeping me out. I don't like to bother with something that is already working OK. Don't want to end up with a dead board in the end :P Maybe I'm becoming a bit paranoid though, since this is a really hard earned upgrade after 6 years. :P

  • How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance

    How can i design square signal which having a positive and negative values equal to each other and separated from each other by controlled time or distance, As it is shown in the figure below. and enter this signal in a daq.
    Solved!
    Go to Solution.

    By the time you spend for the nice diadram you might have done the vi
    Your DAQ like to have a waveform (array of values and dt ak 1/samplerate)
    If you set the samplerate you know the array length , create a array of zeros, and set the values of both amplitudes ... 
    Since I don't want to wire others homework here are some pictures
    And there are some drawbacks is room for improvement in my solution, just think of rounding errors ... and what might happen if the arrays get bigger ....
    Spoiler (Highlight to read)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How will i link flowmeter sensor and labview

    Hello everyone,
    I am new in this forum and alson in labview.I have a flowmeter sensor, I made cable connections bewteen the sensor and DAQ(NI-USB 6229) The question is what am i supposed to do to read the data on sensor.I just want to measure read the flowmeter sensor and dont know how to construct the labview diagram.I searched on net and learned that I have to do something with counters to convert square signal to a grapgh.and also I searched some codes about it but there must be an easy way to do this it ooks too complicated.In attachment I am sending the vi file.
    Can you please help me because I have limited time..
    Thanks in advance.
    Attachments:
    seyfi.vi ‏62 KB

    Why did you attach a VI that writes out an analog output rather than a VI that actually reads in a signal?
    What type of signal is the flowmeter putting out?
    Did you look in LabVIEW help?  There are dozens of examples there for reading different signals using DAQmx.

  • Avoiding null and duplicate values using model clause

    Hi,
    I am trying to use model clause to get comma seperated list of data : following is the scenario:
    testuser>select * from test1;
    ID VALUE
    1 Value1
    2 Value2
    3 Value3
    4 Value4
    5 Value4
    6
    7 value5
    8
    8 rows selected.
    the query I have is:
    testuser>with src as (
    2 select distinct id,value
    3 from test1
    4 ),
    5 t as (
    6 select distinct substr(value,2) value
    7 from src
    8 model
    9 ignore nav
    10 dimension by (id)
    11 measures (cast(value as varchar2(100)) value)
    12 rules
    13 (
    14 value[any] order by id =
    15 value[cv()-1] || ',' || value[cv()]
    16 )
    17 )
    18 select max(value) oneline
    19 from t;
    ONELINE
    Value1,Value2,Value3,Value4,Value4,,value5,
    what I find is that this query has duplicate value and null (',,') coming in as data has null and duplicate value. Is there a way i can avoid the null and the duplicate values in the query output?
    thanks,
    Edited by: orausern on Feb 19, 2010 5:05 AM

    Hi,
    Try this code.
    with
    t as ( select substr(value,2)value,ind
            from test1
            model
            ignore nav
            dimension by (id)
            measures (cast(value as varchar2(100)) value, 0 ind)
            rules
            ( ind[any]=  instr(value[cv()-1],value[cv()]),
            value[any] order by id = value[cv()-1] || CASE WHEN value[cv()] IS NOT NULL
                                               and ind[cv()]=0     THEN ',' || value[cv()] END      
    select max(value) oneline
    from t;
    SQL> select * from test1;
            ID VALUE
             1 Value1
             2 Value2
             3 Value3
             4 Value4
             5 Value4
             6
             7 value5
             8
    8 ligne(s) sélectionnée(s).
    SQL> with
      2   t as ( select substr(value,2)value,ind
      3          from test1
      4          model
      5          ignore nav
      6          dimension by (id)
      7          measures (cast(value as varchar2(100)) value, 0 ind)
      8          rules
      9          ( ind[any]=  instr(value[cv()-1],value[cv()]),
    10          value[any] order by id = value[cv()-1] || CASE WHEN value[cv()] IS NOT NULL
    11                                             and ind[cv()]=0     THEN ',' || value[cv()] END 
    12          )
    13        )
    14   select max(value) oneline
    15   from t;
    ONELINE
    Value1,Value2,Value3,Value4,value5
    SQL>

  • NULL and Space value in ABAP

    Hi All,
           I like to know, is it NULL and Space value is same in ABAP, if it is not how to check null value.
    Thank you.
    Senthil

    everything is correct though some answers are not correct.
    A Database NULL value represents a field that has never been stored to database - this saving space, potentially.
    Usually all SAP tables are stored with all fields, empty fields are stored with their initial value.
    But: If a new table append is created and the newly-added fields do not have the 'initial value' marked in table definition, Oracle will just set NULL values for them.
    as mentioned: There is no NULL value to be stored in an ABAP field. The IS NULL comparison is valid only for WHERE clause in SELECT statement. WHERE field = space is different from WHERE field IS NULL. That's why you should check for both specially for appended table fields.
    If a record is selected (fulfilling another WHERE condition) into an internal table or work area, NULL values are convertted to their initial values anyway.
    Hope that sheds some light on the subject!
    regards,
    Clemens

  • Opening and Closing values on two separate rows for an indvidual A/c?

    Hi / Salam To all SAP Members,
    I am creating a COGS report in which i need to show opening and closing values for a stock account in two separate rows. The tool i am using is report painter.
    What i need to know is how can the system identify between opening and closing values for that account? Which characteristic/s do i need to include in the rows? The table i am using is FAGLFLEXT.
    Please provide help.
    Regards,
    Mohammed Ali Khan.

    Resolved Issue.

  • How to differentiate the EMPTY Records and Null Values in DSO

    Hello....how is everyone here?? Ehehehe!
    I try to load some data from the flat file which contains some EMPTY data and Null Values for the records. The data type for the InfoObjects of the fields "Quantity" is "number". The sample data from the flat file (CSV) are as below:
    Food              Quantity
    Hamburger  -       12
    Cheese        -       0
    Vegetable      -               (Empty)
    When I try to load the above sample data to the DSO, I get the results of the data as follow:
    Food              Quantity
    Hamburger     - 12.000
    Cheese           -  0.000
    Vegetable         - 0.000
    In this case, how can the user differentiate whether the records is contain empty value of null values in DSO? This is kinda of hard to differentiate the both scenarios above. Is there any way to differentiate the scenarios described here?
    Thanks alot =)

    Hi Fluffy,
    It depends on the initial values of the data type
    The inital values For quantity/Currency/ Numbers it takes spaces as 0
    for char it is SPACE
    We cannot differeniate between space and null values.
    IF you have to force this then define quantity as char and load the data. we will not have units and aggregation in this case.
    Hope this helps.
    PV

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Union two tables with diffrent count of fields with null and float value

    Hello,
    i want to union two tables, first one with 3 fields and second one with 4 fields (diffrent count of fields).
    I can add null value at end of first select but it does not work with float values in second table. Value form second table is convert to integer.
    For example:
    select null v1 from sessions
    union
    select 0.05 v1 from sessions
    result is set of null and 0 value.
    As workaround i can type:
    select null+0.0 v1 from sessions
    union
    select 0.05 v1 from sessions
    or simple change select's order.
    Is any better/proper way to do this? Can I somehow set float field type in first select?
    Best regards,
    Lukasz.
    WIN XP, MAXDB 7.6.03

    Hi Lukasz,
    in a UNION statement the first statement defines the structure (number, names and types of fields) of the resultset.
    Therefore you have to define a FLOAT field in the first SELECT statement in order to avoid conversion to VARCHAR.
    Be aware that NULL and 0.0 are not the same thus NULL+0.0 does not equal NULL.
    In fact NULL cannot equal to any number or character value at all.
    BTW: you may want to use UNION ALL to avoid the search and removal of duplicates - looks like your datasets won't contain duplicates anyhow...
    Regards,
    Lars

  • Reading and Inserting Value in Long Raw

    Hi guys !!
    I have a table with 15 columns out of which RESUME column has data type long Raw. I want to copy this table to another table with selectd columns and validation. I want to check whether RESUME column is NULL. How to achieve it ?
    Similarly, using VB how to insert and retrieve values in such column ?
    thanx in advance
    Abhi

    do one thing ,
    Create a summary item for detail amount column, say m_tot_amt
    Set its fol. properties
    Calculation Mode : Summary
    Summary : Sum
    Summ.Blk : Your detail blk
    Summ. Item : Your detail amount item
    Also, Set Query all records of your detail block as Yes
    Then In PRE-INSERT/ PRE_UPDATE of detail block, write
    :COP_ORDER_HEADER.DISCOUNT_AMOUNT := nvl(:m_tot_amt,0) ;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Find and replace value in Delimited String

    Hi All,
    I have a requirement, where i need to find and replace values in delimited string.
    For example, the string is "GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~". The 4th column gives month and year. I need to replace it with previous month name. For example: "GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~". I need to do same for last 12 months.
    I thought of first devide the values and store it in variable and then after replacing it with required value, join it back.
    I just wanted to know if there is any better way to do it?

    for example (Assumption: the abbreviated month is the first occurance of 3 consecutive alphabetic charachters)
    with testdata as (
    select 'GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~' str from dual
    select
    str
    ,regexp_substr(str, '[[:alpha:]]{3}') part
    ,to_date('01'||regexp_substr(str, '[[:alpha:]]{3}')||'2013', 'DDMONYYYY') part_date
    ,replace (str
             ,regexp_substr(str, '[[:alpha:]]{3}')
             ,to_char(add_months(to_date('01'||regexp_substr(str, '[[:alpha:]]{3}')||'2013', 'DDMONYYYY'),-1),'MON')
    ) res
    from testdata
    STR
    PART
    PART_DATE
    RES
    GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~
    FEB
    02/01/2013
    GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~
    with year included
    with testdata as (
    select 'GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~' str from dual
    select
    str
    ,regexp_substr(str, '[[:alpha:]]{3}-\d{2}') part
    ,to_date(regexp_substr(str, '[[:alpha:]]{3}-\d{2}'), 'MON-YY') part_date
    ,replace (str
             ,regexp_substr(str, '[[:alpha:]]{3}-\d{2}')
             ,to_char(add_months(to_date(regexp_substr(str, '[[:alpha:]]{3}-\d{2}'), 'MON-YY'),-1),'MON-YY')
    ) res
    from testdata
    STR
    PART
    PART_DATE
    RES
    GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~
    JAN-13
    01/01/2013
    GL~1001~157747~DEC-12~CREDIT~A~N~USD~NULL~
    Message was edited by: chris227 year included

Maybe you are looking for

  • Something is up with brsuh on cs5 photoshop for me.

    Hi everyone. I have a little problem with brushes on cs5 photoshop... The problem is that if brush is big I can't see half of the brush, but if it's small like 50px I can see it all. Maybe someone knows how to fix this problem so I could see the brus

  • Alternatives To iTunes Syncing

    I want to get my laptop's pictures and videos on my iPad without them becoming read-only, what are my options?

  • Webservices : can't debug

    Hi , I have upgrade a long running LabVIEW 2010 application (on windows) with webservices. It now has a web-based front-end, that communicates with the LabVIEW-application via webservices. Everything is working well, but I want to be able to debug th

  • Where to find OpenSSO (Enterprise) Server

    Hi all, does anybody know where I can download OpenSSO Enterprise Server? I tried to download the version 8.0 from Oracle's website, but kept getting the message : this version is no longer available for download Oracle's download pages do not have i

  • Dock icons now question marks

    I just got the new iMac today and transfered my data from my old imac to this one via Firewire. Now all my dock icons are question marks. How do I update them?