Conversion of analogue data charts

Hello

I realize a LabView program to control a stepper motor.

My problem is that the command sent to the engine is not the instruction that I give to the program. I found that the error is committed when the data is converted to analogue data charts.

I don't understand what the problem is. Is that the problem is the functions that I use to convert data? (see my attached picture of the program)

Thanking you

Try to use a node table to build the cluster build and convert the cluster node group node instead.

Normally, the type of data expected by the 1 d Analog Waveform N channel N samples VI is an array of waveforms.

In addition, you do not include your basic DAQ configuration in the image; It would be useful to see how you set up the device.

Tags: NI Software

Similar Questions

  • Optimize the conversion of SGL data chain

    As the title indicates, I'm looking to pronounce on a more efficient way (as appropriate) to convert a string into an array of SGL.

    The detachment is just to get feedback on the best ways of doing things from a personal educational point of view. I don't actually have to improve performance... (Just keep improving my skills of codeing.)

    'More effective' here must take to be less cycles of CPU and low memory footprint, in that order. (That is, most small load on CPU is preferred, if smaller memory footprint is at the expense of the other cycles CPU, the hit on memory footprint is preferred).

    The length of the input string comes from a TCP read and contains only the raw bytes of the expected (in this case, SGL) format without any header/footer of meta-data.

    Currently, my implementation is very simple and given that the expected table size is known, I am relying on the loop being smart in his automatic indexation allowance.

    For the conversion, I do a right type-Gallery of 4 characters at once.

    The code below, the for loop is simply intended to give a 'real' output boolean if the string length is the length of expected as determined by the input string 'number of track points. No additional error handling is required or necessary.

    I suspect the "subset of string" combined with the iterations (for loop) are the two worst performance in this VI hits, but I can't think of a good way to do the conversion as a table, and if I could, then I should at least do a conversion in 'string to array U8' first.

    Thanks to all who took the time to read and watch. Your time and your contribution is appreciated as always!

    Q

    Hi Q,

    Why don't convert you directly in a table of SGL? No need of a loop FOR, nor for StringSubset...

  • May not increase the value of data chart history but may decrease

    Hello

    In my application, I use 3 cards. I have 250 Hz sampling frequency on my system and I want to display a different number of seconds on my paintings.

    By default, the chart history data have 1024 points, which is second ~4.1.

    Now the problem is, if I put this value Let's say 100, it works well, is less points on the graph.

    But, If I try to back to 1024 or any value that is greater than the previous, it won't affect my chart.

    Graph will always display the lowest number of points of each value written in 'length of the graphic history ".

    Is in fact the value in the length graphic window, but it does not really affect.

    In addition, the problem is that it worked fine yesterday, but today it stopped working.

    I also have a VISA for VCP USB port, if this has something to do here, but I'm sure that's not.

    Thanks for the help and answers.

    Make sure your x-axis are the autoscale value.

  • problem with implicit to the conversion of the date in oracle

    Next date functions will work fine as long as string confirms for the next model of the date

    D MY separator2 R separator1

    the separator can be any sign of punctuation (/ $ % & *, ^) sapces, tabs...

    as
    Select ADD_MONTHS('21$MAY*2010',2) from DUAL;

    SELECT MONTHS_BETWEEN (23 ^ FEB & 2010', ' 11% jan(2011') FROM DUAL;)

    the two works perfectly, but it does not work in the ROUND functions (date) and TRUNC (date);

    SELECT ROUND('12-FEB-2010') FROM DUAL; -gives error

    It needs explicit conversion using TO_DATE();

    My question is why what is happening?
    Is it because we have two functions ROUND (NUMBER) and ROUND (DATE)?

    Hello

    Welcome to the forum!

    user650693 wrote:
    Next date functions will work fine as long as string confirms for the next model of the date

    All of the built-in functions will work fine as long as use you them as directed; in particular, pass arguments that have the correct data type. If a function requires a DATE for an argument, always place a DATE, not a VARCHAR2 you hope will be be implicitly converted to DATE.

    D MY separator2 R separator1

    the separator can be any sign of punctuation (/ $ % & *, ^) sapces, tabs...

    This applies to explicitly call the functions where a format string is used, for example, TO_DATE.

    as
    Select ADD_MONTHS('21$MAY*2010',2) from DUAL;

    SELECT MONTHS_BETWEEN ('23 ^ FEB & 2010', ' 11% jan(2011') FROM DUAL;)

    the two works perfectly,

    As the respondent previous said, the two work may , depends on several factors, such as your NLS parameters. It's a very bad habit to rely on such things. The 1st argument to ADD_MONTHS and two arguments to MONTHS_BETWEEN, are supposed to be DATEs, so always call these functions with the DATEs.

    but this does not work in the ROUND functions (date) and TRUNC (date);
    SELECT ROUND('12-FEB-2010') FROM DUAL; -gives error

    It needs explicit conversion using TO_DATE();

    My question is why what is happening?
    Is it because we have two functions ROUND (NUMBER) and ROUND (DATE)?

    No, it's because there is no ROUND function (VARCHAR2).
    The use of strings which are expected of the DATEs is simply asking for trouble. Sometimes, you get what you're asking.

  • Conversion of a data type to the data type Timestamp Date equivalent

    I'm trying to use the date of update the son page to track sales phase changes that occur each day associated with a campaign. Reporting requirements are to break the daily accomplishments of the users each day from the previous week. I can't find any other date field which provides information on when a sales stage has changed.

    I've searched high and low and ordered Mr. Lairson (sp?) book, but can't wait until I get to solve my problem.

    Can someone advise, very explicitly since I was a novice, on exactly how to type such a conversion?

    I don't know if I understand your query exactly, however if you are looking to convert a timestamp value (i.e. Date of change) in a short date format, then you can use: -

    CAST (timestamp AS DATE)

    for example CAST (lead. (' "Last modified" DATE)

    I hope this helps.
    Kind regards
    Cameron

    Published by: Cameron McGrath on March 6, 2009 02:29

  • Conversion hexadecimal number / date

    Hello!

    Im having a problem of conversion of hexadecimal code number / date.

    Select low_value, ALL_TAB_COL_STATISTICS high_value;

    IV tried HEX_TO_CHAR and that works very well.

    Select column_name, UTL_I18N. RAW_TO_CHAR (low_value), UTL_I18N. RAW_TO_CHAR (high_value), low_value, UTL_I18N. RAW_TO_CHAR (HIGH_VALUE) from ALL_TAB_COL_STATISTICS where owner = 'user' and table_name = 'table_name ';

    If you type this statement, you will see that the numeric fields and date fields get caught in () type of fields.

    Any solution for this?

    BR / S-A

    Published by: SweAnderline on 14-nov-2008 12:58

    http://www.psoug.org/reference/DBMS_STATS.html

    SELECT column_name, data_type, low_value, high_value
    FROM dba_tab_cols
    WHERE table_name = 'AIRPLANES'
    AND column_name = 'ORDER_DATE';
    
    set serveroutput on
    
    DECLARE
     rv RAW(32) := '786B060818023A';
     dt DATE;
    BEGIN
      dbms_stats.convert_raw_value(rv, dt);
      dbms_output.put_line(TO_CHAR(dt));
    END;
    
  • Channel of String conversion to the data channel

    I have a problem I tried to accomplish through a. The URI of the file but can seem to make it work good for me.  I have an original data channel are in TEXT format and the data in the channel are the phone number in the format 6667779999 or 4343. Can someone help me with a suggestion of script to convert this. Most of my ATTEMPTS end with a 66.67779e5.  Can be simple but I can just figure it out.

    Thank you J

    Hello J,

    A number such as 66.6778888e5 can be shown as 6667778888 in a DISPLAY box or table or text REPORT or a axis of REPORT graph by using the display correct format string - in this case "d".  Where do you 6667778888 number appears like this in DIAdem, exactly?  If you want to see in a BULLETIN Board, you will need to choose the option button 'Selected channels' first in the configuration dialog box, and only then will you be able to choose a format string to display such as "d" for this column.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • TDMS of MDF time stamp conversion error / storage date time change

    I fought it for a while, I thought I'd throw it out there...

    Let's say I have a file TDMS which has a channel of labview time stamp and thermocouple 2.

    I load in DIADEM, I get this:

    Perfect!  But now let's say I want to save the PDM as a MDF file so I can see him in Vector sofa.  I right click and save as MDF, perfect.  I started couch and get this:

    The year 2121, yes I take data on a star boat!  It seems to be taking the stamp of date/time storage TDMS as starting point and adding the TC_Timestamp channel.

    If I change the channel of TC_Timestamp to 1, 2, 3, 4, 5, 6, 7 etc... and save as MDF, I get this:

    Very close, 2012!   But what I really want is what to show of the time, it was recorded what would be the 10/09/2012.

    The problem is whenever I do like recording, date storage time is updated right now, then the MDF plugin seems to use it as a starting point.

    is it possible to stop this update in TIARA?

    Thank you

    Ben

    Hi Ben,

    You got it right that the MDF use written the time of storage to start MDF that is updated by DIAdem when writing time. We are working on this and will return to you, if there is no progress.

    To work around the problem, you can try convert TDMS MDF in LabVIEW storage vis.

    Something like the following, you can write your start time of measurement to the MDF file.

    Hope this helps,

    Mavis

  • conversion issues dynamic data in dbl/Boolean to a simulated signal

    Hello world

    I try to just do simulated flashing of the LED with a square wave. It has been 3 hours I'm looking why the does'nt of convertion of dynamic data that is updated at each iteration (it seems that the problems).

    I tried with all the options of the object to "convert", but I could not (I'm desperate)

    in the attached .vi, I chose "the most recent value.

    could have a peek at my .vi?

    Thank you very much

    Guillaume.


  • Conversion of BLOB data in images

    Hello

    I have a sqlite .db file which consists of data in string, int, and blob data types. The data blob is made up of images. Can someone tell me how to convert the data blob in images and then display in a list field. Code snippets and tutorials will be of great help...

    Hi @rahul_kalidindi

    I've never used SQLITE so let me ask you a question first.

    You can retrieve an array of bytes of this blob?

    If so, than to simply use in Bitmap.createBitmap... method...

  • Need help for the conversion of the Date

    Hi all

    Your expert input is much appreciated.

    Have a problem where it is my master table structure, whenever there is an update/delete/insert on the main table
    There's a trigger that insert an entry in the Audit table.

    SQL > cpp_Master Desc;
    Number of Ent_id
    Date of Ent_date

    SQL > Desc Cpp_Master_Audit
    Number of Ent_id
    Date of Ent_date,
    Insert_type varchar2 (1)

    The problem is that when we insert the Sub record in the table, the ent_date column appears in this way.

    SQL > INSERT INTO CED.cpp_Master (ENT_ID, Ent_date)
    VALUES (6030902, TO_DATE (1 JANUARY 01 00:00:00 ', ' HH24: PUT DD/MM/YYYY "));

    SQL > SELECT * FROM CED.cpp_Master;

    6030902 01/01/0001

    SQL > SELECT * FROM CDS. Cpp_Master_Audit;

    6030902 01/01/0001

    But when I update the date is coming up as below

    SQL > update ced.cpp_Master set Ent_date = to_date (' 1 March 01', ' dd-mon-YYYY "") where ent_id = '6030902';
    SQL > commit;

    Tried under updates so

    (

    Update ced.cpp_Master set Ent_date = ' March 1 01' where ent_id = '6030902';

    Update ced.cpp_Master set Ent_date = to_char (' 1 March 01', ' dd-mon-YYYY "") where ent_id = '6030902';

    )

    Whenever the output below always. (Insert has no problem, just update a problem)

    I wonder why when there is an insertion of the date value is "01/01/01" in (Cpp_Master_Audit), but when I update the date value is "01/01/2001" ".

    I need the value to insert as "01/01/01", as all that was updated in Master table (Cpp_Master)

    SQL > SELECT * FROM CED.cpp_Master;

    6030902 01/01/2001



    My request to trigger:

    CREATE OR REPLACE TRIGGER CDS. CPP_AUDT
    AFTER INSERT OR UPDATE OR DELETE
    ON CED.cpp_Master REFERENCING OLD AS OLD AGAIN AS NEW
    FOR EACH LINE
    DECLARE
    l_action_code VARCHAR2 (1);
    BEGIN

    IF THE INSERTION
    THEN
    l_action_code: = 'I ';
    ELSIF UPDATE
    THEN
    l_action_code: = 'U ';
    ON THE OTHER
    l_action_code: = ';
    END IF;

    IF (l_action_code = 'I'
    OR l_action_code = '
    OR (l_action_code = 'U'
    AND (NVL (: OLD.)) ENT_ID, 0) NVL <>(: NEW.) ENT_ID, 0)
    OR NVL (TO_CHAR (: OLD.)) Ent_date, ' mm/dd/yyyy'),
    'X') <>
    NVL (TO_CHAR (: NEW.)) Ent_date, ' mm/dd/yyyy'),
    « X »)
    )))
    THEN
    INSERT IN DEC. () Cpp_Master_Audit
    ENT_ID, Ent_date, Insert_type
    )
    VALUES (DECODE (: OLD.ent_id, NULL,: NEW.ent_id,: OLD.ent_id),)
    DECODE (l_action_code, 'I',: NEW.) Ent_date, 'd', NULL, 'U', DECODE (: NEW.) Ent_date,: OLD. Ent_date, NULL,: NEW. Ent_date)),
    Insert_type l_action_code);

    END IF;
    END;
    /

    You wrote that ent_date is of type DATE

    SQL > cpp_Master Desc;

    Number of Ent_id

    Date of Ent_date

    so DO NOT fill with a chain, but with a date, and you have correct data in it.

    This:

    Update ced.cpp_Master set Ent_date = 1 March 01 ' where ent_id = '6030902';

    is simply wrong that fill you your column DATE with a string and your NUMBER column with a string filter too.


    Use

    Update ced.cpp_Master

    Set Ent_date = TO_DATE('01-MAR-0001','DD-MON-YYYY') where ent_id = 6030902;

    and you will have no problems (as long as the NLS_DATE_LANGUAGE parameter is set correctly to support abbreviations English months)

    HTH

  • Download data - problems with the conversion of the date

    Hello

    I have a picture that I downloaded from a database of oracle using SAS. It has a column with dates in the following format: 10/31/2012 11:00

    When I download the data (via workshop SQL-> utilities-> data workshop-> load data) by categorizing my dates as varchar2, everything works fine... but fails when I choose my type in the Date column.

    Please advice how to fix this

    Thank you

    K I import my data with other tools. Looking at the workshop of data utility, no doubt you would put MM/DD/YYYY HH: mi: SS AM in the 'Format' field for this column.

  • conversion of the date string

    Hello

    I've recently become involved with databases, and I hit a little snag.
    I have strings that represent a date, they are very oddly formatted and need to store them as dates. the format string looks like this:

    "Monday, May 13, 2001"

    How can I effectively convert DATE type?
    I hope it's more simple I think.
    Thanks in advance
    /* Formatted on 2012/06/26 04:31 (Formatter Plus v4.8.8) */
    SELECT TO_DATE (REGEXP_REPLACE ('SUNDAY,May the 13th of 2001', 'the|th|of',
                                    ''),
                    'DAY,MONTH DD RRRR'
                   )
      FROM DUAL;
    
  • Problem with the conversion of the date

    Hello

    I have a column called period_name which is of type varchar which contains data as jan-02 Feb-03 and 05-02, now my requirement is I want convert month names number say jan-02 to 01-02.

    I tried to use to_char (to_date(period_name,'mm/yy'), 'mm - yy') which gives good results to the selection, but when I use the same creation then Sunrise error


    [Error] Run (58:24): ORA-01858: a non-digit character was found here where was waiting for a digital


    Query:

    create the table dumm1 as
    (
    Select to_char (to_date(period_name,'mm/yy'), 'mm - yy') in the period_name of xx_alll
    )

    Concerning

    Published by: 862807 on June 13, 2011 03:30

    862807 wrote:

    Here when I write a select statement which I produced earlier works fine, but when I write the same create in her statement generates an error.

    No it's not.

    You're not extract all lines, you use Toad or some other GUI to confuse you. Enter the results data grid and type CTRL + end to fetch the last row. Or use sqlplus. The selection will fail too.

  • Conversion of the data type of a table column

    Hello

    I have a column with the varchar2 data type. I want to convert to number data type. But the data in the table are not lost. Can someone suggest me how to convert the column with the varchar2 data type to store the data in the table of number data type.

    Thanks in advance

    try something like this

    create table t(col varchar2(10));
    insert into t values('1');
    insert into t values('2');
    commit;
    select * from t;
    alter table t add  col1 number;
    update t set col1 = to_number(col);
    commit;
    alter table t drop column col;
    alter table t rename column col1 to col;
    select * from t;
    

    Published by: Karthick_Arp on April 6, 2009 12:32 AM

