To save the data rs232 into binary and to post them on a graph

Hello I finish this year a project of electronic to present in front of jury. I would like to show the assets of the Labview software by carrying out the interface of my project under this program. I have to work before with this software and an auxiliary chart to make regulation speed engine and regulation of heating. This time I would need to use the serial port .I have a serial port connected to a  CPLD+mémory SRAM. This assembly will send data by serial port . The PC must take delivery of the data in binary format and separate each one of the bit ====>first I recept the first word of 8 bits; the first bit is posted on a line the second bit on one second line etc.... (thus 8lignes) and when I recept the following word of 8 bit I carry out the same thing. In the final analysis I must find 8 lines posting a value 0 or 1 as on a logical analyzer. I hope that you will be able to help me. Thank you and sorry for my bad english.

Hi
If I translate your question into my (also foreign) english I would say that you receive bytes from the serial line in the form of characters
and that each bit is representing the state of a digital line.
So you need to read characters from the serial line 1 at a time, convert this into a byte and this one into 8 bits and display it.
Try to find all these steps and the forum will help you to add them together.
succes
greetings from the Netherlands

Similar Messages

  • To read data in a file and to post data in a graph

    hello,
    I have a textfile and I want to read the data and to post them in a graph. In my textfile, I have 3 column and each column represents a curve.
    Thank you.

    Hi
    Just use the "read spreadshee from file.vi" (See attachment).
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    LoadDataToGraph.vi ‏19 KB

  • One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    Wow, have seen Files do that, but a whole Folder as I recall!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Is there any way to save the data on my ipod if it is in recovery mode and has to be reset?

    Is there any way to save the data on my ipod if it is in recovery mode and has to be reset?

    Only if this program will get the iPod out of recovery mode.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • How can i save the data's which  i have entered into the table (webdynpro)

    Hi,
    I have created one view in that username , password fields and one button are there .
    While clicking on the button how can i save that data's into the table which i have created??
    Where i want to write the code??
    please help me...
    Thanks
    Shyja

    hi,
         in component controller create a method save, on that read the node that containing the user name and password into itab using the code wizard.now write code to insert itab to the dbtable of ur choice. save the method and activate .
    now go to ur view, create  a button.. on action of that call the method in the comp_controller.
    Regards
    Sarath
    Message was edited by:
            sarath satheesan

  • A string that can be displayed as both ASCII and hex in an indicator will only save the data to a file in ASCII format

    We can see the data in an indicator just fine, but when we try to write that string of hexadecimal data to a file, it will only save the data in ASCII format.  
    This sounds fairly simple, as the indicator can be selected to display the data in several different formats (VI>Properties>Appearance>Display Style: Normal, Backslash...., Hexadecimal).  However, I have been unable, as of yet, to save the data in different formats.
    Solved!
    Go to Solution.

    altenbach wrote:
    ... or you could just read the string:text.text property to get whatever is actually displayed.
    like this...
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    texttextString.PNG ‏6 KB

  • How do I save IRS pdf forms so that I can fill in and save the data

    when I downlaod a US government IRS form I am unable to fill in the form, save the data and print, I have tried saving as a pdf from the print menu and using the tools menu none of which works

    I know there is an app called PDFPen that is supposed to fill in PDF forms.  PDFPen is available in the App Store, but it is not free.
    I have no financial interest in PDFPen.  I also don't know if there is some cheaper way to fill in the forms.

  • How to modify and save the data in the table control

    how to modify and save the data in the table control

    hi priya,
    kindly go thru the code below.
    PROCESS BEFORE OUTPUT.
      MODULE status_9010.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_to_table.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE user_cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_from_table.
      ENDLOOP.
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to *the table control
    *zmpets_mode-modecode, zmpets_range-rangeid, *zmpets_servfacto-factor are field names of the table *control columns.
      READ TABLE int_factor INDEX tab_control-current_line.
      IF sy-subrc = 0.
        zmpets_mode-modecode = int_factor-modecode.
        zmpets_range-rangeid = int_factor-rangeid.
        zmpets_servfacto-factor = int_factor-factor.
      ENDIF.
    ENDMODULE.                 " move_data_to_table  OUTPUT
    **********************************************8888
    MODULE move_data_from_table INPUT.
    *To move the data from the table control to internal *table 'INT_FACTOR'.
      int_factor-chk = line.
      int_factor-modecode = zmpets_mode-modecode.
      int_factor-rangeid = zmpets_range-rangeid.
      int_factor-factor = zmpets_servfacto-factor.
       MODIFY int_factor INDEX tab_control-current_line.
        IF sy-subrc NE 0.
          APPEND int_factor.
          CLEAR int_factor.
        ENDIF.
    ENDMODULE.                 " move_data_from_table  INPUT
    if this helps , kindly award points.
    for any clarification just mail me.
    regards,
    Anversha.S
    [email protected]

  • HT1339 Hi i have an I pod and i had used it as hard disk also. Now when ever i connect it with my Laptop it shows restore to factory setting....i wanted to knwo is there any way i can save the data which i had already stored in the I pod

    Hi i have an I pod and i had used it as hard disk also. Now when ever i connect it with my Laptop it shows restore to factory setting....i wanted to knwo is there any way i can save the data which i had already stored in the I pod. I dont want to loose that data???

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Taking the data from interactive forms and load the data into SAP system?

    hi all,
    I want to know how to take the data from interactive forms and load the data into sap system?
    if u have any sample scenario, explain with that.
    thanks in advance
    Raja

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • Pull the data from Azure sql and load into the on premises data base

    Hi friends,
    I have small requirement here, I have to pull the data from Azure sql and load it to the on premises data base.
    I am using Azure sync process to do that, but it will take so much time to do that..
    I know that azure have some limitations, is there any other way to do this..
    Please help me on this...

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • Unable to Save the Data Using BexSetData

    Hi All,
    I have a issue regarding saving plan data,
    Design: I  got a Workbook with several tabs, each tab has a input ready Query and has a layout as below
    A formatted user facing worksheet containing; an area where the user enters their plan data with a BEx save data button, an input ready query and a worksheet containing the BExSetData formulas that reference the values entered on the user facing worksheet.
    Issue: When i try to enter the value in the user facing sheet, the data is shown in the BexSet Data Sheet with out any problem,
    But when i try to save the data the data is not saved into the cube.
    Can any one please give some ideas of possible cause.
    One more question is the input ready query doesn't have any references to other sheets, will this be a reason for the data not saved?
    Please through some ideas.
    Thanks
    GC

    Hello,
    I think it is problem with the buffer:
    Check the notes 1136163, 1138864, 1146957, 1179076.
    please check the below;
    Delta buffer query in RSRT for BI-IP ("<infoprovider>/!!1<infoprovider>)
    Planning query donu2019t show the current data
    Thanks.
    With regards,
    Anand Kumar

  • How to save the data in a Subvi

    Dear people,
    I am currently making a program which is calling with a Call by Reference Node. after that, I read out data (in this case an array of clusters) and I am writing new data to the cluster of the subvi.
    My problem is that the new data isn't stored in the subVI. If I close my Caller VI and i take a look in the SubVI all the 'new' data is erased and it seems to me that the program returned to its Default Values...
    How can I make a program so that the new data is stored in the subVI after I called it. I tried already with a invoke Node and then as method: Make all current Values Default. Actually, the SubVI is in the wrong state to execute that node...So I don't know how to go...
    Message Edited by btwesseling on 09-21-2006 07:37 AM

    Yes, I can explain,
    I am making a test program which is testing a device. There are around 400 different tests, and it is important that all the tests go in a sequential order.
    Before I actually run a test I need to give up some parameters. The parameters are been given in a mainprogram.
    so, if I load my main program, it is scanning which tests are available.  From each test I would like to see the paramters in my main-program. I am doing this by putting it into a cluster, which is been read-out by my main program. 
    I also would like to change the paramters, and then save the paramters back into the SubVI. For Example, In my main prgram I can set if a test is enabled or disabled.
    After setting the paramters the subvi closes. At the begin of testing, I scan all the tests outputs using a 'Call by Reference' node and I look if they are enabled or not. If yes, I make up an array of paths and after that all the tests which are in that array are been called and executed. the results aretransferred back to the main program, stored, and finally written in a TSV file (Tab Separated Value file.)
    the reason for a dynamically load is that in the case of someone wants to add a new test, it is dificult to change the mainprogram. In other words, the program which I am writing is for people who don't know much about labview, so I want to make it as user-friendly as possible. I am planning to make a kind of an wizard that helps the engineers to add tests.
    the second reason is that there are different devices which needs to be tested.  If I load all my tests in one time, that means that for each different device I have to load all the tests. that means that I have to load over 5000 tests in one time, which is not so nice.
    iI hope it is more clear now, but If you have more questions please let me know!

  • How to save the data that a user has written in a table (front panel) by using a "press button"?

    Hi,
    I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
    This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
    I need to save all the table data by using ONLY one button.
    Thanks for the help!
    Kind regards,
    Amaloa S.

    Hi,
    Thanks for the feedback. :-)
    Your answered helped.
    In this case I need to save the Data into an ARRAY.
    Now I have the following issue. I will try to explain:
    Suppose that I have following:
    1. Several GROUPS of Data like this:
        ER-1234
        ER-3245
        ER-4786
        ER-9080
    2. Each GROUP has the following ELEMENTS:
        A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
       So it would be like
        ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
     3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
        A:
             2,3   2,4    2, 8,   2,8 
             2,2   2,3    2, 7,   2,6
             2,1   2,6    2, 6,   2,7 
             2,5   2,4    2, 5,   2,3
    How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
    Thanks for the help!
    Best regards,
    Amaloa.

  • Dynamically built query on execution How to save the data in Object Type

    Hi,
    In pl/sql I am building and executing a query dynamically. How can I stored the output of the query in object type. I have defined the following object type and need to store the
    output of the query in it. Here is the Object Type I have
    CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPE AS OBJECT(
    pkid NUMBER,
    pkname VARCHAR2(100);
    pkcity VARCHAR2(100);
    pkcounty VARCHAR2(100)
    CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPETAB AS TABLE OF FIRST_RECORDTYPE;Here is the query generated at runtime and is inside a LOOP
    --I initialize my Object Type*
    data := new FIRST_RECORDTYPETAB();
    FOR some_cursor IN c_get_ids (username)
    LOOP
    x_context_count := x_context_count + 1;
    -- here I build the query dynamically and the same query generated is
    sql_query := 'SELECT pkid as pid ,pkname as pname,pkcity as pcity, pkcounty as pcounty FROM cities WHERE passed = <this value changes on every iteration of the cursor>'
    -- and now I need to execute the above query but need to store the output
    EXECUTE IMMEDIATE sql_query
    INTO *<I need to save the out put in the Type I defined>*
    END LOOP;
    How can I save the output of the dynamically built query in the Object Type. As I am looping so the type can have several records.
    Any help is appreciated.
    Thanks

    hai ,
    solution for Dynamically built query on execution How to save the data in Object Type.
    Step 1:(Object creation)
    SQL> ED
    Wrote file afiedt.buf
    1 Create Or Replace Type contract_details As Object(
    2 contract_number Varchar2(15),
    3 contrcat_branch Varchar2(15)
    4* );
    SQL> /
    Type created.
    Step 2:(table creation with object)
    SQL> Create Table contract_dtls(Id Number,contract contract_details)
    2 /
    Table created.
    Step 3:(execution Of procedure to insert the dynamic ouput into object types):
    Declare
    LV_V_SQL_QUERY Varchar2(4000);
    LV_N_CURSOR Integer;
    LV_N_EXECUTE_CURSOR Integer;
    LV_V_CONTRACT_BR Varchar2(15) := 'TNW'; -- change the branch name by making this as input parameter for a procedure or function
    OV_V_CONTRACT_NUMBER Varchar2(15);
    LV_V_CONTRACT_BRANCH Varchar2(15);
    Begin
    LV_V_SQL_QUERY := 'SELECT CONTRACT_NUMBER,CONTRACT_BRANCH FROM CC_CONTRACT_MASTER WHERE CONTRACT_BRANCH = '''||LV_V_CONTRACT_BR||'''';
    LV_N_CURSOR := Dbms_Sql.open_Cursor;
    Dbms_Sql.parse(LV_N_CURSOR,LV_V_SQL_QUERY,2);
    Dbms_Sql.define_Column(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER,15);
    Dbms_Sql.define_Column(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH,15);
    LV_N_EXECUTE_CURSOR := Dbms_Sql.Execute(LV_N_CURSOR);
    Loop
    Exit When Dbms_Sql.fetch_Rows (LV_N_CURSOR)= 0;
    Dbms_Sql.column_Value(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER);
    Dbms_Sql.column_Value(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH);
    Dbms_Output.put_Line('CONTRACT_BRANCH--'||LV_V_CONTRACT_BRANCH);
    Dbms_Output.put_Line('CONTRACT_NUMBER--'||OV_V_CONTRACT_NUMBER);
    INSERT INTO contract_dtls VALUES(1,CONTRACT_DETAILS(OV_V_CONTRACT_NUMBER,LV_V_CONTRACT_BRANCH));
    End Loop;
    Dbms_Sql.close_Cursor (LV_N_CURSOR);
    COMMIT;
    Exception
    When Others Then
    Dbms_Output.put_Line('SQLERRM--'||Sqlerrm);
    Dbms_Output.put_Line('SQLERRM--'||Sqlcode);
    End;
    step 4:check the values are inseted in the object included table
    SELECT * FROM contract_dtls;
    Regards
    C.karukkuvel

Maybe you are looking for

  • Why does a link to zip file on server open a blank web page?

    Using CS6, I created this page:  J & B Computers - Projects I've uploaded 2 zip files and linked them from this page with this code:  <a href="Zip Files/CheckIPApp.zip" target="_blank">Download a zip file of the IP Checking utility</a> When this link

  • Can't make an incremental backup in PSE 10 Organizer

    I don't understand why I can't make an incremental backup in PSE 10 Organizer. I made my first full backup to my external drive a week ago. Today I tried to make an incremental backup. After selecting Incremental Backup from the file menu, a new scre

  • Oracle 10g Enterprise Manager Related

    All, I want to install Oracle 10 g OEM console on my machine . I have created one database , for that I am having OEM console . I would like to add some more servers in that OEM console.please advice me. Thanks

  • Pages/Numbers '09 from App Store crash on launch

    17" MacBook Pro Mac OS X 10.6.8 2.16 GHz Intel Core Duo, 2 GB 667 MHz DDR2 SDRAM           and 11" MacBook Air Mac OS X 10.6.8 1.4 GHz Intel Core2 Duo, 4 GB 1067 MHz DDR3 bought, downloaded and installed Pages '09 and Numbers '09 from App Store both

  • Campus design

    Hello all, I'm relative new in cisco networking and i need some clarifications on cisco hierarchical campus network design. 1. Why do i have to use L3 switches on the core and distribution layers; A router implementing CEF doesn't performs switching