Error 66 but the VI continues to read and update

I am reading an Omega zSeries wireless temperature, humidity and barometric pressure sensor from a zCDR controller via the Ethernet and NI telnet. It updates fine, but I get an error 66. I have checked the sensor and it is set up with the correct port number and number of ports for access. I am going to take a look at the Omega controller configuration next. As a new LabView user, could use some help.

Bump... please.

Similar Messages

  • Timeout error while reading and updating in batches in a single transaction

    Problem:-
    In a transaction I do read and update to the database in batches. First batch it runs fine and for second batch it get hanged at
    sqlCommand.ExecuteReader(). The following is not my complete code but required bits of it which will give more information about the problem. At the end of this post please find the error log. Please help me.
    My guess:-
    The problem i see here is with the locks acquired while reading and update still remain when it comes for the second batch which is blocking the next read. But could not find a way to solve it.
    Get connection and open it.
    Begin Transaction.
    sqlUpdateTransaction = sqlUpdateConnection.BeginTransaction(String.Format("UpdateUsageDetailTransaction{0}", storageClassId))
    Get application lock.
    GetApplock
    const String sqlText = @"DECLARE @result int EXEC @result = sp_getapplock Resource=@resourceName,@LockMode='Exclusive',@LockOwner='Transaction',@LockTimeout=@timeout select @result";
    using (SqlCommand sqlCommand = sqlTransaction.Connection.CreateCommand())
    sqlCommand.CommandText = sqlText;
    sqlCommand.Parameters.AddWithValue("@resourceName", resourceName);
    sqlCommand.Parameters.AddWithValue("@timeout", milliSecondsTimeout);
    sqlCommand.CommandTimeout = secondsTimeout;
    sqlCommand.Transaction = sqlTransaction;
    Int32 lockResult = (Int32) sqlCommand.ExecuteScalar();
    Seek and read the range of records.
    using (var sqlReadConnection = new SqlConnection(_connectionString))
    sqlReadConnection.Open();
    SqlTransaction sqlTransaction = _sqlUpdateTransaction;
    _cdrList = CdrOps.FetchByrecordsIdRange(_yearMonth, firstSkid, firstSkid + count - 1, sqlReadConnection);
    sqlReadConnection.Close();
    return _cdrList.Count > 0;
    static public Dictionary FetchByrecordsIdRange(Int32 yearMonth, Int64 startCdrId, Int64 endCdrId, SqlConnection sqlConnection)
    Dictionary cdrList = new Dictionary();
    using (SqlCommand sqlCommand = sqlConnection.CreateCommand())
    sqlCommand.CommandText = "EXEC P_GetCDRData @yearMonth, @startCdrId, @endCdrID";
    sqlCommand.Parameters.AddWithValue("@yearMonth", yearMonth);
    sqlCommand.Parameters.AddWithValue("@startCdrId", startCdrId);
    sqlCommand.Parameters.AddWithValue("@endCdrID", endCdrId);
    sqlCommand.CommandTimeout = DbOps.TwoHourTimeoutValue;
    using (SqlDataReader sqlDataReader = sqlCommand.ExecuteReader())
    FetchrecordPieces(sqlDataReader, cdrList);
    return cdrList;
    Update the records to the list by using a loop Go and check if the number of records read is equal to the batch size then write and flush.
    update()
    _tollUpdatedList.Add((Toll) record);
    _legacyUpdateCount++;
    Dispose.
    Dipose()
    if (_sqlUpdateTransaction != null && _sqlUpdateTransaction.Connection != null)
    sqlUpdateTransaction.Rollback(String.Format("UpdateUsageDetailTransaction{0}", _storageClassId));
    _sqlUpdateTransaction.Dispose();
    _sqlUpdateTransaction = null;
    Commit.
    commit()
    if(_sqlUpdateTransaction != null)
    _sqlUpdateTransaction.Commit();
    _sqlUpdateTransaction.Dispose();
    _sqlUpdateTransaction = null;
    Error log.
    Error: [0x80004005] MonthlyFileDb::Seek - Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    Thank you, I used beta_lockinfo and observed the following
    spid=59/0/2
    command = SELECT  
    appl=.Net SqlClient Data Provider
    hostprc= 3640
    dbname = DEV_ECAP_P_CAP_ENT_CMN
    prcstatus= SUSPENDED
    spid_ =
    59/0/2
    blklvl = 1
    blkby = 55
    rsctype = 
    locktype =
    lstatus =
    ownertype =
    rscsubtype =
    waittime = 785.139
    waittype = LCK_M_IS
    spid__ = 59/0/2
    nstlvl = 3
    inputbuffer = (@yearMonth int,@startCdrId bigint,@endCdrID bigint)EXEC P_GetCDRData @yearMonth, @startCdrId, @endCdrID
    current_sp = DEV_ECAP_P_CAP_ENT_CMN.dbo.P_GetCDRData
    spid=55
    command = NULL
    appl=.Net SqlClient Data Provider
    hostprc= 3640
    dbname = DEV_ECAP_P_CAP_ENT_CMN
    prcstatus= sleeping
    spid_ =  55
    blklvl = !!
    blkby = 
    rsctype = APPLICATION
    locktype = X
    lstatus = grant
    ownertype = transaction
    rscsubtype = 
    waittime = 
    waittype = 
    spid__ = 55
    nstlvl = 
    inputbuffer =UPDATE UsgDetailCommon SET RunId = t2.RunId FROM UsgDetailCommon t1 INNER JOIN #UsgDetailCommon_Update t2 ON t1.YearMonth = t2.YearMonth AND t1.CdrId = t2.CdrId ;DROP TABLE #UsgDetailCommon_Update
    current_sp = 
    But what is the solution for this...? I am googling and I found similar post but with no solution, here it is not allowing me to post html link 

  • TS3899 I have an iPhone 5 and it shows on the Mail Icon that I have over 3,000 emails to read but the number continues to increase even when I have read the email.  I thought  once you have read an email it drops off the count of "new emails"

    I have an iPhone 5 and it shows on the Mail Icon that I have over 3,000 emails to read but the number continues to increase even when I have read the email.  I thought  once you have read an email it drops off the count of "new emails"

    The received emails should show in two locations:
    1. In the All Inboxes tab of Mail.
    2. The Inbox for each mail account,
    If your emails are not showing in these locations try quitting the mail app and then reset your iPhone.
    Go to the Home screen and double click the Home button. That will reveal the row of recently used apps at the bottom of the screen. Tap and hold on the app in question until it wiggles and displays a minus sign. Tap the minus sign to actually quit the app. Then tap anywhere on the screen above that bottom row to return the screen to normal.
    To reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • I keep getting an error message when logging onto iCloud. It states that "you cant sign in because of a server error".  But the cloud status is "normal".

    This is happened today after I udpated my iPad to IOS v7 and iTunes to 11.1.0.126  and only for one of my computers.  I keep on getting an error message when trying to log onto iCloud.  The error message is "you cannot sign-in because of a server error" but the iCloud status is "normal" and iCloud is fine on my other computers.

    Next day the problem still continued.  I did restart my computer a couple of times and then "it worked".  Not sure why - if it really was a server problem or something on my side.

  • My itunes player on my desktop skips when playing songs. I have re-installed but the problem continues. I have Windows7 64 bit.

    My itunes player on my desktop (Windows7 64 bit) skips while playing songs. I have re-installed but the problem continues. Any suggestions?

    I'm expreriencing the same conditions with the same environment.  Windows 8, iTunes-64 11.1.2.32, iTunes Store with a processing bar up to 80 +/- and the POPUP MESSAGE OF "iTunes stopped working. The error ...."
    I UNINSTALLED, iTUNES WITH NO POSITIVE RESULT.  I CHECKED THE FIREWALL AND IS THE SAME DEFINITION AS THE PREVIOUS ITUNES VERSION.
    My iTunes StoreS from my iPhones ARE OK.
    I'm spending a lot of time of research for WINDOW'S iTUNE with no solutions.... 

  • I have uninstalled and reinstalled iTunes several times, but keep getting an error message that "the registry settings for importing and burning CD's and DVD's is missing".  Can anyone help with this?

    I have uninstalled and reinstalled iTunes several times, but keep getting an error message that "the registry settings for importing and burning CD's and DVD's is missing".  Can anyone help with this?

    It keeps telling me to reinstall iTunes, but it continues to come back with the same error message.

  • My MacBook Air, once pressed the power button, comes up with a file containing a question mark. I have tried re-starting it but this logo continues to appear and will not go. I cannot log onto my mac. Any suggestions as to what this is please?

    My MacBook Air, once pressed the power button, comes up with a file containing a question mark. I have tried re-starting it but this logo continues to appear and will not go. I cannot log onto my mac. Any suggestions as to what this is please?

    You need to reinstall OS X:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Imac monitor turns off but the imac continues to operate

    I have problem with my imac 27 "i5 2.7 ghz 4gb of ram with video card AMD Radeon HD 6770M 512 MB bought used not under warranty.
    In practice, for the first 2 days no problem but then suddenly began to fade with the monitor frequency is not standardized.
    I am sure that is not to shut down the mac because the mac but the monitor continues to make sounds when you turn off.
    I've tried both to reset the PRAM is to initialize it with os x 10.8 (2 times with updates) and also installing windows 8 but nothing for the first few days but then here goes the problem recur please help me.

    Sound like a hardware issue but this is tough to tell. Run Apple's Hardware Test in extended mode at least 2-3 times. If errors appear you have confirmed a hardware issue and the machine needs to go in for service.

  • HT1338 i've been getting an error when trying to play online games saying that i need to have the browser in 32 - bit mode. my browser is in 32 - bit mode but the msg keeps coming up and not running the game

    i've been getting an error when trying to play online games saying that i need to have the browser in 32 - bit mode. my browser is in 32 - bit mode but the msg keeps coming up and not running the game

    I dunno, that doesn't make any sense to me.
    I just shut down and rebooted into the SnowLeopard partition and took a peek at the preference panes.  There are only 3 that run in 32 bit only.  They are all 3rd party, and none of the prefpanes are non Intel.  Like I said, I have never owned a PPC machine.  Anyhow, SnowLeopard doesn't even have an iCloud prefpane, or a combined mail, contacts, and calenders prefpane, and the ML security and privacy prefpane is all new as well.  The software update prefpane is Intel and 64 bit in both SnowLeopard and Lion.
    As to the triple boot, unless I'm totally mistaken, what I have here is, in essence, 3 seperate descrete computers in one box.  All using the same hardware. but one at a time.  I wouldn't know how to get more than one running at the same time, without using a virtual machine, even if I wanted to.  (Which I don't)  I do sometimes transfer files from one to another using the shared folder, but other than that, they do not interact.  How could ML system preferences be trying to launch prefpanes from a totally different machine?

  • IPod freezes for a few seconds but the sound continues playing

    Hello!
    I recently transfered a large MP4 onto my iPod, and I found that the playback on the iPod occasionally freezes for a few seconds, and then continues playing, but the sound continues throughout. The same video plays OK on iTunes without any freezing. Could somebody help me please?
    Yours faithfully,
    Norman Tang

    i had the same problem on my 1.1 firmware but when i updated it,there was nothing like this.

  • TS1702 I subscribed golf digest, but I could not download the magazine. Ipad reads"cannot update library anerror has occurred.

    I subscribed golf digest, but I could not download the magazine. Ipad reads“cannot update library anerror has occurred.

    Thanks for the quick response. No, I did not get any error messages or any terms-of-usage screen. The employee I told my problem to was not computer savvy either. She just suggested I move to different spots w/in the library to see if that would make a difference. It didn't. When I connected to the library WiFi it did change the Verizon 3G that is usually in the upper left corner to iPad with two to three emanating arcs. I may have to go to the library in the next town. I was able to connect to theirs in the past when I had to download something greater than 20 MB. Unless I really want it, I will probably not even try to download something more than 20 MB due to the hassle. Yeah, I may have been better off getting a normal desktop or laptop and getting WiFi at home. To do that now would mean having my iPad 2 and a desktop computer, which I feel is extravagant. (I know there are a lot of big spenders out there who got the iPad as additional gadget for fun. This is a rich country.) A Verizon rep told me I couldn't set up a WiFi router at home just using an iPad. So it seems like a person who just uses 3G is limited to surfing the net (not even much YouTube because it eats a lot of data) and using email. I read about an app that helps print wirelessly using 3G, but a reviewer said you had to be an engineer to get it done right. BTW, I like the Steelers. I'm old enough to remember Franco Harris and that blond guy whose name escapes me back in the '70s. Since I live in North Jersey I feel I have to support the Giants. But I know football about as well as computers.

  • My 27" Imac (A1312/EMC2390) keeps shutting down unexpectedly with no warning or "screen of death". I replaced the power supply, reset the SMC, and zapped the PRAM, but the problem continues. Can anyone help me?

    My 27" Imac (A1312/EMC2390) keeps shutting down unexpectedly with no warning or "screen of death". So far I reset the SMC, and zapped the PRAM. I even replaced the power supply but the problem continues. My error and system logs seem unhelpful too. Can anyone help me out?

    You can get a shutdown like that if the computer gets too hot. Make sure the air intakes on the bottom and the exhaust vent on the top are clean and are not blocked by something in your workspace like papers or the back of the computer being too close to part of the furniture. You need a good six inches (15cm) of clearance between the exhaust slot and other objects or surfaces.
    Anti-virus/internet security software, especially the "pay for" kinds, can increase operating temps. So can third-party backup software furnished with many "name-brand" external hard drives.
    Fan motors and/or temperature sensors can fail. If you have the original grey disks that shipped with your iMac, find the on that has Apple Hardware Test (AHT) and run it. If you have a failed heat sensor or fan motor, it will detect it with an error code containing "SNS" if it's a bad sensor or "MOT" if its a bad fan motor.
    AHT instructions here:
    http://support.apple.com/kb/HT1509
    Also see if your iMac 27 falls under theis Apple Repair Extension Program:
    iMac 1TB Seagate Hard Drive Replacement Program

  • My ipod tells me my apple id password is wrong even though I just changed the password. I can log on via my desktop, but the ipod continues to tell me that the password is incorrect, so I can't update any apps. Help!

    my ipod tells me my apple id password is wrong even though I just changed the password. I can log on via my desktop, but the ipod continues to tell me that the password is incorrect, so I can't update any apps. when I continue to to try to enter the correct password in it finally freezes the account, and I have to go online via my desktop to fix that problem. I have two apple id's because when my ipod crashed I had to reset it completely. I have never had any problems with this before, and it has been a year since I got my second id, which is linked to the ipod. My first id is used for the cloud on the same device. My wife suggested I reset documentson the cloud for the second id, however, when I try to log on the cloud with my current id, it tells me I have to set up the cloud on that device, but it is already done, but with the old id.
    confusing I know. I have been on the 'change your password merry-go-round' all day, and I'm getting dizzy! Help!

    Then contact iTunes:
    Apple - Support - iTunes - Contact Us

  • HT4414 I get a message "In order to continue installation, please close the following application.  I closed the application, but the message does not close and the installation is "frozen" ... how do I reset?

    I get a message "In order to continue installation, please close the following application.  I closed the application, but the message does not close and the installation is "frozen" ... how do I reset?

    Try posting in the Mountain Lion forum. Here is the link below. This forum is for old software circa 2003.
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion

  • I've paid $ 3,99 for Xcode for Snow Leopard. Now there is a new Xcode for Lion, so I downloaded the new one but the installed continued to be the old one. Now App Store says "Installed" and don't allow me to re-download Xcode. How can I proceed?

    I've paid $ 3,99 for Xcode for Snow Leopard 12 days ago. After installing Lion I saw there is a new FREE Xcode for it, so I downloaded the new one but after installing automatically Xcode for Lion the Developer folder contained the old one. I deleted the old Xcode but the App Store says "Installed" and don't allow me re-download Xcode.
    How can I proceed? I'm guessing whether this problem will occur each time I buy an application from App Store.

    Yes, that's righ, Xcode installer was in the Apps folder. I assumed it had been automatically installed and the installer deleted after installation (the same way as Lion is installed).
    I tried also the procedure for redownloding applications, and MAS showed both Xcodes (Lion and Snow Leopard) and OS X Lion. We see that buttons for Lion and Xcode for Snow Leopard say 'Install' but Xcode for Lion says 'installed' because there is an Install Scode in the Apps folder.
    Thank you.

Maybe you are looking for