Plotting F32 file in Labview

Hello,
I'm having issues reading and plotting my F32 file in Labview. I followed the example labview offers, and followed the method of another forum post, but both ways give me nonsense answers.
Can someone help me?
Thanks in advance!
 

Please don't attach code as a screenshot. Giving us a snippet is much, much easier for us and will get you a response faster. Some people skip over questions when there is no code supplied in an easy way.
That being said, I put together the code like the second example and it works just fine:

Similar Messages

  • Plotting data from a text file in LabView 7.1

    This my be a stupid question, but here is goes.  Working with another person, far more LabView experience than I, a VI was created to take data and output it on the screen, real time, as an x-y plot.  Once the test was completed the data was stored in an .txt file which could be read into Excel.  Now the end user wishes to read the old data back into Labview with an x-y plot of the data, the same way it was displayed during the test.  Before I started to pound my head against the wall, thought I would ask this to the group.  Everyone has been very helpful in the pass, so hopefully this will be an easy question for the group.
    The question is how do I import a text file into Labview and plot it on an x-y screen?
    Thanks,
    Scamper

    It really depends on how you've saved the data. If you have a simple text file with x data in one column and y data in another, then you can use the code below. It's just a Read From Spreadsheet File, and Index Array, and Bundle function. Modify as needed for your actual data. If you get stuck, post a small example of your data file.
    Message Edited by Dennis Knutson on 09-17-2008 11:10 AM
    Attachments:
    Read XY Graph.PNG ‏3 KB

  • Not enough memory to plot wav. file

    Hello....
    I'm new in LabVIEW and i'm try do a simple v.i. that reads a wav. file and plots it also makes spectrum analyze.
    Because the wav. that i use is ultrasound with a sampling freq. 250KHz,1channel,16bits when i open a 9 second file the V.I. plots it; but when i open an 1 minute duration file i get the "not enought memory" error.
    My system is a laptop pc with 2gb ram.
    I attach the V.I.
    Do anyone know how can i make this work?
    Thnks
    Attachments:
    UltraSound.vi ‏17 KB

    Thnks for the interest.....
    I had read many tutorials that they say that LabVIEW needs contiguous memory but i was wondering if there is any solution.
    With this V.I. when i close all the programs i manage to read and the 1 minute file but the proplem comes when i want to plot bigger files.
    I want to make it atleast to plot 6 minutes files.
    Also this is a part of one project that will records,analyzes and plays those files with the DAQ 6062E hardware.
    I allready manage to modified the standard LabVIEW V.I.'s and make one  that can plays a 6 minutes file but this works only for the playback.
    Now for the analyzing the waveform graph does not like the files.
    Please don't tell me that is an unsolve problem.... :-(
    I attach the V.I. of playback.
    Attachments:
    UltraSoundPlayer.vi ‏41 KB

  • Upload and plot text files

    Hi
    I would like to upload and plot as overlays several text files in labview.
    Uploading and ploting one file is not a problem but I want to load several and see them overlayed in a single plot.  Presumably I need a looping routine that uploads each file independently putting the data in an array, then plots each of the arrays to the x-y graph.  I just can't figure a way of doing it.  Can anybody help?

    Hi.
    Here is a small example (LV7.1)
    Message Edited by EVS on 09-05-2005 05:01 PM
    Jack
    Win XP
    LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
    Let us speek Russian
    Attachments:
    Add PlotXY.vi ‏56 KB
    Clip_7.jpg ‏64 KB

  • Stl files and labview

    Ok here we go
    Purpose: 3d micro/nanofabrication of collagen matrixes via multiphoton excitation.
    What this means: A laser is driven by two mirrors attached to galvanometers and controlled by labview. When the laser passes over the collage (several times) it becomes crosslinked. The result is a potential micro scale cell scaffold that has potential in tissue engineering.
    The goal: As of now we have limited capabilities for creating 3d structures. Lines rectangles and circles are easy enough but anything larger..or deeper requires the movement of an xyz stage which is also controlled by labview. The goal is to be able to be able to simply create an object in autocad (or a similar product) output the file to labview and run the galvanometers, which incidentally, move according to how much voltage is passed through them.
    Ideas: Let's say we wanted to create a sphere. The laser only has one plane of focus so to create a 3d object requires slicing. Divide the sphere up into several hundred slices, which, when stacked loosely resemble a jagged sphere. Slicing can be done in a program called Magics RP. This is where the .stl file comes in. From magics rp we should be able to get an .stl file that describes the coordinates of these slices (in ascii or binary format) and from here transfer the job over to labview.
    Problem: NO IDEA how to go about doing that last step. Does labview have anything built in to handle .stl files?? Any advice appreciated.

    Hi Jimbo2,
    The only mechanisms for creating 3D plots in LabVIEW are using the 3D Surface Graph, 3D Parametric Graph, and 3D Curve Graph. I don't know if these graphs will fit your application, you could probably better determine that than myself. Also, to my knowledge there is nothing inherent to LabVIEW to directly handle .stl files. However, you might be able to find a 3rd party program that will display .stl files. If the 3rd party package has an ActiveX control, you can embed it into the front panel of your VI using an ActiveX Container and call methods and properties to the control using the property nodes and invoke nodes in the ActiveX palette in LabVIEW.
    I hope this gives you a couple of ideas,
    Travis H.
    LabVIEW R&D
    National Instruments

  • Print text file with labview 2011 and windows 7

    I am having some strange problem, hope someone out there knows the solution.
    We have a labview program running under windows xp, the program runs some test and print label from a local label printer. Last week, I have to upgrade the computer to windows 7 and all the sudden the printer will not print any more.
    The print vi is very simple. I am using the report function and I am attaching the diagram of that vi below. 
    If I use windows notepad to open that small text file, I can print fine. This means the printer driver itself is OK. However, if I print the same text file through Labview printing vi, from the printer's task list, I can see it does not recognize the char. From the attached png file, the top one is the task from notepad, it shows 2 pages and the bottom one is from the labview, it becomes 33 pages. 
    For the printer part, I use Generic / Text Only printer driver which comes from windows itself. And I am aslo attaching a sample of the text file, there are quite a lot of special char, it is for print bar code. When I tried to use labview print text vi to print general text from my computer to a regular printer, the vi works. So it seems Labview print can not handle the special char? Although it worked many years under windows XP in the past.
    Welcome to any suggestions!
    Thanks
    Attachments:
    print vi.gif ‏9 KB
    labview print bug.png ‏26 KB
    SerialLabel.txt ‏1 KB

    DGU wrote:
    where to check RAW or TEXT? the print report vi only asks for file name and printer name.
    When I print from notepad, everything just goes by default. This is a label printer, so I never need to specify printing parameter such as size, orientation, etc in the past
    Famous last words go something like this: "...never had to do that before."  Maybe you have to do that now.  It's worth at least comparing the defaults settings for bothe generic drivers.  It could save you a lot of headache if you notice something different.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to open a .MAT file in LABVIEW

    Hey everyone,
    I currently have a .MAT image file which I would like to open in LABVIEW to apply some image filters. However, I am unsure as to how to open the .MAT file in LABVIEW. Ideally I would like to be able to open the .MAT file without using matlab, and it seems the only way to accomplish this task is through the mathscript node. I have attached an example of the image im trying to open, as well as the LABVIEW program which I would like to use on the image. Thanks for the feedback! =]
    Attachments:
    MAT_Image_Adjust.zip ‏1779 KB

    Hi Boiler,
    1) Do you have a choice in the format you export your data from MATLAB?
    "ASCII Format
    Complete the following steps if you want to import or export data between LabVIEW and the MATLAB® environment, the process is straightforward as long as you are using ASCII format.
    From the MATLAB® environment to LabVIEW
    To save a vector or a matrix Xin ASCII format with tab delimiter, enter the following in the command window or m-script file in the MATLAB® environment:   
    >>SAVE filename X -ascii -double -tabs
        This creates a file whose name is filename, and it contains the data X in ASCII format with a tab delimiter.
    Import the file into LabVIEW using the Read From Spreadsheet File VI located on the Programming»File I/O palette.
    2) Have you tried using the mathscript node? Did you get any errors?
    "Binary Format
    Complete the following steps if you want to import or export data between LabVIEW and MATLAB®.
    From the MATLAB® environment to LabVIEW
    To read a .mat file in LabVIEW would require a VI to parse the file. This may be easier if each variable is saved to a separate file.
    " -- this was done here, no ideas if it still works,
    I want to read a Matlab MAT file into labview
    Hope this helps, James
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • HOW CAN YOU PROCESS AN AUDIO FILE IN LABVIEW?I NEED TO TIME-PITCH SCALE IT

    hello guys.
    can you insert an audio file into labview for further processing?i need to get an audio file (stored on my computer) and further process it for time-pitch scale.does anybody know how?any pointers will much be appreciated.
    regards
    alex

    hi there
    open the "Graphics & Sound" palette from the functions menu to use vis for reading/Writing wavefiles, search the examples shipped with LV for first steps. use the VIs in the "Analyze" functions palette to modify the data.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Is there a way to create netcdf files in labview?

    I am looking for a way to create Netcdf files in labview rather than having to go through the pains of creating them in C++ and calling that from labview.

    aggieweather,
    See the following post. I think should help out. Thanks!
    Chris C
    Applications Engineering
    National Instruments
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi?

    How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi? There is probably a trivial, easy way to get this info, but I have not yet found it!  Thanks..

    Or if you want to grab all the paths programatically, try the attached VI.
    Open the top level that you want all the paths from and close all others, then open the
    attached and run it. It will return an array of all the VIs that the VI
    in question uses, including vi.lib VIs. You can filter these as well if
    you like.
    Ed
    Message Edited by Ed Dickens on 08-01-2005 07:01 PM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Get all paths.vi ‏29 KB

  • Can I open a excel file from labview

    I have a program who write temperature in a excel file and i want to open this file from labview .

    This depends slightly on the amount of data you have stored within Excel.
    You can use the "Labview Functions>>FileIO>>Read from Spreadsheet file.vi" which effectively reads all lines from a text file and converts it into a numeric array.
    Alternatively, if your data structure in Excel is more complex than this, you can use ActiveX calls to Excel to retrieve it.
    Use an "ActiveX>>Automation Refnum" control and select the Excel server class. This will then enable you to access properties and methods of Excel to retrieve data from specific cells and pages.
    The attached example should help.
    Dan
    Attachments:
    Excel_Automation.vi ‏60 KB

  • How to open multiple files in Labview?

    I want to open multiple files in labview by selecting multiple files,then read them? Can I do this in Labview 7.0?

    You can use the vi example here to get multiple names:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000C7640100&HTHREAD=000091335&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Once you have the file names, you can use a for loop w/ a Read/Open file vi to open all the files.
    2006 Ultimate LabVIEW G-eek.

  • How to load .wav files in LabView and vi for TDM,FDM,QP​SK,ASK

    Hello
    I am doing my project in LabVIEW that is VIRTUAL TELEPHONE COMMUNICATION SYSTEM
    AND APPLICATION OF LABVIEW IN ADVANCE COMMUNICATION TECHNIQUES.I have implemented every block till date but for the rest part of my project that is advance communication techniques i need vi for QPSK,TDM,FDM,ASK and I just wanted to know how to load .wav file in LabVIEW
    Please assist me for this
    Attachments:
    Telephone communication process.docx ‏25 KB

    Hi Dilpreet,
    reading wav files is easy using the functions from the sounds palette...
    For your other tasks you could use a seperate toolkit or do some programming on your own!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to print a pdf file from Labview

    Hi,
    Does anyone know how to print a pdf file form Labview. I need to be able to point on the pdf file and to print it.
    Activex examples doesnt seem to be working it always displays an error, on every PC that I tryed to run it.
    {"code 3005" ,,,"Automation Open: Object specified is not creatable in Display PDF in Dialog.vi"}.
    Thank you for your help.
    Regards,
    Jenia.

    You can use the "System Exec.vi". The command line should have the following structure:
    "<Path to AcroRd32.exe>" /t "<Path to document>" "Printer name"
    For example"
    "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /t "C:\myreport.pdf" "Tektronix Phaser 300i"
    Regards;
    Enrique
    www.vartortech.com

Maybe you are looking for

  • Acrobat 9 Printing Problems

    Hi, Hope this finds you well. I have an e-book that opens using Acrobat 9 Pro. Whenever I try to print out specific pages, whether I try current page or a range of pages it starts at some page that's not or is not in the range I have selected. I woul

  • Changing short name in Advance Option in Account in Sistem preferences

    What's happens if I change my short name in Advance option in the account menù? Apple put a warning in this page. I would like to change my short name and so the cartel where alla the files go. Thanks in advance for answering. Aldo

  • Exam 70-483 what is it good for?

    what is it good for taking the exam? if you have a CS degree and c# experience, yet can you benefit from passing the exam?

  • Can't edit objects on the stage

    Hi, I'm stumped helping my colleague on the issue below so I'm logging this question. Issue: My colleague is trying to edit a slide but can't edit any of the objects on the stage. However, it works fine when I open the same project on my machine. Is

  • Reports - Urgent

    Hi,     From select options you are giving some vales.Input , assume that matnr and based on that you have generated a report.after generating a report,when you click on matnr field , , if you want to call transaction and change some values means how