The conversion of rectangle dimensions

My program consists of a picture box containing repeating vertical black rectangles to form an alternating black and white rectangular pattern. The user can change the width of the black rectangles (which also changes the width of the seperating white rectangles). I have used input values ranging from 20 to 100. Does anyone know what units accompany these values? Perhaps pixels??
The program is attached, the part of the program dealing with the drawing of the rectangles is on the first frame (frame 0) of the program.
Thank you!!
Attachments:
final vert rect.vi ‏736 KB

The units are picture control coordinates which by default are equal to pixels. This can be changed by changing the Zoom property of the picture indicator.
A quick look shows some other problems in your code. For example:
Why are you using strings to do the input? Why not use numeric controls?
Stacked sequence structure are often a sign that you would want to rethink the structure of your program.
There is no way to stop this in mid execution.
There is no error handling for the DAQ.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
Try to take over the world!

Similar Messages

  • How to adjust the green (starting) and the red (end) rectangles pixel by pixel (top, bottom, left and right) by changing the number of pixels in ken burns.

    How to adjust the green (starting) and the red (end) rectangles pixel by pixel (top, bottom, left and right) by changing the number of pixels in ken burns. Help please.

    If you look closely at the top of the canvas pane, as you move either of the boxes (green or red) there is an indication of pixel positions... "top, bottom, left, right," and "scale."
    Admittedly, it doesn't seem as if you can "enter" the dimensions with your keyboard, however, as you move the boxes, you have a real time indication of the boxs' locations.
    (I couldn't take a screen shot, as you have to actively move the box with a mouse or other input device... thus, I could not also take a screen shot with same device.)
    I hope this helps.

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

  • Why is it that when I go to the search screen to find a particular message in a conversation it comes up with the message but when I click on it it takes me to the conversation where the most recent message was sent and not the message I wanted

    Why is it that when I go to the search screen and type in a particular message I want to view, my iPhone finds it but when I click on it it only takes me to the conversation at the most recently thing texted and not the particular message I clicked on?

    Never occurred to me you can search messages that way, thanks.
    Another way to do it is to scroll from the most recent message to the top of the screen and tap load more messages, repeatedly till you reach the one you want.
      I like your method better, but with both methods it refreshes to the most recent message.

  • What happens to the conversation when you delete or move a message?

    I've always been a bit unclear what happens to other message in a thread/conversation when you delete or move the current message you are reading.
    Therre are 3 relevant view settings it seems:
    Organize by conversation (turned on).
    Display selected message only (not selected - why would one want to select this if organizing by conversation? Is there a use for that?)
    Show/Hide related messages (turned on so I can see replies I sent in the conversation).
    If I want to move the current message I'm reading, it seems to move the entire conversation to the target folder. But that's not what I want to do.
    Yet if I delete the current message I think it only deletes that one message.
    I'm a bit confused about how to think of this. Sometimes I see messages show up under "related messages" that are a year old that I thought I long deleted.
    Any easy way of thinking about how this is all working?
    Thanks,
    doug

    After using deauthorize all you need to authorize any computer that you wish to use to manage content on the device or unauthorized & protected content will be removed next time you make any changes to the content on the device.
    tt2

  • HT1688 Messaging does not let me move from one conversation to another without going to the contact info of the person and choosing "send a message", then I can continue the conversation. I'm sure it's a setting I have made by mistake, but can't figure it

    Messaging does not let me move from one conversation to another without going to the contact info of the person and choosing "send a message", then I can continue the conversation. I'm sure it's a setting I have made by mistake, but can't figure it out

    Hi Elaine
    Here si what I do:
    Since I tend to message with teh same people I leave the messages available to me.  If you are in one conversation with "Karen"  and want to message with "Kathy" tap the message back arrow and select Kathy.
    As always just be careful to rememeber who you are messaging to!

  • TS2755 Me and my wife r sharing the same Apple ID, with the conversion IOS7 all of a sudden my wife can read all my sended and received iMessages! What t.f is going on? I tried all kind of things, pls help

    Gentlemen,
    Me and my wife r sharing the same Apple ID, with the conversion to IOS7 all of the sended and received iMessages on my phone comes in also on my wife's phone! Tried all kind of things, pls help
    Marco

    Are you both using the same Apple ID?
    What do you have here:
    Settings > Phone > My Number > ?

  • Moving the object from one dimension to other in the cube in BI7.0

    Hi Gurus,
    I am new to BI7.0
    We have a requirement wherein we need to move the object from one dimension to other dimension within same Infocube.I tried doing 'cut' and 'insert' from the context menu of the dimensions, but it didnt work.
    Please let me know how do we do that..
    Thanks,
    Shalaka.

    Hi,
    Use Remodelling opttion avialable .For more info, earch the forum and go through SAP standard help.
    With rgds,
    Anil Kumar Sharma .P

  • How can i change the lync settings so that the body of the conversation does not pop up first?

    Hi, when my colleague gets an IM, she does not see "xxx is inviting you to a conversation" but the conversation  itself pops up on her screen. My Lync does not do that, i get the invite first. We have gone through all settings and hers are exactly
    the same as mine. Question is could this be down to some other Microsoft Outlook settings for example?

    Hi,
    It looks like there is not setting about it in outlook for example.
    How do you fix the issue in lync side? 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • My daughter has an iPod touch and is emailing a much older boy via text free app she downloaded. How can I see the conversations? Please help and thank you

    Please help me...My 12year old daughter has been talking to a older teenager through the text free app. How can I see the conversations? Also, there is a photo vault that is locked. What is that? Please someone help me. I don't know what else to do. I paid and downloaded a program that is supposed to tell you everything that's on the ipod but that was a joke. Thanks for your help.

    As long as you can't get a hold of the device, you can't do anything more than talking to your daughter about it.
    Erasing the device could also be an option to keep her from using apps you don't want her to have on her device.
    Try talking first

  • What does the "conversion error" I get when converting a pdf file to Microsoft word?

    What is the "conversion error" I get when converfting a pdf file to aMicrosoft word?

    Adobe reader with export to PDF
    Sent from my iPhone 5
    Marty Kennedy

  • What are the appropriate document/stage dimensions in Flash for tablet optimized apps?

    What are the appropriate document/stage dimensions in Flash (width x height in pixels) for tablet optimized apps?
    (Dec. 2013)
    Using Flash and AIR for Android/iOS I would like to develop a educational interactive title optimized for tablet PCs, hopefully both the Android but finally also the iOS platforms. With so many tablets on the market today and with different resolutions (and even aspect ratios) I have difficulty deciding what document/stage size to set for my project/app. I have been experimenting with an Android Google Nexus 7 and Samsung Note 10 tablets and discovered that Android automatically resizes the app's stage to fully fit the screen of the tablet BUT this creates the following two issues for me:
    if the stage/document size in Flash is too small and I include bitmaps when the app's stage is enlarged to fit the tablet screen the bitmaps look pixelated.
    If I make the stage dimensions too big so that there is no bitmap pixelation because the bitmaps will be shrank instead of enlarged, I am afraid that on some older tablets with slower processors the app may be too slow to run (but I have to say that I did not experiment with very large stage dimensions yet).
    Until today I had looked at some of the most commonly used tablets on the market and their resolutions Google Nexus 7, Samsung Note, iPads etc and was inclined towards using a stage size of approximately 1280 x 720 pixels which I considered a medium solution, but now the new generation tablets came out (Nexus 7 gen 2, iPad Mini with Retina, iPad AIR etc) with much higher resolutions so I don't know what size to use now. Anybody has any suggestions?
    I would appreciate any ideas and suggestions on this matter.

    You explained your problem well enough that looking at the picture won't matter.  It looks like you found out too late that one of the first things you should do when you create a Flash file is set the movie properties, which include the dimensions and other things like background color, frame rate, publish settings, etc.  While the string that I just listed can pretty much be revised anytime, the dimensions should really be done before anything else, when possible.
    One way to go about resizing is to leave the file as is and specify the larger dimensions in the html page code.  This could end up reducing the quality of any bitmaps you might have in the file(s) since you would essentially be enlarging them, but any Flash drawn elements will resize cleanly.
    If you resize the stage, then you don't have much choice but to resize and relocate everything in it keyframe by keyframe.

  • How do I convert a PDF file to Word when the conversion buttion is light grey, hence unavailable even though I'm signed in?

    I have just signed up.
    I need to convert a PDF file into Word.
    For whatever reason, the button which will select the conversion I want is light grey, hence unavailable.
    I am signed in - I've tried refreshing / starting again.
    Nothing is working.
    VERY FRUSTRATING - I need the document converted ASAP

    There is both phone and chat support at the link I posted earlier:
    But anyway, if you want your money back you need to cancel your subscription: http://helpx.adobe.com/x-productkb/policy-pricing/cancel-subscription-acrobat-online-servi ces.html

  • How to set the conversation id programmatically in a BPM process

    Hi all,
    I am using BPM/SOA 11g PS3.
    Is it possible to set the conversation id programmatically in a BPM process starting with a none start event?
    I know I can set it easily if I use a BPM process starting with a message start event.
    All I have to do is set it in the "wsa:MessageID" node in SOAP Header when I initiate the process instance.
    However, I have no idea how to set the conversation id programmatically in a BPM process starting with a none start event.
    I looked for if there is any appropriate method in the Java api for the process instance management, such as IInstanceManagementService and CompositeInstance, but no method seems to be appropriate.
    Does anyone know how to do this?
    Regards,
    Kenji
    Edited by: Kenji Imamura on 2011/04/20 0:10

    Hi fifty,
    Did you get a solution to the above problem you have mentioned? I have a similar issue i am trying to fix.
    I have a webservice call in a process activity and if the call does not work i get a soap fault and the fuego.lang.ComponentExecutionException . My process requires that i catch the exception infact any kind of exceptions that occur on that call and perform another activity in the process.
    I have defined an exception handler at the activity level for java.lang.Exception and java.lang.RunTimeException.
    i don't see anything in the catalog which would handle the SOAP fault OR the componentexception.

  • Hello there! i am using Adobe acrobat pro DC and using windows 8.1. Recently I was trying to convert a web page (includes greek letters) into pdf. I noticed that the conversion is not accurate, some words are missing, some are misplaced. Especially greek

    hello there! i am using Adobe acrobat pro DC and using windows 8.1. Recently I was trying to convert a web page (includes Greek letters) into PDF. I noticed that the conversion is not accurate, some words are missing, some are misplaced. Especially Greek words are not accurately converted or even not converted. Please give me some suggestions to improve this issue. Regards

    Hey quantum info,
    Thank you for posting at Adobe forums. We would love to help you out.
    Could you please let me know if you have tried converting other web pages to PDF and checked if the same issue persists.
    How have you been trying to convert the web page to PDF?
    Are you trying to convert to PDF directly via browsers or using "File > Create > PDF from Web Page"  option in Acrobat.
    Let me know more so that I can analyze where actually the issue persists.
    Hope to hear from you.
    Regards,
    Anubha

Maybe you are looking for

  • Browse in Bridge from Photoshop CC 2014 fails to open Bridge and wants to install new version

    Hey community!  I found a few similar posts, but couldn't find much of a resolution.  Last night I was working in PS CC 2014 and all was well.  Used Browse from Bridge in PS.  Everything is working fine all night long.  Get up this morning, return to

  • Notes has become unresponsive on my macbook air, what can I do?

    Notes has always worked perfectly, but today, on my Macbook Air, not on my iPhone, if I try to create a new note or message or email a note, the program becomes un-responsive and I have to force quit. Any ideas? My default account is icloud, and ther

  • Virtual JDBC connections

    I have created a connection pool with an initial cap 1, max cap 1 using the admin console. My application 1) opens a connection1, 2) gets a resultset1, 3) loops through the resultset1, 4) for every value in resultset1 the application opens another co

  • RMAN-08591: WARNING: invalid archived log deletion policy

    Hi, My database is 11.2.0.1 running on OEL 5. We have stndby database running on other server, i have configured rman like this CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY; But while running db backup, getting the error RMAN-08591: WAR

  • Organization Staffing - Unable to change org.unit description

    Hi All, We are unable to change the short and long descriptions of org.units from the organization and staffing interface. Whereas we are able to change it from the expert mode. If we are changing the descriptions, on pressing 'Enter Key' or on 'Savi