3d graph write mpeg

Hi is there a general way to convert a 3d graph into a mpeg video?
i already have a vi that can convert a polar plot image into a video i was just wondering if it was possible for 3d plots?
so in other words:
can you convert directly or
can you convert a 3d plot into an colour map image??
Help!!
Solved!
Go to Solution.

I am sorry to be the bearer of bad news John, but I do not think there is any easy way to do this. I can see how is was fairly easy to do with the polar plots, as they return picture data types. However, the 3D control is an activeX embedded object, which makes life a little more difficult.
I do have a suggestion for you, although it is far from ideal. You could use a property node (implicitly linked with the front panel 3Dgraph)  to save a series of jpgs to disk. (see attachment). Once you have the image set, you could convert these to an avi. There is plenty of software available to do this - much of it seems to be freeware, just have a hunt around. If you had to compress the movie, you could convert the avi to mpeg.  
This method would be easy enough to implement.... however, I must issue a word of warning, exporting images of front panel objects (or of the front panel itself) is processor heavy. You will have to implement plenty of execution timing to get away with using this method. 
Hope this is of some use to you,
Best wishes,
Message Edited by RER on 10-20-2008 06:11 AM
Rich R
Applications Engineer
National Instruments UK & Ireland
Attachments:
3Dimage capture.jpg ‏12 KB

