Hang when using UIManager.getSystemLookAndFeelClassName() and JFileChooser

i encountered this wierd problem when i used UIManager.getSystemLookAndFeelClassName() and JFileChooser on a machine with win2002 (no service pack installed) and on another machine with winxp (no service pack installed). the code works perfectly fine with other pc but apparently our client did something to make it hang whenever either of these were called. i was just wondering how this can happen since its no longer a code problem but rather betwen java and windows. our program runs on java 1.4.x.
for more info about this problem here's a simple test program that doesnt work on the said machines:
=== code start ===
import java.io.File;
import javax.swing.JFileChooser;
import javax.swing.UIManager;
public class Test {
public static void main(String[] args) throws Exception {
// this portion works fine. this is to prove that there is no problem with IO on java
File file = new File(".");
String files[] = file.list();
System.out.println(file.getAbsolutePath());
for(int i=0;i<files.length;i++)
System.out.println(files);
// program hangs on this part. see thread dump of JFileChooser below
System.out.println("init JFileChooser");
JFileChooser fileChooser = new JFileChooser ();
// when code above is commented out, program also hangs on this part. see thread dump of UIManager below
System.out.println("init UILookAndFeel");
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
System.out.println("done");
=== code end ===
thread dump of JFileChooser:
=== thead dump start ===
Full thread dump Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode):
"AWT-Windows" daemon prio=7 tid=0x02e2ebb8 nid=0x93c runnable [70bf000..70bfd8c]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:262)
at java.lang.Thread.run(Thread.java:534)
"Signal Dispatcher" daemon prio=10 tid=0x009c8da8 nid=0xa74 waiting on condition [0..0]
"Finalizer" daemon prio=9 tid=0x00990a10 nid=0x860 in Object.wait() [2b4f000..2b4fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <0x105103a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
- locked <0x105103a8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x0098f5e0 nid=0xa6c in Object.wait() [2b0f000..2b0fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <0x10510410> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:429)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
- locked <0x10510410> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x00034a88 nid=0xa64 runnable [7e000..7fc3c]
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
- locked <0x14199820> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:797)
at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:643)
at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:53)
at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:262)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:256)
- locked <0x10510430> (a sun.awt.Win32GraphicsEnvironment)
at sun.java2d.SunGraphicsEnvironment.mapFontName(SunGraphicsEnvironment.java:504)
at java.awt.Font.initializeFont(Font.java:312)
at java.awt.Font.<init>(Font.java:344)
at sun.awt.windows.WDesktopProperties.setFontProperty(WDesktopProperties.java:157)
- locked <0x105367f8> (a sun.awt.windows.WDesktopProperties)
at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native Method)
at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
at sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:876)
at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1569)
- locked <0x105367c0> (a sun.awt.windows.WToolkit)
at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:208)
at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:335)
at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:649)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:214)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:130)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:152)
at javax.swing.JComponent.setUI(JComponent.java:449)
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1701)
at javax.swing.JFileChooser.setup(JFileChooser.java:345)
at javax.swing.JFileChooser.<init>(JFileChooser.java:320)
at javax.swing.JFileChooser.<init>(JFileChooser.java:273)
at Test.main(Test.java:26)
"VM Thread" prio=5 tid=0x009c76e8 nid=0xa68 runnable
"VM Periodic Task Thread" prio=10 tid=0x009cb5c8 nid=0x9d0 waiting on condition
"Suspend Checker Thread" prio=10 tid=0x009c8460 nid=0xa70 runnable
=== thead dump ends ===
thread dump of UIManager:
=== thead dump start ===
Full thread dump Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode):
"AWT-Windows" daemon prio=7 tid=0x02e29d88 nid=0x960 runnable [725f000..725fd8c]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:262)
at java.lang.Thread.run(Thread.java:534)
"Signal Dispatcher" daemon prio=10 tid=0x009c8da8 nid=0x2a8 waiting on condition [0..0]
"Finalizer" daemon prio=9 tid=0x00990a10 nid=0x784 in Object.wait() [2b4f000..2b4fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <0x1050f430> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
- locked <0x1050f430> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x0098f5e0 nid=0x350 in Object.wait() [2b0f000..2b0fd8c]
at java.lang.Object.wait(Native Method)
- waiting on <0x1050f498> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:429)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
- locked <0x1050f498> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x00034a88 nid=0x934 runnable [7e000..7fc3c]
at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
- locked <0x141ed340> (a java.lang.Class)
at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:797)
at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:643)
at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:53)
at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:262)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:256)
- locked <0x1050f4a0> (a sun.awt.Win32GraphicsEnvironment)
at sun.java2d.SunGraphicsEnvironment.mapFontName(SunGraphicsEnvironment.java:504)
at java.awt.Font.initializeFont(Font.java:312)
at java.awt.Font.<init>(Font.java:344)
at sun.awt.windows.WDesktopProperties.setFontProperty(WDesktopProperties.java:157)
- locked <0x10534da8> (a sun.awt.windows.WDesktopProperties)
at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native Method)
at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
at sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:876)
at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1569)
- locked <0x1050f268> (a sun.awt.windows.WToolkit)
at com.sun.java.swing.plaf.windows.XPStyle.getXP(XPStyle.java:75)
- locked <0x1427fd50> (a java.lang.Class)
at com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.<init>(WindowsTreeUI.java:123)
at com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.createExpandedIcon(WindowsTreeUI.java:127)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDefaults(WindowsLookAndFeel.java:309)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:81)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:394)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
at Test.main(Test.java:23)
"VM Thread" prio=5 tid=0x009c76e8 nid=0x92c runnable
"VM Periodic Task Thread" prio=10 tid=0x009cb5c8 nid=0x944 waiting on condition
"Suspend Checker Thread" prio=10 tid=0x009c8460 nid=0x940 runnable
=== thead dump ends ===
hope someone can clarify me with this wierd anomaly.
thanks.
- ian
[email protected]

