Double parsing and significant digits

Does anyone know why I am getting extra significant digits from the parse methods and how I get around this problem?
Code:
double value = Double.parseDouble("12398.7");
System.out.println("double="+value);
value = value/100.0;
System.out.println("double/100.0="+value);
double fvalue = Float.parseFloat("12398.7");
System.out.println("float="+fvalue);
fvalue = fvalue/100.0;
System.out.println("float/100.0="+fvalue);
Output:
double=12398.7
double/100.0=123.98700000000001
float=12398.7001953125
float/100.0=123.987001953125
Here�s what I wanted:
double=12398.7
double/100.0=123.987
float=12398.7
float/100.0=123.987

Does anyone know why I am getting extra significant
digits from the parse methods and how I get around
this problem?Yes, many people know why you are getting extra digits and how to get around this problem. See the thread titled "Why ?? 0.4 + 0.3 + 0.3 = 0.9999999999999999", or any of hundreds of other threads about binary math.

Similar Messages

  • Suggestions on: Double to 2 Significant Digits

    I read a post the other day about how someone trunkated a double value to 2 or 3 significant digits, now I can't find the post. Does anyone know good ways to calculate a double value and show it in JTable in 2 significant digits?

    Is there a simple 2 or 3 lines of code I can append to this that will set the column to have a format of 2 decimal places?
    TableColumn diaColumn = table.getColumnModel().getColumn(DIA);
    diaColumn.setPreferredWidth(40);
    //diaColumn.setFormat(2decimalplaces); something like this suedo code?

  • While using my iPhone the system behavior changed where I now have to click on the app to select it, then double click to launch it. Same goes for entering in my password to access the phone and entering digits to make a phone. I am also having trouble

    While using my iPhone the system behavior changed where I now have to click on the app to select it, then double click to launch it. Same goes for entering in my password to access the phone and entering digits to make a phone. I am also having trouble swiping the screen to move to the next page. This is no longer working. I did not change any settings, the phone just started behaving this way. Any ideas on how to revert back to the single click selection/launch? Any assistant is greatly appreciated. Thank you!

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • Significant digits not obeyed when value set through property nodes

    Hi, I have a front panel with a large number of indicators on it. As updating each one is a very straight forward task, I am using the This.Panel.Controls array to step through and update each indicator appropriatly. The problem is, that because I have so many indicators, and the actual numbers aren't that important (they are also being logged elsewhere) I only wish to have 4 significant digits displayed so that the value fits into the size of the indicator. I set each indicator to have a display format of %_4f, but when I run it this is not obeyed and 7+ digits are displayed. I'm guessing this has something to do with updating the controls via the property node, but I'm not sure why that should cause an issue. Any ideas?

    Nope, I double checked the format string. I do mean significant digits by the way. My imput values are expected to be in the range 0-100 but I've sized my indicators to fit only 4 digits, which will give me at worst a 0.1% error over the full range, which is good enough. Right now the channels from which I am grabbing data are all disconnected, so I am just getting noise. I've attached images of both the format string I'm using, the relavent part of my code where I update values, and an example of the output I get. Thanks,
    Jon
    Attachments:
    FormatString.PNG ‏32 KB
    ouput.PNG ‏2 KB
    ValueUpdating.PNG ‏25 KB

  • Java does not understand significant digits?

    Hi, everybody:
    Java states that if you multiply two float variables, you have to declare the product as a double, because if the two operands, for example, each have four decimals places, then the result may have eight decimal places.
    The mathematical concept of significant digits states this is untrue. If each operand is carried out to four decimal places, the product of the two can be no more accurate than four decimal places, which would require the product to be only a float, not a double. For instance, 2.123456789 x 2.1 = 4.5, not 4.4592592569. In this case 2.1 is only accurate to one decimal place, so the product can be no more accurate than one decimal place.
    When I try to declare the product variable as a float I get a compiler error stating a loss of precision, and I'm forced to use improper math and allocate more memory than necessary by declaring the product variable a double.
    Anybody have any insight into this?
    Thanks,
    Rob

    Java states that if you multiply two float variables,
    you have to declare the product as a double, because
    if the two operands, for example, each have four
    decimals places, then the result may have eight
    decimal places.
    Which is quite correct.
    The mathematical concept of significant digits states
    this is untrue. If each operand is carried out to
    four decimal places, the product of the two can be no
    more accurate than four decimal places, which would
    require the product to be only a float, not a double.Which is a very weird concept you're using.
    0.5 * 0.5 is exactly 0.25, yet under your logic it would never be significant to more than one decimal place, so either 0.2 or 0.3.
    >
    Anybody have any insight into this?
    Take some math classes.
    Your core understanding is fundamentally flawed.

  • Significant digits from Property Loader

    Hello guys,
    I'd like to know if anyone already faced that issue, if I load a certain limit from property loader, for example Minimum "10.0", and the VI returns a measure of 9,999472894, the test should pass.
    Is there some easy way to detect the significant digits from the property loader, and automatically apply that rounding to the measured values? Actually it would become heavy to program it test by test.
    Perhaps in my .xls property fils I could put an integer for each limit that represents the number of significant digits...
    Any better idea?

    Correct, TestStand does not base the signficant digits of the comparison off of the significant digits of the given limits, instead it assumes you want a comparison done within the full precision of a double-precision floating point number.
    To fix existing limits, you could write a converter that converts limits like 10.0 to 9.999 since it is a mechanical process that could be done programmatically. Not sure why you would have to hard code limits to fix this problem. Is it not possible to change the limits in the property loader source to 9.999 or that is not an option? If that's not an option, another idea is that we ship the source code to the property loader, you could modify it to convert limits to their precision range values, for example, if a limit of 10.0 is loaded as a lower limit, it could automatically convert it to 9.999 before setting the limit value in the teststand step. That way you wouldn't have to change any sequence files, just the property loader itself.
    Not to say it wouldn't be useful to add a new feature to TestStand to match the precison of the comparison to the precision specified by the limit (or perhaps in a separate setting on the step), but that is not a common request. You could post such an idea to the idea exchange though and see what people think.
    -Doug

  • Parse and output XML document while preserving attribute order

    QUESTION: How can I take in an element with attributes from an XML and output the same element and attributes while preserving the order of those attributes?
    The following code will parse and XML document and generate (practically) unchanged output. However, all attributes are ordered a-z
    Example: The following element
    <work_item_type work_item_db_site="0000000000000000" work_item_db_id="0" work_item_type_code="3" user_tag_ident="Step" name="Work Step" gmt_last_updated="2008-12-31T18:00:00.000000000" last_upd_db_site="0000000000000000" last_upd_db_id="0" rstat_type_code="1">
    </work_item_type>is output as:
    <work_item_type gmt_last_updated="2008-12-31T18:00:00.000000000" last_upd_db_id="0" last_upd_db_site="0000000000000000" name="Work Step" rstat_type_code="1" user_tag_ident="Step" work_item_db_id="0" work_item_db_site="0000000000000000" work_item_type_code="3">
    </work_item_type>As you may notice, there is no difference in these besides order of the attributes!
    I am convened that the problem is not in the stylesheet.xslt but if you are not then it is posted bellow.
    Please, someone help me out with this! I have a feeling the solution is simple
    The following take the XML from source.xml and outputs it to DEST_filename with attributes in a-z order
    Code:
    private void OutputFile(String DEST_filename, String style_filename){
         //StreamSource stylesheet = new StreamSource(style_filename);
         try{
              File dest_file = new File(DEST_filename);
              if(!dest_file.exists())
                  dest_file.createNewFile();
              TransformerFactory tranFactory = TransformerFactory.newInstance();
              Transformer aTransformer = tranFactory.newTransformer();
              aTransformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
              Source src = new DOMSource("source.xml");
              Result dest = new StreamResult(dest_file);
              aTransformer.transform(src, dest);
              System.out.println("Finished");
         catch(Exception e){
              System.err.print(e);
              System.exit(-1);
        }

    You can't. The reason is, the XML Recommendation explicitly says the order of attributes is not significant. Therefore conforming XML serializers won't treat it as if it were significant.
    If you have an environment where you think that the order of attributes is significant, your first step should be to reconsider. Possibly it isn't really significant and you are over-reaching in some way. Or possibly someone writing requirements is ignorant of this fact and the requirement can be discarded.
    Or possibly your output is being given to somebody else who has a defective parser which expects the attributes to be in a particular order. You could quote the XML Recommendation to those people but often XML bozos are resistant to change. If you're stuck writing for that parser then you'll have to apply some non-XML processing to your output to fix it up on their behalf.

  • How do I change the number of significant digits in a slide's digital display?

    I suspect I'm missing something really obvious. I want the slide's digital display to show 1.23 instead of 1.23456. Here's what I tried:
    1. Drop a Horizontal Pointer Slide
    2. Make its Digital Display visible
    3. Type 1.23456 into that display
    4. Pop up on the Digital Display and select "Display Format..."
    5. Change the number of significant digits to 3 and hit "OK"
    The digital display still shows 1.23456. What am I missing?
    Solved!
    Go to Solution.

    LOL - I had the same problem.  Hidden in plain sight!  All I saw was Numeric, and thought "Duh! Of course it's numeric - it's a slider!"
    I do think NI could do a much better job on this, perhaps with more informative labelling.  Slider Scaling or Scale Format might be better.  Also, since one can select the Digital Display by itself on the front panel, one should be taken directly to the digital display formatting when Properties is selected, instead of still having to change the dropdown. By selecting the digital display instaead of the slider, you're implying that you want to change its format only.

  • XML Parser and Content-type/encoding problem

    I've write a little and simple XML parser and a simple "trasformer" that recive an XML file and an XSL one and return HTML, here is the code:
    public static String toHTML(Document doc, String xslSource){
            ByteArrayOutputStream testo = new ByteArrayOutputStream();
            try{
                DOMSource source = new DOMSource(doc);
                TransformerFactory tFactory = TransformerFactory.newInstance();
                System.out.println("----> " + xslSource);
                Transformer transformer = tFactory.newTransformer(new StreamSource(xslSource));
                transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
                transformer.setOutputProperty(OutputKeys.METHOD, "html");
             transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
             transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                transformer.transform(source, new StreamResult(testo));
            }catch(Exception ioe){
                System.out.println("2 XMLTool.toHTML " + new java.util.Date());
                System.out.println(ioe);        
            return testo.toString();
        }the problem is that I would like to put the HTML code its return into a JEditorPane; now I'm trying with this code:
    JEditorPane jep1 = new JEditorPane();
    jep1.setContentType("text/html");
    jep1.setText(v);
    // 'v' is the string returned by the code posted up (the XML/XSL transformer)but I can't see anything in my JEditorPane.
    I think that the problem is this line of code that the transformer add automaticaly ad HTML code:
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8">Infact if I try to delete this line from the code I can see what I want but is'n good delete a line of code without understend where is the problem.
    So, can anyone help me?

    good.
    when u set ur output properties to html , transformer
    searches for all entity references and converts accordingly.
    if u r using xalan these files will be used for conversion of
    Character entity references for markup-significant
    output_html.properties
    (this should be in templates package)
    and HTMLEntities.res(should be in serialize package)
    vasanth-ct

  • Parse and extract a Canadian Address and Phone# from a Text Varchar2 field

    Happy Remembrance/Veterans Day everyone.
    I have a "data migration" issue in my hand and there is a Text field that now needs to be organized nicely into proper address fields.
    So far, I have been able to parse the Postal Code correctly from the text field which is storing the address.
    SELECT code, address, regexp_substr(address,'[A-Z]\d[A-Z] *\d[A-Z]\d') postal_code
    FROM student_tb
    WHERE REGEXP_LIKE(address,'[V]\d[A-Z] *\d[A-Z]\d');
    I still have to extract the Address and sometimes a Phone number which is all stored in one field. Here are 4 examples and acceptable formats:
    #2115-101 Adelaide Street East Toronto ON M5A 1N1 (416) 767-0912
    Testing ABC #2101-212 King Street West, Toronto, ON, M5A 4T1
    #3114-212 Bloor Street E      Toronto    ON   M3C1S1  651-1213
    HOTEL PANAORAMA      Waterloo    ON   M1A 2A1
    Script for table creations:
    create table student_tb
        code     varchar2(4),
        address varchar2(500)
    create table student_address_tb
      code           varchar2(4),
      address_type   varchar2(1),
      hotel_name     varchar2(50),
      street         varchar2(50),
      city           varchar2(50),
      province       varchar2(2),
      postal_code    varchar2(10),
      phone          varchar2(10)
    Inserting records into table student_tb:
    insert into student_tb values('1001','#2115-101 Adelaide Street East Toronto ON M5A 1N1 (416) 767-0912');
    insert into student_tb values('1002','Testing ABC #2101-212 King Street West, Toronto, ON, M5A 4T1');
    insert into student_tb values('1003','#3114-212 Bloor Street E      Toronto    ON   M3C1S1  651-1213');
    insert into student_tb values('1004','#HOTEL PANAORAMA
    Toronto
    ON   M1A 2A1');
    create table city_gis(city_name varchar2(50));
    insert into city_gis values('Toronto');
    insert into city_gis values('Waterloo');
    insert into city_gis values('Barrie');
    The above 4 records from student_tb need to be transferred over to the student_address_tb.
    Assumptions:
    1. Address can be detected when it starts with a # sign.
    2. City will be picked up based on the table city_gis. So, the street will not contain the City.
    3. Province will be detected as 'ON'
    4. Phone numbers will be starting with numbers or a bracket followed by number and should not contain any letters.
    For phone numbers, I attempted with this but I am not sure I am picking it up correctly. In fact, its picking up the address of the Apartment.
    select address, regexp_substr(address,'[[:digit:]]+( ?)(-?)( ?)[[:digit:]]+( ?)(-?)( ?)[[:digit:]]+')
    from   student_tb;
    Any help in this regard would be great.
    Thanks!

    FrankKulash wrote:
    Aren't Canadian phone numbers always 10 digits (where the first 3 digits are soemtimes implied), and separators, when used, only occur after the 3rd and 6th digits?
    Being Canadian myself, I can answer this   Should be always 10 (sometimes 11 if somebody insists on tacking the "assumed" 1 on the front). Seperators *should* occur after the 3rd and 6th, however, I've seen all kinds of crazy ..
    Parsing phone #'s has to be one of the harder things business keep asking us to do O_o (since everyone insists on entering them in their own way) *sigh*
    On another note, I did get the following working, however, as Frank says, not sure what it'll do on a large data set
    with w_data as (
             select '#2115-101 Adelaide Street East Toronto ON M5A 1N1 (416) 767-0912  ' data from dual union all
             select 'Testing ABC #2101-212 King Street West, Toronto, ON, M5A 4T1      ' data from dual union all
             select '#3114-212 Bloor Street E      Toronto    ON   M3C1S1  651-1213    ' data from dual union all
             select 'HOTEL PANAORAMA      Waterloo    ON   M1A 2A1                     ' data from dual
          w_data1 as (
             select data,
             regexp_replace(data, '^(.*?)[ ,]+([A-Za-z]+)[ ,]+([A-Z]{2})[ ,]+([A-Z]\d[A-Z] *\d[A-Z]\d)[ ,]+(.*?)$', '\1::\2::\3::\4::\5')  data_parsed
             from w_data
    Select regexp_substr(data_parsed, '[^:]+', 1, 1) address,
           regexp_substr(data_parsed, '[^:]+', 1, 2) city,
           regexp_substr(data_parsed, '[^:]+', 1, 3) province,
           regexp_substr(data_parsed, '[^:]+', 1, 4) postal,
           regexp_substr(data_parsed, '[^:]+', 1, 5) phone
       from w_data1
    ADDRESS                                  CITY                 PROVINCE   POSTAL               PHONE
    #2115-101 Adelaide Street East           Toronto              ON         M5A 1N1              (416) 767-0912
    Testing ABC #2101-212 King Street West   Toronto              ON         M5A 4T1
    #3114-212 Bloor Street E                 Toronto              ON         M3C1S1               651-1213
    HOTEL PANAORAMA                          Waterloo             ON         M1A 2A1

  • Digital Connections, SPDIF and Dolby Digital Info

    I have noticed that many people have problems using their digital connections, so I put together this info to try and explain the difference between digital and analogue, and how to use them.
    Digital ConnectionsDigital connections come in two standard forms, optical and coax. They both give you exactly the same result, the only difference is the medium (material) through which the signal travels. The thing to remember about digital is that for ordinary, uncompressed sound, it will only carry a stereo signal. So, if you like to use CMSS with your music, or you try the speaker test function, optical/coax is useless as you only hear the front left/right speakers.
    Movies wth Dolby Digital (AC3) & DTSMovies on DVD often use encoded audio in the form of Dolby Digital (AC3) or DTS. This means that all 6 channels are compressed into a single stream of digital data. A decoder is required to extract the channels and send the sound to the correct speakers. There are three ways to do this.
    ) Pass the AC3/DTS signal to a external decoder. This is where your optical/coax connection is used. To go down this route, you must first have a set of speakers or a decoder that supports Dolby Digital. In your DVD software, select 'SPDIF' as the audio output method and 'SPDIF Pass-through' in your soundcard options. What this does is tells both the software and soundcard to leave the audio from the DVD in compressed form and send it straight through the digital outputs. Your digital speakers/receiver will do all the decoding to give you full surround sound. Please note that this is the only way to get 6 channels through an optical/coax cable.
    2) Decode the AC3/DTS with your Sound Blaster.You should choose this option if you don't have an external decoder. In the DVD software, select 'SPDIF' as the audio output method and make sure that 'SPDIF Pass-through' in the souncard options is off. The DVD software will now pass the compressed audio to your soundcard, which will then decode the data. The soundcard will output the 6 channels using the analogue connections (or digital DIN, more on this later). If you try to use a digital optical/coax connection to your speakers, you will only hear faint sounds from the front left/right speakers.
    3) Decode the AC3/DTS with software.If you have a soundcard that doesn't support Dolby Digital (like the SB Li've! 24-bit) and you don't have digital speakers, the only way for you to get surround sound in movies is to use software to decode the AC3/DTS. The free versions of DVD software you get with hardware often don't support this feature, you will most likely need a full version. First select 'Dolby Digital' or 'DTS' decoding in the DVD software audio options (you must select the right sound format for the movie you are watching). Then make sure that 'SPDIF Pass-through' in the soundcard options is off. As with method (2) you must connect your speakers with the 3 analogue cables, not optical/coax.
    PC GamesPC games usually use technologies like as EAX to create surround sound, not Dolby Digital. So even if your speaker system has a Dolby Digital decoder, it will be of no use when playing games. The EAX processing is done on the soundcard, and the 6-channel sound is output via the analogue (or digital DIN if available). So you still need analogue connections to your digital speakers for games, if you just use an optical/coax cable you will only get the front left/right sound.(N.B. X-Box games do support Dolby Digital, so if you connect your X-Box to your Dolby Digital receiver/speakers with the optical cable, you can get full surround sound.)
    Creative's 4-pole mini-jack & Digital DINYou can only get the full use out of this connection when used between Creative Sound Blasters and compatible Creative speaker systems. It is the digital equivalent of the analogue connections, but instead of using 3 stereo sockets, you use just one digital socket. There are 4 conducting connections in the socket (unlike coax which has two) so there are enough connections to carry 3 different digital stereo signals (front R/L, rear R/L and Sub/Centre). You will probably require a 4-pole mini-jack > DIN converter to connect your Creative speakers to this socket. Using this connection will allow you to get surround from games (unlike SPDIF). However the digital DIN input on some Creative speakers can't receive AC3/DTS data, so you may still require an optical/coax connection.
    N.B. This digital socket on the Sound Blaster cards doubles as the digital coax output. If you don't have digital DIN, you can use a mono or stereo mini-jack > RCA converter to connect to the coax input on your speakers, as the front R/L or AC3/DTS signals are sent through the tip of the plug.
    More InfoCreative's Speaker Conectivity Guide: http://support.creative.com/kb/ShowA....aspx?sid=5035
    Dolby Surround info: http://www.dolby.com
    I hope that clarifies the issue .
    Message Edited by KokChoy-CL on 07-04-2008 :0 AM

    Digital Connections, SPDIF and Dolby Digital (german revision)
    Options
    03-08-2007 01:52 AM
    Digital Connections, SPDIF and Dolby Digital Info
    Übersetzung + Erweiterungen + Revision 03-08-07
    Der Digitale Anschluß
    Ich habe beobachtet, daß viele Leute Fragen zu den Sound-Anschlüssen haben, daher trage ich hier einige Infos zusammen und erkläre die Unterschiede in der Verwendung der digitalen und analogen Anschlüsse.
    Digitale Anschlüsse – S-PDIF & Toslink
    Am PC gibt es zwei häufig verwendete digitale Anschlußformate optisch (Toslink) und koaxial (S-PDIF).
    Im Prinzip erzielen beide Anschlüsse genau das gleiche Audio-Ergebnis.
    Der primäre Unterschied ist das Medium ( das Material ) durch das das Signal übertragen wird. ( Glasfaser oder Kupfer )
    !! Update !!
    Ein wichtiger Aspekt in der Auswahl von digital-optischen Anschlüssen erklärt sich durch das Vermeiden einer sogenannten „Brummschleife“, d.h. eine elektrisch leitende Verbindung zweier Geräte muß vermieden werden.
    ( mit Lichtwellenleiter - LWL- z.B. mit dem Anschluß-System Toslink )
    In der Elektrotechnik ( Niedervolttechnik ) wird oft der „Negative“ Pol der Spannungsversorgung über das elektrisch leitende Gehäuse ( die sogenannte Masse )geführt. Das spart einerseits einen weiteren Kabelweg ( also Kupfer ) ein und ergibt eine mehr oder weniger wirksame (Ab-) Schirmung. Diese Schirmung soll die elektronische Schaltung vor elektromagnetischen, hochfrequenten und niederfrequenten Störeinflüssen je nach Ausführung der Schirmung schützen.
    Üblicherweise besitzt jedes elektronische Gerät eine eigene Spannungsversorgung. Netzteile in elektronischen Geräten unterscheiden sich in der Art der Spannungsumformung, in der Höhe der Spannung, in der zur Verfügung gestellten Leistung, durch verschiedene Bauarten und unterschiedliche Bauteil-Tolleranzen entstehen somit verschiedenste Masse-Potentiale.
    Werden solche Geräte durch elektrisch leitende Kabel verbunden, kommt es zu einem Ausgleich der verschiedenen Masse-Potentiale. Ein negatives Ergebnis der Verbindung von TV-Geräten oder PC-Komponenten mit Audio-Komponenten ist oft eine hörbare Beeinträchtigung von Audio-Signalen - ein tieffrequentes Brummen.( auch Brummschleife oder Masseschleife genannt )
    Hierfür verantwortlich zu machen ist eine elektrisch leitende Verbindung. In der HiFi-Technik ist das in der Regel ein Koaxialkabel und dessen Schirmung.
    Vermeidung u. Reduzierung dieser Störgeräusche Ansätze
    !! Der einfache Weg !!
    Einsatz einer optischen Signal- / Datenübertragung mit Lichtwellenleiter
    - Glasfaser als Trägermaterial
    ( Einsatz einer Datenübertragung ohne elektrisch leitende Verbindungen )
    aufwendige Wege
    Einsatz einer Galvanischen Trennung - mit einem Ground-Isolator
    (Massetrennung )
    + die elektrische Verbindung der Schirmung wird umgangen
    - aber Leistungs- & und Klangverlust(geringere Dynamik)
    - Verwendung von ( hochwertigen ) symmetrischen Verbindungen
    ( „PLUS“ „MINUS“ „Masse“)
    + Trennung der Schirmung an einer „Seite“ des Kabels möglich
    [bei Koaxialkabel unsinnig weil eine Ader zerstört wird und
    anschließend dieses Kabel wertlos ist ]
    - sehr große Anschlüsse
    - Profibereich
    - Einsatz einer zentralen Spannungsversorgung für alle miteinander
    verbundenen Geräte
    Nachtrag
    Bitte nicht verwechseln mit Netzbrummen - die Einstreuung der Netzfrequenz 50 Hz ( EU ) oder 60 Hz ( US ) in den Audio-Signalweg das ist üblicherweise auf eine nicht ausreichende Entstörung oder(Ab-)Schirmung zurückzuführen ist.
    - End - !! Update !!
    Einige Vorbetrachtungen
    Die traditionelle Ton-Übertragung ist ein unkomprimiertes Signal, es wird in Stereo übertragen.
    Wenn du CMSS ( Creative Multi Speaker Surround simulierten Surround Sound ) aus deiner Stereo-Musik erzeugen willst oder der Sprach-Test abgerufen wird ( nur über den Center ) ist der digitale Anschluß ( optisch & koaxial ) unbrauchbar, denn es würden nur die Lautsprecher Front-Rechts und Front-Links angesprochen !! Es wird ein anderer Anschluß benötigt, der die Kanäle einzeln ansteuert.
    Für das Format 5.1 ist das die Verbindung über die drei 3,5 mm Klinken-Stecker ( 3 mal 2 Kanäle ) mit der folgenden
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Mehrkanalton in Filmen - DolbyDigital (AC3 / DD) oder DTS
    Filme auf DVD verwenden häufig ein kodiertes Mehrkanal-Audiosignal, in der Form DolbyDigital ( AC3 / DD ) oder DTS. Bei dem gebräuchlichsten Format 5.1 werden 6 Signale ( 3 mal 2 Kanäle ) in einem digitalen Datenstrom zusammengefaßt und komprimiert = das Kodieren.
    Nach der Übertragung des Signals muß aus diesem Datenstrom ein Decoder die entsprechenden Töne trennen und jedem Kanal zuordnen = das Dekodieren.
    Drei Varianten der Decodierung sind möglich.
    (1) - AC3 / DTS Signal wird zu einem externen Decoder geführt
    Genau hier wird der optische / koaxiale Anschluß genutzt. Um diese Variante nutzen zu können, mußt du ein digitales Lautsprecher-Set oder einen Digital-Decoder ( z.B: Digital-Receiver ) besitzen, der die Dekodierung des gewünschten Formats ( DD, AC3, DTS) übernimmt. Für jedes Digital-Format benötigt man einen entsprechenden Decoder – das Handbuch weiß hier oft mehr – welches Format von welchem Gerät dekodiert werden kann !!
    Wähle in deiner DVD-Software den zur digitalen Datenübertragung gewünschten Anschluß "S-PDIF"( Koaxial ) oder "Optisch" als Audio-Ausgang.
    In den Soundkarten-Einstellungen muß die Option "S-PDIF-Durchschleifen" ( "SPDIF Pass-through" ) eingestellt werden.
    Dadurch wird das Audio-Signal von der DVD in digitaler ( komprimierter ) Form direkt an die Digital-Ausgänge der Soundkarte weitergeleitet. Anschließend kann ein angeschlossener externer Decoder z.B. im digitalen Lautsprecher-System oder im Digital-Receiver die Decodierung übernehmen und es entsteht ein „Räumliches Klangbild“.
    Bitte merken:
    Daß ist der einzige Weg 5.1 Signale ( digital ) über ein koaxiales bzw. optisches Kabel zu übertragen.
    (2) - AC3 / DTS mit der Soundkarte decodieren
    Diese Variante ist zu verwenden, wenn du keinen externen Decoder / Receiver verwenden willst.
    In der DVD-Software wird "S-PDIF" als Audio-Ausgang gewählt und es muß zwingend in den Optionen der Soundkarte "S-PDIF-Durchschleifen" ( "SPDIF Pass-through" ) deaktiviert werden.
    Die DVD-Software wird jetzt das ( digitale ) komprimierte Audio-Signal an deine Soundkarte senden und dann werden dort die digitalen Daten decodiert. Die Soundkarte gibt dann die 6 Audio-Kanäle ( bei 5.1 ) über ihre drei analogen Anschlüsse aus ( 3 mal 3,5 mm Klinke ) mit folgender
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Es wird in diesem Beispiel also ein 5.1-Lautsprecher-System benötigt, mit der analogen Anschluß-Option von drei Klinken-Steckern.
    ( also 3 x 2 Kanäle = 3 mal 3,5 mm Klinke )
    - die Einspeisung eines digitalen Signals über DigitalDIN, ist mit dem optionalen digitalen E/A-Modulbei möglich ***
    - wird hier ein optisches / koaxiales Kabel verwendest, hörst du nur schwache Töne der Front-Lautsprecher R + L
    *** Bei Karten der SB073X-Serie verfügt diese Buchse nicht über die Digital-In-Funktion !! zur Unterstützung des digitalen E/A-Moduls )
    [ mehr unten ]
    (3) - AC3 / DTS mit einer Software decodieren
    Wenn deine Soundkarte kein DolbyDigital unterstützt
    ( wie die SB Live! 24-bit ) und auch kein digitales Lautsprecher-System vorhanden ist, kannst du Raumklang
    (Surrsound-Sound ) aus DV-Filmen auch über eine AC3 / DTS fähige Software erzeugen.
    Gratis-DVD-Software-Versionen unterstützen diese Funktion häufig nicht, du benötigst dann eine Software-Voll-Version.
    Wähle die gewünschte digitale Audio-Tonspur „DolbyDigital“ oder „DTS“, im Audio-Menü einer DVD.
    Dann stelle sicher, das in den Soundkarten-Optionen "S-PDIF-Durchschleifen"
    ( "SPDIF Pass-through" ) ausgeschaltet ist.
    Wie unter (2) mußt du deine Lautsprecher mit den drei analogen Kabeln anschließen und nicht optisch oder koaxial !! ( 3 mal 3,5 Klinke )
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Generell sind bei zuvor genannten Varianten (1) – (3) auch andere mehrkanalige
    Wiedergabeformate möglich.
    In Abhängigkeit von der Ausstattung der Quelle also von der DVD. der CD. der TV-Karte, dem Game usw. sind andere Formate z.B. 2.0 / 2.1 / 4.0 / 4.1 / 5.1 / 7.1-Kanal Wiedergabe möglich.
    PC Spiele
    PC Spiele nutzen normalerweise Technologien wie EAX, die ihren eigenen Surround-Sound, ohne Verwendung von DolbyDigital erzeugen. Selbst wenn dein Lautsprecher-System einen DolbyDigital-Decoder besitzt, ist dieser für Games unbrauchbar. Denn die EAX Verarbeitung findet direkt auf der Soundkarte statt und die Ausgabe der 6 Kanäle ( 5.1 ) erfolgt über die analogen Ausgänge
    ( 3 mal 3,5 mm Klinke ) ( oder über DigitalDIN, wenn vorhanden *** ).
    *** Bei Karten der SB073X-Serie verfügt diese Buchse nicht über die Digital-In-Funktion !! zur Unterstützung des digitalen E/A-Moduls ) [ mehr unten ]
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Für Mehrkanalwiedergabe in Spielen benötigst du also Lautsprecher-Systeme mit analogen Anschlüssen oder einen Digital-Receiver mit analogem ( 5.1 ) Eingang.
    Wenn du ein optisches / koaxiales Kabel verwendest, dann kannst du nur die vorderen Kanäle ( links / rechts ) hören.
    !!! Notiz !!!
    X-Box Spiele unterstützen DolbyDigital, wenn du deine X-Box mit einem DolbyDigital-Receiver oder einem digitalen Lautsprecher-System über optische Kabel verbindest, kannst du den vollen Surround Sound nutzen.
    Die Sound Blaster Karten der SB073X-Serie bieten neben dem digitalen ( koaxial / extern ) Anschluß über den Anschluss Flexi-Jack auch noch einen weiteren Anschluß, direkt auf der Karte ( koaxial / intern )
    Flexi-Jack - DigitalDIN
    Wenn du kein digitales E/A-Modul ( Digital I/O-Modul ) benutzen kannst, ist es möglich mit einem Klinke-Chinch Adapter ( RCA-Adapter ), ein digitales Lautsprecher-System oder einen Digital-Receiver digital ( koaxial ) über den Flexi-Jack-Ausgang der Soundkarte zu verbinden. Alle MiniDin bzw. 3,5 mm Klinken-Stecker können in der Mono- oder auch in der Stereo-Ausführung verwendet werden, denn der mittlere / vordere Pin des 3,5 mm Klinken-Steckers überträgt das AC3 / DTS Signal. Dazu benötigt man eine der folgenden Verbindungen
    3,5 mm Klinke ( Mini DIN ) auf Chinch - Adapter ( RCA-Adapter )
    für den S-PDIF-Anschluß( koaxial ) an Lautsprecher-Systeme mit digitalem Eingang bzw. Digital-Receiver kann man folgende Varianten verwenden
    - Klinke-Mono - Chinch-Stecker ( Stecker –Stecker ) ( Favorit !! )
    - Klinke-Mono auf Chinch-Mono ( Stecker - Kupplung ) + Chinch-Verbindungkabel
    ( Stecker - Stecker )
    - Klinke-Stereo auf Chinch-Mono ( Stecker - Kupplung ) + Chinch-Verbindungkabel
    ( Stecker - Stecker )
    Das digitale E/A-Modul ( Digital I/O – Modul )
    Die Verwendung von optionalem Zubehör Digitales E/A-Modul ( Digital I/O-Modul ) bietet die Möglichkeit der direkten Verwendung eines S-PDIF Verbindungskabels und stellt zusätzlich zum koaxialen Anschluß einen optischen Anschluß ( Toslink ) bereit. Die optische Verbindung kann wie oben beschrieben zur Vermeidung einer Brummschleife hilfreich sein.
    Des weiteren wird ( abhängig von der Ausstattung der Soundkarte *** ) ein digitaler Eingang über das E/A-Modul bereitgestellt, der Eingang ist ebenso wie der Ausgang in optischer ( Toslink ) und koaxialer ( S-PDIF ) Bauform ausgeführt.
    Achtung !!
    ( *** Bei Karten der SB073X-Serie verfügt diese Buchse nicht über die Digital-In-Funktion !! zur Unterstützung des digitalen E/A-Moduls )
    interner S-PDIF E/A-Anschluss ( für Geräte der SB073X-Serie )
    zum Anschluß einer Decoderkarte oder externer Decoder bzw. Lautsprechersysteme mit digitalem Eingang ist ein entsprechender Adapter erforderlich
    Bei einigen Modellen ist eine Dekoderkarte im Lieferumfang enthalten bzw. in einigen Regionen als Zubehör erhältlich
    Front Panel-Sockel (für Geräte der SB073X-Serie)
    2 x 5-poliger Front Panel-Sockel nur für Verbindungen mit einem Intel HD Front Panel Audio-Standardsockel (nur Geräte der SB073X-Serie) Intel Front Panel Audio-Kabels (separat erhältlich)
    Anschlusskompatibilität
    Ausschließlich Intel HD Front Panel Audio-Standard
    Nicht kompatibel mit AC97 oder Intel-kompatiblem HD Front Panel Audio
    Einschränkungen
    Wenn neben den hinteren Mikrofonen auch Frontmikrofone angeschlossen sind, werden die hinteren Mikrofone automatisch deaktiviert.
    Sound Blaster X-Fi E/A-Konsole
    Auf der Rückseite Ihrer X-Fi-E/A-Konsole* befindet sich eine sogenannte DIN-Buchse. Um die Funktionen für eine integrierte Lautsprechersteuerung zu nutzen, können Sie an diese Buchse ausgewählte analoge Creative-Lautsprechersysteme anschließen, die über eine Kabelfernbedienung oder eine Audiokonsole verfügen.
    So können Sie beispielsweise über den Master-Lautstärkeregler Ihrer X-Fi-E/A-Konsole die Lautstärke der Lautsprecher regeln oder die Lautsprecher stummschalten.
    -eof-

  • No sound with Live! 24bit and Boston Digital BA735 speak

    I can get no sound with Soundblaster Li've! 24bit PCI card and Boston Digital BA735 speakers. Other speakers work. The Boston are 2. speakers (with subwoofer) from an old Gateway I have. Tried digital output only and without digital output only checked but no luck.

    hey bro. today i had the same problem you have, with the same speakers and all. and thanks to your post, it somehow inspired me to figure it out. so this is what you do:
    ) make sure your sound card is set to digital output. if you dont know how to do this, follow the windows help program.
    2) go to gateway support website at http://support.gateway.com/support/d...0406&type=0096 and download the Digital Soundblaster Li've basic driver (752042.exe) near the bottom.
    3) double click the icon once it downloads and it will do its thing
    good luck dawg and thanks for your ingenius question

  • Significant Digits to Digits of Precision by default?

    Howdy,
    Is it possible to set the default precision for front panel numerics to, say 4 Digits of precision, instead of 6 Significant digits? I prefer digits of precision, and I always have to change each and every control and indicator. Is this selectable somewhere?
    Thanks!
    B-)

    I agree it would be useful to set global defaults for formats and other cosmetic properties.
    I typically want a fixed decimal resolution and the numbers right-aligned. I will never understand why all numerics are left-aligned.
    If I change an integer to hexadecimal or binary format, I want it padded with zeroes on the left and the default number of digits corresponding to the data type (e.g. U8: 8 digits for binary and 2 digits for hex).
    There is always the product suggestion center.
    LabVIEW Champion . Do more with less code and in less time .

  • Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.

    Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.

    same problem for me. I am using abe edition 3 as I don't think 4 can be used with kobo. Book has been downloaded to kobo but it can't be read as it is not authorised.Help please

  • ID CS4 and Adobe Digital Editions

    One reason I purchased ID CS4 was for the ability to create ebooks using ADE. However, my first attempt to export to ADE has been far from successful.
    The project is a 152-page book. It was "created" in ID CS4 and is straight text except for the publisher's logo, which appears on the title page. Each chapter is its own file, as is each element of the front matter. Three fonts are used in the publication: Arial, Formata, and Palatino. The Formata and Palatino fonts are OT fonts; they were newly purchased as OT fonts for this client. Each use of italic or bold in the book's text, excluding heads, is by a character style that includes the font family name. For example, if the text is supposed to be Palatino Italic, the character style includes both bits of information, a generic Italic is not used.
    I combined all of the elements of the project into a single ID Book, which is what I used to update numbering, etc. When I export to PDF from the Book, everything works fine. When I export to Adobe Digital Editions from the Book, the following occurs:
    1. Arial and Palatino are embedded but Formata is not.
    2. The first and last files of the Book (i.e., the title page and the References) appear in the ePub file and are viewable in the ADE viewer, but everything between those two files, including all of the text chapters, are empty files that appear as blank pages in the ADE viewer.
    What am I doing wrong? How do I
    a. Get Formata embedded?
    b. Get the complete project into an ePub file?
    Another thought: Would the way to do this be to do each chapter as a separate export to ADE and then combine each of the separate files into a single ePub file? If so, how would one do this? I've noted that when creating an ePub file several additional informational files are created. It isn't clear to me how one would combine that information.
    Also, is there a good source and/or book (or several sources and/or books) that gives step-by-step instruction information on turning a project into an ePub file? Although this project has no graphics, tables, etc., future projects will have numerous graphics, tables, etc. and so any help will be appreciated.
    Thanks.

    You're not actually doing anything wrong. You're experiencing a bug. Hopefully it will be fixed in an upcoming update to InDesign CS4.
    The cause of the problem comes down to the spaces in the name of the font you've used in your document (i.e. Myriad Pro Bold). If an embedded font contains spaces in its name, it won't be used and Adobe Digital Editions will use its default font instead. The problem can be overcome by directly editing the EPUB file. I use Oxygen to open up the EPUB file directly, but you can also change the .epub file extension to .zip and then unarchive the package to gain access to the various files within it. Once you've opened the EPUB file, you need to modify three things: the template.css file, encryption.xml file, and the font files.
    Template.css
    At the top of the CSS file, you'll see font face declarations for each font you've used in your document. If your font(s) has spaces in its name, you'll notice that a %20 has replaced the space. Change each instance of the %20 to a hyphen. Here's an example:
    @font-face {
    font-family: Myriad Pro;
    font-style: normal;
    font-weight: bold;
    src:url(Fonts/MyriadPro%20Bold.otf);
    Change to:
    @font-face {
    font-family: Myriad Pro;
    font-style: normal;
    font-weight: bold;
    src:url(Fonts/MyriadPro-Bold.otf);
    Encryption.xml
    For each type style you've used in your document, there will be a <enc:CipherData> element. If your font(s) has spaces in its name, you'll notice that a %20 has replaced the space here as well. Change each instance of the %20 to a hyphen. Here's an example:
    <enc:CipherData>
                 <enc:CipherReference URI="OEBPS/Fonts/MyriadPro%20Regular.otf"/>
    </enc:CipherData>
    Change to:
    <enc:CipherData>
                <enc:CipherReference URI="OEBPS/Fonts/MyriadPro-Regular.otf"/>
    </enc:CipherData>
    Font Files:
    Within the EPUB package is a folder called "Fonts," where all the embedded fonts reside. You need to rename the files by replacing the spaces with hyphens.
    That's all there is to it. After editing and saving the files, you'll have to rearchive the package and change the .zip extension back to .epub. If you use Oxygen to edit the package, there is no rearchiving necessary. You can also use the free PDFXML Inspector, but I definitely prefer Oxygen since it provides many more tools and its not so clunky.

Maybe you are looking for

  • Material not subject to inventory management

    Hi all, While creating  Stock transort order through SD route,  it says material not maintained in inventory managemntment, though the material is very well maintained in the particular plant, and in the view Plant / Storage data  as well. Also the p

  • Macbook  flickering screen & freeze, then won't boot pass the apple logo

    Hi Guys, My macbook is driving me insane now. Just recently, my macbook has occasionally flickering screen and freezes after that. Yesterday, when I was watching youtube on fullscreen, it first has flickering screen, then freezes. So I hard booted it

  • MB51 & MB5B

    Hi, Suppose we develope a report using MB5B & same report using MB51. Will output of these reports differs? or will be same? Amit

  • Classic to Extended

    Hi Please let m know what are the challenges to move from classic to Extended classic scenario. Thanks, Rajan

  • Newbie to iPhoto - Can anyone help with a few questions?

    Hi everyone, I have had iPhoto since December and I love it. I have been able to naviagate around it pretty well and love the fact I can put names to faces. I own a childcare business so this helps me individualise each child's photo's which I put on