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

Similar Messages

  • Verilog files and LabVIEW

    How do I read verilog files into labview?  I have GUI that I created which will interface with I2C by using the evaluation board with USB controller and FPGA.  Our designer can provide the verilog code so that I can verify the GUI while boards are in the process of layout.
    Is there anyway I can read verilog into labview and what hardware I needed(FPGA module?)

    Hello ctailor,
    Please see this article about integrating Verilog with LabVIEW  also, this link will show you all the FPGA hardware of National Instruments.
    Carmen C.

  • Load and align multiple STL files/models

    I am working on importing robot CAD models into LabVIEW.
    For this I import STL files using the 3D picture control.
    - My question is, how do I import multiple STL files and align (rotate and position) the models according to each other?
      I have made a simple VI (Load_Robot_STL.VI), where I load a STL file (Base.STL), and I would like to load more models e.g. Joint_01.STL and align it to the base.
    LabVIEW 8.6 / 2009 / 2010
    Vision Development Module 8.6 / 2009 / 2010
    VBAI 3.6 / 2010
    Attachments:
    Load_Robot_STL.zip ‏1560 KB

    Hi Little Helper
    Have you looked at the example "solarsystem.vi" in the LabVIEW Example Finder? This shows how to place a sun, earth and moon in relation to each other and move them around. 
    I believe it should be in LV 8.6 as well, if not let me know and I will try to downconvert it to you. Basically what you want to do is to use the 3D transformation VI's under "Grahics and sound" -> "3D picture control" -> "Transformations". It allows you to move (translate), change size (scale), and change rotation (rotate) your 3D objects.
    Best Regard
    Anders Rohde

  • Plotting a bmp file and concatination with polor plot

    i have developed one graphical application where i am concatinating a 24 bit bmp file and labview polor plot in a picture box where a line is rotating continiously with 0.5 degree resolution by changing the data in polor vi.Now i have placed one boolean button in the centre of the polor plot.when the program is running the button is also moving along the radius of the circle(following the line)by changing the data in the top and left property of the boolean button.
    The problem is that when i am removing the bmp file the bollean button runs very fast but when bmp file is there the program anyway running slow as a result boolean button also running slow.
    what is the solution.i want both,the picture(bmp) as well as fast movement of the button.
    i am attaching the application program.it is developed in 6.1.
    tanu

    bmp is raster, display slow in picture control; while polar plot is vector, draws faster.
    If the bmp is not changing, you can use it as background behind the picture control.
    If the bmp is changing, maybe you can convert it to 8 bit bmp, so it can be redraw faster.
    George Zou
    http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Questions on 3D picture control and STL file

    Hi,
    I am currently working on a project in which I load an STL file to vizualise a 3D object (see attachment). I have several problems and questions.
    1) I would like to execute rotations (X,Y,Z) on this 3D object. Unfortunately, Labview executes only one rotation and I don't know why
    2) If I load several objects, is it possible to create links/joints between them? I saw the example with the robot arm provided in the Labview examples, but I don't understand where and how the joints are defined.
    3) Is it possible to import an image (png, jpeg,..) on a scene display? I would like to visualize a graduation to see the number of degrees of rotation of my object.
    Thank you for your answers
    Message Edited by kastillio on 10-23-2009 04:24 AM
    Attachments:
    load_stl_geom_8_6.zip ‏56 KB

    Thank you so much for your post on our forum.
    I created an example based on the VI You send Fact is that we need to use relative rotation. With absolute the previous rotation is cleared and the new rotation is done from the zero point. With your example this means that you first do the Y rotation and immediately the X rotation is done resetting the previous Y rotation. If you swap these two rotations you will notice that only the Y rotations works because the previous X will be reset.
    As said I made an example based on relative rotation so the rotation will be done from the current position. I used the rotate object.vi and used a event structure looking at the value change from the x or y control. The function will be executed when these value changes occur.
    Best regards,
    Martijn S
    Applications Engineer
    NI Netherlands
    Attachments:
    load_stl_geom_8_6.vi ‏18 KB

  • Is there a way to select a certain box of elements from a csv file and read that into LabVIEW?

    Hello all, I was wondering if there was a way to select only a certain "box" of elements from a .csv file in LabVIEW? I have LabVIEW 2011 and my main goal is to take two arrays and graph them against each other. I can import the .csv file just fine and separate each row and each column to be its own, but say I have an 8X8 but want to graph the middle 4X5 or something like that. Is there any way to extract an array without starting at the beginning and without ending at the end? Thank you in advance.
    Solved!
    Go to Solution.

    Hi Szklanam,
    as a CSV file is just a TXT file with a different suffix you can read a certain number of lines of that file. So you can limit the number of rows in your resultung array. To limit the number of columns you still have to use ArraySubset, so maybe it's a lot easier to read the full CSV file and pick the interesting spots with ArraySubset...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • 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 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

  • 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

  • I got a java excutable file and document from the instrument supplier I want to use it in labview , I want to Know how to do it , step by step

    I got a java excutable file and document from the instrument supplier I want to use it in labview , I want to Know how to do it , step by step
    Attachments:
    this is a java file changr the jpg to jar .jpg ‏101 KB

    I'd recommend searching the forums to find your answer.  http://forums.ni.com/ni/search?submitted=true&q=java+labview

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • Transfring from CSV file to LabVIEW 2011 and view it in XY Graph

    Hi, I would like to seek for your assistance in my project.
    I have an excel file which is in CSV format and intend to transfer it into LabVIEW 2011.
    I want to create a storage to store all the excel file for viewing purpose and in the mean while I want to view it in graph form. 
    Hope to that you will be able to help me with this. Thank you.
    Attachments:
    History_power2013-10-27 12-53-32 ch1 tv ch 2 fan.csv ‏209 KB

    Thank you for replying.
    But I have problem displaying the whole CSV file.
    However, I have a batch of CSV file to monitor, so is there a way to consolidate all the data in one page?  
    Attachments:
    Open CSV file and history files.vi ‏33 KB

  • Hi i am new to labview. i want to extract data from a text file and display it on the front panel. how do i proceed??

    Hi i am new to labview
    I want to extract data from a text file and display it on the front panel.
    How do i proceed??
    I have attached a file for your brief idea...
    Attachments:
    extract.jpg ‏3797 KB

    RoopeshV wrote:
    Hi,
    The below code shows how to read from txt file and display in the perticular fields.
    Why have you used waveform?
    Regards,
    Roopesh
    There are so many things wrong with this VI, I'm not even sure where to start.
    Hard-coding paths that point to your user folder on the block diagram. What if somebody else tries to run it? They'll get an error. What if somebody tries to run this on Windows 7? They'll get an error. What if somebody tries to run this on a Mac or Linux? They'll get an error.
    Not using Read From Spreadsheet File.
    Use of local variables to populate an array.
    Cannot insert values into an empty array.
    What if there's a line missing from the text file? Now your data will not line up. Your case structure does handle this.
    Also, how does this answer the poster's question?

  • How to create an exe file using labview and arduino?

    I bought Arduino Mega 2560. I have installed Arduino IDE 1.7.3. I am using Windows 7 64bit version and Labview 2012. I started working after the compilation of LIFA_Base File with Arduino IDE and with labview.
    My application is: I have connected my arduino to my PC via USB for read input/output pins. I have to read all the time an analogue input from arduino and I have to draw the graphical representation of the input. I would like to know if I can create an exe file of this application. I would like to use the created exe file to another PC without labview installation. 
    Please help me to resolve the problem.
    Regards

    Yup you sure can.  With Application Builder, that is bundled with several LabVIEW packages you can make an EXE, and then make an installer that can include the LabVIEW Run-Time engine (free) and you'll also need the VISA run-time for talking to serial devices like your Arduino.
    Then you should be able to run that installer on any normal Windows PC and without the development environment be able to run your program.
    Note that currently Student, and Home versions of LabVIEW do not have the application builder since it is intended for learning, and hobbyist, not for distributions.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to read the date and time information of a file by labview

    how to read the date and time information of a file by labview? for example, created time and modified time.
    Solved!
    Go to Solution.

    if you need to know the last modification date of file:-
    "Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
    This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
    Thanks as kudos only