Similar Messages

  • XY graph: write an error

    Hello,
    I wish to write a character like an "x" or a null character (like a empity
    space) when my VI generate a read error.
    How can I do?
    Thanks

    If I understand you correctly, you show data in an xy-graph. If an error occurs you want to switch to either (1) a different point style or (2) generate a gap in the graph.
    For case (1), switch to a second plot while generating NaN on plot 1 (and vice versa). For case 2, simply add points where x or y is NaN during the error condition.
    I have attached a simple interactive example (LabVIEW 7.0). Run it and press the button to simulate the error condition. Let me know if this is what you want.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    XY_withErrors.vi ‏50 KB

  • Clearing Charts and Graphs Programmat​ically

    I must be overlooking something simple because it seems that clearing charts
    programmatically would be such a common thing, but where then is the
    attribute to do this?

    Simple indeed. Thanks Greg.
    "Greg McKaskle" wrote in message
    news:[email protected]..
    > > I must be overlooking something simple because it seems that clearing
    charts
    > > programmatically would be such a common thing, but where then is the
    > > attribute to do this?
    >
    > To clear a graph, write and empty plot (empty array) to its terminal or
    > a local
    > variable. To clear a chart, write it to the charts History attribute.
    >
    > Greg McKaskle

  • Search some infos of classes about graph

    hi,experts
    i want to know more about serveral classes:"cl_gui_customer_container","cl_gui_chart_engine","cl_gui_chart_engine_win"....
    thanks for your help!
    regards.
    ping wang

    Check this out , I have recently written this code tutorial to show how to use CL_CHART_ENGINE:
    REPORT  zat_ce_demo.
    * Global Data Portion
    DATA: g_t_sflight TYPE STANDARD TABLE OF sflight.
    DATA: wa_sflight  LIKE LINE OF g_t_sflight. DATA : g_graph_container TYPE REF TO cl_gui_custom_container.
    DATA : g_ce_viewer TYPE REF TO cl_gui_chart_engine. DATA: g_ixml        TYPE REF TO if_ixml.
    DATA: g_ixml_sf     TYPE REF TO if_ixml_stream_factory.
    DATA: okcode        LIKE sy-ucomm.
    *      Start Of Selection
    START-OF-SELECTION.
    * Get Data to be displayed on the Chart
      SELECT * FROM sflight INTO TABLE g_t_sflight.
    * create global objects
      g_ixml = cl_ixml=>create( ).
      g_ixml_sf = g_ixml->create_stream_factory( ).
    * Call the screen to display the chart
      CALL SCREEN '100'.
    Don't forget to create a dynpro screen having a custom controller using the screen painter. The ID of this custom controller should be 'GRAPH_CONTAINER'. In the PBO of this screen write the code given below :
    *      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
      DATA: l_ixml_data_doc   TYPE REF TO if_ixml_document,
            l_ixml_custom_doc TYPE REF TO if_ixml_document,
            l_ostream         TYPE REF TO if_ixml_ostream,
            l_xstr            TYPE xstring.   SET PF-STATUS '100'. * For initial display of graph data.
      IF g_graph_container IS INITIAL.
    * Create the object for container.
        CREATE OBJECT g_graph_container
          EXPORTING
            container_name = 'GRAPH_CONTAINER'.
    * Bind the container to the object.
        CREATE OBJECT g_ce_viewer
          EXPORTING
            parent = g_graph_container. * Create XML data using data in internal table.
        PERFORM create_xml_data USING l_ixml_data_doc.
        l_ostream = g_ixml_sf->create_ostream_xstring( l_xstr ).
    * Render Chart Data
        CALL METHOD l_ixml_data_doc->render
          EXPORTING
            ostream = l_ostream.
        g_ce_viewer->set_data( xdata = l_xstr ).
        CLEAR l_xstr. * Create the customizing data for the chart
        PERFORM create_customizing_data USING l_ixml_custom_doc.
        l_ostream = g_ixml_sf->create_ostream_xstring( l_xstr ).
    * Render Customizing Data
        CALL METHOD l_ixml_custom_doc->render
          EXPORTING
            ostream = l_ostream.
        g_ce_viewer->set_customizing( xdata = l_xstr ).
      ENDIF. * Render the Graph Object.
      CALL METHOD g_ce_viewer->render. ENDMODULE.                 " STATUS_0100  OUTPUT
    *      Form  CREATE_XML_DATA
    *      -->P_L_IXML_DOC  text
    FORM create_xml_data  USING p_ixml_doc TYPE REF TO if_ixml_document.   DATA: l_simplechartdata    TYPE REF TO if_ixml_element,
            l_categories         TYPE REF TO if_ixml_element,
            l_series             TYPE REF TO if_ixml_element,
            l_element            TYPE REF TO if_ixml_element,
            l_encoding           TYPE REF TO if_ixml_encoding,
            l_value              TYPE string.   p_ixml_doc = g_ixml->create_document( ). * Set encoding to UTF-8
      l_encoding = g_ixml->create_encoding(
                    byte_order = if_ixml_encoding=>co_little_endian
                    character_set = 'utf-8' ).
      p_ixml_doc->set_encoding( l_encoding ). * Populate Chart Data
      l_simplechartdata = p_ixml_doc->create_simple_element(
                   name = 'SimpleChartData' parent = p_ixml_doc ). * Populate X-Axis Values i.e. Categories and Series
      l_categories = p_ixml_doc->create_simple_element(
                name = 'Categories' parent = l_simplechartdata ). * Here you can populate the category labels. First you need
    * to create all the labels and only then you can populate
    * values for these labels.
      LOOP AT g_t_sflight INTO wa_sflight.
        l_element = p_ixml_doc->create_simple_element(
                    name = 'C' parent = l_categories ).
        CONCATENATE wa_sflight-carrid wa_sflight-connid INTO l_value.
    * Populate the category value which you want to display here.
    * This will appear in the X-axis.
        l_element->if_ixml_node~set_value( l_value ).
        CLEAR l_value.
      ENDLOOP. * Create an element for Series and then populate it's values.
      l_series = p_ixml_doc->create_simple_element(
                name = 'Series' parent = l_simplechartdata ).
    * You can set your own label for X-Axis here e.g. Airline
      l_series->set_attribute( name = 'label' value = 'Price' ).   LOOP AT g_t_sflight INTO wa_sflight.
        l_element = p_ixml_doc->create_simple_element(
                    name = 'S' parent = l_series ).
    * Populate the Value for each category you want to display from
    * your internal table.
        l_value = wa_sflight-price.
        l_element->if_ixml_node~set_value( l_value ).
        CLEAR l_value.
      ENDLOOP. * Similarly you can have number of Categories and values for each category
    * based on your requirement
      l_series = p_ixml_doc->create_simple_element(
                name = 'Series' parent = l_simplechartdata ).
      l_series->set_attribute( name = 'label' value = 'Max Capacity' ).   LOOP AT g_t_sflight INTO wa_sflight.
        l_element = p_ixml_doc->create_simple_element(
                  name = 'S' parent = l_series ).
    * Populate value for another category here.
        l_value = wa_sflight-seatsmax.
        l_element->if_ixml_node~set_value( l_value ).
        CLEAR l_value.
      ENDLOOP. ENDFORM.                    " CREATE_XML_DATA
    After setting up the data we need to pass the customizing data to the chart. Customizing data consists of various parameters which decide the look and feel of your chart. I have done in perform CREATE_CUSTOMIZING_DATA and the code for same is given below :
    *&      Form  CREATE_CUSTOMIZING_DATA
    *      -->P_L_IXML_CUSTOM_DOC  text
    FORM create_customizing_data  USING p_ixml_doc TYPE REF TO if_ixml_document.   DATA: l_root            TYPE REF TO if_ixml_element,
            l_globalsettings  TYPE REF TO if_ixml_element,
            l_default         TYPE REF TO if_ixml_element,
            l_elements        TYPE REF TO if_ixml_element,
            l_chartelements   TYPE REF TO if_ixml_element,
            l_title           TYPE REF TO if_ixml_element,
            l_element         TYPE REF TO if_ixml_element,
            l_encoding        TYPE REF TO if_ixml_encoding.
      p_ixml_doc = g_ixml->create_document( ).   l_encoding = g_ixml->create_encoding(
        byte_order = if_ixml_encoding=>co_little_endian
        character_set = 'utf-8' ).
      p_ixml_doc->set_encoding( l_encoding ).   l_root = p_ixml_doc->create_simple_element(
                name = 'SAPChartCustomizing' parent = p_ixml_doc ).
      l_root->set_attribute( name = 'version' value = '1.1' ).   l_globalsettings = p_ixml_doc->create_simple_element(
                name = 'GlobalSettings' parent = l_root ).
    l_element = p_ixml_doc->create_simple_element(
                name = 'FileType' parent = l_globalsettings ).
      l_element->if_ixml_node~set_value( 'PNG' ). * Here you can give the Chart Type i.e. 2D, 3D etc
      l_element = p_ixml_doc->create_simple_element(
                name = 'Dimension' parent = l_globalsettings ).
    * For 2 Dimensional Graph write - PseudoTwo
    * For 2 Dimensional Graph write - PseudoThree
      l_element->if_ixml_node~set_value( 'PseudoThree' ). * Here you can give the chart type
      l_element = p_ixml_doc->create_simple_element(
                  name = 'ChartType' parent = l_globalsettings ).
    * For Bar Char write - Columns
    * For Pie Chart write - Pie etc
      l_element->if_ixml_node~set_value( 'Speedometer' ).   l_element = p_ixml_doc->create_simple_element(
                name = 'FontFamily' parent = l_default ).
      l_element->if_ixml_node~set_value( 'Arial' ).   l_elements = p_ixml_doc->create_simple_element(
                name = 'Elements' parent = l_root ).
      l_chartelements = p_ixml_doc->create_simple_element(
                name = 'ChartElements' parent = l_elements ).
      l_title = p_ixml_doc->create_simple_element(
                name = 'Title' parent = l_chartelements ). * Give the desired caption for the chart here
      l_element = p_ixml_doc->create_simple_element( name = 'Caption' parent = l_title ).
      l_element->if_ixml_node~set_value( 'Airline Details' ).
    ENDFORM.                    " CREATE_CUSTOMIZING_DATA
    You can use following Category base chart types :  Lines, StackedLines, Profiles, StackedProfiles, Bars, StackedBars, Columns, StackedColumns,
    Area, StackedArea, ProfileArea, StackedProfileArea, Pie,Doughnut, SplitPie, Polar,
    Radar, StackedRadar, Speedometer.
    Last but not the least we need to handle some buttons in our PAI.
    *      Module  USER_COMMAND_0100  INPUT
    MODULE user_command_0100 INPUT.
      CASE okcode.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100 INPUT
    Let me know if u need more information.

  • Write & read transport stream?

    I have an HDTV card for my video server that reads & writes mpeg-2 transport stream files. The file format is from 'over the air' HDTV signals, and is uncompressed.
    The files are playable by VLC and other players.
    I understand that HDV is also mpeg-2 transport stream.
    Is there a way for me to create TS files with Final Cut Pro that could be read by my HTDV card (thus giving me a very nice display)?
    I'm also interested in reading the HDTV files into FCP.
    Message was edited by: Les Caudle

    Here is a tool that might help you:
    http://www.squared5.com/

  • File Import Error for mpeg-1?

    When attempting to add mpeg1 files to render queue, AME 5.0.1.0 displays a messagebox "File Import Error" "Error while decompressing the source file".
    These mpeg1s are direct from my Sony DSC-N2 point-&-shoot. GSpot identifies them as mpeg1 video codec & 32khz,64kbs,mono layer2 audio. VirtualDub has no problem with these files.
    Any ideas?  I'd upload them here but as uncompressed mpeg1s they're 41 & 19MB.

    Hi Peter,
    Thanks for posting the clip. I tested it and was able to reproduce your results.  In Adobe Media Encoder 5.0.1, installed as part of CS5 Design Premium on Windows 7 64-bit with QuickTime 7.6.9, encoding the file to F4V (or FLV or H.264) was very very slow.  It looks like AME is duplicating every frame many times over, which was confirmed when I stopped the encode and examined the partial file.
    The problem did not occur, however, on a similar computer with CS5 Production Premium installed.
    The reason, if I understand the inner workings of AME well (which I like to think that I do), has to do with which codecs are installed with AME, which is dependent on which Adobe products you have installed.  Only Production Premium, After Effects, and Premiere Pro include the MPEG codecs necessary for AME to decode MPEG files natively.  Design Premium, Flash, or any other Adobe product that installs AME do not install the MPEG codecs.
    In theory, AME shouldn't be able to read your MPEG file at all.  But when QuickTime is installed AME has a rule that allows it to ask QuickTime if it can decode certain types of files if AME can't decode them natively.  In this case, yes, QuickTime can read this MPEG file.  So it's actually QuickTime that is decoding the file for AME, and then AME takes those frames and encodes them to the output format.  If you didn't have QuickTime installed, AME would just produce an error when you tried to open the file.  (I confirmed this by uninstalling QuickTime; this is also why your previous bad QuickTime install was generating the error you first posted about.)
    The problem here seems to be that QuickTime and AME aren't talking together very well.  Either AME isn't requesting the frames correctly, or QuickTime isn't handing over the frames correctly.
    The best workaround for you will be to use a different program to transcode your MPEG files to a different format.  Either directly to F4V, or to an intermediate format (QuickTime, AVI, other) that you can then import into AME so it can properly transcode it.
    Or you can take Jim's suggestion and shoot with a camera that produces files that are more friendly to editing.  MPEG files are notoriously difficult to decode efficiently for editing, and the wide variety of implementations of the MPEG guidelines makes it nearly impossible for editing programs to be compatible with every single device that can write MPEG files.
    I do have some good news: this problem has already been resolved for a future release of AME; my test of an internal build did not reproduce the problem.
    -=TimK
    -=Adobe After Effects and Adobe Media Encoder QE

  • Is it possible to use a "for loop" structure to represent DAQ of 16 channels?

    Hi,
    I tried to search but I failed to find a similar problem so I am posting this problem here.
    I have a temperature DAQ board which has 16 channels, and I am using all 16 channels to record and monitor temperature data.
    When I writed blocks for all 16 channels, a mess was created (as you can see in my attached program). I have noticed that all the VIs for the 16 channels have similar structure, so I was thinking whether we can represent all 16 channels with a "for loop" strucutre with a pointer i scanning from i=1 to 16 as we usually do in Matlab or Fortran.
    For instance, we may try to simplify the code like:
    for i=1:1:16
         acquire data from channel i
         show data from channel i in X-Y graph
         write data from channel i to excel in every 10 seconds
    end  
    I could not do it myself because I cannot find a "pointer" to represent each channel.
    Does anyone know how to do this in LabVIEW? Thank you.
    It is said that it is best if we can put all of our code within the screen of a monitor we use by using subVIs to divide the code into many subroutines. But I found it quite difficult to do so as I have too many controls as inputs and indicators as outputs. Also, I use property node to read and write frequently, which make things harder....
    Attached code does not work as it requires the 9213 hardware, and for simplicity I deleted irrelavent modules. But if you need I can upload one that may work by modifying the read VI.
    Thank you.
    Attachments:
    ask for help.vi ‏132 KB

    Yup, instead of all these 1D arrays, use a single 2D array. Your code could be reduce to <10% of the current size. I am sure it would fit easily on a single screen.
    Also try to do some tutorial or take some courses. I realy don't think you are ready to tackle a system of this magnitude at this time.
    Your code is just peppered with very poor choices. Some things you apparently haven't figured out:
    index array is resizable. There is no need to create dozens of parallel instances, all wired to the same array and all with a unique index diagram constant. If you want all elements in order, the indices don't need to be wired at all.
    Replace all your value property nodes with local variables. Much more efficient. Then redesign the code so you don't even need most of the local variables.
    You can use built array to append elements to an existing array. Using "insert into array" is much more complicated an error prone.
    It is not a good idea to have deeply stacked while loops with the innermost loop having long delays and indeterminate stop conditions. That just gums up the gears.
    Learn about proper code architectures, state machines, etc.
    Get rid of that gigantic, all encompassing stacked sequence. I am sure you can find a better way to reset three booleans when the code is about to stop. In fact it is typically more reasonable to set things to a defined state when the program starts to avoid problems due to accidental value changes at edit time.
    Don't use hidden control/indicators as data storage and interloop communication via local variables. There are better ways.
    You can wire the reminder or Q&R directly to a case structure. No need for e.g. "=0".
    Don't use ambiguous labels, e.g.a boolean labeled "Dampers on or off". Nobody will be able to later figure out if TRUE corresponds to ON or OFF. Could it be that TRUE mean it is either ON or OFF and FALSE that it is in some imternediate position?
    LabVIEW Champion . Do more with less code and in less time .

  • Creating mp4 movie from m4v elementary streams

    Hello,
    I have some mpeg 4 video elementary streams. Those streams were extracted from MXF proxy files originally recorded with Sony's XDCam. Using ffmpeg I'm able to convert those streams into valid (muxed) mpeg 4 movies that Quicktime is able to play.
    The problem with ffmpeg is that it might violate patents and is not suitable for applications you want to (re)distribute (like in my case).
    Is it possible to create a valid mpeg 4 movie that contains my elementary stream using the Quicktime SDK?
    Basically it should be something like write mpeg 4 header and attach elementray stream.
    Regards,
    Kai
    PowerMac G4 (GE) / Dell Optiplex   Mac OS X (10.4.6)   Win XP on the Dell

    Thanks for your suggestion, but the problem is that Quicktime refuses to open my elementary streams. The binary dump of such a stream looks like raw mpeg 4 data without any header information. Quicktime player reports errors -2002, -2010 or -2048 (changing from time to time). I was able to create files that can be used by Quicktime player wiht ffmpeg and mpeg4ip. But instead of using open source software with questionable patent backgroung I would prefer to use something "more save" like the Quicktime SDK.
    What I need is a solution to wrap my elementary streams into a valid mpeg 4 structure.
    Regards,
    Kai

  • MPEG2 Realtime Encoder

    Hi,
    i search for DVD creation a MPEG2 realtime encoding hardware. I found some hardware solutions but there is no informationen given if this works with QuickTime (and with other applications that uses QuickTime).
    Is there any Hardware solutions for QuickTime out there?
    Sincerly,
    Willibald Palatin

    There is a product sold by LaCie called the Fastcoder that connects with firewire (bus powered) that will transcode DV to MPEG-2 in real time. LaCie.com has a link to a site with a quite good user's explanation and examples of how it works.
    They say if the source is not DV it will transcode from QT to DV then DV to MPEG-2. I am not sure the transcoding won't take quite a while to DV, but if you start with DV this is a lot faster than using iDVD or even Toast to write MPEG-2.
    If you have a lot to do it is not that expensive and is likely less hassle than finding a MPEG-2 hardware PC card or video card with MPEG-2 hardware acceleration.

  • Datasocket ActiveX problem

    I have an issue with the standard Datasocket VI's that come with Labview 8.2.1. Datasocket has an ActiveX component which should theoretically act the same as the canned VI's. I wanted to test the ActiveX functionality so that a fellow programmer could pass/receive data from my Labview program into his Visual C++ program. I will use the Datasocket Read/Write vi's and he could use the ActiveX components in C++.
    I'm using the 'DS 3D Graph Reader.vi' and 'DS 3D Graph Writer.vi' from the examples as the base to test out ActiveX. I spent most of a day trying to get the reader portion to read the standard output of the Writer. I kept ending up with an array of the correct size with all zeros instead of the data. If I switched the reader back to the canned vi, it worked fine. No matter how I configured the ActiveX settings, I could not read the data.
    Then I modified the Writer to use ActiveX to write data to the server instead of the Datasocket Write vi. Once I did this, I can read the data using either ActiveX or the standard Datasocket Read vi.
    What I can't figure out is why the write portion makes a difference. This is my first time using Datasocket, but not ActiveX, which I've used to communicate with Windows components and devices many times in the past. The documentation included with the Datasocket ActiveX is pretty sketchy and missing several settings which are available (the Sync settings and the Buffered settings).
    I've attached the vi's I modified to try out. Make sure to start the Writer first.
    Thanks in advance!
    Tom
    Attachments:
    DS 3D Graph Reader.vi ‏54 KB
    DS 3D Graph Writer.vi ‏49 KB

    Thanks, guys.
    No joy, unfortunately.
    I tried 'Datasocket Open' outside the loop and then closing it when quitting, but I'm still having the same issue: an ActiveX read cannot see the data, but a DS Read can.
    I've attached the new 'DS 3D Graph Writer' vi and the 2 subvi's, though Labview should have been able to find them - they're from the standard example vi.
    I don't see how to configure the Datasocket Server. Diagnostics lets me see the 3dgraph folder with the 'data' item in it, but not modify it's characteristics in any way.
    Any other suggestions?
    Attachments:
    DS 3D Graph Writer.vi ‏52 KB
    create waveform.vi ‏30 KB
    Launch DS Server if Local URL.vi ‏30 KB

  • Is there any way to run the datasocket server from the vi

    I want to run the datasocket server from the LabVIEW program and is there any command to do this. Because, I built one application vi and this vi is link with another vi using datasocket.So every time before i run the program, i need to run the data socket server. So if i forget to run the datasocket server, I need to restart my vi. So what I want to do is I want to run the data socket server, when i open this VI. So that I do not forget. Thanks.
    Saw.

    In the examples\comm folder there is a file called datasktxwin.llb In that library open e.g. DS 3D Graph Writer...launch it and you will see that it launches the data socket server. Take a look at the code and you'll find a VI that launches the server; "Launch DS server if Local URL.vi".
    If you know the path to the server executable you can always launch it using the System Exec.vi from the communication palette too. The typical command line would then be:
    C:\Program Files\National Instruments\DataSocket\cwdss.exe
    MTO

  • How do I write a vi that will save graph data and text data (related to the graph) so the next time I want to view the graph data the text data is included in the read vi?

    I am new at writing vi's and hope you may be able to help. I would like to create a vi that will graph measurements taken from a daq device. I would like to include text data that a user can choose from (example: machine number, test circuit, load cell type) that will stay with the graph so when the graph is viewed at a later time the text data (explaining parts of the graph) will display with the graph data. I have included a vi I am using to capture and display a force value. Any help would be greatly appreicated.
    Attachments:
    force.vi ‏500 KB

    What you want is a DATALOG file:
    When you save a file, use the BUNDLE function to bundle your machine number, test circuit, whatever (include a few spare fields), plus your graph data. Get the graph data from the source, or use a local variable of the graph itself.
    Wire the bundle output to the DATALOG TYPE of a NEW FILE function. (I presume you'll use a FILE DIALOG set to SAVE FILE to choose a file path).
    Write the same bundle output to the DATA input of a WRITE FILE function.
    Use a CLOSE FILE function to (ahem) close the file.
    When you want to read a file, use a FILE DIALOG set to EXISTING FILE (or some other means) to specify what file to read. Wire the same cluster type to the DATALOG TYPE of the FILE DIALOG, so that it will only
    offer files of the correct type.
    When you have a file path chosen, wire the bundle to the DATALOG TYPE input of a FILE OPEN operation.
    Use a FILE READ to read a single cluster - the output of FILE READ will be a cluster of the right type.
    Use a CLOSE FILE function to....
    Out of the FILE READ function, you can UNBUNDLE BY NAME the data and send to the graph and the other fields, or, if you're clever, you can use a cluster on the screen, and not unbundle it. That's harder though, since you probably want the text fields to be controls (inputs) and the graph to be an indicator (output).
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How to write values to an array and call these to produce an xy graph

    Hi, Hopefully someone can help. I have attahced my VI.
    I am happy with how to write data to a file, which I have already done. The next thing I want to do, is write the pressure and acoustic values to an array for the duration of my testing (Testing is when the log switch is on). Once I switch the log button on my front panel off, I want to be able to call another VI which will display an XY graph of the Pressure and acoustics Vs Time. This will be populated from the array I create. Can anyone please help.
    Thanks in advance.
    Attachments:
    PSV TEST MAIN.vi ‏203 KB

    Since you are acquiring one point at a time, use a shift register and build an array of points , bundle it and display on XY graph
    As shown in attached VI
    Attachments:
    PSV.vi ‏250 KB

  • Write bounds attribute in a XY graph property node

    Hello,
    i want to write the bounds size using the XY graph property node or something else. I want to determine the bound XY graph size. It is possible?
    Thanks!!
    LArson

    I guess a similiar query was answered here
    http://forums.ni.com/ni/board/message?board.id=170&message.id=161796#M161796

  • Merge a intensity graph to a Serial write/read

    Hey.
    I am doing my bachelor in Labview, and are using a arduino 2560 as a microcontroller for a thermal sensor.
    After many attempts on connecting the arduino to labview using LIFA.BASE I get connection sometimes, and sometimes not.
    I tried the Serial write and read program on the forum, and got much better reliability.
    I would like to use VISA, instead of Arduino int.vi
    I was hoping I could change the Serial write and read(removing the string) with putting an intensity graph in it?
    I have added the bachelor program along with the Serial write and read, can someone please help me??
    Attachments:
    bachelor_2013.vi ‏259 KB
    Modded Advanced Serial Write and Read_test.vi ‏40 KB

    There is the Simple Serial Write Read example.  That should get you started with talking over a serial port with VISA.
    It seems like you have an array of bytes that you need to send.  You just use the Byte Array To String to convert directly into a string and send it.  For reading, there is the String To Byte Array that you can use to start parsing your data.
    Show us what you have so far.  Be sure to include any sample data you may have and expected results.  Things get really confusing when stating ASCII and Hex since people can interpret that in 10 different ways.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • Upgrade OS on Xserve (late 2006)

    We have an late 2006 Xserve, running Leopard 10.5.8. I checked mac. OS support - should be 10.7.5 But when I try to update to SL or ML it does not work. I tried to boot from DVDs, also with an external drive and USB-drive. No luck. Any ideas?

  • Mini DisplayPort to Dual-Link DVI Adapter

    Hi, I am using the Apple Mini DisplayPort to Dual-Link DVI adapter to connect my 30" Apple Cinema Display (Aluminum) to my MacBook Pro 13" Retina, I am passing through the Belkin Thunderbolt Dock, so I connect the Dock to the MBP via the Thunderbolt

  • Is it possible to open/start a slideshow using a button on the home page?

    Hi all. I want a slideshow on the home page of my graphic design website, but ideally I want it to pop up 'in place' when a button is pressed (these buttons are for things like 'illustration', 'print design', 'logo design' etc, with each slideshow be

  • ODBC Error

    Hello, I'm getting an error when trying to set up an ODBC data source. I just installed the ODBC driver 9.2.0.54. When I test the connection, I first get an error that says: The procedure entry point lxhlcmod could not be located in the dynamic link

  • Controlling Subform Order

    Hi, I have a form design that contains 2 subforms, SF and SF2. Can I specify the order of subform placement in a XML data file? For example, if I want to render SF1, SF2, SF2, SF1, can I specify the order in the XML data file? I tried this: <SF1>