Re-establi​shing VISA Ethernet comms

My scenario:
1. I am using an Agilent 34980A datalogger with a notebook running LabVIEW 2010 10.0f2 connected via an ethernet crossover cable.
2. I log temperatures for up to 300 thermocouples every 5 mins. Tests typically run for 4 to 8 hours and often overnight.
3. If there are any power glitches, the datalogger will reboot into an initialised state. Battery backup on the notebook will keep it running.
What I am finding is if power is lost, and the ethernet connection is disturbed, I cannot re-establish comms without re-booting the PC running my compiled LabVIEW code.
The last couple of days I have been running my uncompiled code to try and work out where the problem is. This is what I have found:
1. After the ethernet connection is first established, I can view the logger in MAX.
2. I run my code, the logger is found and the software and logging functions work fine.
3. If I re-boot the logger while my LabVIEW code is still running, the connection cannot re-establish and I get a VISA error -1073807346.
4. If I go into MAX again I can connect to the logger and view the HTML pages the logger is pushing to MAX but still my code can't re-establish.
5. If I restart my LabVIEW code, connection is then re-established.
Does it have anything to do with VISA opens and closes? Any clues would be much appreciated!
Regards, Adam

Please find attached the coding I have been using to investigate my errors.  (LABview V10 vi)
This seems like the best way to recover from comms errors that I have come up with, but I am very happy for the gurus on here to pull my code to bits as they see fit!
There are still some times when it cannot recover and I have to restart LabVIEW and/or the 34980A datalogger to recover.
I also notice that the Find VISA resource list will list my three 34980A loggers even if they are are not connected, so I have to ping each one to work out which one is actually connected. I guess I could use the default IP address instead to connect.
I had also forgotten that the dataloggers have USB on them as well, so I am now comparing USB as a permanent connection option. So far it seems to recover much better than Ethernet, but I would love to hear from others regarding USB vs Ethernet comms for reliability.
I also have a wireless DAQ module on loan from NI that I am evaluating......
Attachments:
VISA Comms.vi ‏34 KB