Maybe you are looking for

  • WM -Purchase order and configuration  steps

    HI Gurus,              kindly help me to configure the ware house management to create the purchse order and i want to move the             raw material to production order..i have the confusion, what i maintain in the WM-ACTIVITIES -MOVEMENT TYPE   

  • RG23A MATERIAL WISE

    Dear Experts, My client is maintaining the RG23A Part 1 register by Material wise i.e if Material is M1 then separate register by serial no. Same is for other materials. How to incorporate this functionality in Sap. Plz help me out. Thanks

  • Fonts issue with MathType EPS in InDesign

    We have been using MathType 6.7e version for creating equations as eps format on Mac OS 10.6. We will import the same into InDesign CS6 for doing pagination. On a particular title, we have used the OTF font name "KozGoPro-Regular.otf" (Chinese/Japane

  • Satellite C870-12E - BIOS settings greyed out

    I recently noticed that i cannot change settings in BIOS anymore, almost all settings are greyed out. I'm not sure when this happened, maybe after updating to BIOS version 1.6 but it could also happened after upgrading to Windows 8. I'm just not sure

  • Purchased Acrobat XI won't replace free trial

    After I purchased Acrobat XI Professional, while waiting for the serial number to arrive, I download the 30 day free trial as was suggested by the Adobe website. Now that I have the serial number, after I've downloaded it, it tells me it can't instal