In RenderContext is the "area of interest" in user or device coordinates?

In the RenderContext class, is the "area of interest" shape supposed to be in user coordinates or device coordinates? Thanks.

The first step would be to ensure that you can change the AOI in a regular test VI, then see if we can get it up and running in your own program. With the camera file that comes with the IMAQ drivers I didn't see any applicable attributes to change the area of interest--are you looking at altering the Acquisition Window? If it is the actual AOI, are you using a different camera file than the one that ships with our drivers? If you don't have a different camera file, then it will probably be easiest to look at it using your example VI that you got from Basler. I'm guessing that when we change the AOI, we aren't actually changing the buffer size of the image that is allocated. Does it acquire any images, or error out immediately? What I'd like to try, is to put the serial commands of this VI into a Grab or a Snap example and see if we run into the same issues. The examples are found under Help>Find Examples> Hardware Input and Output>IMAQ>High-Level.
Marti C
Applications Engineer
National Instruments
NI Medical

Similar Messages

  • Get the area of interest of a layer

    Hi all,
    Does a method exist to get the area of interest of a layer ?
    In UI, it's possible by CMD+Clicking on a layer.
    Regards
    Thanks.
    Pierre RAFFA.

    Ctrl|CMD+ clicking on a layer in the Layers Palette loads|select the layers transparency as far as I know has nothing to do with area of intrest.  I think that has more to do with content and the eye of the observer.  If all else fails The Scriptlistener may record something for Ctrl|CMD+ clicking on a layer in the Layers Palette.
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc21 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref10 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idfsel = charIDToTypeID( "fsel" );
            ref10.putProperty( idChnl, idfsel );
        desc21.putReference( idnull, ref10 );
        var idT = charIDToTypeID( "T   " );
            var ref11 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idChnl = charIDToTypeID( "Chnl" );
            var idTrsp = charIDToTypeID( "Trsp" );
            ref11.putEnumerated( idChnl, idChnl, idTrsp );
        desc21.putReference( idT, ref11 );
    executeAction( idsetd, desc21, DialogModes.NO );

  • Any way to get the area of a mask to use in an expression?

    I'd like to find the area of a mask, or even just the bounding width or height to use as a variable in an expression.
    For example I'd like to have the brightness of a solid based on the area( or a dimension)  of a mask that resides in it.
    I can't see that you can access these things, but I know that some scripts can, for example, access and change the individual nodes of a mask.
    So there must be more to it than I have found, anyone know where to find info on modifying masks with expressions? perhaps that will lead me in the right direction.

    Yes!  It`s very interesting for me too. I know what by expression i can`t change the mask form in current version AE, but may be in feature?
    Jockomofeenahnay you can do the search in google with:
    After Effects Mask script words. It`s all what we have at this time

  • Quick Mask selecting entire photo, not just the area I've painted - CS4

    Out of the blue, my Quick Mask selecting has stopped working.  Normally I enter QM and paint the area I'm interested in with the brush tool.  The selected zone appears in red.  When I exit QM the red zone is replaced by a dotted line.  But now, when I exit QM the entire photo is selected, not just the areas I painted with the brush.  I must have hit the wrong button somehow, but I can't figure out which one it was, or how I can get back to normal. I've tried restarting Photoshop and also rebooting the computer, to no avail.  Any suggestions?

    Thanks for your help.  Your solution didn't solve the problem, but taught me something very useful about toggling between masking and inverting the mask.  But I did find the answer in the "More like this" column on the right.  I had to trash my preferences, which had apparently become corrupted.  Now everything's back to normal.

  • Is it possible to set your language preference on books so you can avoid looking at books in languages you are not interested in ?

    Is it possible to set your language preference on books so you can avoid looking at books in languages you are not interested in ?

    Hi,
    I don't think so, I would be happy to have such function too.
    In the French iBook store there is a section where you can find books by language, I guess in other countries there is the same section. But it's not really convenient…
    Hope this helps,
    Guillaume

  • How to handle case like Housing loan to pay the fix amount and system can deduct the principle and interest automatically in Treasury

    Dear Treasury Guru,
    I have one scenario from my client like a Housing Loan that the system can generate the principle and interest paid flow type automatically depend on interest and contract condition, I've never faced this scenario before so I'm not sure that Treasury can support or not.
    for example : Loan amount = 500,000 USD, Fix amount = 50,000 per month, Interest rate = X%
                              Payment amount               Principle           |        Interest
    1st month =               50,000           --->         15,000                      35,000
    2nd month =              50,000          ----->        17,000                      33,000                   
    3rd month =               50,000         ------>        19,000                      31,000
    Please suggest how to let the system generate the Principle and Interest flow type folllow the example above.
    Thanks
    Pongrapee K.

    Hello Pongrapee,
    I think apart from the interest condition, you need a condition for an annuity repayment with amount 50,000 - this will make sure the sum of interest and repayments are 50,000 for all periods.
    If you leave the annuity amount blank, the system will calculate the annuity in a way that the sum of interest and repayments remain constant and all the nominal is repayed at the end of term.
    But in both cases you will have to give the interest percentage in the interest condition.
    Hope this helps!
    Marie

  • How do I Change my Apple ID on my iPad with IOS7.  The area is grayed put

    How do I Change my Apple ID on my iPad using  IOS7.  The area is grayed out and won't allow it to be changed.  I changed my Apple ID when my email change but when i upgraded ti IOS7 it reverted to the old ID and now won't me change it.

    Settings>Store.  Tap on your Apple ID, sign out and then resign in with the correct Apple ID.
    FYI, this is covered in the user guide.  You should read this.  A link can be found in the safari app on your phone.

  • I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users.  Why are they in the libary and not in the itunes music folder. Win 7 OS

    I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users.  Why are they in the libary and not in the itunes music folder. Win 7 OS.  When I look in the library under the get info screen it says they are in the folder itunes music, under the c: drive but when I actually go to that folder to look for them they are not there....HELP!

    Hello RumDog,
    I think this article will help you find the media in your library.
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    Discovering and changing the iTunes Media folder location
    Note: You would usually only change the iTunes Media folder location to share music between accounts on the same computer. See this article for specific steps on how to accomplish this. Also, see this article if you want to know how to move your music to a new computer.
    Mac OS X: Click the iTunes menu and choose Preferences.
    Windows: Click the Edit menu and choose Preferences.
    Click the Advanced pane. iTunes displays the location of your iTunes Media folder.
    You can then:
    Note where your media folder is, such as for backing up your media.
    Use the Reset button to reset it's location to the default (which is the iTunes folder).
    Click the Change button to select a folder for a new location. Once you change this location:
    If you make a new or alternate iTunes library, the new location will be used by that library.
    Existing files will not be moved unless you choose File > Library > Organize library and choose the option to "Consolidate files."
    From: Where are my iTunes files located?
              http://support.apple.com/kb/ht1391
    Cheers,
    Sterling

  • My iPhone 5S has not connected to 4G LTE service in the last few days? Is there an outage/issue with 4G in my area (Pittsburgh) or is this a device specific issue?

    My iPhone 5S has not connected to 4G LTE service in the last few days? Is there an outage/issue with 4G in my area (Pittsburgh) or is this a device specific issue?

        JHblues Let's get your data working again. There are not any reported issues in the area. Try this step:  http://vz.to/1kUSSk2
    Sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • HT1420 Can't figure out how to authorize my PC, tried everything no article makes sense to me, or I can't find the area on my Itune display

    For the life of me, whenever an article says go to "store" and then click on authorize, I can't find the area, no matter how hard I look, I am a senior citizen, and use a PC, maybe this is an Apple thing...I do have an Iphone and love it, but I purchased a song, and it will not download, it always says something like the network terminated......can someone please direct me to a place when I'm in the Itunes store where to click....Pleeeeeeaaaaase many thanks in advance ....grandpa Peter

    If you're running iTunes 11 and you don't see the menus, press Control-B or go to the small icon with the arrow at the extreme upper left and select "Show Menu Bar":
    Apple for some inexplicable reason elected to hide the menus by default in the Windows version of iTunes 11.
    I doubt that this will address a download problem, though. You'll need to provide more details about that; what device you're attempting the download on, the exact error message, and other such pertinent information.
    Regards.

  • I recently migrated my MacBook from 10.5.8 to 10.6.8, using the Snow Leopard CD I purchased from Apple. Since then I have noticed a strange ozone smell coming from the MacBook in the area where the hinges are to open and close the unit. I was told by Appl

    I recently migrated my MacBook from 10.5.8 to 10.6.8, using the Snow Leopard CD I purchased from Apple. Since then I have noticed a strange ozone smell coming from the MacBook in the area where the hinges are to open and close the unit. I was told by Apple that it probably is not serious and is coming from the fans in the MacBook. It is true that the smell/odor is more intense when the fans are working. Apple said I should take the MacBook to an Apple Store to have the hardware checked out. Everything seems to be working correctly. I am backing up automatically wirelessly to a Time Capsule, which I had not done until recently, although I had purchased the Time Capsule in 2009. I have not noticed this odor before. Does anyone suspect something more serious that may be going on?

    You may be smelling it because with the new OS the processor is having to work harder causing it to get hotter then it would with the other OS.  I can't say there is nothing wrong, but what could be happening is just that, it's getting hotter so the fan is spinning faster and moving more air so you are getting more of the smell then you would before.  I would still continue to back it up, and take it to the Apple Store at a Genius Bar and have them look at it to make sure.  Was the computer ever in a smoky environment??

  • Deploying the SCCM 2012 Client to WES 7 devices that are locked down with the FBWF using 2007 task sequence via WEDM.

    I'm wondering how people are migrating their embedded devices that are using the FBWF. I've done some googling and it seems like most people are just re-imaging the devices and after migrating a single device i see why. Its not a pretty process. This will
    be a long description but ultimately my question stems more from trying to find a better way to execute the device migration from 2007 to 2012.
    Some back ground on my situation might be in order here. I'm in the process of wrapping up our 2007 to 2012 migration. We have a 2007 infrastructure that was a central server with 2 primaries and 286 secondary site servers. I've consolidated that to a single
    2012 primary site server that hosts all the main roles. There are 2 more servers in the data centers both operating solely as push distribution points I'll refer to them as 2012 01 02 and 03. I'm over half way through the migration and so far haven't needed
    to offload any site roles. There are almost 10,000 clients now reporting to the 2012 site server and almost a 100 field servers pulling content from 2012 02 as their source dp as pull dp is the only way forward for this many devices. I've read the horror stories
    of trying spin up 200 plus push dps. We are running PKI. I'm at the point now where i need to start migrating the Windows Embedded Seven Standard clients that have the 2007 sccm client on them with WEDM for write filter handling.
    What i'm wondering is if anyone has any pointers for me regarding migrating the WES 7 devices. My plan that i've come up with is to somehow script the process using a 2007 WEDM Task Sequence to try and migrate them over to 2012. Things are complicated as
    I need to somehow script the install, the policy checkin, hardware inventory, software inventory, and validate the SCEP client installs before I reboot the device one last time to enable the FBWF. How I handled the SCCM 2007 client install on these devices
    when they were provisioned was to just create a batch file that would sleep for ten minutes then check to see if the inventoryagent.log file had been created yet. I realize now that is inefficient as i can kick off the inventory using a WMI method once the
    client has installed. Also I need to make sure the machine gets its first policy as that is how it creates the communication using PKI through that first policy transfer and that also finalizes the client install. The biggest piece i'm uncertain about in this
    regard is the SCEP client.
    I had to change the SCEP client install from yes to no in the default client settings as we have some Mcaffee servers that can't have the SCEP client on them. I have incremental updates enabled on the collection that has the policy that installs the SCEP
    client but this will take an unknown amount of time unless i force the environment to update as the device starts in 2012 install, or if I could kick off the SCEP isntall... IDK. I'm also wondering if i should keep the device in the migration process until
    i validate it has its proper scep policy applied which I believe can be validated by a registry key somewhere.
    Once the 2012 client gets installed will that cause it to lose its place within the 2007 Task Sequence? Considering its going to take a minimum of 2 reboots I'd normally use the task sequence to handle its progression through the process.
    I'm also considering trying to use an Orchestrator runbook, as that would be a good way to keep track of the migration process as each device migrates. Especially since this might take several seperate scripts.
    I'm going to take a stab at scripting the migration process, but if anyone has any pointers that might make this a less complicated I'd really appreciate it as I've got about 3000 of these devices that need to be migrated over. The other things i've learned
    the hard way is any time you have something this complicated over the course of 3000 devices you will run into unknowns and the failure rate increases. I'm in the precarious position of having to not only build this process out but in some situations have
    it complete in the shortest amount of time possible as we have sites running 24x7. I know the end users behavior all to well and they will just keep hitting the power button sometimes even though their not supposed to so they can get their device functional
    again. In those situations i'd end up, if i'm lucky with a device that no longer has a healthy SCCM client in either environment and the write filter disabled.
    So like i said any pointers anyone could throw my way i'd really appreciate. I manually went through the migration process on a single device for proof of concept and ended up with almost 2 pages of pseudo code for my migration script/scripts.
    Thanks,
    -K.R.

    Hi,
    In R2 there are some new variables you can use to solve this,
    http://ccmexec.com/2014/12/smstsmplistrequesttimeout-value-in-milliseconds/
    In Sp1 though adding a step to sleep for 2-5 minuter after reboot and before the application install step is a common workaround.. a powershell command with "Start-Sleep
    -s 120" should do it. 
    /Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • How can I re-enable the "are you sure you want to delete this email" function?

    When I click delete my emails get deleted with one click. I accidentally click delete and they get lost in my trash folder often. How can I enable the "are you sure you want to delete this email" function?

    The following previous discussion may help: Re: Delete Confirmation Warning.  I want back.

  • I have an iPhone and iPad. I would like to get my husband an iPhone. Are we able to sync all devices and share info with both iPhones and the iPad, using a single email address?

    I have an iPhone and iPad. I would like to get my husband an iPhone. Are we able to sync all devices and share info with both iPhones and the iPad, using a single email address?

    Thanks for that. He is one of the last holdouts in IT so an email address for him would just mean I have 2 to check so that is what I am trying to avoid as we move into retirement:)

  • How can I select the area I want linked, to other page?

    Hi,
    I have been creating multiple stand alone PDF files with links to various documents within a given PDF.  Up until yesterday I would select the Link Button, move my curser to the top left corner of the area to be selected, press the button and drag a box over the area I want selected.  It worked great.  Then BOOM, all of a sudden when I do that now it will not let me select the area I want, it will show a fixed box that appears to be snapped to a formatting line above or below the area I want.  Is there a setting somewhere that might have changed?
    Davey 

    Make sure you do not have the Snap to Grid option selected.
    In Acrobat 8, it is under the View menu.

Maybe you are looking for