Improvements to the sample gears

improvements to the new sample of waterfalls 10.3 gears

https://github.com/BlackBerry/Cascades-samples/tree/master/gears

My commit:

https://github.com/EKKE/Cascades-samples/commit/02051efc6dd5e02e61f63fb491d4b03f5d87ecbf

Unfortunately realized that long ago I did a fork of a forj of waterfalls-samples, so I couldn't create a request from github

With the help of my code changes:

* you don't need a button to recenter

* focus has been after that Page was created by a discipline QTimer

* FocusRetentionPolicy.LoseToFocusable fixed gear container

Now you can automatically drag after starting the application

AND you do not lose the focus it by tapping on the screen

@Mark Sohm: maybe the developer can insert this?

Hey God, I made a request to draw for you. I was in the same boat with an old fork, but if you delete, then re-fork the repo, it seems to work without any problems connecting your local repo to the GitHub fork.

Tags: BlackBerry Developers

Similar Questions

  • How to increase the sampling rate in this VI?

    Hi all

    I have recently inherited this mess of a VI and can not figure out how to increase the sampling rate. I tried to change the "ms of waiting ' clock, but it does not add more data points." The main VI, as well as the Subvi, which contains a Daq Assistant to a load cell and LVDT is attached. Any ideas on how to improve the sampling without a complete overhaul would be greatly appreciated!

    Thanks in advance!

    If you are grateful, feel free to give congratulations and mark the topic as resolved.

  • Cannot deploy the sample applications of the MAF

    I try to install some of the sample applications on the MAF ( jdev_install/jdeveloper/jdev/extensions/oracle.maf/Samples Directory) on my Android (version 4.4.2) phone without success.

    I use jDev build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

    If I have a deployment on an Android package using default deployment profiles, I get the following error:

    "Impossible to deploy the profile because the project 'ViewController.jpr' is not a MAF ApplicationController or ViewController project. (oracle.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer).

    I searched this error in this forum and found this:

    MAF: Build Error "adfmf - not found feature.xml.

    Then I updated the patch of the MAF, and I still get the same error.

    I then fiddled around a bit dependencies of properties/deployment/Android1/Application Profile

    Now I can deploy on my phone, but the application hangs on the splash screen.  Can anyone advise on what things should be checked in the profile dependencies?

    Profile Dependencies.JPG

    OK, I finally understood what is the question.

    After installing the patch of the MAF, jDev so ask to restart your computer, but for some reason any on my computer this can last from a few minutes to a few days!  The first time that I installed the patch, after a reboot, through the Assistant jDev update request I clicked on OK and jDev stop and waited so he could restart. 5 minutes later, it started so I thought I'd launch myself, so I did.  But what I didn't know that in my list of system processes, jDev was still working (perhaps even install the patch).  Here's a screenshot of my system process (that I took during my third attempt, since I suspect something):

    Thus, while this process jDev was hanging out, I started jDev myself and ended up having two jDev processes running.  One that I started manually didn't have the MAF Patch applied, but I thought he did it because I just went through the Update Wizard.

    And so all the trouble, I have tried to deploy the sample applications of the MAF.

    I didn't knew that this much later because a few days later, a splash jDev screen suddenly arisen WHILE I was USING jDev, I knew was because the first time, install the patch jDev prompted to restart the computer.

    Only on the third time reinstall jDev and the patch of the MAF has waited more jDev to restart, and when he finally did restart on its own (3 minutes later) that I checked my installation of the fix for the MAF and found that it was installing successfully.

    I then tried to deploy the sample applications of the MAF again and this time it worked.

    So, in summary, because he took if jDev long reboot after installation of the patch of the CRG, I advanced and started jDev myself, but this instance of jDev, I started upward has not installed the fix of the MAF, and so the trouble I had to deploy the samples of the MAF.

    I hope that something can be improved here so that other users the same tracks as I do not work in the same problems in the future.  It can be as simple as a message before reboot in saying the user to wait jDev restart on its own, otherwise their patch will not install.

    Thanks for your time.

  • When I try to buy a book, it seems it download but does not work. If I am able to get a sample and try to buy the sample goes far & no new book. There are funds in my account iTunes Help!

    When I try to buy a book, it seems it download but does not work. If I am able to get a sample & try to buy the sample goes far & no new book. There are funds in my account iTunes Help!

    Mine just did the same thing. I've even went and was sold again in case I did something wrong the first time. Still no book! I had to happen a few weeks ago, but when I closed iBooks and reopened, the book was there. This time that didn't happen.  I prefer to read on the iBook, but I'm not if my books download

  • Satellite Pro L300 - which improved after the BIOS update

    Hello users,.

    I just finished an update of the BIOS on Satellite Pro L300 using Updater Insyde Bios. I tried the Toshiba site to see what's new or what has improved since the update my bios 1.7version v2.2. But there is no search results. I also went to the site Web Insyde, but neither have they put up what has changed or improved?

    Is there a documentation or information which could help me to know how my laptop has improved or better after the update of the BIOS and what has changed since my update of the BIOS?

    Thank you

    Hello

    I assume you mean a changelog of the BIOS. Well, normally this document is placed on the Toshiba page where you can download the BIOS update.

    If you can't find such a t changelog, there is no available changelog. All that s!

    In addition the BIOS update should be performed only if it of really necessary. This means that if everything works fine, I don't see a reason to update because this update is a bit risky.

  • Instruments of the sample of user-specific does not see EXS24

    Logic Pro X 10.2.0 EXS24 sees the Instruments of the sample in my folder/library specific to the user, but only those in the global folder/library.

    But Logic Pro 9.1.8 EXS24 can see both.

    Background:

    I had my mid-2010 27 "iMac running OS X 10.8.5 and Logic Pro 9.1.8 (as well as Logic Studio 7) I upgraded to El Capitan without incident. I bought and installed Logic Pro X on the App Store without incident.

    The menu of Logic Pro X EXS24 instruments shows that the Instruments that are in the global folder:

    Instruments of Macintosh/Library/Application Support/logic/Sampler

    The menu Logic Pro 9 EXS24 instrument shows the Instruments that are in both aggregate AND user-specific folders.

    The menu instrument show the structure of:

    Instruments of Macintosh/Users/me/Library/Application Support/logic/Sampler

    It adds an entry listed as 'Factory' under which it places the Instruments found in:

    Macintosh/Library/Application Support/logic/Sampler instruments.

    If I load a project in Logic Pro 9 that uses some of the Instruments found in the user-specific directory in Logic Pro X, Logic Pro X reports errors that he cannot find the instruments and gives no possibility to 'find' and opens the project with a bunch of sounds of the sinusoid default loaded instead of the missing instruments.

    You can see two directories with the Global Directory on the specific to the user on the right and the left in my attachments.

    I have also attached a picture of the EXS24 Instrument Menu in Logic Pro 9 and Logic Pro X.

    Any guidance would be greatly appreciated.

    Thanks in advance!

    Here is the Menu of EXS24 Instrument under 9.1.8

    Here's the EXS24 Instrument menu under 10.2.0

    Here is a comparison of the Global Sampler Instruments on the left directory and Sampler Instruments menu specific to the user on the right

    (The view is provided by PathFinder rather than Finder which allows the sidebyside view)

    1. it is always useful to search the existing threads here at discussions.apple.com. Try some different keywords, and you can often find other people with similar problems.

    2 check out this thread. I had a similar problem and solved, answered my own question.

    X - Exs24 folder 'instruments' lacks logic

    3 re-indexing loops Apple Loops * should * help to find the folder. Here is some info on this:

    Logic Pro X index no loops.

    4. you can also try simply to drag the folder (in your Finder) and a session logical X. This * should * the entire folder to the index for you.

    5. you can always move the folders in your ~/Library (user) indexing question in your corresponding library/library/library indexing (root) folder.

  • reading of the sampling frequency of the NI9862

    Hi all

    I use a DAQ chassis with modules 9205 (analog input) and 9862 (NOR-XNET CAN).

    I have a program to synchronize the modules for acqustion based on the attached example. My question is how to determine the rate at which data comes the 9862?

    It seems to be double the rate of the 9205 when I set the sampling rate for the 9205 to 500 Hz.

    Is there a property node or a method that I can use to find the rate? I looked in the manual, and it gives no information.

    Thank you

    Griff

    griff32,

    Baud rate XNET CAN occur in your database. You can also check using a property node. In the example, in the XNET Session property node, you can develop, select the Interface > baud rate. You can do a right click on it and change it to read and son in an indicator.

    Alternatively, you can write to this property node to replace the transmission speed in the database. Baud rate must be compatible with the speed of your network. It also has a max of 1 mbit/s. If you want both to acquire the same amount of data, I would recommend changes in the rate of the analog input task or samples to read through.

  • cwdsp. Sine wave is where the sampling rate?

    Hello

    According to the method above (CWDSP. Sine wave), the parameters are the following:

    (n, a, f, Phase)

    n As Variant - [Input] number of samples to generate.
    Amp as Variant - [Input] Amplitude of the signal that results.
    f As Variant - [Input] frequency of the signal resulting in standardized units of cycles/sample.
    The phase as a Variant - initial phase [output] in degrees of the generated signal. Output, the Phase is the phase of the next portion of the signal. Use this setting in the next call to this function to simulate a generator of continuous functions.

    We are not lack of sampling frequency?

    example:

    I want to generate the next sine-

    FREQ = 1 kHz

    sampling frequency = 10 kHz

    (Number of samples) block size = 1024

    Amp = 1

    How will you use this function for this signal?

    I think (but I'm not sure of it...) is: CWDSP. SineWave (1024, 1, 1/10, 0)

    There is an example: "power spectrum".  In this example, they do not mention the sampling frequency and the signal is generated as follows:

    CWDSP. SineWave (1024, 1, 0, 1000/1024)

    No mention of the sampling frequency.

    Thank you

    Hey Rafi,

    Both of your assertions are correct.  The frequency of de.1Hz at no time is the equivalent of what you would get from sampling equipment of a wave of 10 kHz to 1000 s/s; in both cases, you will see a cycle of the wave every 10 samples, as you are pointing out.

  • display the values of the sample on a graph

    Hallo!

    I have a problem with a graph, the thing is that I really showed values of Y of the samples on a chart. There is a possibility to make a comment (as in attached photo) but I need the waltz instead. Any ideas? Thanks for the trouble,

    Greetings!

    Dear Aleph.ka,

    Here is an example of what you might need. For more documentation, please refer to the description of the node property applied (Annotation list):

    http://zone.NI.com/reference/en-XX/help/371361H-01/lvprop/waveformgraph_annot_list/

    I hope this helps.

    Kind regards

  • DMM (NI 4070), how to correctly set AC Freq (bandwidth) by the sampling rate

    using a NI4070 multimeter and I see the max connection is 300 kHz by respect it.  But I don't understand how to set the min and max, acFrequency according to the sampling frequency or speed reading.

    6 1/2 digits resolution, the speed can vary from 0.25 s/s to 100 s/s and this range corresponds to a lower end on the connection (minimum acFreq) from 1 Hz to 400 Hz.

    (Q1a) - is the playback speed, controlled by the minimum setting of IviDmm_ConfigureACBandwidth?   or vice versa?

    Otherwise, I do not see how to control the rate of reading or the sampling frequency.   IviDmm_ConfigureMeasurement only allows you to control the range and resolution.

    (Q1b) - is there a way to directly control the sample rate (digitizer) or playback speed (dmm)?

    (T2) - the upper limit of the bandwidth of AC always seems to be at 300 kHz... is there still a reason to reduce this maximum value?

    (T3) - Finally, unlike the traditional niDmm function, the resolution via the IVI configuration should be passed as absolute value; does directly when number of digits and the beach?   For example if I want to 6 1/2 digit to 300V range, I guess that by the specifications that the resolution should be set at 0.001 V... followign, if I want 5 1/2 digits to 1V range, the resolution should be set to 0.00001 V?

    Hi Rjohnson,

    I'll try to answer your questions as best as I can:

    Q1A.  The ConfigurACBandwidth function is used by the driver OR DMM to calculate the good aperautre for the measure.  So yes, by adjusting your minimum frequency, you will affect your reading speed.

    Q1B.  Your reading rate will depend largely on your measuring cycle.  To get a fast measuring cycle, there are a few things that you can adjust.  You can programmatically control your time aperature, as well as your time to settle.

    Q2. I can't find a reason to change. This parameter is only used for error-checking and verifies that the value of
    This setting is less than the maximum frequency of the device.

    Q2B.  I think what you say is right, but I'll need to check on that - I'll let know you as soon as.

    Hope that helps.  "" "I would recommend checking the explanation of the Cycle of the DMM measurement in DMM help' devices ' NI 4070" DMM Measuments "DMM measurement Cycle.

    Take care!!

  • Change the sample DAQmx and Terminal configuration mode

    Hello

    I'm studying 'Timing and synchronization features of NOR-DAQmx' from the following link,.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4322

    Could someone tell me how to Figure 2, Terminal configuration entry in the part "DAQmx virtual channel creat? Shoud I double-click on the icon to change it? Or there is some way that I can show it in the block as the sample mode diagram in the DAQmx part?

    How can another question, in the DAQmx calendar part, I put "Continous Samples" here? It comes from the function palette? Thank you.

    Hi Oly,
    To make the configuration of senior year to enter the channel 'DAQmx create' you will need to create a constant or control over this VI either.  When you hover over a VI, as the VI "DAQmx Create Channel", you will notice that the dots appear around the edge of the square.  "" When you roll your mouse over these points, you mouse pointer will appear a coil of cable/wire how you can right click your mouse and select 'Create' constant ' or 'create' control '.  If you create a control, you have a user control in your front, where as if you create a constant, you will have a drop-down list in your block diagram.
     
    It goes the same for continuous samples, simply hover over the VI, right-click on the corresponding 'point' and select this option to create a constant.
     
    In case my instructions are unclear, that I have attached pictures of how to go about doing this, the first is to show 'points' I speak around the VI and the second picture shows the possibility to choose after you right-click on the point.
     
    Good programming!
    aNIta B
    Technical sales engineer
    National Instruments

  • Digital filter on the sample clock 6601/6250

    Hello

    I use a PCI-6601 (Dev1) and the card PCI-6250 (Dev2) connected via a cable RTSI.

    I apply a PWM signal to the 6601 ctr0 (Dev1 / / PFI38) and activate the digital filtering (100 ns) on the respective task (measure of the period).

    I apply an analogue signal to AI0 map of 6250. As I am interested in a sample of analog measurement when the PWM signal changes from low to high, I put the clock sample of the AI task source ' Dev1 / / PFI38 "and the side assets of clock sample"Insurrection. "

    Everything works fine, but I have a question:

    The sample for the AI clock is the task the filtered PWM signal or not filtered PWM signal?

    Kind regards

    Udo

    Hi Udo,

    Great question!  Digital filters are actually not part of the subsystem of counter, but rather the line itself PFI.  So, if you have activated the digital filter for a specific line of the PFI, the signal that you route to any subsystem of the PFI line will have already crossed the filter.

    It's actually the workaround to the PFI filters on M-series / TIO DAQ devices when you are not using meter (materials of filtering on each PFI line but the DAQmx driver allows only the filtering part of duties of counter on these devices).

    I also wanted to emphasize that the 6250 itself has 2 onboard counters, then you could do the same thing using just the 6250 (unless you use more than 2 meters).  I hope this helps!

    Best regards

    John

  • Buffer the output AO, refresh rate is different from the sample clock frequency

    Hello

    I am an AO output in the buffer using a single channel. I have a stamp with a ripple of 200000 points with a triangular waves of a 1000pts each repeated 200 times. If I want a frequency of 1 Hz, I simply update this waveform 1000pts and if I wanted to 5 Hz, then 5000pts and so on. But there is some frequency that I won't be able to use like the refresh rate (the number of samples that I ask to update) is different from the sample clock frequency, which makes synchronization with the other difficult to trigger (incomplete cycle).  Frequency 3 Hz (update 3000pts), as (update 7000pts) 7, 6 Hz (update 6000pts), 9 (update 9000pts)... 11Hz at 15 Hz and is not valid in the sense that the refresh rate is different from the sample clock frequency. That makes a whole lot of inaccessible CONFIGURED!  Can someone tell me what determines the banned frequency?  Is this something to do with the material?

    concerning

    One thing you can try is to change the number of samples per cycle. This cannot give the precise frequency accurately, but can reduce the average error.

    120 Hz, the error is currently about 400 parts per million (ppm). The accuracy of the time base is 50 ppm, then this error is less than 10 times the inherent error due to the time base.

    Consider this configuration: the closest nominal sampling you rate, you can get is 120048 Hz (1000 samples per cycle at 120 Hz). If your buffer contains 1200 samples per cycle, 100 copies of it would produce 1 second of data to 120,048 Hz. But if the buffer contained an average of 1200,48 useful Samper by cycle, you get the exact frequency.  Of course getting 0.48 of a sample is delicate. But the kind of feasible. If you use 48 cycles in the 1201 samples per cycle and the cycles of 52 to 1,200 samples per cycle, the total number of samples per second = 120048. Average frequency will be exactly what you want. Instantly, the frequency is slightly higher or lower than the exact value.  By an alternation of 1200, 1201, 1200, 1201... 1201, 1200 100 cycles that the Jig is fast.  If you group all 1200s whole and all 1201 s frequency hopping may be more sensitive.  If this kind of jitter is acceptable depends strongly on what you do with the release.

    This technique is used in some systems of frequency synthesizer.

    Lynn

  • How to specify the sampling frequency? Must use "measurement & Automation Explorer '?

    I use to measure the input current analog OR cDAQ-9171 (chassis only location USB) and NOR-9207. I have 2010 NOR-installed DAQmx and LabVIEW.

    How can I specify the sampling frequency?

    If I use M & A Explorer to create the task, I can specify the flow rate (Hz) on the Configuration tab-> sync settings.

    For the acquisition of data NOR, it is mandatory to use M & A exploring?

    If I don't want to use M & A Explorer, how can I specify the rate (Hz)?

    Hello

    You can specify the sampling frequency with "DAQmx Timing.vi" located in the function palette DAQmx (read context-sensitive help on how to use wisely).

    You do not have to use M & A exploring (MAX) to create a task.

    A simple and quick way is to use DAQ Assistant (same configuration as in MAX) to configure your measurement.

    Another is to use blocks of DAQmx function to manually build your application code.

    In my experience Assistant DAQ is ideal for simple tasks (one measure), with regard to the more complex measures (synchronized the analog and digital inputs).

    I tend to use function blocks because they give you more freedom about code execution.

    Note: You can also build DAQmx code from a wizard configured DAQ task.

    Best regards

    Matej

  • Specify the samples only to change?

    No doubt a variation of this has been requested before, so my apologies, but I'm unable to find anything.

    I use a PCIe-6537 and try to generate a long sequence (say 2 seconds) using C. Is it possible to only specify some samples? Or do I need to specify the value each time the sample?

    For example, suppose I want 32 track 1 followed by HIGH microsecond of a second BASS, repeated twice. I wish I could say:

    Example 0: 2 ^ 32-1

    Example 1:0

    Sample of 1000000:2 ^ 32-1

    Sample 1000001:0

    However it seems I have to specify the actual value at each point in time. Of course, it takes much more time and memory to write but I do not see otherwise. Is there a way?

    I hope that the question is clear. Thank you.

    I can't find a place to change the theme or mark it as solved

    My real scenario was a bit more complicated, but I found away around him. Each writing sample explicitly should no longer be a problem.

    I hope that is correct on the occasion of my own post as a 'solution '.

Maybe you are looking for

  • Identification and the conversion of an old version of LabVIEW

    I have an old program .vi I try to access to and run now. I don't know what version of LabView, it was written, but I don't know that he came on a Windows 95 computer. Any Suggestions? Huntley will

  • Computer takes forever to stop + display does not properly

    Hello My computer began to take a long time to shut down (10-15 minutes) and then crashes with blue screen of death... Also when it comes on sometimes it loads but I have no display and my screen goes to power saving mode If I reboot, it takes foreve

  • No function. print screen on an X 201?

    I have a new X 201 think Pad and the F6 key is labeled is more like a screen capture function. I can't find that anything that is labelled with an option to print screen. Is there another way to do it. I searched but didn't find anything relevant. So

  • Unlock the screen

    Hello. I have an application that runs in the background and it goes to forenground when the NFC field is detected. It works fine, but when the screen is locked the NFC field event is also detected and the application is in the foreground, but the sc

  • Pavilion M70 monitor and upgrade to Windows XP

    I upgraded my desktop computer Pavilion XL775 to Windows XP for me.  The monitor is a 17IN M70, using an NVIDIA Vanta AGP card.  After the upgrade, my monitor does not display a picture.  I have tried to download the new NVIDIA drivers and instructio