Maybe you are looking for

  • Impossible to download on appstore

    Hello I've updated recently for iOS version 9.2.1 on my ipad 3 and since then I'm not able to download apps. He tries just to download and finally nothing happens. When I try to restart my ipad, I see a prompt "impossible to buy. The "Apps" could not

  • Satellite L20-155 HARD disk upgrade

    Can I replace the real 60 GB HARD drive with a 120 GB HARD drive without any other upgrade?I use Vista with 1 GB of Ram. Thank you. Tony

  • What Flash Speedlite will work with my Canon Rebel EOS T3 1100 D?

    Hi, I'm new to the era of digital and older than 55 years.  My husband bought me a Canon Rebel EOS T3 1100 D in July.   (I fought the "technological" upgrade until my old film camera Canon quit on me).  I took pictures since 1966, so I'm not new to p

  • A locked WI - FI connection

    Hello, this is the second time that I write in the forum. This time I will say that on the way to selling Sansa Connect in my country. It's very cheap, about $ 60, it's because they lock the WI - FI. Once a guy in a free market (EBAY America) sell th

  • Inspiron 15 7559 - upgrade SSD

    Hello world I recently bought the 7559 Inspiron, 16 GB RAM, UHD/touch screen, 4 GB NVidia, 1 TB HDD and 128 GB of SSD. I already traded on the HARD drive for a 1 to Samsung 850 Pro SSD. I am now considering permutation of the SSD 128 GB for an equiva