Issue with 3-point smoothing

HI,
I am trying to reduce my baseline noise with a 3-point smoothing filter. Attached are my printscreen result and my vi. I found that the 3-point smoothing did not have a significant effect to smooth the baseline. 
I wonder if I programmed it wrong or the idea of 3-point smoothing is not a ideal way to reduce the background noise. In my case, it's ~0.7+/-0.2.  
Please comment, 
Michael
Attachments:
PrintScreen.JPG ‏174 KB
VoltageMeterVIANIUSB6210v6CurveSmoothing.vi ‏172 KB

Hi Lynn,
The source of the signal is from a laser but I put ND filters to lower the intensity. The rate is 100Hz and the # of sample is 10 in continue mode. It happens that I have an old NI card (NI4050) in the lab. I tried with its old vi and suprisingly, it showed no noise. Result attached. 
Now I want to try out this really old VI with the new NI-USB-6210. But I don't know the proper device # for NI6210. I was able to find the device # for NI4050 in "Measurement and automation explorer" but not 6210 (printscreen attached).
Attached is the old vi.
Please help to modify it so that it is usable for USB6210.
Thanks in advance,
Michael
Attachments:
NI4050 no noise.jpg ‏207 KB
DeviceNo.JPG ‏84 KB
PMT meter Ni6210.vi ‏52 KB

