I sometimes get Error 42 when opening a TCP connection - how can I fix this ?

In my Labview application I am opening a TCP connection in an identical way to the Data Client example. I am using a direct connection to external equipment using an ethernet crossover cable. The error occurs on at least 2 different PCs.
The error can occur regardless of whether anything is connected to the ethernet port of the PC.
The only way I have found to clear the error is to power down the PC and restart with a connection to the office LAN. Then I can swap back to the crossover cable and talk to the remote equipment once again, ...unitl the next time the error occurs.
I have LabView 6.0 running on Win98.
Any help greatly appreciated.

Jeremy,
Thanks for taking the time to answer
I already checked the link you suggested but I am connecting to my remote instrument with a 2m cross-over cable.
I Have looked into this a little further, it seems the sequence of events is as follows -
1. After some hours the connection gets lost.
2. TCP Read returns error 66 - Connection was closed by peer.
3. If I try to restart my program I get Error 42 at TCP open Connection.
4. Rebooting the PC doesn't clear the error 42 problem.
5. If I try to PING my instument I get "Host unreachable".
6. I have to "refresh" my network card by connecting to our LAN and either opening a file on another PC or simply sending a PING to another PC.
6. I can then reconnect my remote instrument via cross-over cable
and we're up and running for another few hours.
I get the same problem on two different PCs with different NICs and different OS (Win98 and WinME)
I am assuming that because a reboot has no effect that its not a memory allocation problem.
It seems like LabView stops talking to the NIC and then gets locked out some how.
Any other tips ?

