Clipping an image from various places at the same time
Hi,
I am trying to clip an image from various places at the same time. Is it possible to do it?
Right now I am in this phase:
g2D.clipRect(x, y, screen.getWidth() - 40, screen.getHeight() - 40);
g2D.drawImage(planet, null, 0, 0);The x and y of the clipRect method I want them to be different each time but it is only taking the first clip.
You can make an Area from a Shape (like rectangle) and then add other clipping elements to that
Similar Messages
-
How do I view multiple images from different projects at the same time?
Hello
I've been trying to find the answer in the user manual, but no luck so far.
I did find how to open 2 projects at once, but I can only see one image at a time in the viewer and I have to keep going back and forth between projects to compare images. (These are scans of old photos and I want to eliminate the ones that are poorer quality, so need to compare numerous images from 2 sets of scans)
How can I view an image from one project at the same time as an image from another? I know that it can be done in the same project by apple-clicking the second, third etc image, but this doesn't work if the images are from different projects.
Thank you
ElizabethThank you again Tony
I've now created an album, independent of the projects, and dragged test images into it and it does just the job I needed. Now i just need to keep my brain sorted with which ones are which while i'm working
Elizabeth -
How do I remove the application from your iPad at the same time and with the clouds?
Hello,
how can I remove the application from your iPad at the same time and with the clouds?
I know you press the app icon until it starts shaking, then press the black cross in the upper left corner. This will remove it.
But still I will come in to the store as a bookmark Purchated I see it with the symbol of a cloud. And I would like to remove it for good. Under iOS 5.1.1 somehow I managed to do that (at least hide it). In iOS 6 I can not do that.
I greetThe only transition you can add this way is default cross dissolve. If the images are in the timeline, move the playhead to the beginning of the images, select them all, and drag from the timeline to the canvas to overwrite with transition.
-
I have installed itunes 11.0.2.26. When I delete a file or podcast I am not being prompted to delete the file from its folder at the same time. How do I restore this facility? I am running a 64bit Windows 7 OS
Is the media files in question in the iTunes library or elsewhere on the computer?
-
How to open and save pictures from 1 folder at the same time?
Is there a way to open and save pictures from 1 folder at the same time?
I'm creating a vi that resizes the picture but I want to do it with 1 folder at a time... Is this possible?
greetings!Hi Kway,
Here you are. I wrote a file a customer times ago & It did what you want!
Just see the attachements and keep me inform.
Regards,
Julien Roland - District Sales Manager
NI Belgium - Technical Support
Don't forget to rate a good answer
Attachments:
Test existing Files.vi 23 KB
Delete files from array of files (SubVI).vi 16 KB -
If I have 2 tv's and each their own apple tv can I display the same program to them from my macbook at the same time?
for instance Keynote?Welcome to the Apple community.
The Apple TV cannot display keynote presentations or websites from the computer. It can display them via mirroring from the iPad 2 or better or the iPhone 4S.
You cannot AirPlay to 2 Apple TV 2's at the same time from an iOS device. You can watch the same video, TV show or listen to the same music from your iTunes library on multiple Apple TV's at the same time. -
Delete from two tables at the same time
Hi,
Is there way to delete from many tables at the same time ?
delete from tbl1, tbl2;
Thank you953402 wrote:
Hi,
Is there way to delete from many tables at the same time ?
delete from tbl1, tbl2;
Thank youNO
Consider to actually Read The Fine Manual below
http://docs.oracle.com/cd/E11882_01/server.112/e26088/toc.htm -
[Bug] Writing to the same trace in Citadel from two Sources at the same time
Howdy
I am experiencing an issue and am looking to get some NI support:
I have two distributed applications that can write to a Citadel database at the same time.
And I am investigating the possibility of what would occur if both of them were writing to the same variable at the same time, with possibly the same timestamp data.
I did this in the attached VI by using the same timestamps with a constant for the data (either #1 or #2).
This generates an error, as expected, stating you cannot have two references open at the same time.
The data file, dumped from Citadel, contains 1000pts with all data from only one of the arrays (in this case #2) and everything looks fine:
However, what appears to be happening randomly tho, is that the same portion of code can also returns no error.
When the data is dumped from Citadel this file contains 2001pts - 1000pts from each array and one separator (or break) point:
You cannot write an older timestamp to Citadel without it throwing an error, but from further testing it seems you can write the same timestamp repeatably. So I am guessing what is happening above is race condition that is somehow allowing two references to be opened to Citadel which should throw an error but it does not and this is somehow allowing both sets of data to be written by both loops??
The data, IMO, is now corrupted.
Is being able to write to the same timestamp a desirable feature?
Or is this a known issue or a bug?
What about acquiring two references - bug?
Is there a workaround to protect the data from multiple distributed-application writes?
Cheers
-JG
Attached VI was coded and tested using LabVIEW 2009 SP1, DSC 9.0.1, MAX 4.6.2f1
Certified LabVIEW Architect * LabVIEW Champion
Attachments:
dual_databaseWrite.vi 21 KBBen S wrote:
The race condition of opening the refererence in two places at once should still apply to two different VIs running at the sametime.
Will a CAR be lodged for this?
Ben S wrote:
If you open up the code and save it as a .vit, you don't get any missing VIs. Only when you change the extension without the aid of LabVIEW.
No VI should have missing members by simply renaming its extension outside of LabVIEW???
I think there is an issue with the VI.
Can you replicate the following and verify what I am seeing?
Attached is a Project with Main VI (contains a call to the Open Trace.vi polymorphic only), a Class and a Build Spec
If you Build the spec with the Main VI outside of the Class it works
If you place the VI in the Class, save then Build, the Spec fails with the error:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1003 occurred at AB_Application.lvclasspen_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1003 occurred at AB_Application.lvclass:Open_Top_Level_VIs.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller
Possible reason(s):
LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.
Next place a disabled structure around the Polymorphic VI (as Class Member or not, it doesn't matter)
Save the VI
Close the VI
Open the VI - the Open Trace.vi polymorphic is "missing"
Cheers
-JG
Code in LV2009
Certified LabVIEW Architect * LabVIEW Champion
Attachments:
DSC.zip 341 KB -
hello good peolpe, i bought an ipad mini retina for books reading and i would like to know if there is a way i can open a book with different apps like i do on android device where you can use various apps to open differents books at the same time, i would like to also know if there is a way to do the same thing but with power point and word files, and how can i open them on my ipad and transfer them, thanks every one for their time
Currently you can't. Maybe in iOS 8 that will be released soon.
Cheers, Tom -
Hi, everyone.
I've been trying to get the signals from 2-ch of Tektronix TDS2012 oscilloscope at the same time using IVI connection with LabVIEW "7.0"
I've already searched this developer zone for the answer.
I've tried the famous example: "IviScope - Acq Dual Wfm Edge Triggered.vi"
and it gave me the error message like:
Error -1074110451 occurred at IviScope Initialize With Options.vi
Possible reason(s):
Driver Status: (Hex 0xBFFA600D) Primary Error: (Hex 0xBFFA600D) The Config Server module is not present on the system.
I think I've installed all~ the required softwares for IVI. For example, ICP 2.2, IVI engine 2.0.46, and tktds1k2k ivi (instrument driver for tds2012, in fact this one is for LabVIEW "7.1"... :-P)
TDS2012 and my computer is connected through HPIB(GPIB) and it is shown on the MAX (a GPIB instrument as well as an IVI hardware asset)
I've tried GPIB connection but it gives me asynchronous signals...
Is it possible to get 2 signals at the same time with LabVIEW 7.0(not 7.1 or higher) by any means?
What in the earth is the "Config Server" in this case?
I don't need to sticking to IVI and any method to achieve my goal will be welcome.
Could anyone give me the hint for this problem, plz?I think your problem is that the instrument specific driver is version 7.1 and you are using the class driver with 7.0. You can create your own 7.0 driver by downloading the LabWindows driver and using the Import CVI Instrument Driver under the Tools>Instrumentation menu.
Since you don't seem to have a good reason to use IVI, why don't you try the native LabVIEW driver at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9139659CE034080020E748.... I believe you have all of the functions to setup each channel and then when you trigger the scope, both channels will be captured. You would then transfer each waveform separately. The data is always read sequentially but that's not important as long as both channels are triggered at the same time. -
Is is possible to open event lists from different tracks at the same time in Logic Pro 9?
Is it possible to open event lists from two difference tracks in an arrangement at the same time in Logic Pro 9?
When I switch between tracks the event list swiches as well. Thanks in advance.If you deselect the litte chain link icon in the event list window, it will no longer follow your region selection and you can openas many as you need. Also you can select multiple regions and see the inthe SAME window if you select to show multiple regions, and you can have the notes shown in their respective track colors.
-
How to read from two boards at the same time
I have two NI DAQ Boards, a PCI 6034E and a PCI 6025E I want to make one a master and one a slave and read from both at the same time. Do they need jumpers between them
from one board to the other or does the motherboard bus take care of that? I can find software to handle this but I can't find anything on the way the hardware should be configured, is there a cable I need between them?Hi,
We have a couple of great tutorials on this:
http://zone.ni.com/devzone/conceptd.nsf/webmain/6DC991028566309886256F990080A720
http://zone.ni.com/devzone/conceptd.nsf/webmain/2638A8DA4E4CFD1F86256D250070C093?opendocument
-Sal -
Accessing a static varible from different object at the same time
hi
assume that i have calss it contains a static variable i am creating
N numbere object of that class and i am try to access the static variable at the same time from different object.if i access like that any problem(deadlock) will occure or not? plz help me
with regards
sureshFeedFeeds : Read news and blogs a new way!
http://www.feedfeeds.com
Please don�t spread any kind of propaganda in this forum...;-) -
Recording from 2 inputs at the same time??!!?!?
hey i wanted to know if i can record two tracks at the same time but 1 being a USB microphone and one being a guitar going into the built in input.
anyway to do this?!?!? HELP!Create an aggregate audio device - see http://www.apple.com/pro/techniques/aggregateaudio/
-
How to acquire data from multiple dataports at the same time
Hi,
I studied the multithreading section of Labview, but still have no idea
how to make it work. Let me briefly explain my situation. I need to
develop a program that can control and acquire data from 4 serial
ports. I have 4 buttons to control starting or stopping acquisation
from the corresponding port. Every acquisation process is a while loop.
How can I start a new acquisation loop (eg. from COM2) while the loop
for COM1 is still running? In other words, I wish the 4 loops running
independently, and are controlled by their corresponding buttons only.
Thanks for any suggestion.
JinHi Anonymous,
If I were you, I'd create one VI (call it Port.vi) to listen to one port - then make it reentrant. Drop 4 copies of Port.vi on your Main diagram. Port.vi inputs could include a VISA reference, a "Start/Stop" notifier and maybe a "Quit" occurance. Wire to each copy of Port.vi a unique VISA reference and a unique "Start/Stop" [boolean] notifier - let all the copies share the same Quit Occurance.
In Main, have one event case for each of your stop buttons. When a button is pressed, send the appropriate Start/Stop notifier!
... of course you could accomplish the same thing with four identical loops right in your main diagram, but the more complex the port-handling gets, the easier it will be to manage in one place instead of four.
Cheers!
When they give imbeciles handicap-parking, I won't have so far to walk!
Maybe you are looking for
-
I have a Send plan and also a Creative Cloud membership. It feels like paying twice for Adobe services, but maybe the CC-plan doesn't include Send?
-
How do i remove my reading list from my macbook pro
How do i remove my reading list from my macbook pro?
-
Hello Everyone, Recently I Tried to update my macbook and it will not allow me to update anything. Its telling me I do not have permission. Also, iTunes will not open. Its saying its corrupted or I need to reinstall......Please Help!
-
Hi Guys I Have to Enter the long description of an InfoObject of my query as a title of the report on the WAD. can somebody help me here? Thanx And Best Regards
-
Cost Center Inheritance from Org Unit
Good day all, Can someone please advise regarding cost center inheritance from org units? I understand the inheritance concept, however simple need to know if the CCenter is added to the org unit via A011 relationship, does the system physically crea