DSP filter problem in modifying the Oscilloscope

The hardware and software I am using are:
LabVIEW: 5.1.1
DAQ device: PCI-MIO-16XE-50
VI programs: 2 Channel Oscilloscope(sample VI)
I want to modify the function of the sample VI of 2 Channel Oscilloscope to simulate the AC-GND-DC function of Real Oscilloscope.
I try it by using "Butterworth Filter" under
Function-->Signal Processing-->Filters to cut the frequency at 0Hz for "AC" function (cut all DC).
However, the output is not good as real Oscilloscope becasue the signal seen is not good and stable.
I even use order 10 filter to do it. But the result is also the same.
Any suggestions to my problem?

The ac-coupling of an oscilloscope is not a filter a "0" Hz. It is normally just a simple capacitance that, with the 1MOhm input impedance of the oscilloscope, acts like a first order high-pass filter with a cut-off frequency of few hertz.
Try to implement a highpass Butterworth filter of order 1 and with a low cut-off frequency of 10 Hz.
You can then play with the cut-off frequency and see which value works best for you (remember to connect the right value to the sample frequency input of your filter). You can also try to increase the filter order to 2 (some measurement devices have input high-pass filters of order 2 or even 3).

Similar Messages

  • Problem to modify the field "location" in an AP on WCS

    Hello everybody,
    I have a problem to modify the field "location" in an access point on WCS.
    In fact, when i try to modify this field and then apply the modification, i have this error message :
    "Error(s): You must correct the following error(s) before proceeding:
    Error:Global Username and Password are not configured on the associated controller.  Please configure username and password on the associated controller before disabling 'Override Global Username Password'."
    I made the modification on Chrome and Firefox but I always have the error message.
    Nevertheless, i don't have this error message with other access points and other access points are configured without the option "Override Global Username Password".
    I'm obliged to make the modification directly in the controller and not in WCS.
    The problem is that i want to make the modification directly in WCS.
    Could you help me please ?
    Thank you in advance.

    When i make the modification directly in WCS, i have no problem, it syncs good.
    The version of WCS is 7.0.230.0.
    The version of the controller is 7.0.240.0 and the field recovery image version is 7.0.112.21.
    Version
    7.0.230.0
    Version
    7.0.230.0
    Version
    7.0.230.0

  • Problem in Modifying the records

    Hi all,
    I have a button "Find", when the button is Pressed, I've to query the records and modify the records. I have to modify only the "Reading" Column in only one row.
    It is querying all the records successfully (here retrieves 10 records) but when I modify the Reading value in one Row, all the 10 records are inserting as new row. Am not able to update.
    Please suggest me with the solution.
    Regards,
    Mini

    Hi Mini
    Sounds Strange and i think the problem resides in ur design of code in Find Button So i suggest to Share us the Code pls.
    Well ,for now u can try to use ...
    IF :system.current_record THEN
    END IF;Hope this helps...
    Regards,
    Abdetu...

  • I HAVE ENCOUNTERED A PROBLEM IN MODIFYING THE DEPARTMENTS REPORT

    I am a new learner database developer. I am now using Oracle 11g. Following the Developer tutorial on MODIFYING THE DEPARTMENTS REPORT I have encountered the following problem.
    Scroll down to Source, and replace the default Region Source script with the
    following:
    SELECT d.DEPARTMENT_ID,
    d.DEPARTMENT_NAME,
    (select count(*)from oehr_employees where department_id = d.department_id)
    "Number of Employees",
    substr(e.first_name,1,1)||'.'||e.last_name "Manager Name",
    c.COUNTRY_NAME "Location"
    FROM OEHR_DEPARTMENTS d,
    OEHR_EMPLOYEES e,
    OEHR_LOCATIONS l,
    OEHR_COUNTRIES c
    WHERE d.LOCATION_ID=l.LOCATION_ID
    AND l.COUNTRY_ID=c.COUNTRY_ID
    AND d.DEPARTMENT_ID=e.department_id
    AND d.manager_id=e.employee_id
    AND instr(upper(d.department_name),upper(nvl(:P2_REPORT_
    SEARCH,d.department_name)))>0
    6. Click Apply Changes.
    7. Click Apply Changes to confirm.
    8. Right-click Departments and select Edit Report Attributes.
    9. Click the Edit icon next to Number of Employees.
    10. Under Column Definition, select center for Column Alignment.
    11. Click Apply Changes.
    When I did it there was an error message as follows:
    ErrorRegion Source
    Query cannot be parsed, please check the syntax of your query. (ORA-00909: invalid number of arguments)+
    Unable to show report.
    Below is the syntax that was to be replaced:
    select
    "DEPARTMENT_ID",
    "DEPARTMENT_NAME",
    "MANAGER_ID",
    "LOCATION_ID"
    from "OEHR_DEPARTMENTS"
    Now; how should I correct it? I cannot move forward
    Regards
    DAVID GODIS-TEI
    Ghana

    In your post, the bind variable :P2_REPORT_SEARCH has a carriage return before the word SEARCH. Make sure this is not the case in the report.

  • Problem in modifying the main internal table gt_data

    Hello i have written code for modifying the main internal table. i have read data from ausp table and put into the internal table gt_ausp. now i want to modify my main table GT-DATA with gt_ausp. i am not able to do this.
    LOOP AT gt_data  INTO ls_list.
        lt_temp-objek  =  ls_list-matnr.
        APPEND  lt_temp.                  " 특성값 발췌용도로 저장
        APPEND  ls_list  TO lt_work.      " 핵심작업용도로 저장
      ENDLOOP.
      DESCRIBE TABLE lt_temp.
      IF  sy-tfill  EQ  0.
        pv_flg  =  'X'.
        EXIT.
      ENDIF.
    Get 제품인증(플랜트별).....
      DESCRIBE TABLE lt_cetino_tp.
            플랜트          자재번호
            카타로그-인증   코드그룹-인증   인증코드
            Certi. No.
    Get 자재별 특성값..........
              오브젝트  특성이름  내부특성   내부카운터  특성값
      SELECT    aobjek    batnam   aatinn    aatzhl    a~atwrt
            INTO CORRESPONDING FIELDS OF TABLE  lt_ausp_tp
            FROM ausp AS a  INNER JOIN  cabn AS b
              ON aatinn  =  batinn
             FOR ALL ENTRIES IN  lt_temp
           WHERE a~objek  EQ  lt_temp-objek   " 오브젝트키(자재번호)
             AND a~klart  EQ  '001'           " 클래스유형
           AND a~atzhl  EQ  '001'           " 특성값카운터(최종건만 존재)
                                              자재특성 변경시 변경됨
             AND b~adzhl  EQ  '0000'.
      IF  sy-subrc  EQ  0.
        DELETE ADJACENT DUPLICATES FROM  lt_ausp_tp.
        lt_ausp[]     =  lt_ausp_tp[].
        lt_ausp_tp2[] =  lt_ausp_tp[].
        DELETE ADJACENT DUPLICATES FROM  lt_ausp_tp2.
      Get 특성내역
              내부특성   " 내부카운터
              특성값       특성값내역
        SELECT    aatinn  " aatzhl
                  aatwrt    batwtb
              INTO CORRESPONDING FIELDS OF TABLE  lt_cawn
              FROM cawn AS a  INNER JOIN  cawnt AS b
                ON aatinn  =  batinn  AND
                   aatzhl  =  batzhl  AND
                   aadzhl  =  badzhl
               FOR ALL ENTRIES IN  lt_ausp_tp2
             WHERE a~atinn  EQ  lt_ausp_tp2-atinn  " 내부특성
               AND b~spras  EQ  sy-langu.
      ENDIF.
      SORT  lt_work BY matnr .
      BREAK-POINT.
      LOOP AT lt_work  INTO ls_list.
      특성내역
        READ TABLE  lt_ausp  WITH TABLE KEY  objek = ls_list-matnr
                                             atnam = 'SECTION_WIDTH'.
      수출자재가 아닌 것은 제외
    LS_LIST-SECTION_WIDTH = LT_AUSP-ATWRT.
    MODIFY TABLE GT_DATA FROM LS_LIST  TRANSPORTING SECTION_WIDTH.

    Hi,
    Question before: why dont you just use the std.API for reading the classification data?
    e.g. "BAPI_OBJCL_GETDETAIL"
    Second: a DELETE DELETE ADJACENT DUPLICATES works only only sorted tables.
    Doing this after a select will only succeed randomly depending on the buffers of your data based below.
    ( 90% chance if it is an oracle system)
    To your question:
    Just replace your LOOP AT gt_data into ls_list
    by a LOOP AT gt_data ASSIGNING <current_list_record>.
    then you can access the fields directly:
    <current_list_record>-SECTION_WIDTH = LT_AUSP-ATWRT.
    Cause of your issue:
    "MODIFY" needs a key to to find the record to be updated.
    If your gt_data ist referencing a DDIC table type with a key or a local type with a key
    it has no chance to do it.
    Hope that helps.
    br,

  • Problem when modifying the jar file of a portal component

    I get the umelogonbase.jar from the com.sap.portal.runtime.logon component, extract it with winzip, do not make any changes to the source code, then re-create the jar file and add it back to the component. Now, when I deploy the component to the Portal I get the following error:
    "Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/security/core/logonadmin/IAccessToLogic.
    Exception id: 10:30_08/08/07_0012_15067450
    See the details for the exception ID in the log file"
    any idea what I am doing wrong here?
    I am doing this because I need to change the texts in the umelogonbase.jar, so this is the first step to see that the component still runs once I modify the jar file.
    Note: I create the jar file by creating a jar-type project in NWDS and then exporting the project as jar.

    Do you have JDK installed? If not then please install it by downloading from http://java.sun.com/j2se/1.4.2/download.html. Install it in your local machine. Then inside the installation folder\bin folder you will find the jar.exe.
    Also create the environment parameter named JAVA_HOME and set the value as the installation directory of JDK for example JAVA_HOME=C:\j2sdk1.4.2_13. Also add the following to your Path environment variable
    C:\j2sdk1.4.2_13\bin;C:\j2sdk1.4.2_13\lib;
    these path names should vary depending upon your actual JDK installation folder name.
    Regards,
    Shubho

  • Problem in modifying the existing record in table control

    Hi Experts,
    I have one table control.I have entered one record and save it.When I am modifying the same record a duplicate record is created.I need if I modify the same record that record should only modify.How to delete the duplicate record.

    Hi,
    In Flow logic.
    LOOP .                        
      MODULE tbc_modify ON CHAIN-REQUEST.
      MODULE tbc_mark.     
    ENDLOOP.    
    In module.
    MODULE tbc_modify INPUT.
      MODIFY t_data
        FROM fs_data
       INDEX tbc-current_line.
      IF sy-subrc NE 0.
        APPEND fs_data TO t_data.
      ENDIF.                              
    ENDMODULE.                            
    MODULE tbc_mark INPUT.
      DATA: tbc_wa2 LIKE LINE OF t_data.
      IF tbc-line_sel_mode = 1
      AND fs_data-mark = 'X'.
        LOOP AT t_data  INTO tbc_wa2
         WHERE mark = 'X'.
          tbc_wa2-mark = ''.
          MODIFY t_data
            FROM tbc_wa2
            TRANSPORTING mark.
        ENDLOOP.                          .
      ENDIF.                             
      MODIFY t_data  FROM fs_data
        INDEX tbc-current_line
        TRANSPORTING mark.      
    ENDMODULE.
    Edited by: sapabap403 on Aug 31, 2011 9:29 AM

  • Problem in modifying the code using work area concept

    Hi,
    I am working on a code in which i am on the code in which i am using the modify statement but it is not giving the right output.
    here's d code:-
    LOOP AT T_ITPO5 INTO W_ITPO5.
            LOOP AT T_ITPO4 INTO W_ITPO4 WHERE AUFNR = W_ITPO5-AUFNR.
           LOOP AT T_ITPO4 INTO W_ITPO4 FROM WV_INDEX.
             IF W_ITPO4-AUFNR EQ W_ITPO5-AUFNR.
             IF ITPO4-NTGEW <> 0 .
                CALL FUNCTION 'ZGET_ITEM_WEIGHT'
                  EXPORTING
                    P_BUID   = W_ITPO4-WERKS
                    P_ITEMID = W_ITPO4-MATNR
                    P_QTY    = 1
                    P_UOM    = W_ITPO4-MEINS
                    P_UOM1   = 'KG'
                  IMPORTING
                    P_RETVAL = W_ITPO4-WTKG.
                TOTWT1 = W_ITPO4-WTKG * W_ITPO4-MENGE.
             IF W_ITPO4-BWART = '261'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY + TOTWT1.
             ELSEIF W_ITPO4-BWART = '101' OR W_ITPO4-BWART = '531'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY - TOTWT1.
             ENDIF.
           ENDLOOP.
             MODIFY T_ITPO5 INDEX SY-TABIX FROM W_ITPO5.
           MODIFY T_ITPO5 FROM W_ITPO5 TRANSPORTING AUFNR.
       ENDLOOP.
         WRITE: / 'PRD.NO       ITEM DESCRIPTION                               WIP(KGS)'.
        ULINE.
        LOOP AT T_ITPO5 INTO W_ITPO5.
          READ TABLE T_ITPO1 INTO W_ITPO1 WITH KEY AUFNR = W_ITPO5-AUFNR.
          SELECT SINGLE MAKTG FROM MAKT INTO W_ITPO5-ITEMDESC WHERE MATNR = W_ITPO1-MATNR.
          if sy-subrc = 0 .
          WRITE: / W_ITPO5-AUFNR,W_ITPO5-ITEMDESC,W_ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + W_ITPO5-I_QTY.
          else.
          write 'Unsuccessful'.
          endif.
        ENDLOOP.
        ULINE.
        FORMAT COLOR 3.
        WRITE: / 'GTOTAL',55 TOT_QTY.
        FORMAT COLOR OFF.
    plzz provide me guidelines to solve this problem.

    here's d code;-
    TYPES: BEGIN OF ITPO1,
           AUFNR TYPE AFPO-AUFNR,      "Order Number
           PSMNG TYPE AFPO-PSMNG,      "Order item quantity
           WEMNG TYPE AFPO-WEMNG,      "Quantity of goods received for the order item
           DWERK TYPE AFPO-DWERK,      "Plant
           MATNR LIKE AFPO-MATNR,      "Item Id
           END OF ITPO1.
    DECLARATION FOR AUFM TABLE
    TYPES: BEGIN OF ITPO4,
           AUFNR TYPE AUFM-AUFNR,      "Order Number
           BWART TYPE AUFM-BWART,      "Movement Type (Inventory Management)
           MENGE TYPE AUFM-MENGE,      "Quantity
           MEINS TYPE AUFM-MEINS,      "Base Unit of Measure
           BLDAT TYPE AUFM-BLDAT,      "Document Date in Document
           WERKS TYPE AUFM-WERKS,      "Plant
           MATNR TYPE AUFM-MATNR,      "Material Number
           NTGEW TYPE MARA-NTGEW,      "Net Weight
           WTKG  TYPE MARA-NTGEW,
           END OF ITPO4,
           BEGIN OF ITPO5 ,
           AUFNR TYPE AUFM-AUFNR,
           MENGE TYPE AUFM-MENGE,
           I_QTY TYPE AUFM-MENGE,
           ITEMDESC LIKE MAKT-MAKTG,
           END OF ITPO5.
        WORK AREA AND INTERNAL TABLE DECLARATION
    DATA : W_ITPO1 TYPE ITPO1,
           W_ITPO4 TYPE ITPO4,
           W_ITPO5 TYPE ITPO5,
           T_ITPO1 TYPE ITPO1 OCCURS 0,
           T_ITPO4 TYPE ITPO4 OCCURS 0,
           T_ITPO5 TYPE ITPO5 OCCURS 0.
    VARIABLES
    DATA: TOTWT1 LIKE AUFM-MENGE,
          TOT_QTY LIKE AUFM-MENGE.
    PARAMETERS N SELECT-OPTIONS
    PARAMETERS: PLANT LIKE AFPO-DWERK.
    SELECT-OPTIONS: PO_DATE FOR AFKO-GSTRP.
        LOOP AT T_ITPO5 INTO W_ITPO5.
            LOOP AT T_ITPO4 INTO W_ITPO4 WHERE AUFNR = W_ITPO5-AUFNR.
                CALL FUNCTION 'ZGET_ITEM_WEIGHT'
                  EXPORTING
                    P_BUID   = W_ITPO4-WERKS
                    P_ITEMID = W_ITPO4-MATNR
                    P_QTY    = 1
                    P_UOM    = W_ITPO4-MEINS
                    P_UOM1   = 'KG'
                  IMPORTING
                    P_RETVAL = W_ITPO4-WTKG.
                TOTWT1 = W_ITPO4-WTKG * W_ITPO4-MENGE.
             IF W_ITPO4-BWART = '261'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY + TOTWT1.
             ELSEIF W_ITPO4-BWART = '101' OR W_ITPO4-BWART = '531'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY - TOTWT1.
             ENDIF.
           ENDLOOP.
             MODIFY T_ITPO5 INDEX SY-TABIX FROM W_ITPO5.
           MODIFY T_ITPO5 FROM W_ITPO5 TRANSPORTING AUFNR.
       ENDLOOP.
         WRITE: / 'PRD.NO       ITEM DESCRIPTION                               WIP(KGS)'.
        ULINE.
        LOOP AT T_ITPO5 INTO W_ITPO5.
          READ TABLE T_ITPO1 INTO W_ITPO1 WITH KEY AUFNR = W_ITPO5-AUFNR.
          SELECT SINGLE MAKTG FROM MAKT INTO W_ITPO5-ITEMDESC WHERE MATNR = W_ITPO1-MATNR.
          if sy-subrc = 0 .
          WRITE: / W_ITPO5-AUFNR,W_ITPO5-ITEMDESC,W_ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + W_ITPO5-I_QTY.
          else.
          write 'Unsuccessful'.
          endif.
        ENDLOOP.
        ULINE.
        FORMAT COLOR 3.
        WRITE: / 'GTOTAL',55 TOT_QTY.
        FORMAT COLOR OFF.
    I want to have output that the production order is displayed along with the deficit quantity. but using this concept it shows only production order no. and qty 0.

  • Problem during connecting the oscilloscope

    Hi Im writing a program for measring a signal from Tektronix TDS3054B oscilloscope
    Solved!
    Go to Solution.
    Attachments:
    Untitled.jpg ‏22 KB

    Hi again
    I have tried the VISA functions but I steal have the same problem. I can communicate with the Oscillator and send commands but not reading from it. I attach my new program.
    the error is as following: Error -1073807339 occurred at VISA Read in test2.vi
    Attachments:
    test2.vi ‏14 KB

  • Problem with modifying the default design print layout

    hello to everybody
    i would like to ask you something about the design print layout.
    i actually have made a draft payment by using the payment wizard. i have already saved it and by clicking the print layout some of the columns do not appear the the data in there.
    to be more specific...i used the default print out generated by the system and modified it by adding some more columns such as name o business customer and bank account.
    before adding the above fields, the print out was excellent(the default one generated by the system)
    by adding the above fields, some of the columns such as code of bp and name of bp do not appear in the prinout layout except of the last records which is desplayed as it is.
    i have to mention that by removing the field bank account(i have mentioned it as database) alla the records of the payment wizard appears as is but by adding the bank account column, only the last record appears to be with data
    thanks in advance!

    how is it possible to edit the system pld and to display the desired data only for the laast record?it is strange!
    i have 5 payments to do. by checking the system 's PLD the data are fine. by adding my own fields(bank account) the row of the first 4 records do not appear at all(they are empty) except of the last one which is appeard with the desired information

  • Problem in modifying the class file in the jar file

    Hi,
    We created Support Desk link in the mast head with the help of
    com.sap.portal.epsolman.par
    it is working fine.but when we submit the error message it will a notification message saying that created Successfully.
    But we want to change that notification message to something else.But we found out that we need to change that in the java file .Basically the problem is  we dont know, after changing the java file, how do we compile it and put it back into jar file of that par file and deploy on to the portal
    java file is Solman.java
    points will be awarded for sure
    Bala Duvvuri

    hi,
    go thru this [link|How to deploy PAR File on portal??]
    hope this helps.
    Regards,
    Nikhil

  • When attempting to install add-ons, Firefox generates a message saying it is unable to install add-on because Firefox cannot modify the necessary file. To what file is this referring, and how do I fix this problem?

    When I download an add-on such as Colorful Tabs and start the installation process, I receive a message that Firefox cannot install the add-on because it cannot modify the necessary file. To what file is this referring?

    That is usually caused by Firefox not unpacking the extension.
    You can try to set the Boolean pref <b>extensions.alwaysUnpack</b> to <i>true</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

  • Problem while extending and modifying the ISA B2B app on SAP J2EE 6.4

    We are facing some problem with extending and modifying the ISA B2B 4.0 application.
    First Let me clarify you the whole scenario.
    Previously we had ISA B2B 4.0 SP03 deployed on SAP J2EE 6.20 Engine.
    We had used eclipse 3.0 to extend and modify the application as NWDS does not support SAP J2EE 6.20.
    We had used ant buildtool to build the modified application which comes along with the ISA Software Archive.
    We had successfully done all the modifications and application was running fine...
    Now we have upgraded the overall J2EE infrastructure and using J2EE 6.4 Engine which supports NWDS.
    We have successfully deployed the ISA B2B  application which comes along with the Support Package.
    We are using Support Package ISAWAC40SP11P_7-20000529.SAR E-Selling 640. The application is working fine after all
    the configuration done in XCM and SAP CRM 4.0 system.
    Now for modification and extension i have created another b2b enterprise archive with name "b2b_client.ear" using ant buildtool.
    I've done the modification and extension .. added some Z classes and JSP pages. Now when i try to deploy the application using
    SDM 6.40, I got an error message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    I think this error is due to the incompatible sda_build.xml used in the build process but we have used the same xml file bundled with the above mentioned ".sar" file..
    Please help or suggest someone who can help me out from this...
    Thanks & Regards.
    Sandeep Solanki

    Hi Alkis.
    First, you need to specify the fully qualified class name of your based-RequestProcessor class in the config.xml file like
    <controller  contentType="text/html;charset=UTF-8"  locale="true"  nocache="true"
      processorClass="com.mycompany.struts.framework.MyRequestProcessor"/>
    If you review the source code of the ActionServlet and RequestProcessor classes, you can see that overwritten methods (by you) are executed every time the client makes a request to the struts based application.
    I hope you can run your approach. And it will be excellent you can shared how you will do it.
    Kindest regards.

  • Problem with a method to modify the transparency of a Label UILabel

    HI
    I Have create a small project which can modify the brightness ( or the transparency ) of a label
    UIlabel
    So the code
    File .m
    ControlBoxCookeAppDelegate.m
    Code :
    Code:
    *// ControlBoxCookeAppDelegate.m*
    *// Control Box Cooke*
    *// Created by Bruno on 1/11/10.*
    *// Copyright _MyCompanyName_ 2010. All rights reserved.*
    *#import "SerialManager.h"*
    *#import "ControlBoxCookeAppDelegate.h"*
    *#import "PickerViewController.h"*
    *#include <fcntl.h>*
    *#include "Led.h"*
    *@implementation ControlBoxCookeAppDelegate*
    *@synthesize window;*
    *- (void)applicationDidFinishLaunching:(UIApplication *)application {*
    *// Override point for customization after application launch*
    *[window makeKeyAndVisible];*
    //RootViewController.m
    *- (void)applicationDidFinishLaunching:(UIApplication *)application {*
    * pvController = [[PickerViewController alloc] initWithNibName:@"pickerview"/@"MainWindow"*//@"Control Box Cooke"//*@"PickerView"/ bundle:[NSBundle mainBundle]];*
    * Led_Operateur= [[Led alloc] initWithFrame:CGRectMake(20,50,280,20)];*
    * Led_Operateur.text=@" ";*
    * [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: 0.5]];*
    * [pvController.view addSubview:Led_Operateur];*
    * [window addSubview:pvController.view];*
    * // Override point for customization after application launch*
    * [window makeKeyAndVisible];*
    *- (void)dealloc {*
    * [Led_Operateur release];*
    * [pvController release];*
    *[window release];*
    *[super dealloc];*
    -(void)Modifie_luma:(CGFloat)luma
    * pvController = [[PickerViewController alloc] initWithNibName:@"pickerview" bundle:[NSBundle mainBundle]];*
    * Led_Operateur= [[UILabel alloc] initWithFrame:CGRectMake(20,50,280,20)];*
    * Led_Operateur.text=@" ";*
    * [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: luma]];*
    * [pvController.view addSubview:Led_Operateur];*
    * [window addSubview:pvController.view];*
    * [window makeKeyAndVisible];*
    @end
    file.h
    Code :
    Code:
    *// ControlBoxCookeAppDelegate.h*
    *// Control Box Cooke*
    *// Created by Bruno on 1/11/10.*
    *// Copyright _MyCompanyName_ 2010. All rights reserved.*
    *#import <UIKit/UIKit.h>*
    *#import "SerialManager.h"*
    *#import "led.h"*
    *@class PickerViewController;*
    *@interface ControlBoxCookeAppDelegate : NSObject <UIApplicationDelegate> {*
    *UIWindow window;
    * PickerViewController pvController;
    * SerialManager portCunima;
    * int portin,portout; // numero de port de com in-out*
    * UILabel Led_Operateur;
    -(void)Modifie_luma:(CGFloat)luma;
    *@property (nonatomic, retain) IBOutlet UIWindow window;
    @end
    To the initialization no problem my label UILabel display itself very well with the transparency
    of 50% ( alpha=0.5)
    But when I modify this transparency with a button, in my window iPhone
    the program call the method Modifie_Luma witch is the class
    ControlBoxCookeAppDelegate
    the program go on to this method, (I have fixe a breakpoint) but impossible to various this transparency.
    So if I change in method (void)applicationDidFinishLaunching
    the transparency
    example alpha =0,5 => alpha =0,8
    Code :
    Code:
    * [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: 0.8]];*
    this example go on
    resume
    when I change the transparency in the method
    (void)applicationDidFinishLaunching it 's OK
    when I change the transparency in the method
    -(void)Modifie_luma it's not OK
    Have you an explanation ?

    So the code , sorry but no marker for the code in post
    How do you do ?
    // ControlBoxCookeAppDelegate.h
    // Control Box Cooke
    // Created by Bruno on 1/11/10.
    // Copyright _MyCompanyName_ 2010. All rights reserved.
    #import <UIKit/UIKit.h>
    #import "SerialManager.h"
    #import "led.h"
    @class PickerViewController;
    @interface ControlBoxCookeAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    PickerViewController *pvController;
    SerialManager *portCunima;
    int portin,portout; // numero de port de com in-out
    UILabel *Led_Operateur;
    -(void)Modifie_luma:(CGFloat)luma;
    @property (nonatomic, retain) IBOutlet UIWindow *window;
    @end
    // ControlBoxCookeAppDelegate.m
    // Control Box Cooke
    // Created by Bruno on 1/11/10.
    // Copyright _MyCompanyName_ 2010. All rights reserved.
    #import "SerialManager.h"
    #import "ControlBoxCookeAppDelegate.h"
    #import "PickerViewController.h"
    #include <fcntl.h>
    #include "Led.h"
    @implementation ControlBoxCookeAppDelegate
    @synthesize window;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Override point for customization after application launch
    [window makeKeyAndVisible];
    //RootViewController.m
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    pvController = [[PickerViewController alloc] initWithNibName:@"pickerview"/@"MainWindow"*//@"Control Box Cooke"//*@"PickerView"/ bundle:[NSBundle mainBundle]];
    Led_Operateur= [[Led alloc] initWithFrame:CGRectMake(20,50,280,20)];
    Led_Operateur.text=@" ";
    [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: 0.5]];
    [pvController.view addSubview:Led_Operateur];
    [window addSubview:pvController.view];
    Led *ZoneA;
    CGRect Dimension;
    ZoneA = [[Led alloc]initWithFrame:Dimension];
    [pvController.view addSubview:ZoneA];
    [window addSubview:pvController.view];
    [ZoneA Modifie_luma:0.5];
    [ZoneA release];
    // Override point for customization after application launch
    [window makeKeyAndVisible];
    Led *Led1;
    CGRect frame;
    Led1=[[Led alloc] initWithFrame:frame];
    [pvController.view addSubview:Led1];
    [window addSubview:pvController.view];
    [Led1 release];
    [label release];
    [Error_message release];
    [path_port release];
    - (void)dealloc {
    [Led_Operateur release];
    [pvController release];
    [window release];
    [super dealloc];
    -(void)Modifie_luma:(CGFloat)luma
    pvController = [[PickerViewController alloc] initWithNibName:@"pickerview" bundle:[NSBundle mainBundle]];
    Led_Operateur= [[UILabel alloc] initWithFrame:CGRectMake(20,50,280,20)];
    Led_Operateur.text=@" ";
    [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: luma]];
    [pvController.view addSubview:Led_Operateur];
    [window addSubview:pvController.view];
    [window makeKeyAndVisible];
    @end

  • Modifying the index from one filter to other

    All,
    We accidentely created the "BINARY_SEARCH_INDEX" index in CTXSYS user with INSO_FILTER, but is there any way that i could modify the filter from INSO_FILTER(current) to AUTO_FILTER without rebuilding the indexes.
    Any help would be great.
    Regards,
    ~ora

    Im working on the same(google) but ..Any help would be great.
    Regards,
    ora

Maybe you are looking for

  • How do I find my old itunes library?

    My old laptop is dead....i have a new one but how do i transfer my itunes library accross? All I have done so far is transfer what is on my iphone. I have a lot of music and books etc in my old libreary and do not want to lose any of it. Will it all

  • Itunes won't upgrade from 10.4.1 to 10.5.3

    Got a free 6th gen ipod nano at work yesterday, come home to put music on it, needs itunes. I download and attempt to install the latest version of itunes for my system (vista 64bit), gets to the end and says a program wont load and cant install, so

  • How do I update my emac?

    How do I update an Emac? I need to be able to download adobe and anti virus and games,

  • Connecting to essbase server

    Hi,I installed essbase server to my desktop from licensed CD .. installation went smooth .. server is ready to take client request ..but when I tried to connect this server from Essbase Application Manager of this server machine itself .. it gave me

  • Setting a Icon to Filedialog in windows

    Does a FileDialog whose parent is a Frame have a icon(Frame icon) displayed on it ,on windows platform.? Regards, Kdsouza