Try to move the following line of ur code to the first statement in main()
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
public static void main(String[] args) throws Exception {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}

Similar Messages

  • WLS 8.1 hanging when using XA

    I am having an issue with BEA 8.1 hanging when using XA. I have configured it
    on several other Windows 2000 machines and not seen an issue. This particular
    machine seems to hang and then give a time out error. ANy suggestions would
    be appreciated. Below is the error that I am getting back and a thread dump.
    java.lang.Exception: Exception while commiting Tx : Name=[EJB com.level3.ds9.business.ejb.SearchEJB.getLocations(java.lang.String,com.level3.ds9.common.L3Environment)],Xid=BEA1-001E3F8C31D9BB58DEB7(18601996),Status=Unknown,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=122,seconds left=2878,XAServerResourceInfo[lidPool]=(ServerResourceInfo[lidPool]=(state=new,assigned=none),xar=null),SCInfo[mydomain+brettjason]=(state=active),SCInfo[ds9FT+ds9server3]=(state=active),properties=({weblogic.transaction.name=[EJB
    com.level3.ds9.business.ejb.SearchEJB.getLocations(java.lang.String,com.level3.ds9.common.L3Environment)]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=brettjason+10.1.44.74:7001+mydomain+t3+,
    XAResources={},NonXAResources={})],CoordinatorURL=ds9server3+10.1.19.141:7001+ds9FT+t3+);
    nested exception is: javax.transaction.SystemException: Timeout during commit
    processing
    Exception while commiting Tx : Name=[EJB com.level3.ds9.business.ejb.SearchEJB.getLocations(java.lang.String,com.level3.ds9.common.L3Environment)],Xid=BEA1-001E3F8C31D9BB58DEB7(18601996),Status=Unknown,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=122,seconds left=2878,XAServerResourceInfo[lidPool]=(ServerResourceInfo[lidPool]=(state=new,assigned=none),xar=null),SCInfo[mydomain+brettjason]=(state=active),SCInfo[ds9FT+ds9server3]=(state=active),properties=({weblogic.transaction.name=[EJB
    com.level3.ds9.business.ejb.SearchEJB.getLocations(java.lang.String,com.level3.ds9.common.L3Environment)]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=brettjason+10.1.44.74:7001+mydomain+t3+,
    XAResources={},NonXAResources={})],CoordinatorURL=ds9server3+10.1.19.141:7001+ds9FT+t3+);
    nested exception is: javax.transaction.SystemException: Timeout during commit
    processing
    "ExecuteThread: '12' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x2
    770EB70 nid=0xa34 in Object.wait() [2868f000..2868fd88]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <054801B8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '11' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x2
    76E6858 nid=0x5f8 in Object.wait() [2864f000..2864fd88]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480230> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '10' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x2
    76E5C70 nid=0x670 in Object.wait() [2860f000..2860fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <054802A8> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <054802A8> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '9' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    6E50B0 nid=0x9c8 in Object.wait() [285cf000..285cfd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480320> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480320> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '8' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    71B350 nid=0x9bc in Object.wait() [2858f000..2858fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480398> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480398> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '7' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    71BC10 nid=0x7b8 in Object.wait() [2854f000..2854fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480410> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480410> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '6' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    71D7D8 nid=0x848 in Object.wait() [2850f000..2850fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480488> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480488> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '5' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    71C8F0 nid=0x9dc in Object.wait() [284cf000..284cfd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480500> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480500> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '4' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    71C798 nid=0x824 in Object.wait() [2848f000..2848fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480578> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480578> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '3' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    60B420 nid=0x770 in Object.wait() [2844f000..2844fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <054805F0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <054805F0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '2' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x26
    F9FA10 nid=0xa64 in Object.wait() [2840f000..2840fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480668> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480668> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '1' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x27
    580CC0 nid=0x8d8 in Object.wait() [283cf000..283cfd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <054806E0> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <054806E0> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '0' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x26
    F8F6B0 nid=0x7a0 in Object.wait() [2838f000..2838fd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <05480758> (a weblogic.kernel.ExecuteThread)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
    - locked <05480758> (a weblogic.kernel.ExecuteThread)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "Signal Dispatcher" daemon prio=10 tid=0x008B4850 nid=0x978 waiting on condition
    [0..0]
    "Finalizer" daemon prio=9 tid=0x008FF7F8 nid=0x73c in Object.wait() [26cff000..2
    6cffd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <052A72C8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
    - locked <052A72C8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x008FE370 nid=0xa08 in Object.wait() [26
    cbf000..26cbfd88]
    at java.lang.Object.wait(Native Method)
    - waiting on <052A7330> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:426)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
    - locked <052A7330> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x002358F8 nid=0x8a8 in Object.wait() [6f000..6fc40]
    at java.lang.Object.wait(Native Method)
    - waiting on <052A7508> (a weblogic.t3.srvr.T3Srvr)
    at java.lang.Object.wait(Object.java:426)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1170)
    - locked <052A7508> (a weblogic.t3.srvr.T3Srvr)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:384)
    at weblogic.Server.main(Server.java:32)
    "VM Thread" prio=5 tid=0x008FD138 nid=0x88c runnable
    "VM Periodic Task Thread" prio=10 tid=0x008B3390 nid=0x8bc waiting on condition
    "Suspend Checker Thread" prio=10 tid=0x008B3E68 nid=0x524 runnable

    Running Windows XP (even fully patched up with SP3 and latest fixes), you probably will have an increasing risk of Windows and IE being attacked. Windows XP has been getting security patches every month for over a decade. So it seems likely that people will continue to discover vulnerabilities in Windows XP that, over time, will be exploited (i.e., used in attacks).
    Windows 8.1? For a good experience, you probably would be better off getting a new computer than installing 8.1 on a system that is several years old. I realize not everyone's budget permits.
    What else can you do? It remains useful and important to keep your third party applications, such as Firefox, and your browser add-ons, such as Flash, up-to-date. It's also a good idea to run quality security software. And practice safe browsing habits like avoiding questionable websites and peer-to-peer networking, and being suspicious of email attachments.

  • LabView (8.2) hangs when using I/O operations with traditiona​l NI-DAQ 7.4.4 after aborting LabView program

    Hello!
    We have the following problem:
    LabView (8.2) hangs when using I/O operations with traditional NI-DAQ 7.4.4 after aborting LabView program
    We freshly installed LabView 8.2 (2006) and NI-DAQ 7.4.4 on a PC running Windows XP (Service Pack 3). We built a larger vi that remotely controls a traditional NI-DAQ card (AT-AO-10) on a second PC via NI-VISA 5.0.3. We were successfully running this program until a power failure caused the first computer to crash. After this crash we were unable to start the program again: LabView freezes while loading the vi. LabView itself can be started but freezes when adding I/O operations from the NI-DAQ palette to a block diagram.
    We have tried to re-install NI-DAQ 7.4.4, but it did not help. We then re-installed all NI software, but still no improvement. In the end we decided to reinstall ALL software, first Windows XP, then LabView and finally NI-DAQ 7.4.4. This worked. However, after a few days of running the program we had to abort LabView via Windows Task manager and afterward we again experienced the same problem as before: LabView freezes when loading the program.
    Obviously, we cannot afford to reinstall Windows every time. Are there any known Windows XP / NI-DAQ issues that might cause the freezing of LabView? We would be very grateful for any idea.
    Best regards,
    Matthias

    Hello Sprice,
    Browse the shipping examples according to “Directory Structure” and then select
    DAQ to find the Traditional DAQ examples. 
    There a lot of examples that are written for counters (Counter >>
    daq-stc.llb >> Count Edges (DAQ-STC).vi). 
    What kind of signals are your photons creating?  Are they TTL compatible at a certain
    frequency?  You don’t care about overwriting
    your buffer?
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Satellite L350D - Webcam hangs when using windows messenger

    Does anybody knows this problem, when using windows messenger and the webcam the webcams hangs afther a few seconds..
    Already reinstalled webcamdriver and messenger but the problem still is...

    Did you install the Vista SP1?
    If no, install the SP1 and follow with instruction below
    If yes, try this;
    Start the msconfig and disable the Windows messenger and chicony webcam from automatic loading.
    Just remove the ticks and save the settings.
    Reboot the notebook and check if you can use the webcam together with the messenger.

  • Camera is hanging when using with flash

    Hi Lenovo Team,
    In lenovo vibe x2, camera is hanging when using with flash.Getting "Lenovo snapit isnt responding" error and screen hanged for sometime.after that when tried to open camera "Cannt cannot to camera " error is coming till when restart the phone.
    Even tried Factory reset and software update.
    Please provide the solution for the above issue.
    Thanks,

    Hi vijayprabhu,
    I just tested the X2 however am not having the issue. I set flash to always on then took a picture using SnapIt however its fine.
    Please check if you have the latest firmware S125.
    Check out the Community Knowledge Base for hints and tips.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    X240 | 8GB RAM | 512GB Samsung SSD

  • My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?

    My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?

    <http://www.thexlab.com/faqs/sbbod.html>

  • After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    Dansyacht wrote:
    If the previous Safari suggestion doesn't work try the following:
    In Finder, go to Macintosh HD/Library/Internet Plug-ins and move AdobePDFViewerNPAPI.plugin to the Disabled Plug-ins Folder.  Restart Safari.  If this works you may just want to delete that FUBAR plug-in.
    Thanks.  This was the solution for me.
    Message was edited by: tvdowntown

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Performance issues when using Smart View and Excel 2010

    Hello, we are experiencing very slow retrieval times when using Smart View and Excel 2010. Currently on v.11.1.3.00 and moved over from Excel 2003 in the last quarter. The same spreadsheets in 2010 (recreated) are running much slower than they used to in 2003 and I was wondering if anyone else out there has experienced similar problems?
    It looks like there is some background caching going on as when you copy and paste the contents into a new file and retrieve it is better.....initially. The size of the files are generally less than 2mb and there aren't an expecially large number of subcubes requested so I am at a loss to explain or alleviate the issues.
    Any advice / tips on how to optimise the performance would be greatly appreciated.
    Thanks,
    Nick

    Hi Nick,
    Office 2010 (32 bit) only is supported.
    Also check these documents:
    Refresh in Smart View 11.1.2.1 is Slow with MS Office 2010. (Doc ID 1362557.1)
    Smart View Refresh Returns Zeros (Doc ID 758892.1)
    Internet Explorer (IE7, IE8 and IE9) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    Thank you,
    Charles Babu J
    Edited by: CJX on Nov 15, 2011 12:21 PM

  • Panel contents overlap when using borderSkin style and layout=absolute

    This problem has been reported on several occasions
    (http://bugs.adobe.com/jira/browse/SDK-14806)
    and there are several articles that talk about this:
    http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/
    http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/
    I´m not an expert but think I found a fix/workaround for this.
    frameworks\projects\framework\src\mx\containers\Panel.as
    Must to be changed in the viewMetrics() method.
    Line:
    973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {
    Replace by:
    if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {

    Hi Andres,<br /><br />I haven't tried to verify your fix, but would you be willing to fill out a contributor agreement and submit an official patch?<br /><br />Matt<br /><br /><br />On 4/25/08 12:34 PM, "Andres Serral" <[email protected]> wrote:<br /><br />A new discussion was started by Andres Serral in<br /><br />Developers --<br />  Panel contents overlap when using borderSkin style and layout=absolute<br /><br />This problem has been reported on several occasions<br />(http://bugs.adobe.com/jira/browse/SDK-14806)<br />and there are several articles that talk about this:<br />http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/<br />http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/<br /><br />I´m not an expert but think I found a fix/workaround for this.<br /><br />frameworks\projects\framework\src\mx\containers\Panel.as<br />Must to be changed in the viewMetrics() method.<br /><br />Line:<br />973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {<br /><br />Replace by:<br />        if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {<br /><br />________________________________<br />View/reply at Panel contents overlap when using borderSkin style and layout=absolute <a href=http://www.adobeforums.com/webx?13@@.59b51731><a href=http://www.adobeforums.com/webx?13@@.59b51731><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3><a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3>  form to cancel your email subscription.

  • "Could not complete scan" error when using Windows Fax and Scan

    "Could not complete scan" error when using Windows Fax and Scan with a HP OfficeJet Pro 8600 Plus All-In-One network printer.
    Printing is fine.
    When using the HP Scan application, get the error "Scanner communication cannot be established".
    When scanning from the printer itself it fails with the same message. In addition the printer panel displays the error:
    "The scan could not be completed due to one or more of the following issues:
    Connection to the computer is lost
    The scanner is in use
    OCR application is not installed"
    My PC is a HP Compaq Pro 6300 SFF 64bit, with ethernet cable to the router and ethernet cable to the printer
    Originally ran Windows 8.0; recently upgraded to Windows 8.1.
    Older separate Netgear router and modem was replaced with a newer Netgear Router/Modem, but both experienced the same problem.
    There was no problem with the original Windows 8.0 configuration and only after upgrading to 8.1 did the problem emerge.
    On my home netowrk I have an HP ProBook 6550b running Windows 7 sp1 that uses wireless to get to the Router, and it has no problem with scanning.
    I have followed the recommendations of a number of articles relating to this issue (including: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c02915410&product=4323659#N94), but there has been no change in behaviour.
    The printer has a static IP address;
    Power settings have been adjusted to Never for Turn off Hard Disk; Sleep and Hybrid Sleep.
    Scanning has been tested with all firewalls and antivirus turned off and in Selective Startup.
    The printer has been plugged directly into the power socket.
    With all these settings the Windows 8.1 cannot scan while the Windows 7 laptop with wireless to the router has no problems.
    Appreciate any insights into this problem.
    I can only surmise that the problem is a compatibility problem between the 8600 Printer and Windows 8.1.
    Any ideas?
    regards,
    Motorbike

    You can determine if there is compatiblity between the printer and PC by checking the Windows 8.1 hardware compatibility list. I have done that and it is shown to be fully compatible.  If the driver you installed before was only the basic driver,it would explain the lack of scan and copy functionality.
    Download and install the Windows 8.1 full feature driver and software on the HP Compaq Pro 6300 SFF 64bit PC . 
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=bi-108858-4&cc=us&dlc=en&lc=en​...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Where are my designs stored when using Adobe CC and can i access them if i cancel ?

    where are my designs stored when using Adobe CC and can i access them if i cancel ?

    This is answered in the CC FAQ: http://www.adobe.com/products/creativecloud/faq.html

  • HT204291 When using my iPad and playing videos, I only hear the sound. Why will it not show the video?

    When using my iPad and playing videos, I only hear the sound. Why will it not show the video?  My iPad 2 and iPhone 5 work no issues.

    Hi sheilafrommannford,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the links to see more details and screenshots.
    Using AirPlay
    http://support.apple.com/kb/HT4437
    Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS4215
    Cheers,
    Judy

  • My iphone 3g hang when i lock it and just shows white and red verticle lines on the screen . . please help me out

    my iphone 3g hang when i lock it and just shows white and red verticle lines on the screen . . please help me out

    Try resetting > 
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    If that doesn't help, try restoring >  Backing up, updating, and restoring your iPhone, iPad, or iPod touch software

  • If i dont use the display when using the GPS and only listen to the voice instructions can that also makes the iphone overheat even if you dont use the display

    because when i use the gps app in my iphone 4s in the car my iphone gets overheat so
    if i dont use the display when using the GPS and only listen to the voice instructions can that also makes the iphone overheat even if you dont use the display
    will that help?

    When you use your GPS does your iPhone get hot enough to shutdown?  The reason I ask is that I have run my GPS app with the screen brightness set to near max connected to power for hours.  My iPhone got hot, but didn't shutdown.

Maybe you are looking for

  • How do I transfer projects from one disk to another disk?

    I just installed Windows 7 on a second drive in my computer (XP on the original disk).  My previous projects were all created on the XP disk on PE 2.  I want to move all that work into the Windows 7 environment, and run there from now on with Premier

  • Can't drag songs in iTunes DJ

    Initially discovered as I tried to rearrange songs within iTunes DJ, but with further attempts it seems I can't drag songs at all; within playlists, into playlists, nothing. No dragging.

  • Way to mass change cost centre in positions

    Hi Experts We have a scenario, where the client i srequired to change the cost centre for multiple positions. Is there any report by which this can be done at one go. Regards Saurav

  • Bank selection in APP

    Hi All, Can somebody help me in configuring the below scenario in Automated Payment Method; Client has three banks A, B & C. Invoice value is Rs. 1 lakh and client want to pay this amount from 3 different banks, like Rs. 30,000 from A, 40,000 from B

  • Guest Wireless access over WAN

    Hello Everyone, We have around 45 remote location , all are connected with GRE Tunnels. 44 location have there own WLC which are managed by NCS and ISE in HQ , All 44 location have Wireless access for Guest and INternal Staff. Now my Question is : On