Help required with control PID for RPM control application

Hi guys,.

I worked on this project for a while that I started from scratch. Here's the idea: the centrifuge of the computer in the control, use the analog output voltage, meter of entry to get the frequency of rotation. Optointerruptor is defined as the frequency measurement is exactly the same as the number of TURNS. I tried to create a loop to output test voltage and he took in the acquisition of data to test everything and determine the gains of PID. As everything worked well, I went to the entrance of counter to test the model in reality. I faced following problem: task does not run on virtual meter inlet channel. If I don't get in the loop of PID process variable and anything not working as it should.

I have attached an excerpt from the code of the entry of counter as well as one of the control loop that worked very well. Maybe you can point me in the right direction. Thank you!

Best wishes

Mariia

Have you ever had the counter entry work? Build a simple program that reads only from the entrance of the meter. It work? If this isn't the case, you get an error in the DAQmx screw? If so, what is the error? If not, what is the result of the DAQmx Read? You can connect your input of an oscilloscope to verify that your hardware is properly production of pulses?

Tags: NI Software

Similar Questions

  • HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?

    HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?

    The work path is a vector and infinitely scalable, but when caress you, Photoshop sets the pixels on a layer following the path.  These pixels are rasterized and based and cannot be resized without loss of quality.  You have options.  If you want to enlarge the raster layer, transform the work path and stroking again.  Or work at a resolution higher, in the first place.

    Either incidentally, you can't trace a path with the pen, because it's a vector tool, and caressing is a matrix function based.

  • As a gesture of goodwill, we can help you with the upgrade for PSE 13. We ask you to place the order for Adobe Photoshop elements 13 upgrade and then provide you with the serial number of the full version for the same product against the new upgra

    I have RECIVED YEAR EMAIL FROM ADOBE AS: as gesture of goodwill, we can help you with the upgrade for PSE 13. We ask you to place the order for Adobe Photoshop elements 13 upgrade and then provide you with the serial number of the full version of the product, even against the new order of upgrade"IS this UPGRADE FREE AND CE WHO SHOULD DO, HOW can I HAVE THIS UPGRADE?

    HOW I CAN PLACE THE ORDER AND IS IT FREE?

  • Impossible to install updates 800700c error code 1 is up.help required with problem

    computor model Fujitsu amilo pi3410

    Hello

    1. the updates of windows are getting failed?
    2. don't you make changes to the computer before the show?

    Method 1
    I suggest you to run the fixit from the following link:

    The problem with Microsoft Windows Update is not working
    http://support.Microsoft.com/mats/windows_update/

    Method 2
    I suggest to perform the clean boot and then try to install the updates.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: Follow step 7 clean boot KB929135 article to reset the computer in normal mode.

    Method 3
    I suggest you try the steps from the following link:

    Cannot install updates in Windows Vista, Windows 7, Windows Server 2008 and Windows Server 2008 R2
    http://support.Microsoft.com/kb/2509997

    Note:
    this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article: back up the registry in Windows Vista
    Note: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

  • Help required with Windows 7 Activation

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->

    Validation code: 0
    Validation caching Code online: n/a, hr = 0xc004f012
    Windows product key: *-* - GJY49 - VJBQ7-HYRR2
    Windows product key hash: W5/6nm6F2UPXrCkY5xUhXb / + 21 = g
    Windows product ID: 00426-OEM-8992662-00006
    Windows product ID type: 2
    Windows license Type: OEM SLP
    The Windows OS version: 6.1.7601.2.00010100.1.0.001
    ID: {0D45C85E-AA01-4C64-8FAF-0582E5839859} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Ultimate
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.130828 - 1532
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 103 blocked VLK
    Microsoft Office Enterprise 2007 - 103 blocked VLK
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->
    [File mismatch: C:\Windows\system32\wat\watadminsvc.exe[Hr = 0x80070005]
    [File mismatch: C:\Windows\system32\wat\watux.exe[Hr = 0x80070005]

    Other data-->
    Office details: {0D45C85E-AA01-4C64-8FAF-0582E5839859}1.9.0027.06.1.7601.2.00010100.1.0.001x 64*-*-*-*-HYRR200426-OEM-8992662-000062S-1-5-21-1267476948-1634095527-3693179229AcerAspire 4349INSYDEV1.06 20110929000000.000000 + 000926C3D07018400FE04090409peninsula malaise Standard Time(GMT+08:00)03ACRSYSACRPRDCT103103Microsoft Office Enterprise 200712ACD7202654E586fFic3JgCreGGRxyF8uMWB4R4Jcg = 89388-707-1528066-6516414

    Content Spsys.log: 0 x 80070002

    License data-->
    Input error: can not find script file "C:\Windows\system32\slmgr.vbs '.

    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0x00000000
    Beyond: 0 x 0000000000000000
    Event timestamp: 4:8:2014 23:53
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: not registered - 0x80070005
    Output beyond bitmask:

    --> HWID data
    Current HWID of Hash: MgAAAAIAAgABAAEAAAABAAAAAwABAAEA6GG6Ts1QVOwordDWTOi6hmayntBaxdsFLnM =

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: no, table invalid SLIC
    Windows marker version: N/A
    OEMID and OEMTableID consistent: n/a
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC ACRSYS ACRPRDCT
    FACP ACRSYS ACRPRDCT
    HPET ACRSYS ACRPRDCT
    START ACRSYS ACRPRDCT
    MCFG ACRSYS ACRPRDCT
    ASF!            ACRSYS ACRPRDCT
    SLIC ACRSYS ACRPRDCT
    SSDT ACRSYS ACRPRDCT
    ASPT ACRSYS ACRPRDCT
    SSDT ACRSYS ACRPRDCT
    SSDT ACRSYS ACRPRDCT

    Proposed by the moderator of this thread:
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/win-7-ultimate-not-activate/d11e156c-2d51-4a12-8130-91e6ee815fa4#LastReply

    Input error: can not find script file "C:\Windows\system32\slmgr.vbs '.

    (1) open a by a right-click command prompt and select "run as Administrator".
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volume to check the next time that the system restarts,
    Enter: y

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    =====================================================================

    (2) run the command SFC /SCANNOW. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    ===============================================================

    If SFC Scannow was able to repair your files, try to activate Windows again.

    1) click Start and in the search for box type: slui.exe 4
    (2) press the ENTER"" key.
    (3) to select your "country" you are in the drop-down list.
    (4) choose the option "activate phone".
    (5) stay on the phone * do not select/press any option * and wait for a person to help you.
    (6) explain your problem clearly to the support person.
    (7) the person must give you a confirmation ID, copy it down on paper,
    (8) check that the ID is correct in reading the support person.
    (9) to enter the ID number, then click 'Next' to complete the activation process.

    Activation and registration of a Microsoft product
    http://support.Microsoft.com/?kbid=326851
    Windows activation: (888) 571-2048
    (888) 725-1047 or 800-936-5700

    ===============================================================

    If SFC Scannow could not repair any or all the corrupt system files
    follow these steps:

    (a) open a command prompt (start / all programs / accessories)
    Right click on the command line option, then select: run as administrator

    (b) at the command prompt, enter: DISM.exe/online/Cleanup-Image /ScanHealth

    Press the ENTER"" key.

    (c) then enter: DISM.exe/online/Cleanup-Image /RestoreHealth

    Press the ENTER"" key.

    (d) now rerun the command SFC/SCANNOW...

    At the command prompt, enter: SFC/scannow

    J W Stuart: http://www.pagestart.com

  • Help required with Build of Windows not genuine

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->
    Validation code: 50
    Validation caching Code online: n/a, hr = 0xc004f012
    Windows product key: *-* - 74XYM - BH4JX-XM76F
    The Windows Product Key hash: KeYfcvXg/a1Q01x73 + f8IL/JC4Y =
    Windows product ID: 00359-112-0000007-85471
    Windows product ID type: 5
    Windows license type: retail
    The Windows OS version: 6.1.7601.2.00010300.1.0.003
    ID: {B5138A86-A74D-40E4-8375-86E6E734CFB1} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows 7 Home Premium
    Architecture: 0 x 00000009
    Build lab: 7601.win7sp1_gdr.130828 - 1532
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a
    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002
    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002
    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3
    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed
    Analysis of file data-->
    Other data-->
    Office details: {B5138A86-A74D-40E4-8375-86E6E734CFB1}1.9.0027.06.1.7601.2.00010300.1.0.003x 64*-*-*-*-XM76F00359-112-0000007-854715S-1-5-21-4203167718-1964513498-3843401065Hewlett-Packardp7-1007 cAmerican Megatrends Inc.. 6.11 20111228000000.000000 + 000D8BB3E07018400F404090409Time(GMT-08:00) Standard Pacific03HPQOEMSLIC-CPC109  
    Content Spsys.log: 0 x 80070002
    License data-->
    The software licensing service version: 6.1.7601.17514
    Name: Windows 7 HomePremium edition
    Description: operating system Windows - Windows (r) 7, retail channel
    Activation ID: 2e7d060d-4714-40f2-9896-1e4f15b612ad
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 00359-00170-112-000000-00-1033-7601.0000-1872013
    Installation ID: 014995665130071472847356144860222392052571458596790191
    Processor certificate URL: http://go.microsoft.com/fwlink/
    ? LinkID = 88338
    The machine certificate URL: http://go.microsoft.com/fwlink/
    ? LinkID = 88339
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
    Partial product key: XM76F
    License status: Notification
    Reason for the notification: 0xC004F031.
    Remaining Windows rearm count: 3
    Trust time: 06/12/2013 23:27:36
    Windows Activation Technologies-->
    HrOffline: 0x00000000
    HrOnline: 0xC004C533
    Beyond: 0 x 0000000000000000
    Event timestamp: 12:6:2013 23:16
    ActiveX: Registered, Version: 7.1.7600.16395
    The admin service: recorded, Version: 7.1.7600.16395
    Output beyond bitmask:
    --> HWID data
    Current Hash HWID: MAAAAAEAAgABAAEAAAACAAAAAgABAAEAonY8VDRcVPkgkUqzVMjqRQKo5qYA + xh5
    Activation 1.0 data OEM-->
    N/A
    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes
    Windows marker version: 0 x 20001
    OEMID and OEMTableID consistent: Yes
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    HPQOEM APIC-SLIC-CPC
    FACP SLIC-CPC HPQOEM
    SRAT HPQOEM SLIC-CPC
    HPET SLIC-CPC HPQOEM
    MCFG SLIC-CPC HPQOEM
    SLIC SLIC-CPC HPQOEM
    LASRYVITRAGE HPQOEM SLIC-CPC
    SSDT HPQOEM SLIC-CPC
    SSDT HPQOEM SLIC-CPC

    Your message has been split from the original thread because it was a completely different issue from what has been discussed here. It can become quite confusing talk more than a complex issue in a single thread.

    I think that this message of Christmas Paton is likely to be the way to solve your problem:

    Windows complains because he thinks that the hardware has changed - you will need to use telephone activation.

    There is no sign that the installation is a counterfeit - do you have the original packaging?

    activation by telephone (call of the operator)

    Click the Start button

    in the search box, type

    SLUI 4

    and press the Enter key

    Follow the instructions, but when asked what service you need the ansafone phone, don't answer - it should oblige the operator to answer, who can deal with you

    Noel Paton | Nil Carborundum Illegitemi | CrashFixPC | The lazy three fingers
    No - I do not work for Microsoft or one of its contractors.

    http://social.technet.Microsoft.com/forums/Windows/en-us/328a7ac8-796c-4EDB-80f3-6568d5e35b26/Windows-7-32-bit-to-64-bit

  • Help required with request

    Hello
    I have a table with two fields that have 1-> n relationship.
    Ex: TableA Field1 and Field2.
    For a value of field2 there may be several Field1 in TableA (essentially field2 is part of categorization for fiel1).

    In the query I want to determine which records where, for particular values of field2 only field exists.

    Ex:
    Field1 Field2
    1A
    2A
    3B
    4 C
    D 5
    D 6

    For the above case the query should return only the records
    Field1 Field2
    3B
    4 C

    Please help me accomplish this query...
    Thank you
    Raja

    Hello

    Raja Guibert wrote:
    Frank Merci for the reply,
    Can you please help me understand why the min function is required on Field1...

    Here are the ABCS of the GROUP BY.
    When you use an aggregate (such as COUNT) function in a query, then everything in the SELECT clause must be:
    a ggregate function,
    expressions (b), the GROUP B, or
    c a Cadding
    or an expression composed entirely of the foregoing.

    Field1 is none of them. We cannot add Field1 to the GROUP BY list, because we need all the lines for each set Field2 in the same group.

    I can simply use

    Select field2 from tableA having count (*) = 1 group of Field2;

    Of course, you can do it if you don't need field1 in the results.

  • Help required with HARD drive recovery tool and reinstall windows 8.1 recovery discs on aspire or v15

    Hi guys. I am new to this and in total confusion. I bought a aspire v15 nitro preloaded with win 8.1. I've updated to win 10 but decided to decline to 8.1. Process has failed and I got the blue screen error msg and a useless piece of plastic. I had to buy a set of recovery disks (reluctanlty at a cost of £51 - yes I know stupid me). I tried to reinstall from the disc, but I suck. I have acer cntacted and they have now tell me that I have to first download and install and disk formatting tool. I am confused now totally frustrated and quietly seething. I need help, I'm outta my depth here. Can anyone provide assistance as to what HD formatting of tool to download - what should I do with it to finally lift the laptop and run again? Your help is greatly appreciated!

    If you recovery media standard windows options, you can try to select "repair my computer" - Troubleshooting - Advanced Search - command prompt
    Once in the command prompt type
    DiskPart
    then, type diskpart
    list disk
    take note of the correct disc ID to clear
    type
    Select disk x
    (where x is the ID of your disk to erase)
    type
    clean
    Type exit

    If you do not have this option:

    http://www.partitionwizard.com/Partition-Wizard-bootable-CD.html
    Download the .iso file
    then use a software to burn CD/DVD or USB flash drive and burn the .iso file
    Once completed, put the CD/DVD/USB on your PC, boot from CD/USB (maybe you need to start under the legacy if you have the UEFI BIOS)
    Press F12 on startup and choose the CD or USB
    at the level of the Office
    Select your HARD drive
    Right-click on the icon for your HARD drive and choose completely erase your HARD drive (it will erase any GPT or MBR at the disk), choose the first option after selecting the clear function.
    Exit the wizard partition, boot from the BIOS, UEFI return of the Legacy (if you have the UEFI BIOS) and boot from media erecovery.

  • Help required with MuseJSassert error: TypeError: $ is not a function.

    Hello

    I'm not good at code so hopeful that someone can help me solve the error above, which I get during the incorporation of a form of mailchimp in a publication:

    Thank you very much

    Chris

    Here is the embed code Mailchimp:

    <! - Begin MailChimp registration form - >

    "< link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css "rel ="stylesheet"type =" text/css">

    < style type = "text/css" >

    #mc_embed_signup {background: #fff; clear: left; font: 14px Helvetica, Arial, without serif ;}}

    / * Add your own form of MailChimp / style in your style of site or block style sheet.

    We recommend that you move this block and the previous link to CSS in the HEAD of your HTML file. */

    < / style >

    < div id = "mc_embed_signup" >

    < form action="//chrisbrookes.us12.list-manage.com/subscribe/post?u=5bf6272fd78e909d347eca348 & am p; ID = bfa2c40bb4"method ="post"id = 'mc-embedded-subscribe-form' name ="mc-embarque-abonner-form"class ="validate"target ="_blank"novalidate >

    < div id = "mc_embed_signup_scroll" >

    < h2 > subscribe to our mailing list < / h2 >

    < div class = "indicates required" > < span class = "asterisk" > * </span > indicates required < / div >

    < div class = "mc-field-group" >

    < label for 'mce-FNAME' = > name < / label >

    "< input type ="text"value =" "name ="PNOM"class =" "id ="mce-FNAME">

    < / div >

    < div class = "mc-field-group" >

    < label for "mce-EMAIL" = > E-mail address < span class = "asterisk" > * </span >

    < / label >

    < input type = "email" value = "" name = "EMAIL" class = "required mail" id = "mce-EMAIL" > "

    < / div >

    < div id = "mce-answers" class = 'clear' >

    < div class = 'response' id = "mce-error-response" style = "display: no" > < / div >

    < div class = 'response' id = "mce-success-answer" style = "display: no" > < / div >

    < / div > <!-real people shouldn't this learn and expect good things - do not delete this nor of danger form bot registration->

    < div style = "position: absolute;" left:-5000px; "aria-hidden ="true"> < input type ="text"name ="b_5bf6272fd78e909d347eca348_bfa2c40bb4"tabindex = value"-1 "=" "> < / div >". "

    < div class = "clear" > < input type = "submit" value = "subscribe" name = 'subscribe' id = "mc-embedded-subscribe" class = "button" > < / div >

    < / div >

    < / make >

    < / div >

    < script type = "text/javascript" src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js' > < / script > < script type = "text/javascript" > (function ($) {window.fnames = new Array(); window.ftypes = new Array (); the name [1] = 'FNAME'; ftypes [1] = 'text'; name [0] = 'E-MAIL address'; ftypes [0] = 'e-mail address' ;}}) (jQuery)) ; var $mcj = jQuery.noConflict (true); < /script >

    <! - end mc_embed_signup - >

    Thanks for your reply. I already inserted the html code in a composition Viewer. The error will appear when you check your page in a browser. I'm assuming that there must be a javascript conflict such that the code works correctly if it is just placed on a page.

  • Help required with SQL query

    I have three tables listed below

    FORMAT - Columns are format_id, format_desc
    VIDEO_FORMAT - areVIDEO_FORMAT_ID of columns, COST VIDEO_ID, FORMAT_ID,
    RENTAL - Coulmns are RENTAL_ID, DATE_OUT, DATE_DUE, DATE_IN, DELIVERY_STATUS, LATE_FEE, CUSTOMER_ID, VIDEO_FORMAT_ID

    I need to find the customer list id, format description and cost of the video format for customers who have rented a video.

    I wrote the request

    Select rental r format f, video_format, r.customer_id, f.format_desc, vf.cost vf where f.format_id in (select video_format format_id) and r.video_format_id = vf.video_format_id

    This isn't to get accurate results. Help, please.

    Would know what kind of results you get, but I think that I can see.

    Try:
    Select r.customer_id, f.format_desc, vf.cost
    rental r, f format, video_format vf
    where vf.format_id = f.format_id
    and r.video_format_id = vf.video_format_id

    Can't be sure without a little more information so that will set you. But I do not know why you went with trying to get a relationship using an IN with a subquery. It will be useful.

  • Help required with a query

    Hello

    I have data like shown below:

    ID DATE NUM_PCT

    1 June 1, 2011 1.2
    1-2 June 2011 NULL
    1-3 June 2011 NULL
    1 6 June 2011 NULL
    1 July 1, 2011 1.25
    1 NULL July 4, 2011
    2 June 1, 2011 1.3
    2 NULL June 2, 2011
    2-3 June 2011 NULL
    2 June 6, 2011 1.29
    2 NULL June 7, 2011
    2 NULL 8 June 2011
    2 June 9, 2011 1.31
    2 NULL 10 June 2011

    and I want to convert the data as shown below:

    ID DATE NUM_PCT

    1 June 1, 2011 1.2
    1 June 2, 2011 1.2
    1 1.2 3 June 2011
    1 June 6, 2011 1.2
    1 July 1, 2011 1.25
    1 July 4, 2011 1.25
    2 June 1, 2011 1.3
    2 June 2, 2011 1.3
    2 June 3, 2011 1.3
    2 June 6, 2011 1.29
    2 June 7, 2011 1.29
    2 June 8, 2011 1.29
    2 June 9, 2011 1.31
    2 June 10, 2011 1.31

    I use Oracle 10.2.0.4.0

    Please help me in writing a request for it.
    with t as (
               select 1 id,to_date('01-Jun-2011','dd-mon-yyyy') dt,1.2 num_pct from dual union all
               select 1,to_date('02-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 1,to_date('03-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 1,to_date('06-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 1,to_date('01-Jul-2011','dd-mon-yyyy'),1.25 from dual union all
               select 1,to_date('04-Jul-2011','dd-mon-yyyy'),NULL from dual union all
               select 2,to_date('01-Jun-2011','dd-mon-yyyy'),1.3 from dual union all
               select 2,to_date('02-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 2,to_date('03-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 2,to_date('06-Jun-2011','dd-mon-yyyy'),1.29 from dual union all
               select 2,to_date('07-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 2,to_date('08-Jun-2011','dd-mon-yyyy'),NULL from dual union all
               select 2,to_date('09-Jun-2011','dd-mon-yyyy'),1.31 from dual union all
               select 2,to_date('10-Jun-2011','dd-mon-yyyy'),NULL from dual
              )
    -- end of on-the-fly data sample
    select  id,
            dt,
            last_value(num_pct ignore nulls) over(partition by id order by dt) num_pct
      from  t
      order by id,
               dt
    /
    
            ID DT           NUM_PCT
    ---------- --------- ----------
             1 01-JUN-11        1.2
             1 02-JUN-11        1.2
             1 03-JUN-11        1.2
             1 06-JUN-11        1.2
             1 01-JUL-11       1.25
             1 04-JUL-11       1.25
             2 01-JUN-11        1.3
             2 02-JUN-11        1.3
             2 03-JUN-11        1.3
             2 06-JUN-11       1.29
             2 07-JUN-11       1.29
    
            ID DT           NUM_PCT
    ---------- --------- ----------
             2 08-JUN-11       1.29
             2 09-JUN-11       1.31
             2 10-JUN-11       1.31
    
    14 rows selected.
    
    SQL> 
    

    SY.

  • Help required with bundles of file while publishing an app

    Hi all

    This is the first time that I publish an app on the app store for blackberry. During the download of the new version I'm confused when the beams of the file created. My app supports Blackberry OS 5.0 and above but RIM is asking for accurate devices in the support apparatus.

    Could someone help me please how to get the names of the devices supported by the OS 5.0.

    Thank you

    Arindam

    Hello!

    You can choose the version of the firmware and by which devices expected to be filtered so the devices in the list are supported by your selected operating system.

    Hope this has helped.

  • New developer help required with error messages

    Hello

    I'm new here and just start with the development of Blackberry.  I have some experience in programming, primarily in VB but also some HTML/CSS and am familiar with most of the concepts of programming.

    I installed the BB JDE 4.7.0, and am running.

    I started following this YouTube HelloWorld example to get myself started

    http://www.YouTube.com/watch?v=e6NhObYV1js

    Everything was going well until I have compiled the application, then I got an error message.  (My problem is the 1) I don't know what means the error message and 2) I don't know how to find out what means the error message.  I suspect, it can be linked to my installation of the software, but I'm not sure.

    I would be grateful if someone could put me on the right track with these two problems (IE help me solve this problem and also to direct me to how to help myself next time).

    Here is my Code

    /*
     * HelloWorld_main.java
     */
    
    package cs456_s09;
    
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.container.MainScreen;
    
    /**
     *
     */
    class HelloWorld_main extends UiApplication
    {
        HelloWorld_main()
        {
            MainScreen pScreen = new MainScreen(); /*create new main screen */
            pScreen.setTitle("Hello World Title Bar Title");
            pScreen.add(new LabelField("Hello World"));
            pushScreen(pScreen); /* push the screen onto the main stack */
        }
    
        public static void main(string args())
        {
            HelloWorld_main pApp = new HelloWorld_main(); /* creates new instance of app */
            pApp.enterEventDispatcher();
        }
    }
    

    Here is the error I get trying to complete the construction.

    Building HelloWorld

    C:\Program Research In Motion\BlackBerry JDE 4.7.0\bin\rapc.exe-silencieux import ="...... \.. \.. \Program Files\Research in Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar"codename = HelloWorld HelloWorld.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 "C:\Documents and Documents\RIM\HelloWorld_main.java c.

    I/o Error: CreateProcess: javac - 1.3 source-target 1.3 - g - O-d C:\DOCUME~1\LOCALS~1\Temp\rapc_588f7fec.dir - bootclasspath "...-..." \.. \.. \Program Files\Research in Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar "-classpath"...... \.. \.. ' Error 'C:\Documents and Documents\RIM\HelloWorld_main.java c' \Program Files\Research in Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar "= 2

    Error while building project

    Thank you.  I thought it was related to the installation, but needed to be sure.  I uninstalled everything, but have not had time to try once again

  • Can someone help me with C++ headers for after effects Plugins?

    Can someone help me understand this piece of the plugin header

    * BTW it is used in the SDK of AE 2015 *.

    He began to make sense and then I just lost myself

    ==============================================

    Enum {}

    PORTABLE_INPUT = 0, / / default input layer

    PORTABLE_SLIDER,

    PORTABLE_NUM_PARAMS

    };

    Enum {}

    PORTABLE_DISK_ID = 1

    };

    typedef struct {}

    A_FpShort slider_value;

    } PortableRenderInfo;

    #define PORTABLE_MIN 0.0

    #define PORTABLE_MAX 200.0

    #define PORTABLE_BIG_MAX 200.0

    #define PORTABLE_DFLT 10.0

    #define SLIDER_PRECISION 1

    #define DISPLAY_FLAGS PF_ValueDisplayFlag_PERCENT

    extern "C" {}

    This code snippet is just defining some constants that get used later, whether it's a macro (#define) or within an enum. It allows you to easily change the value (of, say, PORTABLE_MAX) in one place, rather that at each place, it is used. It is always advisable to define some constants naked symbolism rather than as numbers. Assuming that the name of the symbol is right, that this help really make the code more readable.

    Typedef struct defines a structure that can be recorded and transmitted between the functions.

    It's pretty basic C, not even using all the C++ features. Search on Google for '#define c' or 'c enum' or anything that will lead you to the tutorials explain these things in (probably too much) in detail.

    Bob Currier

    Synthetic Apertrure

  • Help required with political relaxation user access allow IOM 11.1.1.5

    Hi Experts,

    My scenario is:

    I have configured the SIEBEL OOTB connector with my 11.1.1.5.0 IOM

    Note:
    Siebel connector does not support the toggle feature to target siebel. He just create or delete the account. There not also "allow the user' and 'Disable user' of the tasks of the PD of the SIEBEL process.

    My requirement:
    (1) assumes that if I disable the user in the profile of the IOM, it should revoke account SIEBEL
    (2) after that if I do user will allow IOM profile, it should again available SIEBEL RO.

    What I did:

    I created a user 'disable' in the definition of process of SIEBEL and the success of this I have called 'delete user '. So my revoke that happens after disabling the user profile of the IOM.

    But once I do activate in IOM, the Siebel user profile only is not provsioned because Enable is triggering not available Siebel access strategy.

    Can you please suggest what is the best way to implement "on Enable in the user profile IOM, how to set up a resource '?

    Kind regards
    J

    Well as long as you're not worried about the projected state wrong on the profile or as part of the audit; He would give you the hook to turn tasks.

    -Marie

Maybe you are looking for