Similar Messages

  • Issue with Performance Point Filters and SSRS when visibility is toggled

    I have a SSRS report that has the visibility toggled with the (+/-) sign. The report is SQL Server 2008 R2 / SharePoint Integrated in a SharePoint 2010 Site. The reports datasource is an Analysis Services database.
    I am displaying the report in a Performance Point Dashboard and am connecting it to Performance Point filters using the member unique name. The report filters correctly when the dashboard filters change. However, when I click to expand a plus sign to toggle
    the visibility, the report goes back to it's default filters of '[Dimension].[All]' and all data is returned, and the visibility is not expanded.
    I have confirmed that the report visibility toggling works in BIDS and via the report that is stored in SharePoint. I have also confirmed that it works when the report is stored in the native mode report server, and integrated with Performance
    Point in the same manner.
    So, I 'think' I have whittled the problem down to be the combination of SharePoint Integrated and Performance Point.
    Anyone have any ideas?
    Jewels

    Hi,
    I am having a similar issue with PerformancePoint SSRS and visibility togle. Were you able to figure this out?
    I have a report which calls a sub report. When I click on the report it passes parameters to sub report which works fine. But as soon as I click the visibility toggle, it goes back to default. Strange thing is that it works in PerformancePoint as a 
    stand alone report (sub report alone in PP). Just when it is a sub report and parameters are passed through url this issue happens.
    Any suggestions are welcome. I have spent hours trying to figure this one out.

  • Issue with OSPF Point-to-Multipoint over CES Cloud

    I'm having an issue running ospf point-to-multipoint over a CES cloud.  The reason I want to do this is that not every site has the same bandwidth and this way I can use neighbor statements to specify the cost to each neighbor.
    To make this work I have to shut down the cloud facing interface on each node and bring them up one at a time.  Everything runs fine until I then shut one of them down and bring it up again, I'm only able to form adjanceis with 2-3 nodes - the other nodes get stuck in either INIT or EXSTART until OSPF give up do to too many retires.  If I then repeat the process of shutting down the interface on each node and bringing them back up it works again.
    I've tried both " ip ospf network point-to-multipoint" and " ip ospf network point-to-multipoint non-broadcast" with the same results.
    Here are the router types involved and the firmware they are running:
    1. asr1006 asr1000rp1-adventerprisek9.03.10.00.S.153-3.S-ext.bin
    2. asr1006 asr1000rp1-adventerprisek9.03.10.00.S.153-3.S-ext.bin
    3. 2821 c2800nm-ipbasek9-mz.151-3.T4.bin
    4. 2821 c2800nm-ipbasek9-mz.151-3.T4.bin
    5. 2921 c2900-universalk9-mz.SPA.150-1.M1.bin (ipbasek9 license)
    6. 2921  c2900-universalk9-mz.SPA.153-2.T.bin (ipbasek9 license)
    7. 2821 c2800nm-ipbasek9-mz.151-3.T4.bin
    Here is the relevant config from one of the routers:
    interface GigabitEthernet1/0/6
     description CES
     bandwidth 50000
     ip address 10.226.126.30 255.255.255.224
     no ip redirects
     ip flow ingress
     ip flow egress
     ip ospf authentication message-digest
     ip ospf message-digest-key 1 md5 blahblahblah
     ip ospf network point-to-multipoint non-broadcast
     ip ospf dead-interval 3
     ip ospf hello-interval 1
     load-interval 30
    router ospf 1
    router-id 10.226.1.9
    ispf
    auto-cost reference-bandwidth 10000
    timers throttle spf 10 100 5000
    timers throttle lsa 10 100 5000
    timers lsa arrival 80
    passive-interface default  
    no passive-interface GigabitEthernet1/0/6
    network 10.226.126.0 0.0.0.31 area 0
    neighbor 10.226.126.6 cost 1000
    neighbor 10.226.126.5 cost 3333
    neighbor 10.226.126.4 cost 3333
    neighbor 10.226.126.3 cost 3333
    neighbor 10.226.126.2 cost 3333
    neighbor 10.226.126.1 cost 200
    All the routers have at least one other interface running OSPF point-topoint with no issues.  The ASRs also have some stub areas in addition to area 0.  I've tried taking the ASRs out of the loop and testing, but the results are the same.
    Please let me know if you have any ideas or need more details.
    Thanks.

    Hi Peter,
    believe me: I was perplexed as well and it took me some time to understand what was going on.
    I've created a simple gns3 lab (topology attached) with handy IP- and MAC addresses:
    R1: 192.168.0.1; 02:00:00:00:11:11
    R3: 192.168.0.3; 02:00:00:00:33:33
    R4: 192.168.0.4; 02:00:00:00:44:44
    The host routes for the point-to-multipoint interfaces play an important role:
    R3#show ip route 192.168.0.0
    C 192.168.0.0/24 is directly connected, FastEthernet1/0
    O 192.168.0.1/32 [110/1] via 192.168.0.1, 00:02:44, FastEthernet1/0
    O 192.168.0.4/32 [110/64] via 172.16.34.4, 00:02:44, Serial0/1
    Now, with a debug arp enabled on R1 we can see what happens when we shutdown and re-enable Fa1/0.
    R1(config-if)#do show ip int brief f1/0
    Interface IP-Address OK? Method Status Protocol
    FastEthernet1/0 192.168.0.1 YES NVRAM administratively down down
    R1(config-if)#do show ip arp
    <no output>
    R1(config-if)#no shut
    IP ARP: sent rep src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.1 ffff.ffff.ffff FastEthernet1/0
    IP ARP: sent rep src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.1 ffff.ffff.ffff FastEthernet1/0
    IP ARP: creating incomplete entry for IP address: 192.168.0.4 interface FastEthernet1/0
    IP ARP: sent req src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.4 0000.0000.0000 FastEthernet1/0
    IP ARP: creating incomplete entry for IP address: 192.168.0.3 interface FastEthernet1/0
    IP ARP: sent req src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.3 0000.0000.0000 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.4 0200.0000.4444, dst 192.168.0.1 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.3 0200.0000.4444, dst 192.168.0.1 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.4 0200.0000.3333, dst 192.168.0.1 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.3 0200.0000.3333, dst 192.168.0.1 FastEthernet1/0
    R1(config-if)#do show ip arp
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 192.168.0.1 - 0200.0000.1111 ARPA FastEthernet1/0
    Internet 192.168.0.3 0 0200.0000.3333 ARPA FastEthernet1/0
    Internet 192.168.0.4 0 0200.0000.3333 ARPA FastEthernet1/0
    R1(config-if)#do show ip ospf neighbor
    Neighbor ID Pri State Dead Time Address Interface
    4.4.4.4 0 INIT/ - 00:00:16 192.168.0.4 FastEthernet1/0
    3.3.3.3 0 FULL/ - 00:00:16 192.168.0.3 FastEthernet1/0
    OSPF: Rcv hello from 4.4.4.4 area 0 from FastEthernet1/0 192.168.0.4
    OSPF: Send immediate hello to nbr 4.4.4.4, src address 192.168.0.4, on FastEthernet1/0
    OSPF: Send hello to 192.168.0.4 area 0 on FastEthernet1/0 from 192.168.0.1
    OSPF: End of hello processing
    Because of the hostroute to R4, R3's proxy ARP answeres an ARP request for R4 (the same happens on R4)! At this point we have IP connectivity to R4 (via R3) but this doesn't work for OSPF's link local traffic.
    So just for the fun of it, we could configure a static ARP entry to verify if that will fix the problem:
    R1(config)#arp 192.168.0.4 0200.0000.4444 arpa
    %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on FastEthernet1/0 from LOADING to FULL, Loading Done
    R1(config)#no arp 192.168.0.4 0200.0000.4444 arpa
    IP ARP: creating incomplete entry for IP address: 192.168.0.4 interface FastEthernet1/0
    IP ARP: sent req src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.4 0000.0000.0000 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.4 0200.0000.4444, dst 192.168.0.1 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.4 0200.0000.3333, dst 192.168.0.1 FastEthernet1/0
    Or we could avoid that R3 installs an OSPF hostroute to 192.168.0.4.
    R3(config)#ip prefix-list NO-HOSTROUTES deny 192.168.0.0/24 ge 32
    R3(config)#ip prefix-list NO-HOSTROUTES permit 0.0.0.0/0 le 32
    R3(config)#router ospf 1
    R3(config-router)#distribute-list prefix NO-HOSTROUTES in
    R3(config-router)#do show ip route 192.168.0.4
    Routing entry for 192.168.0.0/24
    Known via "connected", distance 0, metric 0 (connected, via interface)
    R1(config)#do clear ip arp 192.168.0.4
    IP ARP: sent req src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.4 0200.0000.3333 FastEthernet1/0
    IP ARP: creating incomplete entry for IP address: 192.168.0.4 interface FastEthernet1/0
    IP ARP: sent req src 192.168.0.1 0200.0000.1111,
    dst 192.168.0.4 0000.0000.0000 FastEthernet1/0
    IP ARP: rcvd rep src 192.168.0.4 0200.0000.4444, dst 192.168.0.1 FastEthernet1/0
    %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on FastEthernet1/0 from LOADING to FULL, Loading Done
    An interesting detail is the destination MAC address in the first request. Seems like the MAC address of the former ARP entry was still cached somewhere.
    The adequate solution to solve the problem is of course disabling proxy-ARP.
    I was quite surprised to see that that the protocol logic obviously ignores the fact of being in the same subnet but rather simply check if there is another entry for the requested host in the routing table.
    The sanity checks section of RFC 1027 says
    "An ARP subnet gateway implementation must not reply if the physical networks of the source and target of an ARP request are the same."
    and it seems to me that IOS has not implemented this check. I'm looking forward to hear your opinion!
    Thanks for joining,
    best regards
    Rolf

  • Issue with fixed point number output from 9219 module for full bridge measurement (cRIO/FPGA)

    Hi,
    I have a question regarding the fixed point output acquired from a 9219 module (in FPGA on a cRIO) when setup to acquire a strain measurement (full bridge).
    Software: Labview 2009
    Hardware: cRIO-9012 (NI-RIO 3.2.1), NI-9219 module
    The 9219 module is configured in the project as follow:
    Ch0: Full-Bridge +/- 7.8mV/V
    Ch1: Voltage +/- 4V
    Ch2: Voltage +/- 15V
    Ch3: Voltage +/- 60V
    The calibration mode is 'Calibrated' so the FPGA outputs fixed point numbers. 
    My issue is that the precision of the fixed point number for Ch0 (strain) is "(fixed point <+/-32,-1>[-2.5e1,2.5e1]:1.16e-10)", which indicates that the fixed point number is a value between +/- 0.25 and not the +7.8mV/V as I expected?
    The fixed point number does not change in precision whether the range for the strain measurement is set at +/- 7.8mV/V or +/-64mV/V (the two available options).
    As the fixed point number doesn't change precision I'm assuming that changing the range of the strain measurement changes the resolution of the acquired number? And as such I will need to perform additional scaling on the fixed point number to convert it to the expected range?
    There is no mention of scaling of the voltage or strain measurements mentioned in any documentation or examples, with the only scaling example provided for the thermocouple measurements.
    Any help/clarification is much appreciated.
    Regards,
    Mike

    Hello Mike,
    Hopefully I can help clarify some of the behavior you are seeing.
    My issue is that the precision of the fixed point number for Ch0 (strain) is "(fixed point <+/-32,-1>[-2.5e1,2.5e1]:1.16e-10)", which indicates that the fixed point number is a value between +/- 0.25 and not the +7.8mV/V as I expected?
    For calibrated values on the FPGA VI, the returned data is a Voltage measurement, not a directly calculated strain value. Based on the specified ranges for the 9219 in a Full bridge configuration, 250 mV will encompass all possible input values, at the module provided excitation (2-2.7V dependent on the sensor gage resistance).
    The fixed point number does not change in precision whether the range for the strain measurement is set at +/- 7.8mV/V or +/-64mV/V (the two available options).
    As you may notice from the fix-point definition, the fixed point data contains 32-bit precision which is larger than the acquired precision of 24-bits provided by the 9219. The fixed point data-type is coded to accept input encompassing both the range and precision of the instrument; such that, no additional coercion of the input data values is required based on user-defined software settings, i.e. the bridge sensitivities +/- 7.8mV/V or +/-64mV/V. 
    As the fixed point number doesn't change precision I'm assuming that changing the range of the strain measurement changes the resolution of the acquired number? And as such I will need to perform additional scaling on the fixed point number to convert it to the expected range?
    The documentation does not clearly define that by varying the discrete levels of strain input (+/- 7.8mV/V or +/-64mV/V) the range of the ADC on the module is also adjusted. I am working to follow up further on this topic, to provide a clarification on the module documentation. As for scaling, the voltage values acquired regardless of the ADC resolution will still be related strain via the bridge sensitivity. The resolution of the ADC will simply define the smallest measurable change in the strain value. 
    There is no mention of scaling of the voltage or strain measurements mentioned in any documentation or examples, with the only scaling example provided for the thermocouple measurements.
    For converting the acquired voltage values to a strain measurement, I would recommend the documentation linked here for a detailed explanation on strain calculation. Often, users will forward the acquired voltage data as fixed point values through a DMA FIFO to the RT controller on the Compact RIO; such that, they may handle conversion from voltage to strain using floating point math in real-time. 
    I hopes these responses provided a bit of clarity. I will continue to work to provide additional information on the 9219 specification information. Please post back any further questions.
    Cheers!
     Edit: Forgot to add the link.
    Message Edited by Pcorcs on 04-14-2010 04:55 PM
    Patrick Corcoran
    Application Engineering Specialist | Control
    National Instruments

  • Issue with share point 2007 website performance

    Hi,
    we have a sharepoint 2007 farm implemented in our organization. We have 2 web servers running over NLB, 1 application server and 2 SQL 2005 database servers in clustered mode. We are facing a strange issue from the past one week with the performance of the
    website deployed from sharepoint. Iam mentioning it as starange because there was no change in any kind of configuration from the server lervel or from the application or databasde level. the performance of the server also seems perfectly alright the only
    error i keep getting is event id 5010 "the application pool of sharepoint website has failed to respond to a ping" and then the application pool hangs and my website goes down. This issue is repeated atleast twice in an hour.
    I would be very thankful if any one can please suggest me what has to be done in order to mitigate this issue.
    Thanks in advance.

    Hi,
    There's a post in MSDN that helps you to understand what's happening:
    http://blogs.msdn.com/b/pfedev/archive/2012/09/30/troubleshooting-event-id-5010-iis-application-pool-availability.aspx
    Rodrigo A. Romano - SharePoint Server MVP - http://rodrigoromano.net

  • Conversion issues with decimal points from v5.1.5 to XI

    Several reports which were converted from v5.1.5 full client to XI Webi have numeric differences. When comparing v5.1.5  to XI, the sums on the columns don't exactly match. The cell format on these numbers is set to eight decimal points. When we converted, I noticed the cell format changed from number 0.00000000 in 5.1.5 to custom 0.00000000 in XI. I don't know if this is the reason the sums don't match or if it's something else.

    Hello Ellen,
    as you refer to a Webi problem I recommend to post this query to the [BusinessObjects Web Intelligence|SAP BusinessObjects Web Intelligence; forum.
    This forum is dedicated to topics related to the creation and design of Web Intelligence documents using the Web Intelligence Report Panels. This includes areas such as universe connectivity, prompts, charting, formatting, filters, and formulas.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Webi queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Issue with setting float point in Textfield

    hi
    i have an issue with float input in a textfield.
    what i want to do is.
    when the user start typing numerics it should accept from right hand side and keep appending value from right hand side.
    for ex
    if i want to enter 123.45
    user starts entering
    1 then it should display as 0.01
    2 then it should display as 0.12
    3 then it should display as 1.23
    4 then it should display as 12.34
    5 then it should display as 123.45
    to achive this i have written the code as below
    public class Test{
         public static void main(String[] a){
         try {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    } catch (Exception evt) {}
    DecimalFormat format = new DecimalFormat();
    format.setGroupingUsed(true);
    format.setGroupingSize(3);
    format.setParseIntegerOnly(false);
    JFrame f = new JFrame("Numeric Text Field Example");
    final DecimalFormateGen tf = new DecimalFormateGen(10, format);
    // tf.setValue((double) 123456.789);
    tf.setHorizontalAlignment(SwingConstants.RIGHT);
    JLabel lbl = new JLabel("Type a number: ");
    f.getContentPane().add(tf, "East");
    f.getContentPane().add(lbl, "West");
    tf.addKeyListener(new KeyAdapter(){
         public void keyReleased(KeyEvent ke){
              char ch = ke.getKeyChar();
              char key;
              int finalres =0;
              String str,str1 = null,str2 =null,str3 = null,str4= null;
              if(ke.getKeyChar() == KeyEvent.VK_0 || ke.getKeyChar() == KeyEvent.VK_0 ||
                        ke.getKeyChar() == KeyEvent.VK_0 || ke.getKeyChar() == KeyEvent.VK_1 || ke.getKeyChar() == KeyEvent.VK_2 ||
                             ke.getKeyChar() == KeyEvent.VK_3 || ke.getKeyChar() == KeyEvent.VK_4 || ke.getKeyChar() == KeyEvent.VK_5 ||
                             ke.getKeyChar() == KeyEvent.VK_6 || ke.getKeyChar() == KeyEvent.VK_7 || ke.getKeyChar() == KeyEvent.VK_8 ||
                             ke.getKeyChar() == KeyEvent.VK_9 ){
                   double value1 = Double.parseDouble(tf.getText());
                   int position = tf.getCaretPosition();
                   if(tf.getText().length() == 1){
                        if(tf.getText() != null || tf.getText() != ""){
                        value1 = value1 / 100;
                        tf.setText(String.valueOf(value1));
                   /*else if(tf.getText().length() == 3){
                        str = tf.getText();
                        for(int i=0;i<str.length();i++){
                             if(str.charAt(i) == '.'){
                                  str1 = str.substring(0,i);
                                  str2 = str.substring(i+1,str.length()-1);
                                  break;
                        key = ke.getKeyChar();
                        finalres = calculate.calculate1(str2,key);
                        str3 = merge.merge1(str1,finalres);
                        tf.setText(str3);
                        System.out.println(key);
                        System.out.println(str1);
                        System.out.println(str2);
                   else{
                        value1 = Float.parseFloat(tf.getText());
                        value1 = value1*10;
                        tf.setText(String.valueOf(value1));
    tf.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    try {
    tf.normalize();
    Long l = tf.getLongValue();
    System.out.println("Value is (Long)" + l);
    } catch (ParseException e1) {
    try {
    Double d = tf.getDoubleValue();
    System.out.println("Value is (Double)" + d);
    } catch (ParseException e2) {
    System.out.println(e2);
    f.pack();
    f.setVisible(true);
    import javax.swing.JTextField;
    * Created on May 25, 2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    * @author jagjeevanreddyg
    * TODO To change the template for this generated type comment go to
    * Window - Preferences - Java - Code Style - Code Templates
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.text.DecimalFormat;
    import java.text.ParseException;
    import java.text.ParsePosition;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.UIManager;
    import javax.swing.text.AbstractDocument;
    import javax.swing.text.AttributeSet;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.Document;
    import javax.swing.text.PlainDocument;
    import javax.swing.text.AbstractDocument.Content;
    public class DecimalFormateGen extends JTextField implements
    NumericPlainDocument.InsertErrorListener {
         public DecimalFormateGen() {
         this(null, 0, null);
         public DecimalFormateGen(String text, int columns, DecimalFormat format) {
         super(null, text, columns);
         NumericPlainDocument numericDoc = (NumericPlainDocument) getDocument();
         if (format != null) {
         numericDoc.setFormat(format);
         numericDoc.addInsertErrorListener(this);
         public DecimalFormateGen(int columns, DecimalFormat format) {
         this(null, columns, format);
         public DecimalFormateGen(String text) {
         this(text, 0, null);
         public DecimalFormateGen(String text, int columns) {
         this(text, columns, null);
         public void setFormat(DecimalFormat format) {
         ((NumericPlainDocument) getDocument()).setFormat(format);
         public DecimalFormat getFormat() {
         return ((NumericPlainDocument) getDocument()).getFormat();
         public void formatChanged() {
         // Notify change of format attributes.
         setFormat(getFormat());
         // Methods to get the field value
         public Long getLongValue() throws ParseException {
         return ((NumericPlainDocument) getDocument()).getLongValue();
         public Double getDoubleValue() throws ParseException {
         return ((NumericPlainDocument) getDocument()).getDoubleValue();
         public Number getNumberValue() throws ParseException {
         return ((NumericPlainDocument) getDocument()).getNumberValue();
         // Methods to install numeric values
         public void setValue(Number number) {
         setText(getFormat().format(number));
         public void setValue(long l) {
         setText(getFormat().format(l));
         public void setValue(double d) {
         setText(getFormat().format(d));
         public void normalize() throws ParseException {
         // format the value according to the format string
         setText(getFormat().format(getNumberValue()));
         // Override to handle insertion error
         public void insertFailed(NumericPlainDocument doc, int offset, String str,
         AttributeSet a) {
         // By default, just beep
         Toolkit.getDefaultToolkit().beep();
         // Method to create default model
         protected Document createDefaultModel() {
         return new NumericPlainDocument();
         // Test code
         public static void main(String[] args) {
         try {
         UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
         } catch (Exception evt) {}
         DecimalFormat format = new DecimalFormat("#,###.###");
         format.setGroupingUsed(true);
         format.setGroupingSize(3);
         format.setParseIntegerOnly(false);
         JFrame f = new JFrame("Numeric Text Field Example");
         final DecimalFormateGen tf = new DecimalFormateGen(10, format);
         tf.setValue((double) 123456.789);
         JLabel lbl = new JLabel("Type a number: ");
         f.getContentPane().add(tf, "East");
         f.getContentPane().add(lbl, "West");
         tf.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent evt) {
         try {
         tf.normalize();
         Long l = tf.getLongValue();
         System.out.println("Value is (Long)" + l);
         } catch (ParseException e1) {
         try {
         Double d = tf.getDoubleValue();
         System.out.println("Value is (Double)" + d);
         } catch (ParseException e2) {
         System.out.println(e2);
         f.pack();
         f.setVisible(true);
         class NumericPlainDocument extends PlainDocument {
         public NumericPlainDocument() {
         setFormat(null);
         public NumericPlainDocument(DecimalFormat format) {
         setFormat(format);
         public NumericPlainDocument(AbstractDocument.Content content,
         DecimalFormat format) {
         super(content);
         setFormat(format);
         try {
         format
         .parseObject(content.getString(0, content.length()), parsePos);
         } catch (Exception e) {
         throw new IllegalArgumentException(
         "Initial content not a valid number");
         if (parsePos.getIndex() != content.length() - 1) {
         throw new IllegalArgumentException(
         "Initial content not a valid number");
         public void setFormat(DecimalFormat fmt) {
         this.format = fmt != null ? fmt : (DecimalFormat) defaultFormat.clone();
         decimalSeparator = format.getDecimalFormatSymbols()
         .getDecimalSeparator();
         groupingSeparator = format.getDecimalFormatSymbols()
         .getGroupingSeparator();
         positivePrefix = format.getPositivePrefix();
         positivePrefixLen = positivePrefix.length();
         negativePrefix = format.getNegativePrefix();
         negativePrefixLen = negativePrefix.length();
         positiveSuffix = format.getPositiveSuffix();
         positiveSuffixLen = positiveSuffix.length();
         negativeSuffix = format.getNegativeSuffix();
         negativeSuffixLen = negativeSuffix.length();
         public DecimalFormat getFormat() {
         return format;
         public Number getNumberValue() throws ParseException {
         try {
         String content = getText(0, getLength());
         parsePos.setIndex(0);
         Number result = format.parse(content, parsePos);
         if (parsePos.getIndex() != getLength()) {
         throw new ParseException("Not a valid number: " + content, 0);
         return result;
         } catch (BadLocationException e) {
         throw new ParseException("Not a valid number", 0);
         public Long getLongValue() throws ParseException {
         Number result = getNumberValue();
         if ((result instanceof Long) == false) {
         throw new ParseException("Not a valid long", 0);
         return (Long) result;
         public Double getDoubleValue() throws ParseException {
         Number result = getNumberValue();
         if ((result instanceof Long) == false
         && (result instanceof Double) == false) {
         throw new ParseException("Not a valid double", 0);
         if (result instanceof Long) {
         result = new Double(result.doubleValue());
         return (Double) result;
         public void insertString(int offset, String str, AttributeSet a)
         throws BadLocationException {
         if (str == null || str.length() == 0) {
         return;
         Content content = getContent();
         int length = content.length();
         int originalLength = length;
         parsePos.setIndex(0);
         // Create the result of inserting the new data,
         // but ignore the trailing newline
         String targetString = content.getString(0, offset) + str
         + content.getString(offset, length - offset - 1);
         // Parse the input string and check for errors
         do {
         boolean gotPositive = targetString.startsWith(positivePrefix);
         boolean gotNegative = targetString.startsWith(negativePrefix);
         length = targetString.length();
         // If we have a valid prefix, the parse fails if the
         // suffix is not present and the error is reported
         // at index 0. So, we need to add the appropriate
         // suffix if it is not present at this point.
         if (gotPositive == true || gotNegative == true) {
         String suffix;
         int suffixLength;
         int prefixLength;
         if (gotPositive == true && gotNegative == true) {
         // This happens if one is the leading part of
         // the other - e.g. if one is "(" and the other "(("
         if (positivePrefixLen > negativePrefixLen) {
         gotNegative = false;
         } else {
         gotPositive = false;
         if (gotPositive == true) {
         suffix = positiveSuffix;
         suffixLength = positiveSuffixLen;
         prefixLength = positivePrefixLen;
         } else {
         // Must have the negative prefix
         suffix = negativeSuffix;
         suffixLength = negativeSuffixLen;
         prefixLength = negativePrefixLen;
         // If the string consists of the prefix alone,
         // do nothing, or the result won't parse.
         if (length == prefixLength) {
         break;
         // We can't just add the suffix, because part of it
         // may already be there. For example, suppose the
         // negative prefix is "(" and the negative suffix is
         // "$)". If the user has typed "(345$", then it is not
         // correct to add "$)". Instead, only the missing part
         // should be added, in this case ")".
         if (targetString.endsWith(suffix) == false) {
         int i;
         for (i = suffixLength - 1; i > 0; i--) {
         if (targetString
         .regionMatches(length - i, suffix, 0, i)) {
         targetString += suffix.substring(i);
         break;
         if (i == 0) {
         // None of the suffix was present
         targetString += suffix;
         length = targetString.length();
         format.parse(targetString, parsePos);
         int endIndex = parsePos.getIndex();
         if (endIndex == length) {
         break; // Number is acceptable
         // Parse ended early
         // Since incomplete numbers don't always parse, try
         // to work out what went wrong.
         // First check for an incomplete positive prefix
         if (positivePrefixLen > 0 && endIndex < positivePrefixLen
         && length <= positivePrefixLen
         && targetString.regionMatches(0, positivePrefix, 0, length)) {
         break; // Accept for now
         // Next check for an incomplete negative prefix
         if (negativePrefixLen > 0 && endIndex < negativePrefixLen
         && length <= negativePrefixLen
         && targetString.regionMatches(0, negativePrefix, 0, length)) {
         break; // Accept for now
         // Allow a number that ends with the group
         // or decimal separator, if these are in use
         char lastChar = targetString.charAt(originalLength - 1);
         int decimalIndex = targetString.indexOf(decimalSeparator);
         if (format.isGroupingUsed() && lastChar == groupingSeparator
         && decimalIndex == -1) {
         // Allow a "," but only in integer part
         break;
         if (format.isParseIntegerOnly() == false
         && lastChar == decimalSeparator
         && decimalIndex == originalLength - 1) {
         // Allow a ".", but only one
         break;
         // No more corrections to make: must be an error
         if (errorListener != null) {
         errorListener.insertFailed(this, offset, str, a);
         return;
         } while (true == false);
         // Finally, add to the model
         super.insertString(offset, str, a);
         public void addInsertErrorListener(InsertErrorListener l) {
         if (errorListener == null) {
         errorListener = l;
         return;
         throw new IllegalArgumentException(
         "InsertErrorListener already registered");
         public void removeInsertErrorListener(InsertErrorListener l) {
         if (errorListener == l) {
         errorListener = null;
         public interface InsertErrorListener {
         public abstract void insertFailed(NumericPlainDocument doc, int offset,
         String str, AttributeSet a);
         protected InsertErrorListener errorListener;
         protected DecimalFormat format;
         protected char decimalSeparator;
         protected char groupingSeparator;
         protected String positivePrefix;
         protected String negativePrefix;
         protected int positivePrefixLen;
         protected int negativePrefixLen;
         protected String positiveSuffix;
         protected String negativeSuffix;
         protected int positiveSuffixLen;
         protected int negativeSuffixLen;
         protected ParsePosition parsePos = new ParsePosition(0);
         protected static DecimalFormat defaultFormat = new DecimalFormat();
    this is not working as desired pls help me.
    can we use this code and get the desired result or is there any other way to do this.
    it is very urgent for me pls help immediately
    thanks in advance

    Hi camickr
    i learned how to format the code now, and u also responded for my testarea problem , iam very much thankful to u, and now i repeat the same problem what i have with a text field.
    actually i have window with a textfield on it and while end user starts entering data in it , it should be have as follows
    when the user start typing numerics it should accept from right hand side and keep appending value from right hand side.
    first the default value should be as 0.00 and as the user starts entering
    then it is as follows
    for ex
    if i want to enter 123.45
    user starts entering
    1 then it should display as 0.01
    2 then it should display as 0.12
    3 then it should display as 1.23
    4 then it should display as 12.34
    5 then it should display as 123.45
    i hope u will give me quick reply because this is very hard time for me.

  • Font smoothing issues with Samsun 23 inch LCD

    I am having a font smoothing issue with my MacBook and my Samsung LN-S2352W 23 inch LCD (http://www.samsung.com/Products/TV/LCDTV/LNS2352WXXAA.asp). I am using the mini-DVI to VGA adapter and the plugging that into the VGA port of my LCD. It doesn't matter which app I run, but as long as it has fonts, they come out blurry, hazy, colors bleed, etc.
    I have played with the font smoothing settings and that has not helped at all. I have heard of TinkerTool and will try it to see if it makes any difference, but am not expecting much.
    I also have a PC running Windows Vista and I connected it to the VGA port of my LCD. Wow...the difference in picture quality was astounding. I'm ******. I want my MacBook to look that sweet on my LCD.
    Anyone have any thoughts? Can this be fixed?

    TinkerTool didn't make any difference for me. I played around with it and found that there was no improvements using it or disabling font smoothing.
    I have watched DVD's on this LCD being played with my MacBook. I have seen 2MB+ full screen digital pictures. Both the DVD and digital pics look absolutely amazing on it.
    It's only the fonts that appear blurry or in some areas they appear to have a shadown to the right. This happens with any text that appears in every app.
    Keep in mind too, Windows Vista looks perfect on this display, but my prized MacBook looks really sub-par.
    I'm not quite following you on changing the display preferences to change to pixel size to that of the MacBook...

  • Keyboard issue with cursor jumping to point on the page when typing

    When I type on my notebook keyboard (HP Pavilion dv6-6167cl) it frequently jumps somewhere else in the area where I previously typed causing me to stop and correct what it did and move back to where I intended to type.  I have the latest driver for my Synaptics Touchpad driver already.  Any idea why this happens.  This is my second laptop, different manufacturers where I've had this same problem so I'm beginning to think it's a common issue with notebooks.  Any suggestions?  Thanks.

    tdunnusa,
    It may be inherent to the way in which you use the devices (keyboard and Touch/ClickPad).  Maybe not ... the drivers are not perfect.  We can all attest to adventures with Clickpad mystery entries..
    Depending on the level of touch sensitivity (located under Pointing)
    AND the level in the PalmCheck-Enhanced ACM setting, things can get a bit weird;  even touching the surface lightly can set the mouse cursor off course.
    Consider / try the following:
    In your Synaptics Settings > Properties,
    Open the Pointing section,
    Click on Sensitivity (to highlight) >> click on Spikey blue wheel (Sensitivity settings) >
    Set the sensitivity level way over to the right side (Less sensitive)
    Apply
    Next:
    Click to Open PalmCheck-Enhanced ACM  >> click on Spikey blue wheel (settings)
    Slide the PalmCheck over to the RIGHT to Max
    Apply
    Youcan adjust the Advanced filter zone - that is, control where  you can use the TouchPad for certain gestures and how long it takes for the zone to activate.   This can help for particular kinds of gestures, though it won't help for accidentally contact like brushing the surface with the palm of your hand.
    These settings, when set to maximum,are likely too extreme - they may give you an idea whether the issue is related to how you are using the TouchPad.
    Kind Regards,
    Dragon-Fur

  • I just recently up graded from AI CS6 to AI CC and I am having issues with my pen tool. If I create a starting point and then make another point it does not allow me to make the secnd point an end point. The pen tool stays active and I either have to clic

    I just recently up graded from AI CS6 to AI CC and I am having issues with my pen tool. If I create a starting point and then make another point it does not allow me to make the second point an end point. The pen tool stays active and I either have to click to isolate the path or I have to return to the first point and close the path. Please help.

    artisttouch,
    If you cannot close the Pen Tool by switching to another tool, as a temporary measure you may try pressing P (for Pen).
    To solve it, you may try the list.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

  • Not being able to log on because of veriface. and black screen with movable pointer.

    i have s100 ideapad. it's not even a month old yet. my first problem happened last night. i was surfing when the system suddenly went really slow. even the pointer was not moving smoothly. it even came to a point when the screen was all white. i couldn't restart the pc and even exit from the browser. i tried pushing the power button but it did not turn off. it did not even sleep. the 4 lights on the corner were still on. but the screen was all BLACK WITH MOVABLE POINTER. i did not use the OKR, afraid of losing my files. instead, i removed the battery and started it up again. it worked until tonight. i put it into sleep and when i tried to resume it, veriface was not working. i tried to exit from veriface to type my password instead. but it just remained there, a solid black square. i did the same thing i did last night, removed the battery and start it again. and this time, i turned the veriface off. it's the one i'm using right now.  i just don't understand why it is happening. it's not even a month old. and i brought it brand new. can you tell me what the problem may be and give me advice on how to take care of this PC? i don't want my money to got to waste.

    hi paula
    your problem could be hardware/software. lets hope its software issue first and i'd like you to do these:
    if you have personal files on volume c, copy/backup them. shut down your computer, press one key recover button to perform clean windows installation. then check if the issue still persists.
    if you don,t want to use okr, you can use windows restore to restore your computer to previous restore points but if it's windows/virus issue, it may not help.

  • After several repairs, still having heating issue with MacBook Pro (mid '09)

    EDIT: this post got removed the first time for not being constructive enough. I've now edited the post.
    This is going to be a lengthy post, so bear with me.
    2 months ago, I suddenly noticed my MacBook Pro (medio 2009, 15", 4GB RAM, GeForce 9400M) heating up a lot harder than usual. I'm familiar with the heating issues these laptops have, but this wasn't normal. Looking at iStat Pro, I saw my fans almost taking off like an airplane at 5700 rpm, while watching only a livestream on my browser. I know Shockwave Flash takes up quite a chunk of your CPU, but I had never encountered this problem beforehand.
    The biggest problem wasn't just the heat or the fans, but the fact that my computer also started reacting rather slowly. Sometimes I'd even get beachballed, or the whole browser stopped responding for half a minute...
    So I tried to see if gaming was still an option. Of course not. I had been playing League of Legends for several months without any issues. Whilst playing, I'd kick up my fans manually to about 4000 rpm, and they'd stay there throughout the whole game. Now, when I start up the game, it plays smoothly for the first 2 minutes. After the temperatures rise to a critical level, the fans start spinning up to 5700 rpm, and the whole game plays like a powerpoint presentation.
    On a sidenote: it sort of 'lags' every 1-2 seconds, and sometimes, after a long period, the game acts somewhat normal again (20 mins). This game uses wine to run, which isn't the most optimal way. So I tried playing Team Fortress 2, too. Probably even worse results! (but again noticeable 1-2 second interval lags)
    Before anyone starts screaming: "Don't use your Mac for gaming!" etc., I wish to point out that these two games had been running perfectly for the past few months/years. Something's definitely wrong.
    After looking for some solutions myself, I decided to go to an authorized Apple Service in my city. A few days later, they told me my logic board was broken, and I had to pay almost 700 euros ($ 900-1000) to replace it. So I did. I got it back, but it wasn't fixed. Brought it back in. Got it back a week later: "Your new logic board we got from Apple was already broken, but we hadn't noticed. We put a new one in it. It's fixed." Again, same problem.
    We're almost 2 months later and 700 euros poorer, still no result. I've brought it in about 6-7 times now, here's a list of what they've tried so far:
    - In total 3 new logic boards
    - New MagSafe (because they discovered it was giving too much power too my laptop)
    - Fresh re-install
    - Replaced RAM
    - Checked fans etc. (they do this by default)
    - A few tests which proved that it was repaired (but I have my doubts with these tests...)
    They told me now that it's fixed, and they basically won't look into it anymore. I must contact Apple myself, if I wasn't satisfied. The tests they performed showed no signs of heating issues. (One of the tests was playing 4 1080p movies at the same time. When I watch a 1080p movie on Youtube, my laptop is taking off like a plane) They ran a stress test all night long, showing no temperatures above 98°C. I got it up to 105°C in a few minutes according to iStat Pro.
    They advised me to install Mountain Lion, which would make the issues with "high-performance sites" go away. I haven't seen much improvement, though.
    This whole experience has been quite frustrating, especially now that I'm gonna need my laptop for University again. Isn't there anything I can do? I've paid almost 700 euros and missed my laptop for 2 months, without any results.
    I've got more information regarding the issues if needed, ask away. I'm getting desperate.
    I've been browsing around the support communites, and found that a lot of people are having issues since they upgraded to OS X Lion. Could this be the case? Should I try downgrading to Snow Leopard?
    I've also found a few topics on refreshing the cooling pasta on the heatsink. Would they have noticed any problems with this after replacing the Logic Board several times? Or should I check it myself? I'm not too keen on opening up my laptop myself...
    Nick.

    Thought of buying Parallels? Fusion?
    Might want to see if this gets moved to the MacBook Pro forum.
    I'd think Windows 8.1 is smart enough (what I use 90% time since the Dev Preview came out couple yrs ago it seems like) to find the driver.

  • Serious boot issues with Powerbook G3 (Wallstreet II, OS 9.2.2)

    Hello,
    I have major issues with a Powerbook Wallstreet II I got recently. When it's finally running, it works just as well as Wallstreet Powerbooks usually do, no errors, no crashing, smooth performance, everything fine.
    But booting it up is, to put it mildy, a bloody pain. First off, it does not power up, when it's only connected to batteries. I have two of them, both working fine for several hours when put in after bootup, but no matter if I place one or both of them in any bays, nothing happens when pressing or holding the power button (apart from screen flickering and speaker crackling). I'm always forced to connect the power adapter, which immediatly (without pressing the power button) causes the power LED to light and the cooling fan insanely spins up for a mere couple of split seconds until everything wents silent again.
    Having reached this point, I can disconnect the power supply (if at least one battery is in) and usually hear a nice "BONG" when pressing the power button once again. Thereafter, nothing happens for a oppressive 30 seconds, then, the screen finally lits and shows the Mac OS 9.2.x splash screen on monochrome background. Sadly, this is already the end of most of my first boot up tries, because at this point, I usually get told by a dialogbox that a bus error has just happened. The box also has a nice "Reboot" button, which I cannot click as the trackpad hangs as well.
    Pressing ShiftFn+CrtlPower works here in about one out of three time, so in most cases, I have to go through the same procedure. Pull out power sources, give a shot via PSU, have it iddling for 30 secs. In most cases, this second try lets me pass splash screen, loader, yes, it even lets me see the desktop, the taskbar, the HDD icon and... pouf. Success is so close but no, it has to suddenly drop into sleep mode and
    a short press on power proves the apprehension true, that it won't be easy to wake it up again. Hrmph. But I don't give that easily. So pulling everthing out for the second time, connect PSU for the third time and look there, it fully boots.
    Three tries to successfully boot is about average at first try series. Afterwards, it seems to be "warmed up" and things get easier. I made a log recently with 5 test series, made at very frequent intervals:
    Series 1:
    1. Bootup: Bus Failure (Hard reboot fails) (bays empty)
    2. Bootup: Sleep Mode (bays empty)
    3. Bootup: Sleep Mode (bays empty)
    4. Bootup: Sleep Mode (both batteries)
    5. Bootup: Bus Failure (Hard reboot successful)(both batteries)
    6. Bootup: Success (left battery, right bay empty)
    Series 2:
    1. Bootup: Success(left battery, right bay empty)
    Series 3:
    1. Bootup: Bus Failure (!!!) (left battery, right bay empty)
    2. Bootup: Success (bays empty)
    Series 4:
    1. Bootup Success (left bay empty, right battery)
    Series 5:
    1. Bootup Success (both batteries)
    Thanks in advance for any helpful suggestions.

    jpl,
    Thank you for continuative support.
    If you plan on buying a 256MB memory module, the Wallstreet requires
    a 256 specifically made for it (and the early iMac
    and Lombard). Modules 128MB and smaller can be
    generic if they meet the Wallstreet's specs.
    Thanks for this information.
    You might find it useful to disassemble the 'book to the PMU, carefully remove/reseat the PMU card, then test.
    Well, to be honest, I don't have the time to perform this very labour-intensive work. However, I pulled out the large PMU connector (the one that can be reached by lifting the keyboard) and reseated it, without any results. Shouldn't that suffice? Or is there another connection that could need maintenance?
    Regarding sleep: There is no display position sensor, only a simple magnet in the right display bezel approximately 4" from the bottom...you can stick a paperclip to it. When the display closes, it triggers a sleep switch located next to the delete key in the side rail.
    Ah, okay.
    According to Apple, if the powerbook will not run on battery, it could be the charge card or PMU board or power supply card or logic board. However, your 'book apparently runs on battery once started via power adapter.
    Actually, it does not allow me to power up, if I attach the adapter right after an unsuccessful try to operate from battery. Even if I remove the batteries (after adapter connection).
    It's like it is "crashed" before it's even running. Which means, I have to pull all power sources to be able to perform the resuscitating power up via adaptor.
    A normal power manager reset on the Wallstreet is this:
    1. If the computer is on, turn it off.
    2. Simultaneously press Shift-Fn (function)-Ctrl >(control)-Power.
    3. Wait 5 seconds.
    4. Press the Power button to restart the PowerBook >computer.
    A successful reset will briefly flash the sleep light plus >spin up the fan for a second. If a reset does not solve the >startup and sleep issues, then you will have to look >elsewhere.
    I can see the sleep LED and I do hear the fan, however, this didn't help in most cases. After perfoming this action (in a freeze situation), I usually only got rattling noises out of the speakers or screen flashes when trying to power up.
    Be sure the powerbook only freezes when closing the display to sleep it.
    Well, I noticed it sometimes also freezes when left idle directly after start up (and power save is activated). Later, it comes right back again.
    - Is the sleep light blinking before you open the display?
    Yes.
    - When the display is opened, does the sleep light continue to blink? (It should.)
    Yes.
    - When you press the power button, do you hear a 'buzz' or some similar noise? If you do, you may have another issue to explore.
    No. I usually only hear speaker noise when trying to power up from battery. But oddly enough, the lenght of the sleep light blinks changes when power button is hold down in "frozen sleep".
    I would also go to the System Folder > Preferences folder and drag the Energy Saver Preferences to the Trash, close all windows, then restart...a new preference file will be created on restart. You can reset the Energy Saver to your like, then test sleep.
    Done.
    -Does sleep/wake always work when NOT closing the display? Try this after resetting the power manager and trashing the pref file mentioned below.
    If I initiate sleep, yes. If it suspends automatically, well, usually. But not always (see above).

  • Issues with windows 7 ram on a gd65 mobo

    Hi all, i recently upgraded my pc after my old asus mobo died on me.  I found a good deal with a gd65, i5 750, and 4 x2 gigs of ram on newegg as a package deal.  I was looking around on windows and it says i have 8 gigs of ram but only 2.99 is available to utilize.... . I have done some searching around the net and these forums for for a fix to this problem, i hear the foxcon socket may be an issues (i do not know which socket type i have or how to tell).  I also saw that in the 1.5 bios update they fixed something with the mobo recognizing 8 gigs of ram, which brings me to my point!
    Should I update my bios, i am currently running in 1.0.  So the question is, is the bios version causing this issue with the ram?  On a side note i originally only had 2 x2 gigs of ram and it had 2 registered and 1 available.  Any help would be greatly appreciated, and here is my system info so that you can better help me
    Operating System: Windows 7 Professional 64-bit
    Memory: G.SKILL Trident 4GB (2 x 2GB)
    Processor: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz (4 CPUs), ~2.7GHz
    Video Card: NVIDIA GeForce 9800 GTX/9800 GTX+ (EVGA)
    HDD:  WD 74gig raptor, WD 160gig
    If i should update what can i do to make sure it goes as smooth as possible?  Any help at all or a link to something helpful would be great thanks!

    Yes, it is a BIOS detection problem. Update it to v1.5 to solve the problem.
    http://www.msi.com/index.php?func=downloaddetail&type=bios&maincat_no=1&prod_no=1846
    Please >>Use the MSI HQ Forum USB flasher<< to flash your BIOS.

Maybe you are looking for