To the help of Code coverage (Plugin?) with some JUnit Tests in JDeveloper 10.1.3

Hi people,

I was surprised to not find a question already resolved like mine using the search function...


our problem:

We are established a new concept for our project of the ADF tests (JUnit). This concept includes the point 'code coverage analysis' under the aspect of "nice to have"...
But as much as I got to know JDev - there is no build-in feature that may appeal to our needs.

Are there plugins (third party) for cc that you would recommend?


Thanks in advance
Henning

There is nothing specific to this in JDeveloper today - but you can embed any code coverage tool that has a command line interface in your JUnit or Ant scripts.
For example, Emma:

http://Emma.sourceforge.NET/index.html

Tags: Java

Similar Questions

  • With the help of handlers as plugin in OIM11gR2

    Hello Experts,
    I worked to create an event handler to populate an Email field in usr table of IOM. My reason is, while doing a recon trust, I want to fill out the email with [email protected].

    I coded a function preporcess and created a plugin.xml. Created a plugin.jar and stored in / lib folder. Created a CustomEventHandler.xml file to map my code with the "user" entity to "pre-process" with sync 'TRUE '.

    Now I want to check this on the dev environment, my motivation is to maintain this package on file system.
    I'm stuck here, to keep my plugin.zip and the CustomEventHandler.xml file and the steps to follow to check. Help, please!

    Thank you

    Set ANT_HOME property before running the command below
    export ANT_HOME =/modules/org.apache.ant_1.7.1

    even update the Ant PATH variable: export PATH = $PATH:/modules/org.apache.ant_1.7.1/bin
    Run below
    Ant f pluginregistration.xml registry

  • With the help of coupon in batches with different expiration dates

    I try to use coupon lot to offer free delivery to users. My requirement is to expire promo, 7 days after it has been generated.

    I am using batch of coupon for this requirement as promo codes will be generated on the fly.

    The challenge with the help of batch coupon is that it has a fixed start and end date so that all the generated code coupons will have the same maturity.

    Is there a way to set the expiration in individual coupons?

    Thanks in advance.

    I expanded ClaimableManager.createBatchPromotionClaimable () method to achieve this.

  • With the help of balance Ohaus Ranger with NI 9870 (cRIO)

    Hello

    I use a DAQ system OR cRIO-9074 with a NI 9870 4 ports RS232 Serial Interface Module and am programming with LabView 2012. I am currently looking for a scale with a RS-232 output that I can plug into the NI 9870 to receive and store measurement data. I would go with a balance Ohaus Ranger 7000, model R71MD3 number. However, looking at the list OR the drivers of the instrumentation, they have not anything for this model, if they do not have a number of other (apparently older) Ohaus scales.

    Drivers are not needed for this scale? Or is there a RS-232 standard that can be used? I would like to ensure that this configuration will work before you buy the balance.

    Thank you!

    Using the 9870 in a cRIO essentially just adds 4 COM ports over the cRIO, which you can interface with NI-VISA help.  Check this KB for more details.  Most of the pilots 'instrument' is just a layer of abstraction or wrapper for the VISA low-level bed and written in courses.  If an instrument driver does not already exist, you can implement a simple one yourself using VISA.

    In this case, you can simply get the statement command/set the appliance uses and implement users VISA reads and writes.  As long as the order is not too wide, it is quite simple and fast.

    So, this configuration will definitely work, you just take the time to implement orders VISA yourself.

  • With the help of new access points with old WLC 4100; LWAPP layer 2 switching 3-tier

    Hi all

    We currently use two solutions Wiresless LAN - a 10 AP1230 access points-based autonomous (5 years) and a solution based on a Cisco WLC 4100 (4112, running 3.2) with 12 AP1010 LWAPP access points.

    First thing, we are considering to replace the stand-alone solution with the WLC one. However, I'm not sure if we can use the new access points such as the LAP1041N or the LAP1252G with our current 4100 WLC. Access reported data sheets 'Cisco Unified Wireless Network Software Release 7.0 or later version' 'software '. Does this mean that these access points can only be used with controllers running 7.0 or later?

    If we are unable to use the new access points with our current WLC and need to buy a new controller: can we use access points AP1010 current with a new WLC as the Cisco 4402?

    Second thing, it is that we want to expand the networks configured on the WLC 4100 to another site that is connected via VPN wireless. Wireless Setup guide indicates that the LWAPP mode can be changed from Layer 2 to 3 layers so that the access points can be configured with an IP address, which allows you to place access points basically anywhere as long as IP connectivity exists between the AP and the WLC.

    Y does it as described in a document with the change of mode LWAPP layer 2 to 3 layers? Or ist just the following steps (if I understand correctly):

    -Change the Mode of Transport LWAPP on the controller of layer 2 to 3 layers

    -Creation of a PA-manager interface with an IP address in the same subnet as the management interface (tried that, without changing LWAPP mode transport first and not was not possible - error)

    With regard to different sites:

    -Configure option DHCP 43 with the IP address of the WLC or DNS with CISCO-LWAPP - CONTROLLER.localdomain

    -Make sure that the interface ap - manager can reach points on the different site

    Is it really just as simple as that? All information about it is very appreciated!

    / edit: I would also like to know if the 1260 series access point are backward compatible with 802. 11B. Whereas it is stated in 1040 and 1250 for example series data sheets, it is not particularly mentioned in 1260 data sheet.

    Thank you

    Michael

    Well, let's start with the simple question/answer

    With regard to different sites:

    -Configure option DHCP 43 with the IP address of the WLC or DNS with CISCO-LWAPP - CONTROLLER.localdomain

    -Make sure that the interface ap - manager can reach points on the different site

    Yes, it's as simple as that.

    As for other issues, looks like you would be better served with a forklift upgrade.  New controllers and new AP.

    Now, the AP 1230/1240/1250. all work on the 4.2, 1140 code starts with 5.2 and 1040/3500/1260 are 7.0

    The AP 1000 series is not supported after 4.2 code.

    Refer to here for the complete list of the AP and taken codes supported:

    http://www.Cisco.com/en/us/docs/wireless/controller/release/notes/crn7.0.html#wp610751

    From what I see, the 4100 is not supported after the train of 3.2.

    So, it really depends on what you are trying to accomplish with the upgrade.  If you are looking for a 80.211n support, you really want to be 5.2 or better, we had some problems with MRR + 40 Mhz channels, 4.2, 5 GHz band only.

  • With the help of legends custom B2B with incoming messages batch to push directly to an AQ queue

    I'm trying to create a legend, attached to a partnership agreement, which will process an incoming batch load and write each individual message in the batch to advanced queue.

    I have the following in place pieces and works so far... 

    1 QA 

    2 B2B lot

    3. partnership agreements

    4 making SOA message waiting

    5 Basic legend in place and access to the message.

    My problem occurs in step 5.  My legend is fired as each message in the batch is traversed and the output of the whole lot (all messages) seem to be added to the AQ at the same time. (They are messages separate, which is good, but I try to insert a pause in order to limit the speed at which these messages are pushed on the queue).

    My question is, How can I publish the message I shot of the lot to QA immediately that I did it - as opposed to add the message to the standard output of the legend? 

    [sample code and further explanation below]

    . . .

    I have tried this approach because my queue is set up in a clustered environment and the options I've seen so far for the AQ limitation apply only to single-server systems.  For example, setting the property minimumDelayBetweenMessages in my composite SOA side for fact the message isn't an option for me.  We have no access to the database settings associated with querying on distributed systems.

     

    Here is a version of my legend:

    public class inboundThrottler implements legend

     

    public Sub run (context of CalloutContext, )

    throws CalloutDomainException, CalloutSystemException  

    { 

       try  

    //Retrieve the properties of the legend of CalloutContext

    String context.getStringProperty = TimeInterval ("timeIntervalInSeconds"); 

      System. on .println ("Time-out interval is" + timeInterval); 

    //Get the message of the legend of entry

    //Message Passthrough

    CalloutMessage cmOut = cmIn;

                try {

      TimeUnit. SECONDS . Sleep (timeIntervalAsLong);

    { } catch (InterruptedException e) { }

                          System. on .println ('error found in the part of the timeout of the legend');

    e.printStackTrace ();

                      }

      System. on .println ("+++ B2B LEGEND PROPERLY TREATED +++ ');

    output.add (cmOut);

    //Throw exception, if any

      { } catch (Exception e) { }

                     System. on .println ('error found in the legend'); 

    take new (e) CalloutDomainException;

      }

      }

      }

     

    Y at - it something other than output.add (cmOut); can I use to insert my message in QA?

    In my server logs, I can see the "+++ B2B LEGEND CORRECTLY PROCESSED +++ ' message for each message in the batch however, they are all pushed to the AQ at the same time and that is why they are all handled by the composite made as fast it can handle to Dequeue the message.  When we deal with more payloads of 5000 messages, the end result is a highly bogged down the server and in some extreme cases, the server crash.

       

    Thank you in advance for any input. Even if there are better ways to strangle my incoming messages (I certainly heard about these opportunities) for my own edification, I too wish to know suggestions for the insertion of my message in AQ at the point in my code that I have highlighted.

    I found a solution, and because I didn't know all the answers on this topic, I'll go ahead and answer myself for the sake of posterity.

    The short answer is do not use a legend Java at all since the intention of the legend was first place to strangle incoming messages so that they are placed on QA in a more controlled way and at a pace slower to allow SOA handle a large load. I found an excellent article, "handling large payloads" [https://docs.oracle.com/middleware/1213/b2b/b2b-user/app_perform.htm] which addressed my needs perfectly.

    To summarize in a few words, there are a number of settings that can be made as size to commit partial lot, size of the payload and large load useful program, in conjunction with a setting called 'Enable the Streaming' in the bpel AQ adapter side SOA Dequeue of things who will accomplish what I need to do.  The version I use is Oracle SOA Suite 11.1.1.7

    Directly related to the question, I referred to above concerning how to insert a message directly in my QA:

    I will not go into the horrific details, but basically I create a ConnectionFactory via an InteractionSpec to get the right connection managed, then convert the message correctly and insert the message in the queue, taking care to manage the space of thread, and close all open connections.  Finally, in my contract partner, I make a note to NOT add the message to the queue after my process of legend in order to avoid duplication of messages.

    All said, I'm happy I found a way to let SOA Suite and B2B to treat this issue with a few "out of the box" settings, because even if the captions can be very useful to insert a custom header or do a quick transformation, using them to enter the bowels of my managed connections are not a walk in the Park.

    Hope this question and the subsequent response will be useful to those seeking similar tasks on the road.

  • With the help of cloud to adobe with an adobe ID on both machines as part of team in a company

    Hi, I am a member of creative cloud for teams in our society, and I have my creative cloud installed on mac. Now, I need to have the creative cloud also on my PC laptop wacom cintiq companion 1.

    So, we create an instalation file to win on mac from the administrator, through the Web site connection. Now, I created a package on my PC using this generated file, then I installed it and it works.

    But the creative cloud behaves as all applications are only trials and is showing me option keys buy instead of open it next to the logo of the app.

    Is that I can't have the creative cloud on two machines? as I'm not the owner of the creative cloud, only a user member of the creative cloud for teams?

    Thanks for your response

    Palo Durak

    Hi,

    CC Adobe license can be activated on 2 machines using the same Adobe ID, but only one at a time.

    Reference: licenses and terms of use | Adobe

    In which case you get the prompt in the first instance, please see the following help documents:

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    Kind regards

    Sheena

  • With the help of several conditional tags with multiple outputs of WebHelp

    I have a project that I created for a web application. Within the web application, there are 3 types of customers (business Accts, Accts National and level 1 clients).

    I added each help topic associated with the help topics that I created.

    Then, I created 3 outputs of webhelp and 3 Table of contents for each type of client.

    My goal is to publish the project, where each type of client has their own output generated. Do it this way, which is listed in the help topics of table of contents for each type of customer that is not correctly displayed.

    Example: National accounts TOC

    What is generated:

    I have tagged in the table of contents to the conditional tag appropriate help topics. Help, please. Any advice? I can also be reached at [email protected]

    None of your screenshots came through - the icon of camera in the web interface allows you to attach images

  • Known problems with the help of 64 bit Essbase with version 11 planning?

    Hello Experts,


    One of my clients is considering moving to the 64-bit Essbase. Are there known issues with the help of 64 bit Essbase (11.1.1.0.00) with the version 11 planning?


    Thank you

    Jingle

    I tested and there is no problem at all, if your planning server is 32-bit, you just install the 32-bit Essbase client that can communicate with the 64-bit server.

  • Web site is now in the center of the page, built the new site using 'cc', but with some problems

    Hello all I said that I would stay with the new site and as well as I have one or two small issues, starting by!

    New Web site, rollover buttons with not color in place when you click

    And someone told me that it is a very good site, but do not show the images in the box with the yellow frame upwards unless I tilt the screen at a weird angle, I think he means the image of hero! and sounds

    as it uses a Tablet

    I built this website using the tutorial by David Powers l http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.htm sent to me by Hans-Günter

    I could have made one or two mistakes when creating this site, I take my hat off to you, the Web designers, it took me a week to build you could have dune in two hours lol

    Please can someone take a look and help me with problems who need a fix

    Thank you very much for your time

    It was the old site

    old website.jpg

    This is the new website

    new website.jpg

    The address is http://www.lawrenceg.com

    This is the code to the Index.html page

    <! doctype html >

    < html >

    < head >

    < meta charset = "utf-8" >

    < title > < /title > Home Page

    < link href = "styles/main.css' rel ="stylesheet"type =" text/css">"

    < style type = "text/css" >

    body, td, th {}

    color: #999999;

    }

    < / style >

    <!-the following script tag downloads a font of Adobe Edge Web server fonts to use in the web page. We recommend that you do not modify it.-->

    "< script src="jQueryAssets/jquery-1.8.3.min.js "type =" text/javascript"> < / script >

    < script >

    var __adobewebfontsappname__ = "dreamweaver".

    function MM_openBrWindow (theURL, winName, features) {//v2.0

    Window.Open (Theurl, winName, Features);

    }

    < /script >

    " < script src =" http://use.edgefonts.NET/source-Sans-Pro:N6, N2:default.js "type =" text/javascript"> < / script > "

    <!-[if lte IE 7] >

    < script type = "text/javascript" src = "js/html5shiv.js" > < / script >

    <! [endif]-->

    < / head >

    < body >

    < div id = 'wrapper' >

    < header id = "top" >

    < h1 > < img src = "images/contact_page - image_47.png" width = "43" height = "47" alt = "" / > My Studio < / h1 >

    < nav id = 'mainnav' >

    < ul >

    < li > < a href = "index.html" class = 'thispage' > home < /a > < /li > "

    < li > < a href = "About Lisezmoi.html" > about me < /a > < /li >

    < li > < a href = 'Work.html Studio' > work in Studio < /a > < /li >

    < li > < a href = 'The Gallery.html' > The Gallery < /a > < /li >

    < li > < a href = "Us.html of Contact" > contact us < /a > < /li >

    < /ul >

    < / nav >

    < / header >

    < div id = 'Heroes' >

    < section >

    < h2 > < / h2 >

    < H2 > welcome to my workshop! < / h2 >

    < p > my name is Lawrence; I'm a photographer & amp; Photographic artist < /p >

    < p > I have kept this site simple and to the point with no unwanted useless stuff, we have a system of full navigation for your wedding rings at the top if you do not have to keep coming back to the home page every time, check us on < a href = "#" onClick = "MM_openBrWindow ('https://www.facebook.com/LawrencesPhotoStudio ',' Facebook ',' location = yes, scrollbars = yes wid th = 1200)" (, height = 600') "> Facebook < /a > < a href =" # "onClick =" MM_openBrWindow ('https://twitter.com/Lawrencegtraing ',' Twitter ',' location = Yes, scrollbars = yes, width = 1200, hei ght = 600') "> Twitter < /a > < a href =" # "onClick =" MM_openBrWindow ('http://www.flickr.com/photos/lawrenceg/ ',' Flickr location ',' = yes, scrollbars = yes, width = 1200, height is 600') "> Flickr < /a > < /p > "

    < / item >

    < img src = ' home_page - image.jpg "alt ="image of the studio homepage"/ > < / div >

    < section id = 'hand' >

    < h2 > this site works best in internet explore! < / h2 >

    < p > you can always use firefox and google chrome if you want, this site looks a little better when displayed in internet explore. < /p >

    < p > if you decide to buy all our prints, framed or canvas prints! < /p >

    < p > all comes with 30 day money back guarantee guarantee and is sold through our secure payment site < a href = "#" onClick = "MM_openBrWindow ('http://lawrence-graves.artistwebsites.com/ ',' FineArtAmerica ',' location = yes, scrollbars = yes, width = 1000, height is 600')" > Fine Art America! < /a > < /p >

    < p > so, how can we help you, you are looking for something a little special to hang on your wall, perhaps you have a family to come a meeting < a href = "#" onClick = "MM_openBrWindow ('http://weddindimages.blogspot.co.uk/',",' location = yes, scrollbars = yes, width = 1000, height = 80 0') "> wedding or an important party < /a > as a new addition to the family? < /p >

    < p > maybe you think that < a href = "#" onClick = "MM_openBrWindow ('http://childrensphotography2013.blogspot.co.uk/ portraits ',' ',' location = yes, scrollbars = yes, width = 1000, height is 800')" > special portrait of children < /a >, in order to capture a moment in time can be invaluable and don't forget your < /p > baby's first portrait

    < p > < a href = "#" onClick = "MM_openBrWindow ('http://petsimages2013.blogspot.co.uk/ ',' animals ',' location = yes, scrollbars = yes, width = 1000, heig ht = 800')" > what our pets < /a > after all what they are part of the family too! < /p >

    < p > sometimes we need a photographer to capture a very special moment, but to capture the excellence you need of an artist who can produce the results you are looking for < /p >

    < h2 > working with Photoshop! < / h2 >

    < p > sometimes your standard photographer in not right for some assignments and you need professional image editing services, check these examples below < /p >

    < p >

    < side class = "floatleft" > < a href = "#" > < img src = "images/The_art_of_alteringan_image_SMALL.jpg" alt = "working in photoshop" width = "200" height = "140" onClick ="MM_openBrWindow (' images/The_art_of_alteringan_image.jpg', 'photoshop1 ',' location = Yes, scrollbars = yes, width = 1040, height is 740')" / > < /a > < / side > "

    < /p >

    < p > side view aside, take a look at this image! This was photographed on a rooftop of the apartment on the island of Kos, Greece, when the Sun was high at about 14:00 on a very hot day. As you can see there are things that need to change in the image on the left, we had only one or two small changes! to activate this drad look image in beautiful photo! < /p >

    < p > < / p >

    < h2 > digital horizons with layer cache < / h2 >

    < p > what is a new layer digital background for this special image that needs a complete makeover! < /p >

    < p >

    "< side class ="floatleft"> < a href =" # "> < img src ="images/pets_small1.jpg"alt ="Pet Photography"width ="200"height ="140"onClick =" MM_openBrWindow ("images/pets_large1.jpg ',' PetPhotography ',' location = yes, scrollba rs = yes, width = 1060, height is 720')" / > < /a > < br >

    < / side >

    < /p >

    < p > check out it! This consisted of one of our Pet photography photo shoots we have done in 2011 for one of our customers, that they wanted both dogs in the same picture, but some dogs do not want to play. So we photographed and then separately to the angle that we wanted, so they would be present in the new digital background! < /p >

    < p > < / p >

    < p > these are some of the adjustments and improvements we can do, you can find more examples of our editing inside the work studio page! < /p >

    < p > < / p >

    < p > < / p >

    < / item >

    < id side = "sidebar" >

    < h2 > check out our gallery!

    < / h2 >

    < p > you can check out some of our work in the Gallery, loves animals, then check out some of our animals wild black and white images, portraits and photography pet < /p >

    < h2 > free reviews and tutorials! < / h2 >

    < p > you can find some camera and lens customers, more tutorials Photoshop and photography on the Facebook pages and Twitter < /p >

    < h2 > visit our store! < / h2 >

    love Art, check out < p > < a href = "#" onClick = "MM_openBrWindow ('http://lawrence-graves.artistwebsites.com/',",' location = yes, scrollbars = yes, width = 1000, hei ght = 600') "> Fine Art America < /a > < /p >

    < p > each purchase includes a money back guarantee! < /p >

    "< div class ="floatleft"id ="figcaption"> < a href =" # "> < img src ="Images/What_you_looking_at_small.jpg"alt ="Birds of prey"width ="200"height ="136"onClick =" MM_openBrWindow ("images/What_you_looking_at.jpg ',' BirdOfPrey ',' location = yes, llbars = yes, width = 1060 CORS, height is 730')" / > < /a > < / div >

    < p align = "left" > This is one of the many images, we have to sell, you can choose print, framed print or a canvas we also sell metal printing, acrylic, iphone greeting cards and galaxy phone case too! < /p >

    < h2 align = "left" > Photo restoration work! < / h2 >

    < p align = "left" > we do also some digital photo restoration work; restore the old black and white! Remove any unwanted photos and much more! < /p >

    < h2 > new sets of digital background! < / h2 >

    < p > Our Digital Background Sets will come with complete coverage in a layer, set of images and more < /p >

    < p > each set will come with a video tutorial showing you how to use these fabulous games with your own images < /p >

    < p > set to be launched in 2014 < /p >

    < p > or if you prefer, you can simply send us your pictures and let us do the work for you < /p >

    < p > we charge only a small fee for this service! < /p >

    < p > < / p >

    < / side >

    <>footer

    < p > & copy; Copyright 2013 my studio to lawrenceg.com < /p >

    < / footer >

    < / div >

    < / body >

    < / html >

    Photos of Laurent g 2010 says:

    New Web site, rollover buttons with not color in place when you click

    On each of your pages, you need to add the class = "brochures" to your anchor tags.

    So the link to the "about me" page looks like in below:

  • On Lisezmoi.html"class ="brochures"> About Me"
  • 'The Gallery' link on the 'Gallery' page looks like this:

  • The Gallery.html"class = 'thispage' > The Gallery"
  • Do the same for the pages 'Studio work' and 'contact us '.

    Photos of Laurent g 2010 says:

    And someone told me that it is a very good site, but do not show the images in the box with the yellow frame upwards unless I tilt the screen at a weird angle, I think he means the image of hero! and sounds

    as it uses a Tablet

    They're all pretty a your subtle grey but that I do not see is on the page "about me". You just need to bring the gray tone to the top of a few stops.

  • With the help of 2 Java Plugins in Firefox

    Hi this goes back to an archived thread that Wesley has been kind enough to answer, but I have abrupt did not at the time - my only excuse is that I was working on a migration of system of production and found a different solution: the question here is: -.

    https://support.Mozilla.org/en-us/search?a=1 & asked_by = chrise99 & SortBy = 1 & w = 2

    I do not have it work. I need to use the latest Java for Juniper VPN 1.7.0_55 (archaic on Linux and I use 32 bit Centos for this job) to the security of the browser and to connect. So I have the plugin installed in 2 locations - seems to be necessary

    /Home/Oracle/.Mozilla/plugins

    lrwxrwxrwx 1 root root 46 Jan 15 12:39 libnpjp2.so -> /usr/java/jdk1.7.0_51/jre/lib/i386/libnpjp2.so

    / Home/Oracle /. Mozilla/Firefox/plugins

    lrwxrwxrwx 1 root root 46 Jan 15 12:39 libnpjp2.so -> /usr/java/jdk1.7.0_51/jre/lib/i386/libnpjp2.so

    Now when I want to connect to an Oracle Middleware product that REQUIRES 1.7.0_25 so I of course get a message plugin is missing. Wesley explained the procedure, but how do I add the link for libnpjp2.so pointing /usr/java/jdk1.7.0_25/jre/lib/i386/libnpjp2.so without tearing down the link to 1.7.0_55?

    Sorry for the wait of 6 months, but I still have that issue and I can't avoid it more. FF is the only option.

    Got it works after upgrade to 32-bit centos 6.5 (I was trying to avoid that, for the reasons explained above). The solution was to install the JDK 1.7.0_67 and 1.7.0_25 using the alternatives command, linking the libnp 1.7.0_67 to ~user/.mozilla/plugins plugin and the plugin 1.7.0_25 in usr, then using 1.7.0_67 Control Panel added in the 1.7.0_25 JRE and it helped.

  • With the help of SCAN_Op in Python with types

    I am trying to acquire 2 channels of analog data using SCAN_Op in Python. I call SCAN_Op directly after use types to convert parameters to functions. I get only the data from a channel. I'm looking for examples or help.

    nor = windll.nidaq32
    c_intVector = numChans * c_int
    sampleChans = c_intVector()
    sampleGains = c_intVector()
    I'm in range (numChans):
    sampleChans [i] = [i] chans
    sampleGains [i] = gains [i]

    cottages. DAQ_OpStatus = neither. SCAN_Op (sampleDeviceNumber, sampleNumChans, sampleChans, sampleGains, sampleBuffer, sampleNum, sampleRate, sampleScanRate)

    Theller, you are right. The following code works:

    def SCAN_VOp (self, deviceNumber = 1, numChans = 2, chans = (0, 1), gains = (-1, -1), num = 2, rate = 1000.0, scanRate = 0.0, numMuxBrds = 0):
    #print "incoming DAQ_VOp.
    sampleDeviceNumber = c_int16 (deviceNumber)
    sampleNumChans = c_int16 (numChans)
    c_int16Vector = numChans * c_int16
    sampleChans = c_int16Vector()
    sampleGains = c_int16Vector()
    I'm in range (numChans):
    sampleChans [i] = [i] chans
    sampleGains [i] = gains [i]
    sampleBuffer = create_string_buffer(2*num)
    sampleNum = c_ulong (num)
    sample rate = c_double (spleen)
    sampleScanRate = c_double (scanRate)
    sampleNumMuxBrds = c_int16 (numMuxBrds)
    #When DAQ_Op returns with a zero error number, buffer contains the acquired data.
    cottages. DAQ_OpStatus = neither. SCAN_Op (sampleDeviceNumber, sampleNumChans, sampleChans, sampleGains, sampleBuffer, sampleNum, sampleRate, sampleScanRate)
    cottages. DAQ_OpStatus = neither. SCAN_Demux (sampleNum, sampleNumChans, sampleBuffer, sampleNumMuxBrds)

    #convert buffer table to scale
    BR = sampleBuffer.raw
    FMT = 'h' * num
    unpacked = unpack (fmt, br)
    unpackedarray = array (unpacked)
    ScaledArray = unpackedarray * ((self.max-self.min) /(2 ** self.bits))
    #print 'DAQ_VOp leaving.
    Return to the self. DAQ_OpStatus, ScaledArray

  • With the help of buttons in frames with scroll

    Hi, I'm new to Flash and I encountered a problem, I have just resolution of the Cant.

    I have a floating frame and the contents of this frame contains various buttons.

    The user clicks on a button and a new button will appear with information on this subject. At this point, I want to prevent the user to scroll the image.

    I understand the scrollDrag = false; command, but I do not know how to approach the scrollable frame of in the framework itself.

    If I had a framework floating in scroll (called frameb for example), it would be easy to address the fair frameb.scrollFrag = false;

    But I do not know how to reference the framework, I'm (or above it).

    Also, I can get the buttons on the main stage to interact with the floating framework, but can not work, how do I get the buttons in the framework to interact with the main stage.

    Here is a code to get an idea:

    This piece of code is on the actions of the main stage (stage one). It controls a button, that once pressed hides the book on Slide1925 buttons:

    BooksOff.addEventListener (MouseEvent.CLICK, fl_ClickToHide);

    function fl_ClickToHide(event:MouseEvent):void

    {

    Slide1925.pulp.visible = false;

    Slide1925.buck.visible = false;

    Slide1925.comics.visible = false;

    Slide1925.GoldenAge.visible = false;

    Slide1925.Orwell.visible = false;

    BooksOff.visible = false;

    BooksOn.visible = true;

    }

    That works fine, but when I'm coding inside of Slide1925 (like a symbol definition) how would I code to change a button on the main stage?

    Also, how can I program a button on the contents of the scroll pane which some will be the scroll pane?

    Sorry if I didn't explained this very well. Any help would be appreciated

    There are a variety of ways to address the issue.  It would be to have all the code in one place, as the main scenario and target all content from there, whatever in even within the frame of scrolling.

    Another way to approach it would be to use 'this' to target the current timeline and "parent" to target the object containing.

    Still another way is to have the functions that relate to the control of the parent object in the parent timeline and assign event listeners to the internal objects, such as internal objects simply send an event.  The auditor assigned to the event calls the function that lives in the parent timeline.  This works well for situations where the blade is a responsible external file that must be run on its own.

  • Problems with the help of control Edit Expression with tab control

    Hi all

    I am facing a strange problem when using Expression Edit Control with a tab control.

    When I put the Expression of the RichEdit controls on several tabs in a tab control, and when I run the application, the Expression Edit controls in a single tab are visible, others get invisible! I do NOTHING with them, but they do not simply show upward!

    I first faced this problem using Expr editing controls in Visual Studio c#. NET - with tab controls. For verification, I created a simple VI is LabVIEW to see if the problem is with my request / problem with Expression Edit controls in c#, etc. But voila!  A similar behavior in LabVIEW too! 

    I'm doing something wrong? OR do not do something right? Ask someone for help please ASAP!

    Thanks a ton in advance!

    DASI

    PS: Attached the VI here (LabVIEW 8.5) just download and run it, and you will see probably what I'm talking about!


  • Problem with the help of several sensors piezo with DAQ

    Hey there,

    For a drum program, I have 2 buzzers piezo related to data acquisition in the code, I put it in place so that a different sound sample would be assigned to each sensor. However in the beginning, when I run the code, I hit a sensor (a1), he plays as ok. When I hit (a0), this kind of chance. Sometimes he plays the sample assigned to a0 or a1 or cheek then the other.

    Then messing around with the DAQ assistant, I changed the scope of the input signal and found that the entrance to the a1 plays the affected a0 sound instead. My mind is boggled.

    Code attached.

    Thanks in advance,

    Emile


Maybe you are looking for

  • How to recover my computer to original?

    Hellomy computer has been infected with (Trojans, HDD) virus, I tried everything, but nothing helped.now I want to recover my computer to factory default, can someone help me?I tried with F8, but nothing has changed...

  • cannot open links or download updates

    When I receive an update as of the PDF, I can click on the download tab and nothing will happen.

  • HP Officejet Pro 8610: How can I change my HP Officejet Pro 8610 Chinese back to English

    I was just inherited this printer and I am trying to use it with my Windows 10.  I can't understand the display printer settings, because they are all in Chinese.

  • Vibration of SMS

    Hey,. I want my Z5C to vibrate on SMS only when the phone is vibrate mode. Currently, it only seems that have vibrate in all modes (sound/vibrate/silent) or no. vibrate at all. Anyone know if this is possible without going to 3rd party sms app?

  • Pavilion DV7 - 1273cl: key to Bios - need help

    I forgot the BIOS administrator and turn on the password.After that 3 attempts failed but I have the key for deactivation of the system:66144787 Appreciate help getting my laptop going again.