How to draw the picture in labview 8.6 and how to simulate the same

Hi
Iam using Labview8.6 and we need to draw the picture or import the autocad drawing and we need to simulate the same.
If anybody knows please reply me.

Hi MikeS81,
In detail,I have one overall layout of my project in a cad format consisting of Shell,Boom etc.. Simulation means when I give a run command to Shell motor,my Shell in the picture also should be rotate.i.e.,user has to understand what is going on in the field.
Regards
vbk123

Similar Messages

  • Drawing the same shape different times.

    Hey, I'm trying to paint a mini map to the screen
    using following code:
      protected void paintComponent(Graphics g) {
        super.paintComponent(g);   
        Graphics2D g2 = (Graphics2D) g;
        int row = 0, col = 0;
        for (Tile t : map.getAllTiles()) {
          if(col == map.getCols()) {
            col=0;
            row +=1;
          g2.translate(col * boxSize, row * boxSize);
          paintTerrain(g2, t.getTerrain());
          paintBuilding(g2, t.getBuilding());
          //paintUnit(g2, (Unit) t.getLocatable());
          col++;
      private void paintTerrain(Graphics2D g, Terrain terrain) {
        if (terrain == null) {
          g.setColor(Color.BLACK);
          g.fill(terrainShape);
          return;
        Color c = terrainColors.get(terrain);
        g.setColor(c);
        //g.fillRect(x, y, boxSize, boxSize);
        g.fill(terrainShape);
      }This paints to the screen but not the way i intended.
    a picture of how it looks:
    http://www.kwbbz.be/Downloads/miniMapBad.png
    If I change it to g.fillRect(x, y, boxSize, boxSize);
    then the map shows up the way i had in my mind.
    Like this:
    http://www.kwbbz.be/Downloads/miniMapLookingGood.png
    Changes in paintComponent:
          //g2.translate(col * boxSize, row * boxSize);
          paintTerrain(g2, t.getTerrain(),col * boxSize,row * boxSize);
      private void paintTerrain(Graphics2D g, Terrain terrain, int x, int y) {
        if (terrain == null) {
          g.setColor(Color.BLACK);
         // g.fill(terrainShape);
          return;
        Color c = terrainColors.get(terrain);
        g.setColor(c);
        g.fillRect(x, y, boxSize, boxSize);
        //g.fill(terrainShape);
      }What's wrong with g2.translate(col * boxSize, row * boxSize); doesn't it move the axis to the right and down?
    added pictures
    tried inserting links to images... failed

    import java.awt.*;
    import java.awt.geom.AffineTransform;
    import javax.swing.*;
    public class TranslateTest extends JPanel {
        Rectangle rect = new Rectangle(50, 50);
        int rows = 4;
        int cols = 3;
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int dx = (w - cols*rect.width )/(cols+1);
            int dy = (h - rows*rect.height)/(rows+1);
            // Undo each translation before applying the next.
            g2.setPaint(Color.red);
            int x = dx;
            for(int j = 0; j < rows; j++) {
                int y = dy + j*(rect.height + dy);
                g2.translate(x, y);
                g2.draw(rect);
                g2.translate(-x, -y);
            // Use a copy of the graphics context for translation.
            g2.setPaint(Color.green.darker());
            Graphics2D copy = (Graphics2D)g.create();
            x = rect.width + 2*dx;
            int y = dy;
            copy.translate(x, y);
            for(int j = 0; j < rows; j++) {
                copy.draw(rect);
                y = rect.height + dy;
                copy.translate(0, y);
            copy.dispose();
            // Use AffineTransform for the translation.
            // This avoids altering the graphics context.
            g2.setPaint(Color.blue);
            x = dx + 2*(rect.width + dx);
            for(int j = 0; j < rows; j++) {
                y = dy + j*(rect.height + dy);
                AffineTransform at =
                    AffineTransform.getTranslateInstance(x, y);
                g2.draw(at.createTransformedShape(rect));
        public static void main(String[] args) {
            JPanel panel = new TranslateTest();
            panel.setPreferredSize(new Dimension(400,400));
            JOptionPane.showMessageDialog(null, panel, "", -1);
    }

  • Drawing - more people the same image

    Hello,
    is there any way that two or more pepole can draw the same image? (if the first person draw a line, the second person will see the drawed line).

    Please elaborate on what you try to do here. Is this going in the direction of a distributed collaboration software or something like that? In any case, the short answer is yes in every case, but I can't tell you how to do it unless I know a bit more about what you're doing.

  • How to draw the circle diagram of induction motor using labview

    hi
      i am trying to model the  electrical machines using labview..
    i want to know that is it possible to draw the circle diagram of induction motor using labview..........
    if its possible then please suggest me the possible ways.
                                                                                         thanks

    There may be better ways, but the method I used was to convert amplitude & angle to rectangular coords, then create an XY plot from (0,0) to those coords.  (Or 1 plot for Voltage, 1 for Current, etc.)  I would then just keep updating this plot and feeding it to the graph in a loop.  The result was a slightly choppy looking but useable animation of the phase vectors.
    -Kevin P.

  • How to enlarge the picture at the same scale(proportion) of what

    the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Can anyone help me! my first question is :
    how to enlarge the picture at the same scale(proportion) of what the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size. i thank it is a representional question although it may be very simple,in
    my around ,no one can solve it !
    i have offered the vi and a jpeg file underside,who can help me amend the vi? greatly thanks!!! noticed that what i use is lv6.1,if you can solve the problem but need some other vi or lib files ,please offered all together!!!
    thanks!
    the second question is :whether there are some free package can application for image process! i have download some vi at the code library,but when some vi run,it need to open a "vision" folder ,then open display.lib,management.lib, pixel manipulation.lib ,files.lib of the "vision" older,finally to invoke vi named "imaq draw.vi","imaq winddraw.vi" "imaq readfile.vi" and so on ,i can not understand these! why my lv 6.1 did not have the lib files! is the edition not same?
    Attachments:
    how_to_enlarge_the_picture_at_the__same__scale_of_what_the_fontpanel__enlarged_when_you_dbclick_the_title_bar_to_enlarge_the_fontpanel_to_entire_screen.vi ‏30 KB
    Test.jpg ‏21 KB

    the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.To answer your first question:
    To change the size of only the Picture you can use the Draw Area Size like you already have. However if you want to move the other controls around the picture, you may need to use their Position Properties.
    On to question 2:
    All of the VIs you are discussing come with the NI-IMAQ driver and NI�s Vision package. To use those VIs you will need to have the IMAQ driver and have purchased our Vision software. Machine Vision and then you can click on the Machine Vision Software link to learn more about the package.
    Evan
    National Instruments

  • Can anyone tell me how to draw these pictures

    i dunno how to draw the lower two circuits ...can anyone draw them for me ?
    Attachments:
    Picture 001.jpg ‏821 KB

    If your drawing for cct 3 is correct (with a node/junction @ the center of the X), then it will be like mostafa_cct3-1. This is equivalent to the next cct that I have drawn, i.e. mostafa_cct3-2.
    It's your drawing, only you can tell if it is drawn correctly (or ask your lecturer?). Calculating the current is simple in this case - just a matter of series/parallel resistors.
    Attachments:
    mostafa_cct3-1.jpg ‏61 KB
    mostafa_cct3-2.jpg ‏58 KB

  • How to enlarge the picture in the picture control at the same scale(proportion) with what

    the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.how to enlarge the picture in the picture control at the same scale(proportion) of what the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size. i have alter the vi properties and select "window size" there is a "s
    cale all objects" tick box ,but failed,the picture ang the picture control (container)did not enlarge ,but the other control have enlarged,just opposite to my purpose .i thank it is a representional question although it may be very simple,in my around ,no one can solve it !
    i have offered the vi and a jpeg file underside,who can help me amend the vi? greatly thanks!!! noticed that what i use is lv6.1,if you can solve the problem but need some other vi or lib files ,please offered all together!!!
    Attachments:
    how_to_enlarge_the_picture_at_the__same__scale_of_what_the_fontpanel__enlarged_when_you_dbclick_the_title_bar_to_enlarge_the_fontpanel_to_entire_screen.vi ‏30 KB
    Test.jpg ‏21 KB

    the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Hi,
    I am not quite sure if I understand what you are trying to do.
    Sounds like you are trying to implement the zoom feature (increasing/decreasing the size of the picture inside a picture control, but not the size of the picture control itself). If this is what you are trying to do, then there is a property node in LabVIEW 7.0 that supports this feature (This property did not exist in LabVIEW 6.1). Please download the LabVIEW 7.0 evaluation version and run the attached VI.
    Please let me know if this is not what you are trying to do.
    Sincerely,
    Feroz

  • How can two pictures of the same size still appear to be a different size? (Photoshop CS6 problem)

    I called the big webdesign file "(X)" and the image I wanted to paste in it "(Y)",
    so that you won't be confused when you read it.
    What Happened
    For the design of a webpage, I made a photoshop-file(X) with a lot of squares(X). These squares(X) had the size 9,42×9,42 centimeters.
    I measured the squares(X) carefully and also made sure the size was in centimeters, so I am sure that the size was 9,42×9,42 cm.
    My plan was to fill the squares(X) with pictures(Y). I had a map on my computer with a lot of square-sized JPG-images(Y) in it. All I had
    to do was open the pictures(Y) in photoshop, change the size into 9,42×9,42 centimeters and copy+paste them into the squares(X)
    of the webdesign. I did this before and it worked perfectly.
    But then, I opened one of the images(Y) and when I wanted to resize it, the resize-tool said it was only 3,25×3,25 centimeters big.
    I thought it was strange, so I copied+pasted it into the design-file(X) with all the squares(X) that needed to be filled. Allthough photoshop
    had told me that the squares(X) in the file were 9,42×9,42 centimeters big and the image(Y) I resized was 3,25×3,25, the "small" image(Y)
    turned out to be bigger then the squares(X). And when I resized the "small" image(Y) into 9,42×9,42 centimeters, it was even bigger
    than it was before. How can this be, and how can I still make the images(X&Y) the same size?
    What I already tried
    - I made the file of the webdesign(X) with all the squares(X) into one layer, copied the file(X) and opened a new file(X) with the same
    measurements of the old file(X). I also changed the resolution of the file(X) into pixels/centimeters instead of pixels/inches.
    Then I pasted the image(X) of the old file into the new file. I didn't work; the image(X) that I pasted in the new file was bigger and
    when I pasted the other picture(Y) in this image, the same problem was still there.
    - I also opened the picture(Y) in photoshop, made a screenshot of it and then pasted the screenshot into paint. With paint I cropped
    it again and saved it as a JPEG-file. After that, I opened the image (Y) in photoshop again. It now had the size of 11,27×11,27 centimeters.
    Then I resized the image(Y) into 9,42×9,42 cm, but it still wasn't as big as the squares(X).
    Could you help me please?
    I really don't understand why this problem is happening and I can't think of a solution because I am still quite unexperienced with photoshop
    and I also couldn't find the answer on the internet. I assume the solution is very simple, but I haven't found it yet allthough I have to finish this
    project soon and I also have to use the image(Y). So any help would be very appreciated.
    Thanks,
    Simone

    You need to understand the basic of a digital image.
    Image is recorded as pixels and image is a rectangle so many pixels wide and so many pixel high.   Pixels do not have a fixed size. The images resolution setting defines the image current pixel size.
    So for example if you have and image that is 300 pixel wide and 200 pixels high and set its dip resolution to 100DPI the image size is 3" wide and 2" high.  Set its dip setting tp 300DPI the image size becomes 1" wide by 2/3" high.  Both the 3" x 2" and the 1"x2/3" images have the same 60000 RGB Colored Pixels.
    Web pages are sized to to be so many pixel wide and so many pixel high.  Often the height is not enforced scrolling is used when viewing. 
    However image for web pages often must not exceed so many pixel wide and high for displays have a fixed resolution and a fixed number of Pixels. You want images to fit on users displays.  Users use different displays some have high resolution displays and other have low resolution displays with far fewer pixels then high resolution displays.
    Web Image are normally image that have been interpolated down in number of pixels a resampled large image so that web image will fit on a low resolution  display with limited number of pixels. The image size the user see depend on the display they are currently using. A low resolution display's image will be much larger then the same image displayed on a nexus 10 with a 300dip display. Cheep low cost Desktop LCD have a 84DIP resolution, large high cost desktop displays are not be much higher in resolution somewhere near 108DPI.   Tablets, Laptop and Phones can have much higher resolution like the nexus 10 300DPI IPS display

  • I uploaded pictures from a second camera and my iphoto created a second library, how do i get back to the first library?

    I uploaded pictures from a second camera and my iphoto created a second library, how do i get back to the first library? Can anyone help?

    I have no idea what you did or what happened - but I can assure you that loading from a different camera does not create a new library
    So you need to supply information and someone here will assist you in sorting this out and figuring out what you really did
    What version of iPhoto do you have? What version of the OS? Why do you think that a second library has been created? What do you see when you launch iPhoto with the optipon kep depressed and use the select library option? Where is your iPhoto library normally?
    Anything else you can tell us that might help?
    LN

  • How do I delay a picture change in Keynote beyond the 60seconds the build process allows from one graphic to another on the same slide?

    How do I delay a picture change in Keynote beyond the 60 seconds allowed in the 'build' it procedure on the same slide?

    BazzyS wrote:
    I'm referring to a graphic change within the same slide not transition between slides.
    In the suggestion I gave, using a transition instead of a build, has exactly the same visual effect as a build, it just uses a different tool.
    in my example earlier, I have 7 coloured objects, the first 6 objects appear using a dissolve build.
    The 8th object appears with the same effect, a dissolve, but is delayed by 5 minutes because it uses a dissolve transition.
    I used a transition instead of a build which uses 2 slides to achieve the effect, the viewers will not care how many slides there are and what tool is used, its the end result that matters.
    first 7 objects appear in a build
    a transition set up using a disolve and a delay of 10 minutes
    7th object appears with a disolve

  • How do i get the same desktop picture on my external monitor, as on my macbook pro, and get it to stay that way when unplugged?

    Everytime I use an external monitor with my macbook pro the desktop picture always changes to the same one as on my external hard drive...how do i get the external monitor to show the same picture as my macbook pro and keep it that way?

    Did you download the PC version? There is no DOS in OSX.
    Look for the Mac version of AutoCAD.

  • My husband  and I share the same apple Id for our iphones, now each one has different contacts, email, pictures, information, etc how coul I change the id of my iphone without delete any information?

    My husband  and I share the same apple Id for our iphones, now each one has different contacts, email, pictures, information, etc how coul I change the id of my iphone without delete any information?

    Welcome to the Apple Community.
    Deleting an account from a device will not delete the information from the account, if that is what you are asking.

  • HT2693 How to download pictures from multiple iPhones with the same Apple ID?

    I have multiple iPhones (e.g. iPhone 4S, iPhone 5) registered under the same Apple ID however i only manage to download the pictures in my iPhone 5 via iCloud.
    How do I retrieve the remaining photos that was uploaded to iCloud previously from my older iPhones with the same Apple ID?
    Pls help!!!

    Hi edristiew,
    Are the photos that you are referring to still in Photo Stream? Remember, Photo Stream has limits which are outlined in this article:
    iCloud: Photo Stream limits
    http://support.apple.com/kb/HT4858
    If the photos are still stored in Photo Stream, this resource may answer your questions about how to extract them (Mac or PC):
    iCloud: Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    If the photos are no longer in Photo Stream, but are in your camera roll, you can import them to your computer:
    iOS: Importing personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/HT4083
    Cheers!
    Matt M.

  • When I take a picture with my iPhone 5s and afterward turn it laterally, the picture will not turn. It used to all the time. How do I fix this?

    When I take a picture with my iPhone 5s and afterward turn it laterally, the picture will not turn. It used to all the time. How do I fix this?

    Hi there dworthen,
    It sounds like you are experiencing issues when trying to rotate your display. I would recommend taking a look at the troubleshooting steps found in the article below.
    iOS: Screen does not rotate
    http://support.apple.com/kb/TS3805
    -Griff W.

  • How can I keep every single photo from saving to "collections""my photo stream""camera role" and just use one folder? And why do I have to delete the same pictures 4 times? In "collections""myphotostream"camera role""deleted photos" I need ONE FOLDER

    im sick of deleting the same picture 4 separate times, I want to limit everything to one folder and only have to delete one time, how? Why does this have to be so complicated

    Photos you take on your camera are in the Camera Roll and are like the film in a camera.
    Photo Stream is an independent stream of photos from all devices that are logged onto the same iCloud account and that have Photo Stream turned on. Photo Stream photos are kept in the cloud for 30 days or up to 1000 photos, whichever comes first, so unless you have a particular photo you just don't want to stay out there for 30 days, you don't really need to delete Photo Stream Photos. They are temporary. Your device will continue to keep your Photo Stream photos from prior to the 30 day limit, but if you switch Photo Stream off in iCloud and then right back on, the only photos that will re-display in Photo Stream on that device are the ones that remain within the 30 Day/1000 photo parameter.
    Collections is simply a single place which shows all of the photos that you have on your device. You do not need to delete photos from Collections. It is just a single place where you can see the contents of all of your albums.
    Photos in albums that you have created on the device itself are tied to the photos in your Camera Roll, so if you delete them from the Camera Roll, it will tell you that it will also be deleted from an album.
    Albums that you have sync'd from your computer should be removed the same way you got them there - by hooking the device up to a the computer you did the sync with, and un-selecting the album from the Photo profile screen.
    So, really, there are only two places that you need to delete photos - Camera Roll and Photo Stream.
    Cheers,
    GB

Maybe you are looking for

  • How does I resize a pdf file page using Acrobat Pro?

    In Acrobat Pro, how can one resize a pdf file page (21.38'' x 26.75'') into one measuring 6'' x 9'', to be submitted as the trim size? Is there a feature that allows this to be done? How does one set all print options from the Application print dialo

  • ECATT with solution manger?.

    Hi, Anybody explain what is relation between eCATT with solution manger?. Ecatt implied with solution manager or need connect R/3 How to integrate solution manger and ecatt? What is the exact functionality of Solution manger? Why going to use ecatt s

  • Subfolders created in Bridge are missing in the OSX finder

    To organize large folders of photos via Adobe Bridge, I created subfolders. In the OS X finder, these subfolders do not show up. I am, of course, worried about files going missing because I cannot burn a cd for backup because OS X doesn't see any of

  • Movement Type 201

    Hi All; I want to configure automatic account assignment for material type FERT for a specific plant to do following. When I issue finished product using movement type 201, It should automatically defualt to a specific cost center anf G/L account ins

  • Why are my 4x6 and 5x7 prints being clipped?

    My prints are getting clipped no matter what I try to do.  I am losing approximately 1/8" from all sides of the finished print.  From what I can tell, the picture is actually printing larger than the specified size. This is my process: In the Develop