Similar Messages

  • Sometimes notes sustain when they shouldn't. How can I fix this?

    When inputting notes either with my midi keyboard or directly with the pencil tool, sometimes the notes sustain even though the note is played or input as a short note. First it happened with the steel guitar exs internal synth sound input with pencil tool, now also it does it sometimes when using the midi keyboard as well. I use an M Audio keyboard, but as a dummy keyboard midied to the Mac, so all sounds are Logic Express sounds. This has only just started happening recently. I thought that it might be a memory problem, but there still appears to be plenty of RAM left.

    Look in the headphone hole for lint or other debris. If there is
    obstruction, clear it out.
    Plug your headphones in and remove them repeatedly.
    Reset the iPhone: hold down home button and sleep button
    until Apple logo appears - no data will be lost.

  • When I try to access GameCenter on my Mac it says "The requested operation could not be completed due to an error communicating with the server." How can I fix this?

    When I try to access GameCenter on my Mac it says "The requested operation could not be completed due to an error communicating with the server." How can I fix this?

    This usually caused by a customised hosts file.
    These need to be the only entries in your /etc/hosts file:-
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting.  Do not change this entry.
    127.0.0.1       localhost
    255.255.255.255 broadcasthost
    ::1             localhost
    fe80::1%lo0     localhost
    Remove anything below these entries, then try and reconnect with GC. Once GC starts properly you can put the extra entries back in your hosts file, GC should start normally afterwards.
    https://discussions.apple.com/message/19276629#19276629
    Jerry

  • I dropped my phone and the screen went black but I can still hear when I get a call or text.. How can I fix this?

    Please help! I dropped my phone and the screen went black but I can still hear when I get a call or text.. How can I fix this?

    See Here for  >  Frozen or unresponsive iPhone
    Try this First...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • My apps keeping crashing everytime I open them up.  How can I fix this problem?

    My apps keep crashing every time I open them up.  How can I fix this problem?

    Have you done a reboot? (holding the on/off and Home button at same time until the Apple logon appears.)
    Also, have you tried closing all apps? (double click Home button and swipe up with your finger.)
    George

  • My iphone5 thinks that my headphones are plugged in even when they're not. How can I fix this?

    My iphone5 thinks that my headphones are plugged in even when they're not. How can I fix this?

    Try inserting and removing headphones in succession 6-7 times.
    If this does not work, take it to an Apple Store or Apple Authorized Service Provider and have them evaluate it.

  • I want to reinstall os x10.5 in my macbook. But it has show does not validatebasesystem error while it staring install. How can I fix this.

    I want to reinstall os x10.5 in my macbook. But it has show does not validate basesystem error while it staring install. How can I fix this.

    Contact Apple Support:
    http://www.apple.com/support/contact/
    Apple - How to Contact Us:
    http://www.apple.com/contact/
    Be sure to refer to the repair ticket number.
    Sounds like a terrible mixup.
    Good luck & happy computing!

  • I get an error code 50 when downloading digital movie. How can I fix this issue?

    I get an error code 50 when downloading digital copy of a movie to my iTunes. I try to restart and still get the smae error code. I have my PC plugged directly into my modem and still get error, when trying to download failed movies. I have 5 failed downloads. How can I fix this issue?

    Try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tell me that the file is being used even when  it is not. How can I fix this issue?

    Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tells me that the file is being used even when  iall other programs are closed. How can I fix this issue?

    Thanks Jeff, I was not aware that a template could be multi-page.  (All the existing templates were 1 page)
    But it worked, saving me some steps.  When I was finished I renamed the document, and locked it.
    Then tried to save it but  could not because it was locked.  I closed it, went to my Spread Sheet Folder ,
    to find it, it was not there.  The Finder could not find it either.
    So I start over again.
    I opened up Numbers and it showed my personal Numbers template folder, it contained both my new 
    original 4 page template and the vanished saved document!
    I tried to delete the template containing these document data and could not - I had to go to the Library/Application Support/Numbers to physically remove it from this folder. Then I started over again.  I Finally found out how to make it work: I can now "save as", and then lock, and it will go to place where I want it to be saved and locked.
    The secret is: Click on the document title in the menu bar, and it opens up  "Save as...", which works the same as in OS 10.4.11, and you can pick the place you want for saving.  Once done that, you can then lock the document in the same pull down menu, and then close it.
    I also found later that I can delete a template from its folder, by letting Numbers open the templates,
    clicking on the one I want to remove, then go to the "Numbers Menu/File/Move to...", select "Desktop"
    and from there the selected template can then be thrown into the Trash from there.
    It appears now that the real fault of the Numbers software is that the "Save as" command is not available in the "Edit" or "File" pull-down menus, but hidden behind the title of the document.

  • When I imessage my husband I get a text back with what I just texted him. It only happens when I text him. How can I fix this?

    I text my husband Hey and i get an i message that says what I just texted him. It only happens to me when I text him it doesnt happen to him. Ive changed my apple id and my i cloud names but it still happens. How can I fix this?

    iTunes and iCloud are not the same.
    On your device go Settings > iCloud > Delete Account > Sign in with the new Apple ID
    This will seperate your Contacts and Messages. You both can continue to use the same Apple ID for iTunes and share apps and music

  • When trying to print I get error code 30892 and authentication required how do I fix this?

    I am new to my Mac and am having trouble printing.  I keep getting error code -30892 and authentication required and it can't print.  I have sharing features open on both my PC and my Mac.  Any suggestions?

    Doesn't sound like any error number I'm familiar with. What's your set-up? Are you using a print server?

  • TS2551 I have iphoto 11 and it doesn't open, it keeps buffering, how can I fix this problem?

    My IPHOTO 11 keeps buffering and doesn't open, how can this be fixed?

    Back up your iPhoto library, Depress the option (alt) and command keys and launch iPhoto - rebuild your iPhoto library
    LN

  • Bought 2 Cd's on iTunes and it only plays the first 30 seconds of some songs on the album when listed as longer. How can I fix this?

    I bought a few CD's from the iTunes store, Incubus Morning View and Make Yourself. Half of the songs on there play for the full length and the other half only play for about 30 seconds when listed as the full song. Is there anyway to fix this or re-download the songs?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the broken tracks from your iTunes library, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    If you don't see them straight away it may help to close and restart iTunes.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unticked.
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support. Do this also if the iTunes LP package itself won't work properly.
    See also: HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • Windows keeps giving me "itunes has stopped working" error message when I start itunes?  How can i fix this?

    After downloading the newest version, 10.6.1, whenever I open itunes I almost immediately get a "itunes has stopped working" error messsage, in which the only option is to hit the "close the program" button.  Simply closing the error message closes the program as well.  I am operated under windows XP with the latest updates (or so the updater tells me).  It seems like its getting stuck trying to send me a new user agreement because dont you have to agree to one for every new update?  It just can't seem to get past that point.  I tried opening it up in safe mode but that didnt work either.  Any help would be greatly appeciated.

    Looks like itunes was still trying to communicate with my iphone and got confused when it couldnt find it.    Found this in another post and it worked great.
    Solution:
    Make sure you are not connected to the internet and then open itunes. Sync your phone and then enable the internet again. Then stay connected to the internet and close your itunes and reopen it. Bam problem solved.
    By WaKaDo

  • Finder will restart when i try and open a finder window, how can i fix this?

    I cant seem to find a fix through google, most people have it happing ever 5- 10 seconds.  Mine issue comes up about 50% of the time,  times the finder window will stay open other times it will just close down finder, all desktop icon disapear.  after about 5 - 10 seconds it comes back.
    May be a related/separate issue - I have also noticed that when I am transferring a bunch of files from an SD card, that I have to go back because it didn't transfer all the files even though the progress bar says its done.
    Thanks in advance!
    Rick

    anyone?

Maybe you are looking for

  • How do i move the video that plays on my air to display on the tv?

    i have connected my macbook air to a samsung tv via hdmi cables.  the tv shows the apple desktop galaxy picture and then a grey flannel looking page but i don't know how to get the video to show up on the tv instead of the air.  what else do i need t

  • I'm using an hdmi cable from a macbk pro to samsung tv monitor:  no sound?  any ideas?

    i'm using a hdmi cable from a macbk ro to a samsung tv monitor:  no sound coming from tv, only from the computer... any ideas?  thanx....rhea

  • Overiding Active X (pain in the A$$)

    I have designed several pages for a website using multiple motion tweens of road signs and active x comes up when the page loads.  This is really annoying and I just wondered if anybody knows some scripting I can easily use to overcome this. Much abl

  • Pop=up windows in iweb 08...

    i noticed that in o8 we have the option to have links open in a new window. i'm curious if anyone here knows of a way to decide the size of the window that pops up? i'd like to make some pop-up pages that are a certain size. there must be some way to

  • My itunes keeps frezing/crashing

    i am running windows 7 64bit, and my problem started some time ago and has slowly gotten worst,it would take a few sec/min to scroll throe the song list  and now it does not do any thing. i have all of my music (acc,mp3,flac,ect) stored on a external