No start puzzler

I have a late 2008 mac pro and it suddenly will not boot up.
I get the chime and then the spinning wheel with the apple and then it shuts off and cycles through that over and over.
If I try to boot from the cd that came with the machine or a Leopard install disk, I get a kernel panic.
It will boot into the hardware test, it runs but doesn't find any problems in either the regular or extended test. I even left that cycling overnight.
It will boot into single-user mode but the fsck finds no problems.
Pram resets but it will not boot into open firmware.
I have even started it in target disk mode, hooked it to another computer, booted that computer off the install disk and repaired permissions.
I have removed all possible combinations of RAM with no effect.
Lastly, I even installed Leopard on a hard drive on an identical computer and switched it into the non-working one.
I am at the end of my rope with this thing. It was working fine up until this happened last week. Any suggestions are welcome.

Have you tried resetting the SMC?
http://support.apple.com/kb/HT3964?viewlocale=en_US

Similar Messages

  • Playing a jigsaw puzzle on my ipad4, after awhile the screen starts feeling warm to the touch?

    When playing a jigsaw puzzle on my ipad 4, the screen feels warm to the touch.

    That's normal. It's only abnormal if it gets too hot to hold.

  • How to start? i am puzzled...Help.

    I wanna learn JSP to make webpage.but i dont konw how to start.
    I need a guide.
    Can anyone help me?
    ThanX.

    I wanna learn JSP to make webpage.but i dont konw how
    to start.
    I need a guide.
    Can anyone help me?
    ThanX.JSP's are for use with J2EE web applications. Ther is nothing stopping you from using them to do a regular web site however.
    Here is a good, Free, online course for J2EE programming.
    http://www.javapassion.com/j2ee/index.html
    You should have familliarity with Java programming, HTML, and XML before you try to learn J2EE.
    Here is some more links for your browser...
    Free Tutorials and Such
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    The Java? Tutorial - A practical guide for programmers
    New to Java Center
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Free Java Books
    Thinking in Java, by Bruce Eckel (Free online)
    Core Servlet Programming, by Merty Hall (Free Online)
    More Servlets, by Marty Hall (Free Online)
    A Java GUI Programmer's Primer
    Data Structures and Algorithms
    with Object-Oriented Design Patterns in Java, by Bruno R. Preiss
    Introduction to Programming Using Java, by David J. Eck
    Advanced Programming for the Java 2 Platform
    The Java Language Specification
    Books:
    Head First Java, by Bert Bates and Kathy Sierra
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    Have fun,
    JJ

  • Error in starting application server SAP Netweaver ABAP Trial version

    After starting the application server on my Windows Vista system, i'm getting next error :
    ===================================================
    ============== Starting System NSP ================
    ===================================================
    =============== Starting database instance ...
    The service name is invalid.
    More help is available by typing NET HELPMSG 2185.
    The MaxDB Database Starter, Version 7.7.04.23
    Copyright 2000-2008 by SAP AG
    Error! Connection failed to node (local) for database NSP:
    -24700,ERR_DBMSRV_NOSTART: Could not start DBM server.
    -24701,ERR_EXHNDLR: Could not initialize exception handler.
    -24748,ERR_FILEOPEN: Error opening file C:\sapdb\data\wrk\dbmsrv_ACN7440R8FCGNN.
    err
    -24826,ERR_NIERROR: Can not open file 'C:\sapdb\data\wrk\dbmsrv_ACN7440R8FCGNN.e
    rr'. (System error 5; Access is denied.)
    Error: Error while calling dbmcli
    "C:\sapdb\programs\pgm\dbmcli"  -d NSP -u , db_online
    ============== Start database failed !
    Press any key to continue . . .
    Any suggestions to solve this ?
    regards,
    Hans

    May I ask what you mean by "first start Windows services related to MaxDB" ?
    I have what I believe is very a similar problem.
    Only the MessageServer starts in sapmmc. The Dispatcher soon stops and I then get the message
    "C:\SAP\NSP\DVEBMGS00\work>set DBNAME=NSP
    C:\SAP\NSP\DVEBMGS00\work>if "" == "" (set DB_USERKEY="c" )  else (set DB_USERKEY="c_J2EE" )
    C:\SAP\NSP\DVEBMGS00\work>dbmcli -U "c" db_state  1>adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "ONLINE" adatmp
    C:\SAP\NSP\DVEBMGS00\work>dbmcli -U "c"  dbm_version VERSION   1>adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "7\.2" adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "7\.3" adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "7\.4" adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "7\.5" adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "7\.6" adatmp
    C:\SAP\NSP\DVEBMGS00\work>findstr "7\.7" adatmp
    Error: Database NSP NOT started !"
    in C:\SAP\NSP\DVEBMGS00\work\stderr0.
    The best I can get is that the disp+work.EXE Dispatcher is "Running, Message Server connection, OK, Dialog Queue time: 0.00 sec" after starting in sapmmc but it stops after 1:15 with the above message.
    Most grateful for any suggestions.
    Edit : I now have instead of the above
    C:\SAP\NSP\DVEBMGS00\work>findstr "ONLINE" adatmp
    ONLINE
    Database NSP successfully started !
    but still the Dispatcher stops afer 1:15.
    I now find the message that the system cannot find a file that I see is in fact present under the path given in the message:
    ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       241]
    M          Error 126 = "Das angegebene Modul wurde nicht gefunden."
    which puzzles me.

  • [SOLVED] Puzzled: Web site visible on network but not outside network

    Edit: Ok, nevermind . . . somehow the problem has resolved itself. Perhaps my ISP was having a bad hair day or something.
    I'm puzzled by this small problem I'm having. It is NOT a critical problem or anything, just something I'd like to solve.
    I've installed the LAMP packages, set up a small MySQL database and made a very simple web interface for it. The web pages open fine on my main computer and all the other computers on our network, but it is not visible outside our network.
    I am behind a router and I have forwarded port 80 to my local IP. I've set httpd: ALL, http: ALL and (finally) ALL: ALL: ACCEPT in /etc/hosts.
    I got to thinking maybe my ISP (RoadRunner) is blocking port 80 requests to my home, so I changed the port to 9292 and forwarded that to my local IP. Still not visible from the outside.
    I've tinkered with the /etc/httpd/conf/httpd.conf file (pasted in below) but still there is no outside connectivity, changing the listen settings and the server name settings. I can still access it fine from this side of the router. I've restarted the httpd service many times.
    I've done all I can think to do to solve the issue. it is likely I am overlooking something very basic. Any help or ideas are appreciated. Below is my httpd.conf.
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd//var/log/httpd/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 192.168.1.100:9292
    #Listen *:9292
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    LoadModule php5_module /usr/lib/httpd/modules/libphp5.so
    AddHandler php5-script php
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName 192.168.1.100:9292
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/srv/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /var/run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    Include conf/extra/php5_module.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    Last edited by Rumor (2009-01-29 15:04:27)

    You could try a factory reset of the home hub, as sometimes the config can get corrupted.
    There is some general help on this page.
    Help with setting up routers, wireless repeaters, TVs and printers, CCTV cameras, VOIP Phones
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Start and Stop Trigger using PXI-6120 and DigitalSta​rtAndStopT​rigger.vi not working :-(

    Hello,
    I've been trying for a while now to get my PXI unit to capture a waveform between a Start and Stop (Reference) Trigger using the NI example DigitalStartAndStopTrigger.vi downloaded from the NI website. However, whilst the start trigger and stop trigger seem to be working i.e. the VI runs and stops at  the correct times there is never any data read from my DAQmx compatible PXI-6120 card. So I can see the VI is running around the aquisition loop but the Property Node AvailSampPerChan is always returning zero... this has me slightly puzzled. I thought this might just be a driver issue so I've updated my box to the following software versions (see below) and installed the latest drivers e.g. DCDNov07.exe (also from the NI site) but nothing has changed.
    my software as of now.
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.3.0.49152
    DAQmx 8.6.0f12
    Trad DAQ 7.4.4f7
    before I updated I had the same problem but with the following versions:
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.2.1.3001
    DAQmx 8.5.0f5
    Trad DAQ 6.9.3f4
    So to cut a long story short I still have the same problem with the triggers... does anybody have any ideas what is going wrong?
    To add insult to injury it the traditional DAQ example ai_start-stop_d-trig.vi was almost working correctly before I did the upgrade. It had the strange behaviour of capturing the AI0 channel but on the wrong edges (e.g. if I set Start on Rise and Stop on Fall it would do the opposite, Start on Fall and Stop on Rise).
    I'm going to leave my box doing a mass compile over night but i'd really like it if someone could suggest a solution or point me in the right direction.
    Many thanks,
    Mike

    Hi Graham
    I'm out of the lab today but I'll try and answer your questions as best I can...
    1) What are the values you have set for Buffer size, Rate, samples per read and post trigger Samples?
    At the moment I have all the values (e.g. sample rate, buffer size etc) unchanged apart from the ones I mentioned in my previous post (see above). I have in the past played around with changing the buffer sizes and rates in the example VI but as this appeared to have no effect on the behaviour I now have them setup as in the download.
    2) Does the program end after the stop trigger is implemented?
    Yep, if I toggle the trigger line high then low I see the program exits the read loop and the VI stops running as expected.
    3) Lastly can you give me the details of triggering method. Are you
    using a digital train of users set digital pulses? how long is the
    program running.I'm using the WriteDigChan.vi to manually toggle the first digital line of the PXI-6733 card which is wired directly to PFI0 of the PXI-6120 card. Generally, I just start the VI running  and then toggle the line high, wait a couple of seconds and then toggle it low.
    To me it all looks like it should be acquiring samples but as I said yesterday it just refuses to fill the buffer with any data (and hence no samples are read).
    Any ideas? and thanks for you help,
    Mike

  • Puzzle Game and new Game Problem

    Hello Java Programmers,
    Once again I have encountered a problem with my ongoing puzzle game. I have completed it all. Now I want my user to be able to start a new game in after they win. I tried repaint and update method with JFrame but it deosn't reshuffle the buttons. How can I do that. The code geos below.
    [/b]
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import javax.swing.JOptionPane;
    public class PuzzleGame{
       String[] btn_Labels = {"1","2","3","4","5","6","7","8","9",
                            "10","11","12","13","14","15"," "};
       String[] labels = {"1","2","3","4","5","6","7","8","9",
                            "10","11","12","13","14","15"};
       private final int ONE = 1, TWO = 2, THREE = 3, FIVE = 5;
       private boolean WIN_STATE = false; 
       private JButton b[];
       public String clicked_btn_label = "";
       //Constructor method.
       public PuzzleGame(){
          showSplashScreen();
          initGame();
       public static void main(String args[]){
          PuzzleGame game = new PuzzleGame();
       //When a new Game started labels of buttons are shuffled using this method.
       public void shuffleNumbers(){
          String temp = null;   
          for(int j=0; j<16; j++){
          int k = (int)(Math.random()*16);
          temp = btn_Labels[j];
          btn_Labels[j] = btn_Labels[k];
          btn_Labels[k] = temp;           
       //Game initialization method.
       public void initGame(){
          b = new JButton[16];
          JPanel p = new JPanel();
          JFrame frame = new JFrame();
          shuffleNumbers();
          for(int i=0; i<16; i++){
             b[i] = new JButton();
             b.setText(btn_Labels[i]);
    b[i].setActionCommand(""+(i+1));
    for(int i=0; i<16; i++){
    b[i].addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent e){
    clicked_btn_label =(String)e.getActionCommand();
    doSwapping();
    checkWin();
    p.add(b[i]);
    p.setLayout(new GridLayout(4,4));
    frame.getContentPane().add(p);
    frame.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e){
    System.exit(0);
    Dimension dm = Toolkit.getDefaultToolkit().getScreenSize();
    int x = (dm.width - 230)/2;
    int y = (dm.height - 240)/2;
    frame.setBounds(x,y,320,240);
    frame.setSize(340,240);
    frame.setVisible(true);
    //This method swaps the clicked button with the empty button if it doesn't violate rule.
    public void doSwapping(){
    int num = Integer.parseInt(clicked_btn_label);
    String temp;
    if( (num + ONE <= 16) && b[num].getText() == " " && num % 4 != 0){
    temp = b[num].getText();
    b[num].setText(b[num-ONE].getText());
    b[num-ONE].setText(temp);
    else if((num - TWO >= 0) && b[num-TWO].getText() == " " && ((num - ONE) % 4 != 0)){
    temp = b[num-ONE].getText();
    b[num-ONE].setText(b[num-TWO].getText());
    b[num-TWO].setText(temp);
    else if( (num + THREE < 16) && b[num+THREE].getText() == " "){
    temp = b[num-ONE].getText();
    b[num-ONE].setText(b[num+THREE].getText());
    b[num+THREE].setText(temp);
    else if( (num - FIVE >= 0) && b[num-FIVE].getText() == " "){
    temp = b[num-ONE].getText();
    b[num-ONE].setText(b[num-FIVE].getText());
    b[num-FIVE].setText(temp);
    // else{}
    public void checkWin(){
    WIN_STATE = true;
    for(int i=0; i<15; i++){
    if( b[i].getText() != labels[i])
    WIN_STATE = false;
    if(WIN_STATE == true){
    JOptionPane.showMessageDialog(null,"Congratulations You Have won the Game!","You Win",JOptionPane.INFORMATION_MESSAGE);
         initGame();
    public void showSplashScreen(){
    JWindow w = new JWindow();
    JPanel p = (JPanel)w.getContentPane();
    JLabel l = new JLabel(new ImageIcon("splash.jpg"));
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    int x = (d.width - 230)/2;
    int y = (d.height - 240)/2;
    p.add(l);
    w.setBounds(x,y,320,240);
    w.setVisible(true);
    try{
    Thread.sleep(10000);
    catch(Exception e){
    w.setVisible(false);
    [/b]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Sorry for violation. I would like to add a menubar to the application containing a single menu button for new game. adding a menubar is simple but how can i reshuffle the buttons using methods like update etc. or any other way.

  • LogMiner puzzle - CLOB datatype

    Hello, everybody!
    Sorry for the cross-post here and in "Database\SQL and PL/SQL" forum, but the problem I am trying to dig is somewhere between those two areas.
    I need a bit of an advice whether the following behavior is wrong an requires SR to be initiated – or I am just missing something.
    Setting:
    -     Oracle 11.2.0.3 Enterprise Edition 64-bit on Win 2008.
    -     Database is running in ARCHIVELOG mode with supplemental logging enabled
    - DB_SECUREFILE=PERMITTED (so, by default LOBs will be created as BasicFiles - but I didn't notice any behavior difference comparing to SecureFile implementation)
    Test #1. Initial discovery of a problem
    1. Setup:
    <li> I created a table MISHA_TEST that contains CLOB column
    create table misha_test  (a number primary key, b_cl CLOB)<li> I run anonymous block that would insert into this table WITHOUT referencing CLOB column
    begin
         insert into misha_test (a) values (1);
         commit;
    end;2. I looked at generated logs via the LogMiner and found the following entries in V$LOGMNG_CONTENTS:
    SQL_REDO
    set transaction read write;
    insert into "MISHA_TEST"("A","B_CL") values ('1',EMPTY_CLOB());
    set transaction read write;
    commit;
    update "MISHA_TEST" set "B_CL" = NULL where "A" = '1' and ROWID = 'AAAj90AAKAACfqnAAA';
    commit;And here I am puzzled: why do we have two operations for a single insert – first write EMPTY_CLOB into B_CL and then update it to NULL? But I didn’t even touch the column B_CL! Seems very strange – why can’t we write NULL to B_CL from the very beginning instead of first creating a pointer and than destroying it.
    Key question:
    - why NULL value in CLOB column should be handled differently than NULL value in VARCHAR2 column?
    Test #2. Quantification
    Question:
    -     having LOB column in the table seems to cause an overhead of generating more logs. But could it be quantified?
    Assumption:
    -     My understanding is that CLOBs defined with “storage in row enabled = true” (default) up to ~ 4k of size behave like Varchar2(4000) and only when the size goes above 4k we start using real LOB mechanisms.
    Basic test:
    1.     Two tables:
    <li> With CLOB:
    create table misha_test_clob2  (a_nr number primary key, b_tx varchar2(4000), c_dt date, d_cl CLOB)<li>With VARCHAR2:
    create table misha_test_clob   (a_nr number primary key, b_tx varchar2(4000), c_dt date, d_cl VARCHAR2(4000))2.     Switch logfile/Insert 1000 rows and populate only A_NR/Switch logfile
    insert into misha_test_clob (a_nr)
    select level
    from dual
    connect by level < 10013.     Check sizes of generated logs:
    <li>With CLOB – 689,664 bytes
    <li>With Varchar2 – 509.440 (<b>or about 26% reduction</b>)
    Summary:
    <li>the overhead is real. It means that table with VARCHAR2 column is cheaper to maintain, even if you are not using that column. So adding LOB columns to a table "just in case" is a really bad idea.
    <li>Having LOB columns in the table that has tons of INSERT operations is expensive.
    Just to clarify a real business case - I have a table with some number of attributes, one attribute has CLOB datatype. Frequency of inserts in this table is pretty high, frequency of using CLOB column is pretty low (NOT NULL ~0.1%). But because of that CLOB column I generate a lot more LOG data than I need (about 30% extra). Seems like a real waste of time! For now I requested development team to split the table into two, but that's still a bandage.
    So, does anybody care? Comments/suggestions are very welcome!
    Thanks a lot!
    Michael Rosenblum

    Hello, everybody!
    Sorry for the cross-post here and in "Database\SQL and PL/SQL" forum, but the problem I am trying to dig is somewhere between those two areas.
    I need a bit of an advice whether the following behavior is wrong an requires SR to be initiated – or I am just missing something.
    Setting:
    -     Oracle 11.2.0.3 Enterprise Edition 64-bit on Win 2008.
    -     Database is running in ARCHIVELOG mode with supplemental logging enabled
    - DB_SECUREFILE=PERMITTED (so, by default LOBs will be created as BasicFiles - but I didn't notice any behavior difference comparing to SecureFile implementation)
    Test #1. Initial discovery of a problem
    1. Setup:
    <li> I created a table MISHA_TEST that contains CLOB column
    create table misha_test  (a number primary key, b_cl CLOB)<li> I run anonymous block that would insert into this table WITHOUT referencing CLOB column
    begin
         insert into misha_test (a) values (1);
         commit;
    end;2. I looked at generated logs via the LogMiner and found the following entries in V$LOGMNG_CONTENTS:
    SQL_REDO
    set transaction read write;
    insert into "MISHA_TEST"("A","B_CL") values ('1',EMPTY_CLOB());
    set transaction read write;
    commit;
    update "MISHA_TEST" set "B_CL" = NULL where "A" = '1' and ROWID = 'AAAj90AAKAACfqnAAA';
    commit;And here I am puzzled: why do we have two operations for a single insert – first write EMPTY_CLOB into B_CL and then update it to NULL? But I didn’t even touch the column B_CL! Seems very strange – why can’t we write NULL to B_CL from the very beginning instead of first creating a pointer and than destroying it.
    Key question:
    - why NULL value in CLOB column should be handled differently than NULL value in VARCHAR2 column?
    Test #2. Quantification
    Question:
    -     having LOB column in the table seems to cause an overhead of generating more logs. But could it be quantified?
    Assumption:
    -     My understanding is that CLOBs defined with “storage in row enabled = true” (default) up to ~ 4k of size behave like Varchar2(4000) and only when the size goes above 4k we start using real LOB mechanisms.
    Basic test:
    1.     Two tables:
    <li> With CLOB:
    create table misha_test_clob2  (a_nr number primary key, b_tx varchar2(4000), c_dt date, d_cl CLOB)<li>With VARCHAR2:
    create table misha_test_clob   (a_nr number primary key, b_tx varchar2(4000), c_dt date, d_cl VARCHAR2(4000))2.     Switch logfile/Insert 1000 rows and populate only A_NR/Switch logfile
    insert into misha_test_clob (a_nr)
    select level
    from dual
    connect by level < 10013.     Check sizes of generated logs:
    <li>With CLOB – 689,664 bytes
    <li>With Varchar2 – 509.440 (<b>or about 26% reduction</b>)
    Summary:
    <li>the overhead is real. It means that table with VARCHAR2 column is cheaper to maintain, even if you are not using that column. So adding LOB columns to a table "just in case" is a really bad idea.
    <li>Having LOB columns in the table that has tons of INSERT operations is expensive.
    Just to clarify a real business case - I have a table with some number of attributes, one attribute has CLOB datatype. Frequency of inserts in this table is pretty high, frequency of using CLOB column is pretty low (NOT NULL ~0.1%). But because of that CLOB column I generate a lot more LOG data than I need (about 30% extra). Seems like a real waste of time! For now I requested development team to split the table into two, but that's still a bandage.
    So, does anybody care? Comments/suggestions are very welcome!
    Thanks a lot!
    Michael Rosenblum

  • X11 won't start anymore!

    Hello,
    this is a desperate call: I am at a conference with my MBP, (10.6.7, all updates done). I need Matlab for my presentation, which needs X11.
    X11 (and XQuartz) decided that they won't start anymore: the icon bounces in the dock for a while, then sits there without the little light underneath, and X11 is "non responding".
    The logs show something like this.
    I have googled and searched: similar problems once in a while appear but no posted solution.
    I tried:
    1) reinstalling XQuartz (I would reinstall X11, but how? I do not have the disks with me, I am away!)
    2) from an admin account
    3) create a new account.
    4) repair permissions.
    5) reinstall the font update from Apple that was recently issued.
    HELP PLEASE!!!
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     X11.app: DISPLAY ("/tmp/launch-bHvQen/org.macosforge.xquartz:0") does not match our id ("org.x"), unsetting.
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     X11.app: main(): argc=2
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]      argv[0] = /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]      argv[1] = -psn_0_278596
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     Waiting for startup parameters via Mach IPC.
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     X11.app: Could not connect to server (DISPLAY is not set). Starting X server.
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     X11.app: Launching /usr/X11/bin/startx:
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]      argv[0] = /bin/sh
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]      argv[1] = -c
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]      argv[2] = /usr/X11/bin/startx
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     font_cache: Scanning user font directories to generate X11 font caches
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     font_cache: Updating FC cache
    11-05-16 5:02:01 PM     org.x.privileged_startx[20781]     font_cache: Scanning system font directories to generate X11 font caches
    11-05-16 5:02:01 PM     defaults[20791]
    The domain/default pair of (org.x.X11, dpi) does not exist
    11-05-16 5:02:01 PM     [0x0-0x44044].org.x.X11[20759]     Couldn't create cookie
    11-05-16 5:02:02 PM     org.x.privileged_startx[20781]     font_cache: Updating FC cache
    11-05-16 5:02:04 PM     [0x0-0x44044].org.x.X11[20759]     font_cache: Done
    11-05-16 5:02:04 PM     org.x.privileged_startx[20781]     font_cache: Done

    Here is the solution: there was nothing wrong with x11 per se!
    The problem was that about 30 files in /usr/bin (like gzip, egrep, hexdump etc) had been hosed (they had 0 file size).  The puzzling messages was due to the fact that startx uses hexdump, which was simply silently doing nothing (since it had 0 size!).
    I do not know what or when these files were zeroed: I suspect a recent OSX update which did not complete and I had to forcefully reboot.
    I have fixed it enough to work (copying those files from another mac), but who knows what else lurks beneath the surface of apparent serenity!
    I am actually surprised that the whole system did not stop functioning completely.
    MORALE: if something looks strange in the logs with x11 or other apps, check the file sizes  in your /usr/bin, you may be surprised too!

  • Word Puzzle still not working

    I have written the code to take a text file (from a command line argument) holding the information for the word find grid and also the file holding the words to be found in the grid. The whole find the two files and drop them into memory works all peachy keen but the rest of the program doesn't work for some oddball reason that I can't figure out (and the TAs are useless as usual). I dropped in print statements all over the world to see why it's not working but all I can see is that I hit the method SolvePuzzle and don't actually get any further than the print statement.
    Just so you know, all of the methods in the program do work as I wrote them for another version of the same puzzle...it was just that I had to change the program to run with command line arguments instead of asking the user to input the file names. Please, can someone take a look at this monstrous mess and tell me how on earth I get the stupid thing to output correctly?
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    import java.util.Arrays;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    // WordFind class interface: solve word search puzzle
    // CONSTRUCTION: with no initializer
    // ******************PUBLIC OPERATIONS******************
    // int solvePuzzle( )   --> Print all words found in the
    //                          puzzle; return number of matches
    public class WordFind
         * Constructor for WordFind class.
         * Prompts for and reads puzzle and dictionary files.
       public WordFind(String fname, String fname2 ) throws IOException
            loadPuzzle(fname, fname2);
            //solvePuzzle( );
         * Routine to solve the word search puzzle.
         * Performs checks in all eight directions.
         * @return number of matches
        public int solvePuzzle( )
            int matches = 0;
            for( int r = 0; r < rows; r++ )
                for( int c = 0; c < columns; c++ )
                    for( int rd = -1; rd <= 1; rd++ )
                        for( int cd = -1; cd <= 1; cd++ )
                            if( rd != 0 || cd != 0 )
                                matches += solveDirection( r, c, rd, cd );
    System.out.println("testing to see if we get BBOOOOO.");
            return matches;
         * Search the grid from a starting point and direction.
         * @return number of matches
        private int solveDirection( int baseRow, int baseCol, int rowDelta, int colDelta )
        System.out.println("testing to see if we get this far part 2.");
            String charSequence = "";
            int numMatches = 0;
            int searchResult;
            charSequence += theBoard[ baseRow ][ baseCol ];
            for( int i = baseRow + rowDelta, j = baseCol + colDelta;
                     i >= 0 && j >= 0 && i < rows && j < columns;
                     i += rowDelta, j += colDelta )
                charSequence += theBoard[ i ][ j ];
                searchResult = prefixSearch( theWords, charSequence );
                if( searchResult == theWords.length )
                    break;
                if( !((String)theWords[ searchResult ]).startsWith( charSequence ) )
                    break;
                if( theWords[ searchResult ].equals( charSequence ) )
                    numMatches++;
                    System.out.println( "Found " + charSequence + " at " +
                                        baseRow + " " + baseCol + " to " +
                                        i + " " + j );
            return numMatches;
         * Performs the binary search for word search.
         * @param a the sorted array of strings.
         * @param x the string to search for.
         * @return last position examined;
         *     this position either matches x, or x is
         *     a prefix of the mismatch, or there is no
         *     word for which x is a prefix.
        private static int prefixSearch( Object [ ] a, String x )
        System.out.println("testing to see if we get this far part 3.");
            int idx = Arrays.binarySearch( a, x );
            if( idx < 0 )
                return -idx - 1;
            else
                return idx;
         private void loadPuzzle(String fname, String fname2)
          String oneLine;
          try {
             // open file for reading
             wsFile = new BufferedReader(new FileReader(fname));
             // get the row and columns
             oneLine = wsFile.readLine();
            List puzzleLines = new ArrayList( );
            if( ( oneLine = wsFile.readLine( ) ) == null )
                throw new IOException( "No lines in puzzle file" );
            int columns = oneLine.length( );
            puzzleLines.add( oneLine );
            while( ( oneLine = wsFile.readLine( ) ) != null )
               // if( oneLine.length( ) != columns )
               //     System.err.println( "Puzzle is not rectangular; skipping row" );
               // else
                    puzzleLines.add( oneLine );
            int rows = puzzleLines.size( );
            theBoard = new char[ rows ][ columns ];
            Iterator itr = puzzleLines.iterator( );
            for( int r = 0; r < rows; r++ )
                String theLine = (String) itr.next( );
                theBoard[ r ] = theLine.toCharArray( );
                   System.out.println(theBoard[r]);      
          //BufferedReader wsFile2;
          //ring oneLine;
          try {
             // open file for reading
             wsFile2 = new BufferedReader(new FileReader(fname2));
             List words = new ArrayList( );
            String lastWord = null;
            String thisWord;
            while( ( thisWord = wsFile2.readLine( ) ) != null )
               // if( lastWord != null && thisWord.compareTo( lastWord ) < 0 )
                 //   System.err.println( "Dictionary is not sorted... skipping" );
                  //  continue;
                words.add( thisWord );
                lastWord = thisWord;
            theWords = words.toArray( );
            System.out.println(words);
          catch (FileNotFoundException e)
             System.out.println("File not found.");
          catch (IOException e)
             System.out.println("IO error.");
         //solvePuzzle();
          // Cheap main
        public static void main( String [ ] args )
          String fname = args[0];
              String fname2 = args[1];
           // String fname = "cahsiers.txt";
            //String fname2 = "cashwords.txt";
            WordFind p = null;
                try{
                    System.out.println(args[0] + " " + args[1]);
                p = new WordFind(fname, fname2);
                      catch (IOException e)
             System.out.println("IO error.");
                 System.out.println( "Solving..." );
            p.solvePuzzle( );
       private char [][] theBoard;
       private int rows, columns;
       private Object [] theWords;
       private int numWords;
         private BufferedReader wsFile;
       private BufferedReader wsFile2;
    }Sample output - notice the only output are the test print statements at the moment
    cashiers.txt cashwords.txt
    BSERENITYNZEKYI
    ZBREAMOANARHECM
    BBASSWGITOOLKAY
    QSCENERYTNLCYMM
    TUORTIASEAUBDPA
    JZIVVVYYVDXOWSE
    FSSENREDLIWAMIR
    FIRSEHRSPNLTLTT
    CLSCUILRTLYKAES
    XAOHQKFOEFYLUSR
    ORBGIIWYDSAQLEM
    GEYITNEFPGOROEA
    EKALNGGAXRERCGJ
    TEKRAMSGCAFETOY
    [ANTIQUE, BASS, BOAT, BREAM, CABIN, CAFE, CAMPSITE, CRAFTS, CROQUET, DOWNTOWN, D
    UCK, FISHING, GEESE, GOLF, GROCERY STORE, HIKING, HONEY, INN, JAM, JELLY, LAKE,
    LODGE, MARKET, MOUNTAIN, POND, PRESERVES, RELAXATION, RESORT, RIVER, SCENERY, SE
    RENITY, SPA, STREAM, TROUT, VACATION, VALLEY, VIEW, WALLEYE, WILDERNESS, ]
    Solving...
    testing to see if we get BBOOOOO.
    Press any key to continue...
    Thanks for all your help.
    Wulf

    Your problem is the duplicate declarations of rows/columns
    class fields
    private int rows, columns;
    and in loadPuzzle()
    int columns = oneLine.length( );//remove int
    int rows = puzzleLines.size( );//ditto
    the 'int' makes rows/columns local to loadPuzzle(), leaving the class fields rows/colums = 0
    the for loops of solvePuzzle() are not executed because rows = 0
    also, in loadPuzzle() you seem to have an extra readLine() at the top. This could be by design, but you will lose the first line
    // get the row and columns
    oneLine = wsFile.readLine();//<--------------
    List puzzleLines = new ArrayList( );

  • EMac Freezes in Normal Start Up - OK under Safe Boot 10.3.9 or 10.4.11

    In helping a charter school get its eMacs back running, one of these eMacs [(ATI Graphics w/32Mb VRAM), 1.25GHz G4, 37GB HD, 1Gb RAM, and whose SN = G8429CDSQJ8] is displaying very unusual symptoms. It simply has to be software or a very weird RAM or VRAM memory issue, but I am mystified as to whose since I found no Firmware Updates at Apple or ATI. Here is the gory story.
    I had replaced its battery and added a 1Gb DIMM (About This Mac and System Profiler show this is OK). I repaired the HD from a “Gray Restore DVD that was shipped with these eMacs” (got a “No Repairs Needed” from this) and its Permissions from the DVD set of 10.3.x system SW, and initially did an "archive and restore" installation. This had worked fine for all the other 10 eMacs as had going up to 2 Gb RAM.
    On re-start the eMac froze and refused to eject Restore DVD. I hooked up a Firewire Cable to the ailing machine and ejected the Restore DVD after starting the ailing eMac in Target Mode. After this, I started up in Safe Boot and updated the 10.3.x Restored SW to 10.3.9 using Software Update ... things seemed fine. So, I started up in normal mode, opened System Preferences to Accounts to make sure the Student account was under agreed restrictions. As soon as the Authentication panel opened, the eMac froze, needing a Power Button shutdown … it kept doing this, and it behaved itself under Safe Boot after each freeze. I installed YASU (from a CD in Safe Boot and have used for years on my home PMMD, dual 1Ghz G4, 10.4.11), which I understand is simply a group of Unix scripts under a nice GUI and had it do all the system and web browser tasks (i.e. crons, permissions, prebinding, swap filesetc) but saved the logs and their archives.
    We were upgrading all the eMacs System SW to Os 10.4.11 (starting from a 10.4.3 "Black X" commercial system disk … so from a Safe Boot, I loaded the 10.4.3 DVD, started up from it, and did an Erase and Install, so all the SW on the drive is Apple’s own. PRAM was reset and amazingly, on this re-start, this eMac froze a few seconds after a App’s window opened. From a new Safe Boot, Software Update took me to 10.4.11 (I refused to allow Safari, iTunes and Quick Time update until it had also updated all the other security and Java (9 Javas of these in numerical order from SUD).
    Under Safe Boot, I found I can open as many as 10 Apps or Utilities, flip between the windows … nothing wrong. After some thought, I used Activity Monitor, Disk Utility (to perform “Erase Free Space, 7X” and with Screen Saver’s Flurry at maximum in the Choice window, and this places the processor use at almost 100% (~70-75% user + ~20% system) … but this does not test much of the memory (couldn’t figure out how to do this). I kept things going for over 7 hours while randomly using Safari or Text Edit. But as soon as a Normal Restart is done and a second window opens (even Activity Monitor’s little floater), it freezes again.
    The Web is full of symptoms that usually blame memory, but it seems hard to believe that the 1Gb DIMM would “know” when the system is booted Normal vs Safe. So, tonight, I am going to run Rember (v. o.2b) that I dragged off my PMMD … an have used it under 10.4.11 over the years.
    BTW, contents of Trash after two (2) hard freezes are always the same system files [annex_aux, annex.db, filetoken.db, fonts.db, and qdfams.db]. The mention of “fonts.db” seems to suggest a font problem, but why … all are fresh 10.4.3 stuff.
    It’s my understanding that Safe Boot allows ONLY Apple extensions and Apps to load and this is why it seems to me that the problem must be SW … somehow, somewhere.
    Is there a utility that can list third party components? Does this make sense? In looking into the Preferences and Application Support there are Adobe, Macromedia prefs, fonts … which I assume came in w/ Safari since I have not added any 3rd party programs other than YASU, who tells you truthfully where its stuff is loaded
    When back at the school, I plan to swap out 1Gb RAM DIMMs and/or replace the old 256Mb DIMM that was original. Also, plan to go back to the Restore Software DVDs (10.3.4 since these have more Apps that are needed): Erase (Zero Out Deleted Files) and Install to rebuild a “virgin” set of 10.3 after restarting. Then Check to see if Safe Boot is stable BEFORE trying to update to 10.4.11 (via 10.4.3 Black X).
    However, if this does not make sense, I would be grateful for readers pointing out my errors and/or flawed plans.

    Hi Cosmic (and, per my Southern US heritage, hope yawl are doin fine down under),
    Firstly, thank you hugely for guiding me through this eMac puzzle. Your insight that under Safe Boot the ATI video extensions are turned off now has the symptoms I see matching a cause.
    Last evening, I did an Erase (Zero out the HD, 1 pass) and a virgin , custom install from the eMac Media DVD that came with the machine; this took the system to Os 10.3.6, and it seemed to let me open more windows than two(2) for several passes, but it still froze, these times leaving no recovered files as a trail.
    I decided to use only Apple’s Software Update, under Safe Boot, to sequentially load only system or Java UDs and not let Safari or any iApp stuff bring in foreign SW components(tis strategy caused by finding, last evening, strange troubles with the Font book not validating any font and it displaying most of these incorrectly. This font finding kept me thinking SW had to be the problem instead of heeding your and Alan Jones experience …
    All well and good, and when I got to 10.3.9 with all the Java and Security Uds, I could open as many as 4 Apps, but the killer was always testing the “Flurry” screen saver … lots of video here. Yet in Safe Boot, I could open all the Apps in the folder and randomly switch between them with no issues.
    Lot of driving chores today kept me from seeing your second reply till late this afternoon, but as I drove I remembered that on my now ancient Power Mac Mirror Door, 2x1Ghz, one of my partitions had 10.3.9 loaded with free Unix scientific SW and Xbench 1.1.3 and Cinebench 2003, both of which test video cards, etc. So, I loaded and made DVDs of these testing apps after running them on the PMMD in the 10.3 partition as well as my normal 10.4.11 main drive. Got them over on the eMac, checked to make sure its fonts were OK, ran the tests under Safe Boot, then saw immediate freezes under Normal Boots, and finally, logged into the Apple site and read your reasoning. Bingo!
    I again checked the caps I could see and they matched your ID of them, still, even with a machinists mirror could not see the ones further in … called the school marm and told her we should consider this eM as nearly dead, use its internal organs (HD, RAM, ATA drive) and externals (Keyboards, cables) in our organ donor program. She’s agreed, so it’s a done deal.
    So, tomorrow I’ll satisfy my curiosity and do the surgery to remove the innards and see if there is evidence of the caps … sure there will be. BTW, I made my living, till a good severance package induced early retirement , as a PhD level Materials Scientist/Elec Engineer (mostly in chip level packaging and several forays into flat panel electronic displays (LCDs and OLEDS(Orgainc Light Emitting Diodes)). As I looked at the circuit board, these electrolytics seem to be surface mounted, an unusual design even for its day, and I cannot imagine any “shade tree” electrician having much success trying to replace them.
    Again, a thank you for your insight. I’ll just have to owe you a beer since I’m doubtful you would get one I’d drop along the seashore. Take good care … and without checking a map, I hope Brisbane is not being flooded.
    drsax
    PS I forgot to mark your and Allan Jones earlier replies as Helpful which they were ... just did so. Sorry for the oversight. Owe you both a beer for sharing your experience.

  • An iTunes Library Transfer Puzzle...Help!

    Okay, let me try to be as clear as possible...
    I keep my iTunes library on an external firewire drive.
    I'm preparing to transfer all operations, including iTunes, to my new Macbook (from my old eMac)
    Prepping for this move, I noticed that at some point imported music stopped going to my external drive and started going to my eMac drive.
    So now my iTunes library is split between my eMac and an external firewire drive.
    NOW FOR THE PUZZLE:
    I want to transfer all the files from the eMac to their rightful home on the external drive.
    Is there a simple way to move all these files at once (about 17 GB worth) so that the iTunes browser and my playlists will know to look for the songs on the external drive not the eMac?
    Once everything is on the external drive as it should be, I plan to transfer the whole library to the iTunes browser on my Macbook.
    My big fear is that the playlists will get screwed up (playlists consist of songs now on the eMac AND on the external drive).
    Anyone out there able to help me sort this out?
    Thanks a bunch.
    macbook   Mac OS X (10.4.8)   1.83 GHz Intel Core Duo, 1 GB SDRAM

    jsguntzel,
    Welcome to Discussions.
    Prepping for this move, I noticed that at some
    point imported music stopped going to my external
    drive and started going to my eMac drive.
    This might have happened when running iTunes with the
    external drive not yet mounted/attached.
    iTunes has to have a folder to store the next ripped
    CD and will reset the 'iTunes Music folder location'
    to the default location (on your internal disk) if it
    doesn't find your 'iTunes Music' folder.
    I want to transfer all the files from the eMac to
    their rightful home on the external drive.
    Set the 'iTunes Music folder location'
    (Preferences>Advanced>General) to the folder
    containing your music on the external disk.
    Then choose 'Consolidate Library...' from the
    Advanced menu in the menubar.
    This will copy all music which is not already there,
    to the external disk.
    After that is done, you can delete the 'iTunes Music'
    folder on the eMac.
    Note: only delete the 'iTunes Music' folder inside
    the 'iTunes' folder. Don't delete the library files.
    Once everything is on the external drive as it
    should be, I plan to transfer the whole library to
    the iTunes browser on my Macbook.
    Copy the 'iTunes Library' file (in
    /Users/Username/Music/iTunes) to the external disk.
    Attach the external disk to the MacBook.
    Copy the 'iTunes Library' file from the external disk
    to /Users/Username/Music/iTunes on the MacBook.
    Run iTunes on the MacBook. All playlists and songs
    should be there.
    To transfer the music from the external to the
    MacBook, read the detailed instructions in: iTunes: Moving your iTunes
    Music folder
    In short that would mean for your situation:
    Reset the 'iTunes Music folder location'
    Consolidate library
    At the end, all songs and playlists will be on the
    MacBook.
    More information about the library files can be found
    here: What are the iTunes library
    files?
    Hope this helps.
    M
    17' iMac 800 MHz, 768
    MB RAM, 200 GB HD, DL burner   Mac OS X (10.4.8)
      iTunes 7.0.1
    Thanks for the very helpful reply. Worked like a charm!
    All the best,
    J

  • Screen does not turn on after start up, but after standby on Satellite M100

    Hi,
    I have quite some experience with computers and laptops, but this problem exhausted all my knowledge.
    My girlfriend has a Toshiba Satellite M100, PSMA1E. It runs Windows XP, currently on SP3.
    The laptop always had shutdown/stand bye issues. It would go on stand bye and the screen would not come back. She usually would turn it off manually (holding the power button) and turn it on again.
    Same thing happened last week, but with me. I turned it off holding the power button but when I turned it back on the screen was completely black. After a few attempts I realized that everything was working; I could hear XP booting and the usual sound files but there was no way I could get the screen working.
    The strangest thing is that the CMOS/BIOS screen, the first one with the Toshiba logo, also does not show up. If it was a OS problem I thought I would be able to access the BIOS at least, but that doesn't work. Fn+F5 also doesn't work.
    Then something even stranger happened. I was turning it on and off with keyboard shortcuts and I realized that if I put it on stand bye using shortcuts and then turn it back on the screen turns on perfectly fine (there is some resolution adjustment cause icons are out of place, but it works perfectly well).
    From that on I tried everything I know. BIOS update, all Windows XP updates, all Toshiba QuickFix, cleaning the registry with different tools, uninstalling and reinstalling the video driver (ATI Radeon X1400), HotKeys utility, Power Saver Utility, Toshiba Hardware Tools, looking at start up programs, services, everything I could possibly think off.
    What really puzzles me is that the Toshiba start up screen won't show up. I can't access the BIOS, but I tried restoring BIOS standard values through Toshiba Hardware Tools. It didn't work. I don't even know if reinstalling XP will work because every time I turn it on it's all black and I need to do the stand bye/turn back on trick.
    When I plugged it on a external monitor I could see the whole start up process (BIOS initial screen and Windows). I then tried to access the display configuration of the video driver but it would only show the external monitor. It would only detect the laptop screen after a stand bye/turn back on, and then it worked perfectly well: two simultaneous screens, extended screen, everything. Ah, changing the BIOS from Auto-Select to LCD+external monitor also does not work.
    I'm really puzzled here and I can't figure this one out. I really don't think it's a hardware issue, because the screen works 100% after the stand bye. I guess XP is making something during shut down that completely 'shuts down' my screen, even after boot, and then I can only turn it on with the stand bye thing.
    Any help would be really appreciated!
    Best,

    Hi mate,
    that whole story sounds really weirdo since after reading all this and knowing that youve tried almost everything doesnt makes it better.. :/
    Usually I would say: update your BIOS, but you already updated everything. This problem could be BIOS related since the initialization of the hardware after a standby is controlled by the chipset trough the BIOS.
    I guess it could also be something with the background light of the LCD screen (failed initialization after waking up), you can check this by reproducing the situation with the black screen and holding some light near the screen. If you can see some schemes on the screen (something like desktop, etc..) then it could be the background lighting. In such case try to reinstall the operating system and update all installed drivers to the newest version (yes I know, sounds like more pain).
    Otherwise, click [HERE|http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT], find the nearest authorized service partner in your country, contact them and ask them for a hardwarecheckup. Maybe its really a hardware related issue..
    Greets and good luck

  • How to get games back that you put on iCloud on new iPhone. So you do not have to start over.

    We can from sprint to Version. Is there a way to get all the games that you backup on Icloud so you do not have to start over. Tiny castle, Puzzle and Dragon, tiny zoo, and tiny monster.

    Back up and restore the device
    http://support.apple.com/kb/HT1766?viewlocale=en_US

  • Puzzler - Is there a way to detect when an external headphone or speaker is plugged in?

    I have a puzzler, and my initial question is simply, is there a way to see via Windows if/when an external headphone or microphone is plugged in, or is that all an electrical circuit independent of the OS?
    Background: (not necessarily the question I'm asking, but providing anyway):
    The background is this:  Dozens, Hundreds, I think Thousands of owners of Toshiba Satellite owners with Conexant sound devices (including myself) the world over have this problem where the sound stops working about 1 to 2 minutes into playing non-stop
    sounds/music/videos.  In spite of all the experts telling these poor people to run a system restore and wipe out the past years of files and everything on their computer, the problem prevails no matter what.  Some have even installed Linux, and the
    problem persists. To me, it seems that the problem doesn't occur if the only sounds are the occasional bing or bong from a system warning, it seems to fail after 1 to 2 minutes of continuous play (but this particular observation is mine only, nobody else has
    taken the time to point that out).
    A few have claimed success via blowing the jacks out with compressed air, but that's not repeatable universally.  Most people end up keeping external speakers plugged in permanently. In other words, it seems a lot like a hardware problem; However,
    {edit 3}, my addition of "Edit 2" below makes it seem less like hardware.
    One interesting thing:  Headphones/speakers work permanently, there's no problem.  More curiously, when the sound goes out, plugging any form of headphone/microphone jack into
    EITHER the headphone
    OR the microphone jack turns the sound back on too.  This includes male-to-male extension cable with nothing installed.  If nothing is on the other end, the sound will go out
    again shortly, but jiggling or removing the male to male turns it back on.
    EDIT 2: When the sound goes out, another way to get it back: From system tray, right click the speaker item and choose SOUNDS.  The virtual VU meter shows that audio is playing (in tandem with the song, etc.), and is still showing audio
    playing.  The tabs available are Playback, Recording, Sounds, and Communications.  When the sound does stop (assuming I was watching Playback), I click the Recording tab (just the tab header), and sound starts again.
    P.S. What's the difference between "High Definition Audio Controller" under System Devices, and "Conexant SmartAudio HD" under "Sound, Video, and Game Controllers", in Device Manager?  The "conexant smartaudio hd"
    points to the latest Conexant driver, the "High Definition Audio Controller" points to a default windows driver.  Just curious
    I've Binged this extensively:  Toshiba doesn't acknowledge the problem and nobody has fully solved the issue. I'm just curiously trying a few things myself, and I'm not sure if there's a way for the system to tell me an external mic/speaker has been
    plugged in.
    So to recap:  My main question, can I detect when the computer thinks a headphone or microphone is plugged in? (My theory, if I can prove that the computer THINKS something is plugged in, it's a start). 
    Only secondarily, if anyone's interested, feel free to suggest ideas (here's what dozens of other posts have disproven: System restore; windows reinstall; outdated sound driver; outdated video driver; remove and re-detect sound and device via device manager;
    malware; BIOS upgrade; Flash and/or the Flash/Firefox/Hardware Acceleration issue (problem happens with MP3, Flash, WMA, HTML5, Games, everything).
    Thanks in advance!
    EDIT: One person (theirs was under warranty, mine's not) ended up getting a new motherboard & speaker via Toshiba warranty, diagnosis ""machine intermittent no sound due to PCB faulty".  I'm still interested in troubleshooting,
    though.  Link:
    One lucky person, who got their motherboard replaced (they were under warranty, most of us aren't)

    Hi,
    If there are any headphone or speaker plugged in and detected, it will show in audio device manager console.
    Type mmsys.cpl in Run, it will open Sound console.
    Have you tried Hardware and Sound troubleshooter?
    Andy Altmann
    TechNet Community Support

Maybe you are looking for

  • HT201365 How do I access my inbox for mail? and close apps I am done using?

    I am having trouble getting into my mail inbox and also closing apps I am done using. Today is the 1st day I am using the IOS7 update.

  • Does not load all of page

    some pages i go to do not load all pictures, links, and buttons. they were working but shortly after upgrade they quit working. i have tried on other browsers and they work fine there. i have checked all settings and have done a clear on history and

  • HP Update Fail

    There are 3 pending updates for my desktop 400-335d recommended by HP support assistant. When I tried to udpate, it cannot be downloaded at all. Thanks for your help!

  • Can I still upgrade to Mavericks

    Hello. I have a MacBook Pro running Snow Leopard. I use hardware that has only recently become compatible with Mavericks, and is unlikely to ever be compatible with Yosemite. It would seem that Apple will not permit anyone to upgrade to Mavericks any

  • Content Server Sharing

    Hello, I have installed Content Server 6.40 successfully on Win 2K3 Both URL are showing Running status, But repository shows defined status after some time if i unlock it again after 2-3 hr it will come to defined status. Also  category which i have