Similar Messages

  • How do I correctly time while loops using SCPI and VISA/Ethernet communication to send DC current Values to a Power supply?

    I'm rather new to using labview and I having an
    issue with a test Data Aquisition lab I'm trying to setup using a
    Keithley 6221 AC/DC current source and a basic PCI M-series NI-DAQmx. 
    First of all, I'm looking to update the  current value on a power
    supply at a rate of atleast 10Hz and I'm using SCPI commands and VISA
    communication through ethernet to do so.  Attached below is the VI I
    have written. 
    The issue I'm having is this:
        My VI will
    loop through the values fine in software, or so it seems.  I am unable
    to get the Power supply to update sequentially if I don't set my loop
    delay to anything greater than 130ms.  If I try to run the loop faster
    it starts skipping values instead of counting 1,2,3,4,5,1,2,...etc.  it
    goes 1,2,4,5,2,4,1,2 on the display of the power supply and my DAQ unit
    also skips these values so I know that the number just isn't getting
    read to the Power supply in time.  I was wondering if this was due to
    my sloppy programming or if it is a hardware issue, my computer or the
    method of communication to the power supply?  Is this due to the fact
    that I'm using ethernet and VISA communication?  Is there a faster way
    to communicate or is GPIB faster?  Any input at all would be extremely
    helpful.
    On a side note:  Right now I'm using an pre-determined
    array of values that I can update on the fly but in the future this
    with be put into a  closed-loop control system.  The value for the
    power supply output will be determined by the loop and sent that way.
    Attachments:
    basic DC loop 6221 Keithley.vi ‏145 KB

    Also, one of the string constants is NOT set to '\' Codes Display. Here is an alternative method of calculating the index. I removed the DAQ and VISA stuff since I could not run it.
    Lynn
    Attachments:
    basic DC loop 6221 Keithley.2.vi ‏16 KB

  • Visa ethernet problems

    Hello;
    I am having some problems,
     I am using a serial  HHP bar code scanner to get data to lab view,  but I need to use ethernet,   thus  I convert to ethernet using "lantronix uds100 converter"
    I configured lantronix converter with IP address and added to Max   and every thing seems to be fine
    but the problem is when I trigger the scanner to read a barcode,  because the information never is read by my code
    (I proved using serial VISA and works fine   but when I change to ethernet visa does not work and I get an error message
    I will appreciate if someone can help me
     thanks
    Attachments:
    First_Project2.vi ‏16 KB

    Hi,
    If you are able to receive data to your VI but you still getting time out error messages, the reason could be you have specified a Return Byte Count for the read that is larger than the data trying to be sent back. The VISA Read VI is waiting for more data than is going to be sent from Ethernet device. This is why it receives the return data, displays it correctly, and still times out. You can see more information about it at the following link:
    http://digital.ni.com/public.nsf/allkb/383FA277AE7A364F862571020074F3EA?OpenDocument
    Regards,

  • Data acquisition time using Fieldpoint with Ethernet Comm Mod

    I am using a simple Labview program that is a simple Do While loop that gets a signal from a Fieldpoint AI module using a FP1601 ethernet communications module.  The signal is changing at a rate of 50 ms or so but I cannot get the program to read it quickly.  I am using a Wait Millisecond to control the speed of the acquisition and for some reason I can not get the data from the Fieldpoint module faster that approximately 0.7 seconds, even if I put 50 ms as the Wait Millisecond.  I tried to change the acquistion time of the AI module (it is at 10 ms) but this doesn't help. 

    Hardware filter setting was my hunch.
    Be aware the Fluke may be performing averaging internally and have a slower response time, thus your Fieldpoint data may be real. The only way to know for sure is to hook up an oscilloscope to the device.
    Can't suggest any specific filtering, it may depend on the nature of the 'noise'
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • How to Get Fast RT/XP Ethernet Comm.s?

    I have an application where I need to do the following between an XP
    computer and a PXI-8187 RT computer:
    1. Send a small set of values (<100 bytes) from XP to RT.
    2. Send a small set of values (<100 bytes) from RT to XP.
    3. Send a large I16 array (20,000 size or 40kbytes) from RT to XP.
    My RT loop rate needs to be 20 Hz. The XP loop rate can very but I cannot
    miss any of the 20k I16 array.
    I started out by using DataSocket but it was much too slow. My next step
    was to do number 1 & 2 above using UDP. This was simple and works fine.
    Unfortunately, RT cannot presently send UDP packets that are greater than
    4096 bytes at one time so I could not use UDP to send the I16 array.
    I then setup TCP/IP and RT FIFO parallel loops to send the I16 array but it
    isn't working very well. I setup my FIFO to be 80x 20kI16 arrays which
    should be four seconds of data. When I run my program my TCP transmit loop
    loses some of the packets from the RT buffer. I will get good data for a
    second or two and then loose around 20 packets and this will then repeat
    every few seconds but the time it works is not consistent. I'm not sure if
    my problem has to do with the RT FIFO or the Ethernet communications. I did
    setup a test VI that did not have the RT FIFO in it and did not lose any
    data but this only works if I can guarantee that the XP computer can keep a
    consistent 20Hz TCP/IP loop and this would be too risky. Note that I did
    not use the RT Communication Wizard to setup my program but I did use it to
    create a similar example to look at. My XP monitor shows LAN utilization of
    only 0.4% max and my XP CPU usage is only around 10%.
    Does anyone have any ideas of why I can't get consistent data at the speed I
    am trying for?
    Does anyone have a better network communications approach to do what I am
    trying to do?

    Would something like this work?  It is 8 channels at 33kSa per second per channel from a 200Mhz RT controller
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/202103
    The source code for this is at:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/3F941A040879E64086256FA20067041A
    It uses the command server architecture
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • VISA Ethernet (LAN)

    大家好!
            我准备用labview 通过以太网口连接Agilent 网络分析仪E5061A遇上一些问题(见附件),请大家帮我看看有没有好的解决办法.
    谢谢
    Attachments:
    无法用MAE连接到Agilent 网络分析仪E5061A.doc ‏339 KB

    English translation:
    Hello, everybody!
            I am going through the Ethernet port to connect with labview network analyzer Agilent E5061A encounter some problems (see annex), please help me see if there is no good solution

  • Is it possible for visa/labview to become confused?

    I have an application that uses visa serial comms to read  quartzdyne sensors from a Qlink module. Two sensors are used. Each sensor measures both P and T. After approx 30 mins of operation it was noted/logged that Sensor A’s value reverts to sensor B’s labiew indicator, and sensors B’s values reverts to A’s indicators in labview. Like labview has becomes confused and swapped them over!
    It reverted when labview was momentarily unable to read sensors A; the value was displayed in labview as ‘0’. I can live with a momentary loss, however i cant live with the values swapping over like that.
    Is this something anyone has came across before?

    The delay is not the most reliable way to handle such situations.
    Does the messages sent from the devices have some identifier?
    Or you could read a specific number of characters, or up until a message seperator.
    Ton 
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Does iTunes use wireless music stream if using an Ethernet cable for AE?

    Hello,
    I have been having trouble with airtunes for some time now. I've tried lots of different things without much success. I think there might be too many wireless networks in my building and I am getting a lot of interference. So i'm thinking of trying a wired method.
    If I plugged an ethernet cable from the computer into the Airport Express (which is then plugged into the stereo), does airtunes still send the music stream wirelessly or would it use the ethernet cable instead?
    Thanks
    WP

    1. Will this work (i.e., add wireless to the office and maintain my existing wireless in my home)? If so, what do I need to do? Specifically, do I need to configure WDS and (if so) does 2Wire support this?
    What you are attempting to do is actually called a "roaming" network in Apple terms and not WDS. In a roaming network, AirPort base stations are connected together on the same subnet of an Ethernet network. Each base station is setup as a bridge, but share the same network name (SSID) and encryption (if used). It sounds like it should be possible to setup the AirPort Express Base Station (AX) as a roaming network. The following is how it would be done with AirPort Extreme Base Stations:
    - Network configuration: DSL/Cable Modem or Internet Router > (Ethernet cable) > [WAN] AEBS1 [LAN] > (Ethernet cable) > [LAN] AEBS2 [LAN] > (Ethernet cable) > [LAN] AEBSn (Note: In your case, you will have a single AX, instead of multiple AEBSs.)
    - Setup the second AEBS, as a bridge. (Disable "Distribute IP addresses")
    - For each AEBS in the roaming network:
    -- Connect to the same subnet of the Ethernet network
    -- Provide a unique Base Station Name
    -- The Network Name should be identical
    -- If using security, use the same encryption type (WEP, WPA, etc.) and password.
    -- Make sure that the channel is set at least three channels apart from the next AEBS.
    2. Assuming I can, can I have that same AX (i.e., the one connected vis-à-vis Ethernet cable) be used for wireless printing in the office while providing wireless internet? Any special configuration to allow that?
    Yes.
    3. If this network desire does not work, is there another set of hardware that I should purchase (i.e., a different wireless DSL modem, Airport Extreme, other???).
    The configuration as you planned it should work...but, in case it doesn't, I'd recommend that you replace your current wireless router with an AEBS. You can then get either another AEBS or an AX to create the roaming network.

  • XEM - Unable to load the initial data or the variances(delta) data into sys

    I am installing xEM 2.0 SP 10 (SAP xApp Emissions Management) in a windows environment with SQL 5000.  I installed xEM on NW 2004, usage types AS Java and EP 6.
    I am attempting to load the initial data or the variances (delta) data into the system.  Instruction is on page 15 in the install guide.
    I am supposed to enter the following in the command line:
    java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=[JDBC Driver];[JDBCUrl];[User];[Password]
    Example command for import into SQL Server:
    java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddtek.jdbc.sqlserver.SQLServerDriver; jdbc:datadirect:sqlserver://vma03:1433;SAPC11DB;password
    The customer I am with is running the xEM database on a different instance.  This is where I run into a problem.  I am not sure how to specify the instance in the script.  This is what  I have attempted so far:
    C:\>cd temp\load
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43:SQL3:1534;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43:SQL3:1534 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unable to connect.  Inva
    lid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43:SQL3:1534 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unab
    le to connect.  Invalid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43;SQL3:1534;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43 as user SQL3:1534 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Error establishing socket. Connec
    tion refused: connect): [DataDirect][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43 as user SQL3:1534 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Error establi
    shing socket. Connection refused: connect): [DataDirect][SQLServer JDBC Driver]Error establishing socket. Connection ref
    used: connect
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43:1534;SQL3;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43:1534 as user SQL3 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user
    'SQL3'.): [DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SQL3'.
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43:1534 as user SQL3 (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver][SQLServer]Lo
    gin failed for user 'SQL3'.): [DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SQL3'.
    C:\Temp\load>java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddte
    k.jdbc.sqlserver.SQLServerDriver;jdbc:datadirect:sqlserver://PRODSQL43:1534:SQL3;SAPPEMDB;password
    java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:datadirect:sqlserver:/
    /PRODSQL43:1534:SQL3 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unable to connect.  Inva
    lid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
            at com.sap.sdm.util.dbaccess.DBTask.dbImport(DBTask.java:356)
            at com.sap.sdm.util.dbaccess.SapTransTask.perform_import(SapTransTask.java:293)
            at com.sap.sdm.util.dbaccess.SapTransTask.execute(SapTransTask.java:51)
            at com.sap.sdm.util.dbaccess.SapTrans.main(SapTrans.java:21)
    import aborted with java.lang.Exception: ERROR: Cannot connect to the database:ERROR: Connect failed to database jdbc:da
    tadirect:sqlserver://PRODSQL43:1534:SQL3 as user SAPPEMDB (java.sql.SQLException/[DataDirect][SQLServer JDBC Driver]Unab
    le to connect.  Invalid URL.): [DataDirect][SQLServer JDBC Driver]Unable to connect.  Invalid URL.
    C:\Temp\load>
    My last attempt was a command using colons and semicolons with the following results.  The closest (there was a significant delay before the error or failure) appears to have been //PRODSQL43;SQL3:1534; (second attempt).  The error listed from this attempt is   "Error establishing socket. Connection refused: connect".
    I also checked the default database that user SAPPEMDB has in place and it is assign the correct database.
    Please help.
    Message was edited by: Owner
            Mike Smayrabunya

    Hey,
    It looks like one of the following:
    1. The DB is down,
    2. The user SAPPEMDB does not have the right authorization.
    3. The password of the user SAPPEMDB is not password
    4. The syntax is incorrect
    in order to find what is the problem,
    please:
    1. Login in the the DB PRODSQL43:1534 with the user "SAPPEMDB" and the password "password",
    this will eliminate the options 1 - DB down, 2 -SAPPEMDB does not have authorization and 3 - password of the user SAPPEMDB is not password.
    2. If the login failed, than please run sql trace with security elements (in the client there is a tool called "SQL Profiler"
    3. If the login is correct, than you check the syntax of the command:
    "java -Djava.ext.dirs=. -jar SAPtrans.jar import logfile=import.log datafile=init.dat connectstring=com.ddtek.jdbc.sqlserver.SQLServerDriver; jdbc:datadirect:sqlserver://vma03:1433;SAPC11DB;password"
    According to the error message "Error establishing socket. Connection refused"
    it looks like The DB is down or syntax is incorrect.

  • DSS problems when publishing large amount of data fast

    Has anyone experienced problems when sending large amounts of data using the DSS. I have approximately 130 to 150 items that I send through the DSS to communicate between different parts of my application.
    There are several loops publishing data. One publishes approximately 50 items in a rate of 50ms, another about 40 items with 100ms publishing rate.
    I send a command to a subprogram (125ms) that reads and publishes the answer on a DSS URL (app 125 ms). So that is one item on DSS for about 250ms. But this data is not seen on my man GUI window that reads the DSS URL.
    My questions are
    1. Is there any limit in speed (frequency) for data publishing in DSS?
    2. Can DSS be unstable if loaded to much?
    3. Can I lose/miss data in any situation?
    4. In the DSS Manager I have doubled the MaxItems and MaxConnections. How will this affect my system?
    5. When I run my full application I have experienced the following error Fatal Internal Error : ”memory.ccp” , line 638. Can this be a result of my large application and the heavy load on DSS? (se attached picture)
    Regards
    Idriz Zogaj
    Idriz "Minnet" Zogaj, M.Sc. Engineering Physics
    Memory Profesional
    direct: +46 (0) - 734 32 00 10
    http://www.zogaj.se

    LuI wrote:
    >
    > Hi all,
    >
    > I am frustrated on VISA serial comm. It looks so neat and its
    > fantastic what it supposes to do for a develloper, but sometimes one
    > runs into trouble very deep.
    > I have an app where I have to read large amounts of data streamed by
    > 13 µCs at 230kBaud. (They do not necessarily need to stream all at the
    > same time.)
    > I use either a Moxa multiport adapter C320 with 16 serial ports or -
    > for test purposes - a Keyspan serial-2-USB adapter with 4 serial
    > ports.
    Does it work better if you use the serial port(s) on your motherboard?
    If so, then get a better serial adapter. If not, look more closely at
    VISA.
    Some programs have some issues on serial adapters but run fine on a
    regular serial port. We've had that problem recent
    ly.
    Best, Mark

  • UpGrade failed 9.3.4294 (2005 SP3 PatchSet 9) to 10.50.1600.1.

    Hi, I've tried an UpGrade from 9.3.4294 (2005 SP3 PatchSet 9) to 10.50.1600.1. (SAP media ID 51039339)
    The setup failed by execution of 'sqlagent100_msdb_upgrade.sql' with error code 574.
    I found the following KB articele http://support.microsoft.com/kb/960781 and this blog http://blogs.msdn.com/b/psssql/archive/2008/09/10/upgrade-for-sql-server-2008-can-fail-if-you-have-renamed-the-sa-account.aspx.
    I could start the service and execute the proposed statement to my named instance as followes:
    ...Binnsqlservr.exe" -sSAPQPT -c -f -T 3608
    <-- message if sqlcmd is active:
    2011-05-20 16:13:46.88 spid51 Starting up database 'QPT'.
    2011-05-20 16:13:47.89 spid51 CHECKDB for database 'QPT' finished without e
    rrors on 2011-05-15 09:00:06.870 (local time). This is an informational message
    only; no user action is required.
    sqlcmd -S tpzsqp01SAPQPT -E -A -Q"alter login <sys-admin> with name = sa"
    <-- this gives no feedback to the console...
    After this I've used the Repair function of the SQL 2008 setup, but it failed on the same scipt 'sqlagent100_msdb_upgrade.sql'.
    I've also tried to change the sa password
    sqlcmd -S tpzsqp01SAPQPT -E -A -Q"ALTER LOGIN sa WITH PASS
    WORD = 'xxx' UNLOCK;"
    But I'm not able to connect to the server via TCP
    C:Windowssystem32>sqlcmd -U sa
    Password: HResult 0x274D, Level 16, State 1
    TCP Provider: No connection could be made because the target machine actively re
    fused it.
    Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establi
    shing a connection to the server. When connecting to SQL Server 2005, this failu
    re may be caused by the fact that under the default settings SQL Server does not
    allow remote connections..
    Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
    At the moment I don't know what is wrong with the master db and why the setup can not connect with the sa account... we did not change this account in the past?! I've done the setup and this failed with the same error as described in http://support.microsoft.com/kb/960781. I've followed up this KB article but it did not solve the problem. The problem is still available.
    Error messages by setup are:
    Detail.txt
    2011-05-20 10:26:03 Slp: Error result: -2061893608
    2011-05-20 10:26:03 Slp: Result facility code: 1306
    2011-05-20 10:26:03 Slp: Result error code: 24
    SQLServer_ERRORLOG_2011-05-20T09.47.03.txt
    cript level upgrade for database 'master' failed because upgrade step 'sqlagent100_msdb_upgrade.sql' encountered error 574, state 0, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
    Detailed results:
    Feature: Database Engine Services
    Status: Failed: see logs for details
    MSI status: Passed
    Configuration status: Failed: see details below
    Configuration error code: 0x4BDAF9BA@1306@24
    Configuration error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
    Configuration log: C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20110520_164101Detail.txt
    Feature: SQL Server Replication
    Status: Failed: see logs for details
    MSI status: Passed
    Configuration status: Failed: see details below
    Configuration error code: 0x4BDAF9BA@1306@24
    Configuration error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
    Configuration log: C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20110520_164101Detail.txt
    Feature: Full-Text Search
    Status: Failed: see logs for details
    MSI status: Passed
    Configuration status: Failed: see details below
    Configuration error code: 0x4BDAF9BA@1306@24
    Configuration error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
    Configuration log: C:Program FilesMicrosoft SQL Server100Setup BootstrapLog20110520_164101Detail.txt
    Edited by: René Schulz on May 24, 2011 9:23 AM

    for further ideas with trace flag -T3601; the upgrade script seems to have a problem with RECONFIGURE ??? :
    /* DMF Post-upgrade steps */
    -- >>> CTP5 -> CTP6 Upgrade
    -- Restoring previously saved data and converting TargetSets to ObjectSets
    IF (OBJECT_ID('dbo.dmf_upgrade', 'U') IS NOT NULL)
    BEGIN
    BEGIN TRANSACTION
    -- Restore policies
    SET IDENTITY_INSERT dbo.syspolicy_policies_internal ON
    INSERT dbo.syspolicy_policies_internal (policy_id,name,condition_id,root_condition_id,date_created,execution_mode,policy_category_id,schedule_uid,description,help_text,help_link,is_enabled,job_id,created_by,modified_by,date_modified)
    SELECT policy_id,name,condition_id,root_condition_id,date_created,execution_mode,policy_category_id,schedule_uid,description,help_text,help_link,is_enabled,job_id,created_by,modified_by,date_modified
    FROM msdb.dbo.tmp_syspolicy_policies_internal
    SET IDENTITY_INSERT dbo.syspolicy_policies_internal OFF
    -- Restore Health state
    SET IDENTITY_INSERT dbo.syspolicy_system_health_state_internal ON
    INSERT dbo.syspolicy_system_health_state_internal (health_state_id,policy_id,last_run_date,target_query_expression_with_id,target_query_expression,result)
    SELECT * FROM msdb.dbo.tmp_syspolicy_system_health_state_internal
    SET IDENTITY_INSERT dbo.syspolicy_system_health_state_internal OFF
    -- Restore Execution history
    SET IDENTITY_INSERT dbo.syspolicy_policy_execution_history_internal ON
    INSERT dbo.syspolicy_policy_execution_history_internal (history_id,policy_id,start_date,end_date,result,is_full_run,exception_message,exception)
    SELECT * FROM msdb.dbo.tmp_syspolicy_policy_execution_history_internal
    SET IDENTITY_INSERT dbo.syspolicy_policy_execution_history_internal OFF
    SET IDENTITY_INSERT dbo.syspolicy_policy_execution_history_details_internal ON
    INSERT dbo.syspolicy_policy_execution_history_details_internal (detail_id,history_id,target_query_expression,target_query...
    2011-05-23 14:03:53.29 spid7s Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
    2011-05-23 14:03:53.29 spid7s Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
    2011-05-23 14:03:53.30 spid7s Error: 574, Severity: 16, State: 0.
    2011-05-23 14:03:53.30 spid7s CONFIG statement cannot be used inside a user transaction.
    2011-05-23 14:03:53.30 spid7s Error: 912, Severity: 21, State: 2.

  • IMac applications/data transfer

    I just unpacked and activated my new iMac and wish to transfer to this new iMac all of my applications and data files that are imbedded in my old eMac, including Quicken 2004 for Mac, Adobe Photoshop CS2, Adobe Bridge, iWork'08 and Apple Works 6. Since I don't have a firewire cable with an 400 Mb/sec plug on one end and a 800 MB/sec plug at the other end I am unable to use the Setup assistant to help me in transferring my applications. Can I use an Ethernet cable to accomplish this transfer. Also, must I install OS X 10.4.11 in my new iMac in order to run some of the older applications like Quicken and Apple Works? Any help will be greatly appreciated by this old (81 ys) man.

    Hmmm, not a good idea. Most of your applications are too old to work. You will need to locate and download upgrades to Leopard compatible versions where available. This includes replacing CS2 apps with CS3 or CS4 (preferably the latter) versions. Not sure that Quicken has a compatible version but you can check Intuit's site. You may need to find a replacement such as Tax Cut. Replace AppleWorks with iWork '09, although iWork '08 will work. If you plan to continue using AppleWorks you will need to download the AppleWorks 6.2.7 OS X version. It may continue to work tolerably with Leopard.
    You cannot install Tiger on the new iMac. Don't even try.
    You can connect the two computers vis Ethernet or if you have a home network both computers could be connected to your router either by Ethernet or wirelessly if the router supports wireless. Select Mac Help from the Finder's Help menu and search for "sharing" or "file sharing" for help with this. However, for your personal data files you may find it's easier to transfer them to a USB flash drive then copy them from the flash drive. Alternatively, backup the hard drive on your eMac to an external FireWire or USB drive in order to transfer your files.
    Be careful about what your chose to transfer because there's a world of difference between a PPC and an Intel Mac as well as between Tiger and Leopard. See the following:
    A Basic Guide for Migrating to Intel-Macs
    If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate. Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
    Rosetta supports "software that runs on the PowerPC G3, G4, or G5 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
    Classic Environment, and subsequently any Mac OS 9 or earlier applications
    Screensavers written for the PowerPC
    System Preference add-ons
    All Unsanity Haxies
    Browser and other plug-ins
    Contextual Menu Items
    Applications which specifically require the PowerPC G5
    Kernel extensions
    Java applications with JNI (PowerPC) libraries
    See also What Can Be Translated by Rosetta.
    In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
    If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
    If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
    The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
    Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior 4.1, TechTool Pro 4.6.1, SuperDuper 2.5, and Drive Genius 2.0.2 work properly on Intel-Macs with Leopard. The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries. Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
    Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
    Additional links that will be helpful to new Intel-Mac users:
    Intel In Macs
    Apple Guide to Universal Applications
    MacInTouch List of Compatible Universal Binaries
    MacInTouch List of Rosetta Compatible Applications
    MacUpdate List of Intel-Compatible Software
    Transferring data with Setup Assistant - Migration Assistant FAQ
    Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode, copying the critical contents to CD and DVD, an external hard drive, or networking
    will work better when moving from PowerPC to Intel Macs. The initial section below discusses Target Disk Mode. It is then followed by a section which discusses networking with Macs that lack Firewire.
    If both computers support the use of Firewire then you can use the following instructions:
    1. Repair the hard drive and permissions using Disk Utility.
    2. Backup your data. This is vitally important in case you make a mistake or there's some other problem.
    3. Connect a Firewire cable between your old Mac and your new Intel Mac.
    4. Startup your old Mac in Target Disk Mode.
    5. Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
    If you are not able to use a Firewire connection (for example you have a Late 2008 MacBook that only supports USB:)
    1. Set up a local home network: Creating a small Ethernet Network.
    2. If you have a MacBook Air or Late 2008 MacBook see the following:
    MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- Migration Tips and Tricks;
    MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- What to do if migration is unsuccessful;
    MacBook Air- Migration Tips and Tricks;
    MacBook Air- Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks.
    Copy the following items from your old Mac to the new Mac:
    In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder)
    /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/ (copy the whole folder)
    /Home /Library/Calendars (copy the whole folder)
    /Home /Library/iTunes (copy the whole folder)
    /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist
    /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data
    Also in /Home/Library/Preferences/Microsoft
    Credit goes to Macjack for this information.
    If you need to transfer data for other applications please ask the vendor or ask in the Discussions where specific applications store their data.
    5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
    Written by Kappy with additional contributions from a brody.
    Revised 1/6/2009

  • Mac Pro to MacBook Pro -  File transfer problem

    I just bought a new Mac Pro. It is connected to my Airport Extreme via ethernet. The Airport Extreme is connected to my cable modem vis ethernet.
    The Mac Pro and the MacBook Pro appear in the others Shared part of the side bar. I have checked the permissions of the files (command I) that I am trying to transfer and in every case there are the usual names- admin, my name, and everyone - with Read & Write privileges. However, there is another one called (unknown) with read only. I can not change the privilege nor delete the name from the list.
    1. I have repaired permissions on both machines
    2. In "Get Info" I changed permissions and added "Administrators" and made it "Read & Write" to the files I am trying to share.
    *The Problem is:*
    I can transfer from the MacBook Pro to the Mac Pro but when I try to transfer from the Mac Pro to the MacBook Pro , I get the Alert:
    "You may need to enter the name and password for an administrator on this computer to change the item named " Blah Blah"
    When I click on "Continue", I get this message:
    "The item "Blah Blah" contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?"
    When I click continue I get:
    " The operation cannot be completed because you do not have sufficient privileges for some of the items".
    From the Mac Pro I have no problem moving files from one folder to another on the MacBook Pro.
    Transferring worked perfectly when I had my old PPC G5 (where the Mac Pro is in the loop).
    Can someone please help? Anyone have an idea or two?
    Message was edited by: Garner Lewis

    Have run into this problem repeatedly in the past two weeks.  I first discovered I could tether my MacBook Pro to my Droid X and access the internet for free, so I was elated.  After a couple of days I could no longer connect the phone to the Mac via Bluetooth as you describe.  Then it magically came back a week later, and after two days I lost it again.  I spent about 3 hours troubleshooting and solved it.  I hope this works for you.
    Open Network Preferences on the computer
    HIghlight Bluetooth PAN
    Select the ADVANCED tab
    Click on "Renew DHCP Lease"
    That did it for me. 
    Good luck,
    Rob

  • "Add Printer" not functioning

    Hello-
    I've been experiencing a weird problem within my Printer Setup Utility. When i click the "Add +" icon to add a printer to my queue(sp?), nothing happens... nothing.
    I first tried it with a laser printer connected vis ethernet to my wireless Belkin router. Nothing happened when I tried to add it via the Setup Utility, but I was able to add through the print dialogue box under Rendeveaux Printers.
    My current problem is with my USB-connected Epson C88+, just purchased new today (it's currently working perfectly through my fiance's powerbook). I've installed the driver, restarted, even ran Disk Utility to check if anything crazy was going on (there were alot of incorrect permissions with an /EPSON in the file name).
    The Printer Setup Utility is still unresponsive when I click the Add icon, well technically the only response I get is the on-click dimming of the icon. But that is it.
    Does anyone have any advice to remedy the situation?
    thanks,
    Chris
    PS- I'm running Mac OS X 10.4.1... with a recently replaced HD.
    1.5 GHz PBG4   Mac OS X (10.4.1)  

    I have been having exactly the same problem as CJenksus. The Printer Setup Utility's Add function sees my AppleTalk printer, but when I select the printer and click the Add button, nothing happens. Like CJenksus, I have no "Reset Printing System" menu command, above "Quit Printer Setup Utility" or anywhere else. The Printer Setup Utility's "About" box shows version 3.0, copyright 1999-2003. Is there a newer version available, and where can I get it? Or is there something else I can do to get it to add my printer?
    I'm running OS X 1.4.10 on a dual 2.5 GHz PowerPC G5 with 1.5 GB RAM and a 160 GB hard disk.
    Dual 2.5 GHz PowerPC G5   Mac OS X (10.4.10)  

  • How do I control the TEK TDS3052 by LABVIEW installed in a PC?

    I used the "crossover" cable directly connect the PC and the TEK TDS3052(with a ethernet port).What I have done is that I configured the ethernet parameters( the IP adress, the net mask etc.). And when I apply the "Ping" command in the "run" window of the windows 98, there is a correct return.So the ethernet network is well done.Now I want to use the LABVIEW to control the oscilloscope. But I don't know then.Who can tell me the detail steps which I can take next, thanks a lot.

    Kevin,
    Which version of LabVIEW do you have?
    There are two ways of controlling your oscilloscope from LabVIEW, one is using the VISA functions (instrument i/o palette in LabVIEW)and another one is using an already built instrument driver, which you can download by going to zone.ni.com, and then click on "resource library" at your left... then click in "instrument drivers", and then in "downloads" and then type in the "additional keywords" box type "tds 3052" and click SEEK... you will find a link for your instrument there... you can download that instrument driver and it fully functional with LabVIEW, now... the truth is that I have always used this drivers with a GPIB interface in the computer, in this case is only going to be by TCP/IP... so you can try to adapt the addresses instead of using an instrument type address, use the TCP/IP instrument type address and give it a try to see if it works. The address type for TCP/IP is stated below.
    First you need to have the latest version of NI-VISA installed, 2.5.2, which is shipped with LabVIEW 6i (version 2.5.0 and then download a patch for 2.5.2).
    Our solution for controlling instruments with Ethernet ports is NI-VISA.There are two possible situations:
    1) Instrument supports the VXI-11 protocol.
    The VXI-11 protocol was created to control instruments over Ethernet using the GPIB style. It has nothing to do with VXI, but it was there were it got approved.
    NI-VISA supports VXI-11 instruments, to the point that the only change in the instrument driver written with VISA is the identification string. Instead of using GPIB::1::INSTR, you can use TCPIP::ip address::instrument name::INSTR. (For example, with the Tek TDS 3054, the string would be: TCPIP::130.130.130.1::gpib0,1::INSTR). (Note that 'gpib0,1' has nothing to do GPIB..its just a name given to the instrument..it could have been just 'tds3054' also if the instrument vendor chose to do so).
    2) Instrument DOES NOT support the VXI-11 protocol.
    In this case, you can still use NI-VISA to talk to the instrument using the NI-VISA Ethernet Sockets functions. However, you would have to take care of the specifics of the protocol used for the instrument. The instrument manufacturer should provide you with the details on how to control the instrument (commands, parsing, etc.).
    *** Tek's Scopes ***
    Tek introduced an ethernet interface for some of their scopes. We have a TDS3054 scope from Tek that is VXI-11 compliant. Since the TDS3054 is VXI-11 compliant, we used it at NIWeek to show how you could control it using the same code written for the instrument with the GPIB interface, by just changing the identification string.
    NI-VISA 2.5.2
    NI-VISA 2.5.0 introduced the support for instruments with Ethernet ports. Notice that LabVIEW 6i ships with the older 2.5.0 version. The patch to upgrade it to 2.5.2 is called NiViEnet.dll and is located in the ftp site at:
    ftp://ftp.natinst.com/support/visa/drivers/win32/2.5/patch/
    So you can try this Kevin and see if it works for you, contact us back (www.ni.com/ask) if you need further assistance.
    Good luck!...
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

Maybe you are looking for

  • JSTL: Using value of a variable in expression

    All, I am stuck on this problem and I hope someone here can help. This is a real tough one for me to explain but I'l try my best. I am try to have my includes a little more component oriented. So I wanted to use something like the following <c:import

  • Looking for a leather case for the ipod Touch 4G

    Hello everyone, I'm looking for a real *GENUINE LEATHER* case for the iPod Touch 4G, preferably one that has a belt clip. I just wasted $34 on the new Belkin "genuine leather case with belt clip" only to find out it smelled like rubber and felt nothi

  • FF not responding I have tried everything.

    I have tried clean install and disable of addons .I even had AT&T connect tech try to fix the problem.I hope you can help. Thanks

  • I Didn't receive App Code for Lion.

    How do I check the status of updates? I sent a request July 21. And I have request number

  • Agents handling multiple IVR/Call center calls

    The scenario is that you have  agents who have multiple skill sets and can take calls from 2 different IVR/Call centers. Now you want to assign calls from IVR1 a higher priority over calls from IVR2. Can that be done in ICM since the calls are coming