I need help making a square that scans across a screen.

i'm trying to make a program that creates images of a square scanning across a black background.  so far all i have is a program that makes one image where i can alter the size of the square and its position.  I'm very very new to labview and i need help with the structure that would create all the images of the square scanning across and then shift down and scan across again.
thank you very much,
Joseph Sadler
Attachments:
Drawexample.vi ‏24 KB

As Lynn found, there is a memory problem with the vi which didn't show up in my limited testing.
Using Shift Registers with Picture Controls can cause problems.
See this thread.
Try the attached "mod" version.
Then I got to thinking, why redraw the box (2x with "erase") - when you could just move a box around?
(Note: I used a picture for the box, but you could use other objects.)
The "mod1" version does it this way.
steve
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
Attachments:
squarescan mod.vi ‏20 KB
squarescan mod 1.vi ‏20 KB

Similar Messages

  • Simple question - need to create a line that moves across the screen

    Hello All;
    Simple problem - I need to animate a line of a solid color that starts on the right and moves across the screen to the left. I know I can create a layer of a solid color and then animate the scale to sort of make it work but that changes both sides of the line and I need to only change the position of one side.
    I know there are probably numerous ways of doing this - what is the easiest and most straightforward. Thanks.
    Tim

    [email protected] wrote:
    > Hello All;
    > Simple problem - I need to animate a line of a solid color that starts on the right and moves across the screen to the left. I know I can create a layer of a solid color and then animate the scale to sort of make it work but that changes both sides of the line and I need to only change the position of one side.
    >
    > I know there are probably numerous ways of doing this - what is the easiest and most straightforward. Thanks.
    >
    > Tim
    rectangular mask that covers line, animate it off screen and it will
    reveal the line as it moves off.

  • I need help making Adobe Edge animation appear correctly on iphones, ipads and android phones.

    I need help making Adobe Edge animation appear correctly on iphones, ipads and android phones. It currently looks fine on desktops and androids. I am using wordpress with a responsive theme (Canvas). I will need you to document The url is http://adamhtc.org.s183459.gridserver.com.

    Thanks George, interesting thought.  I looked on Adobe's site and they "advertise" fillable forms for the iPhone and Android markets, but on the Windows Phone tab, that is mysteriously missing.  lol    Maybe it will come later?   Meanwhile, I'll google to see if there are any PDF viewers that can handle it now.   Thanks for the reply.  :-)

  • Need help with a workflow that will restrict resize to 720x540

    I need help constructing a workflow that will resize any image I choose to 720x540. I want this to be restrictive to this size, in other words I don't want 720x468 or etc. I have tried this too many times, will no success so now I am reaching out for help. HELP. Once I have correct resized an image as needed I want to change its format and save a copy.
    As always thanks for your reading and replying to my Post,
    Sebastian

    Hi there,
    what Image editing software do you have, if any ?
    regards
    Ric

  • My grandma is a new apple user and she needs help making an apple account.

    my grandma is a new apple user and she needs help making an apple account.

    She should call Apple support or visit the Genius Bar at an Apple store (make an appointment first at http://apple.com/retail). They will walk her through the process.

  • I need help writing a script that finds the first instance of a paragraph style and then changes it

    I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style.  I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thanks!

    Hi,
    Do you mean first instance of the paragraph style
    - in a chosen story;
    - on some chosen page in every text frames, looking from its top to the bottom;
    - in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
    If story...
    You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
    Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
    so:
    Story.findText()[0].appliedParagraphStyle = Style_1;
    //==> this will change a paraStyle of 1st occurence of story to "Style_1".
    If other cases...
    You would need to be more accurate.
    rgds

  • HT5622 I need help finding a movie that I downloaded, can anyone help me with this?

    Hello, I need help finding a movie that I downloaded, can anyone help me with this?

    If you downloaded it to your iTunes library it will be in the Movies folder.  If you downloaded it to an iOS device you will find it in the Videos app.  This explains how to redownload previously purchased videos (available in some locations as long as the studio permits it): http://support.apple.com/kb/PH12283.

  • TS1424 i need help finding a purchase that somebody made on my cedit card without my knowledge to itunes and i want to file a claim

    i need help finding a purchase that somebody made on my cedit card without my knowledge titunes and i want to file a claim

    You can view purchases via Store > View My Account on your computer's iTunes (and you can view subscriptions). If you want to contact iTunes support then you can do so via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Randomly a blue bar scans across the screen when apps are open, how can I stop that?

    After updating a blue bar scans across the screen. It does it in most of my apps and even when viewing my pix. This never happened before the latest update I installed. It's very annoying. Does anyone have an idea to stop this blue bar?

    I have a very strong feeling that this has something to do with the government requesting the data of 5,000 apple customers. This blue bar scans my screen too coincidentally. While Im on my facebook messages, text messages, recent calls, even on snapchat. On the other discussion, people have cleared their whole phone and it still happens. Your best shot would be calling Apple

  • Does the iPad3 support external monitors, allowing you to scan across two screens?

    Does the iPad3 support external monitors, allowing you to scan across two screens?

    Some apps, such as Keynote, support different displays on the iPad screen and an external display. The iPad does not span it's "desktop" across screens, though; it only mirrors.
    Regards.

  • I need help making a pie chart

    Hello, hoping for some help with making a chart that will update as i continually input data
    I have a chart that has many columns logging details of win/loss records. I would like to make a pie chart that represents a set of columns and shows the ratio of wins for each of the columns.
    I will try and give some better details. There are 5 columns (j,k,l,m,n) and each represents a color. In each column there are check-boxes. 1 or more will be checked on each row. On the same row there is a tally of wins. each row represents a different day. What I am looking for is a pie chart that shows how many wins i have in each color.
    for example.
    nov 1st: 5 wins in color J
    nov 2nd: 2 wins in color k
    nov 3rd: 4 wins in colors m and n
    the pie chart will contain a total of 15 'wins' split up on the chart between each color....... 5(j) + 2(k) + 4(m) + 4(n). theoretically the J should take up 1/3rd of the pie and so on.
    I also have a total at the bottom of the colors column, but this will not show which color got the wins.
    Hopefully this makes some sense to understand and if I am very fortunate someone much smarter then me will be generous enough to help me out.
    Thank you very much, all help is appreciated.

    Hi Anthony,
    This table may be  what you want. I added a row at the top (you don't need that row. It is just may way of getting around the poor screen shots in this forum).
    I hid some columns, then I copied the table and pasted directly into this reply (I have had it with screen shots ).
    A
    F
    J
    K
    L
    M
    N
    Date
    Wins
    Colour J
    Colour K
    Colour L
    Colour M
    Colour N
    Nov 1
    1
    TRUE
    Nov 2
    1
    TRUE
    Nov 3
    2
    TRUE
    TRUE
    Checkboxes show as TRUE (not a tick) in this pasted table. But a tick = TRUE .
    Formula in F3 (Wins, Nov 1)
    =COUNTIF(J3:N3,"=TRUE")
    I hope this helps with your pie chart.
    Regards,
    Ian.

  • I need help making a mailserver.

    Hey all, this is my first post on the Arch-Linux forum. As you can tell by my title, I would like to allow this computer (running arch, as you may have guessed) to work not only as a desktop machine, but also an e-mail server, with the possibility of expansion in the future. I've found some guides, but I do have some questions, so I decided to ask them here.
    First off: Will this even work? The guides to do this that I've seen recommend a server-based distribution, like ubuntu server edition, to do this. I'm making the assumption that this desktop system can do it as well, but I'm not sure.
    Second: To do this, and be able to access it from a remote location (my ipod at a wifi hotspot, or a friend's house, for instance), will I need to register a domain name, or is there an easier way?
    That's pretty much it. Thanks in advance for the help!
    -Suilenroc

    Hello and welcome to the forums!
    First off: Will this even work? The guides to do this that I've seen recommend a server-based distribution, like ubuntu server edition, to do this. I'm making the assumption that this desktop system can do it as well, but I'm not sure.
    You can install the mail-services on any computer. It doesn't matter if it is a "server" or a "desktop".
    Second: To do this, and be able to access it from a remote location (my ipod at a wifi hotspot, or a friend's house, for instance), will I need to register a domain name, or is there an easier way?
    Check out DynDNS
    But please keep in mind, that making services aviable trough the internet implies a much higher security-risk than just having a linux box behind a firewall. Especially mail-servers need elaborate configuration - don't let your box become an open mail relay...
    Br

  • Need help making a simple script for my webcam

    Hey everyone, fairly new to applescript programming. I just bought a usb camera for my macbook because I use it for video conferencing/playing around, and it is better quality than the built in isight. However, in order to use this camera I need to use drivers from a program called camTwist. This being said camTwist needs to be opened first and the usb camera must be selected from camTwist Step 1 list in order for any other application to use the camera. I just want to make a simple program that would open camTwist first, then select "webcam" from the list (double click it like I always have to in order to select it) in order to activate the driver, and then open photo booth which would then be using the camTwist driver in order to take pictures.
    I made a crude program but it does not automatically select "webcam" from the Step 1 list in camTwist:
    tell application "CamTwist" to activate
    delay 10
    tell application "Photo Booth" to activate
    that’s basically it. I set the delay to 10 seconds so that when camTwists boots up first I can manually select my webcam. HOWEVER, I would like to make a script that would boot up CamTwist first, select my webcam from the list automatically, and then open Photo Booth with the CamTwist webcam driver already selected.
    Don't know much about applescript so any help to make a working script to solve my problem would be greatly appreciated! Thanks!

    Solved my problem but now I need help with something else! First I used CamTwist user options to create user defined hot keys with the specific purpose to load the webcam. I chose Command+B. I tested it out in CamTwist and it worked. The program follows a logical order from there. First it loads CamTwist, then after a short delay it presses the hot keys in order to load the webcam from the video source list, then another short delay and Photo Booth is opened with the driver loaded from camTwist. Everything works Perfect! Here's the code:
    tell application "System Events"
    tell application "CamTwist" to activate
    delay 0.5
    --Press command+b which is a user defined hot key to load webcam
    key code 11 using command down
    end tell
    delay 0.5
    tell application "Photo Booth" to activate
    My Next question is, would it be possible with this same script to have both applications quit together. For example I always quit Photo Booth first, so when I quit photo booth is there a way to make CamTwist also quit and keep everything within the same script? Please let me know. This forum has been very helpful and lead me to a solution to my problem! Hoping I can solve this next problem as well! Thanks everyone.

  • I need help making a new Arch install ISO

    I have posted a couple of messages, but as yet no one seems to have responded, probably because they have not read them.
    I need help building a new ISO for Arch, to take account of dmraid.
    I can and have built ones that get so far, and clearly I am not that far away.
    All I need help with now is getting at the contents of the initial ramdisk (/isolinux/initrd.img) so I can make a new one with modifications, and if anyone can help, I need a hand working out how to use the kernel26.img that I will end up with on a system.
    Any help appreaciated.

    As far as I know this will be included in the next ISO release. I solved it by manually bringing the dmraid package to the install and wrote a guide on installing your root system on dmraid. However when the system crashes I have the slight inconvenience of having to install dmraid and manually mount the sets to do a recovery. I guess this is the part you want to get rid of aswell. I decided to wait until the next holy ISO.

  • Need Help making a Screencast for IPHONE

    Hello there
    I need some serious help making a screencast for a client - for it's Iphone Apps -
    something similare to this
    http://www.newsluxe.com/chaumet-et-iphone.php
    but more sexy, with a animated background and a different type of cursor.
    Anyideas ?
    I really don't know where to start - I found leads however :
    Camtasia Studio , screenflow, ,
    Maybe you could help me filling the gaps.
    Thanks for your help !

    does anyone know how apple made these forums?
    I think they use Jive:
    http://www.jivesoftware.com/products/forums/
    The Apple way for users to add photos is the .Mac web gallery:
    http://www.apple.com/ilife/iphoto/#webgallery

Maybe you are looking for

  • Output to external display

    My Imac has blown graphics card on the logic board, else the machine runs perfectly except for the black screen but the screen works in safe mode. If I use an external display can I overcome this issue?

  • Possible to get the color space and resolution from the .eps file

    Hi all, We have using the InDesign CS3 5.0.4, windows, javascript.  We need to get the color space and resolution of the graphics (.eps) file using scripting. The properties of the image like (actualPpi and effectivePpi will return the value only for

  • Pass word protected

    I used a simple password for protect encryption and changes to the document I made and the program will not recognize my credentials using the password I chose.  is there a way to bypass this since I am the person who made the doc.?

  • Upper left-hand key (to left of "1") types incorrect characters.

    OK, so I reinstalled OSX Leopard today in order to fix a problem with my keyboard being detected incorrectly. Now it is detected properly. However, I'm still having a problem with the key to the upper left of the keyboard (directly below space). It s

  • Aperture update to 3.4.5 fails

    I want to update Aperture from 3.1.1 to 3.4.5 on my Macbook Pro but it does not work. The app store shows me no updates. If I want to install the package 3.4.5 it fails with the message that the version 3.0.0 is required for the update but I have ver