Get error 66, when try to use TCP vi send string to arduino

I use TCP vi to send string to arduinos (arduino uno+ arduino wifi shield, and they have arduino code preloaded inside ) wirelessly through the router. Sometimes they can communicate well, the arduino receive the string send by the TCP vi. But sometimes, there will be an error 66 come out of TCP Write vi, so, labview loop will stop. Arduino will say "connection failed". And I have config the VI sever allow the arduino to access.
Another thing I want to mention is, when I highlight the execution, the error will come out more frequently.

Actually, they can communicate not only once, sometimes the VI can pass data several rounds, but suddenly the error 66 appears in TCP write, the loop will stop. And if I rerun the program, things happens again. can anybody tell me why the error come out? Thanks

Similar Messages

  • After years of troublefree syncing, I am getting error 124 when try to sync my Ipod.

    After years of troublefree syncing, I am getting error 124 when try to sync my Ipod.  Please help me to resolve this issue.

    Have you tried a different cable? Are you connecting using a USB hub?

  • HT4623 iam getting Error -1 when iam restoring using itune

    iam getting Error -1 when iam restoring using itune

    Hi LordZc,
    Thanks for visiting Apple Support Communities.
    You can find more information about iTunes restore errors in this article:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    This information relates to error 1:
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Since you have already tried to restore more than two times, I recommend checking for issues between iTunes and security software using the steps in the article below:
    Resolve issues between iTunes and security software
    http://support.apple.com/kb/TS3125
    After doing so, see this article for the steps to restore when your device is in recovery mode:
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    Best Regards,
    Jeremy

  • XP Services dont start up; get Error 1068 when try to manually start them.

    Hello, I'm running Win XP Pro SP3 on a Lenovo T42, which was running fine.  When I boot now, only 25 services start up, and I cant get to Internet or run some key apps. When I use Services.MSC to show the services, many Automatic services are not running.
    When I try to start Network Connections, for example, I get Error 1068, 'The dependency service or group failed to start.'
    When I try to run System Restore from MSConfig, I get 'System Restore is Not Able to Protect Your Computer'.
    I've tried various configurations under MSConfig?General and the results are the same.
    Any ideas are appreciated.  Thanks....BT

    You can read through these Microsoft Knowledge based articles which may resolve some of you issues 
    1) http://support.microsoft.com/kb/827328
    2)http://support.microsoft.com/kb/888016
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • USB-6211 - Getting Error 50103 when attempting to use two counter method

    I am using a USB-6211 and want to measure the speed of a motor by counting pulses coming back from sensors on the motor. Speed will vary from 0 to about 5k Hz.
    My strategy is to use "Method 2" in the manual to measure using two counters.  To do this I am attempting to generate pulses of known duration with Counter 0, route these pulses to the gate of Counter 1, send the motor pulses into the source of the counter1 and letting the counter determine and report the number of pulses that occur during the "gate time".
    To get the pulse generator going at 8,333 Hz I do this:
    AGniDAQmx_CreateTask(instrHandle,"TimingPulses, Task_Handle8)
    AGniDAQmx_CreateCOPulseChanFreq(instrHandle, Task_Handle8,"Dev1/Ctr0","Out",DAQmx_Val_Hz,0,8.333,0.5)
    AGniDAQmx_CfgImplicitTiming(instHandle, Task_Handle8, DAQmx_ValContStamps,1000)
    AGniDAQmx_StartTask(instrHandle, Task_Handle8)
    This works fine.  (By the way, I do stop and clear the task before exiting.)
    Now I add this code in a new task to try to use the Counter0 pulses to measure the input pulses with Counter1.
    AGniDAQmx_CreateTask(instrHandle,"MotorPulses, Task_Handle5)
    AGniDAQmx_CreateCIFreqChan(instrHandle,Task_Handle5,"Dev/ctr1",MotorPulses,0,10k,DAQmx_Val_Hz,DAQmx_Val_Rising,DAQmx_ValHighFreq2Ctr,0.12,10,"")
    AGniDAQmx_ReadCounterScalarU32(instrHandle,Task_Handle5,10,E)
    AGniDAQmx_ClearTask(instrHandle,Task_Handle5)
    This function fails on the CreateCIFreqChan() call with an DAQMXError 50103.
    Apparently Counter1 resources are being tied up by Counter0.  Is this true?
    Any suggestions?
    Thanks,
    -CBJohnson

    Hi Mallori,
    Thanks for the great reply message.  I do appreciate your help.
    Yes, I think you understand my application.  The motor can turn from zero to about 5K RPM and one pulse is generated with each turn of the motor.
    This application is using Agilent VEE but the statements are "C-like" so that's why I posted them like that.  I can't "cut-and-paste" directly from the VEE statements and I have to type them.  I mis-typed the Implicit Timing statement.  It was missing an "_".  It should have been:
    AGniDAQmx_CfgImplicitTiming(instrHandle,Task_Handle8,DAQmx_Val_ContStamps,1000)
    I think I understand what you are saying about DAQmx_Val_HighFreq2Ctr using the resources from both counters  That explains why I get the message about resources not being available.  
    I have tried to use Counter Method 1 and it *almost* worked.  A problem comes about when the motor speed is zero (stopped) and, since these motor pulses are being fed into the Gate of the counter, the zero value makes it simply time out.  Increasing the timeout value to infinite (-1) makes the entire program hang.  I need it to go on -- looking for other user input, reporting other data being collected, etc. If the counter is waiting for the Gate signal to rise to start counting and to drop to stop counting and do the calculation, it will not work since it just times out.  I went to this counter method (actually called counter method 3 in the DAQ manual) because then I am trying to generate the pulses of known period and send these pulses to the Gate.  Then I am feeding my pulses into the Source of the counter and letting it determine how many pulses occured during the "gate time".  In this case, zero pulses during the "gate time" should be OK; it should simply report that zero pulses were detected and start counting again on the next rise of the Gate pulse.  I thought I could simpy adjust the length the "gate time" to measure my range of frequencies.
    Make sense?  Any way to do this with the two counters of the USB-6211?
    Thanks, Mallori,
    -Craig

  • Get error 66, when try to make labview program communicate with arduino uno+ wifi shield.

    I have a sever VI, keep sending data use TCP VIs. The client side is my arduino board (uno+ wifi shield), which can receive data wirelessly. I run both, they can successfully communicate once. At the 2nd time, the sever VI will close itself, because TCP write VI gets error 66. In VI server, I have allowed access of localhost, and IP address of my arduino.

    Actually, they can communicate not only once, sometimes the VI can pass data several rounds, but suddenly the error 66 appears in TCP write, the loop will stop. And if I rerun the program, things happens again. can anybody tell me why the error come out? Thanks

  • Get error 3313 when try to request drm license in client

    Hi
    When I try to get license from Flash Access License server, DRMEvent.DRM_STATE_CHANGE event gives me an error with error id 3313. The server side returns the license successfully, it seems the clent has some trouble to handle the license. By checking the runtime error document, 3313 refes to "Write to the file system failed." Does that mean client has problem with saving the license locally? How can I fix this issue?

    Hi Eric
    This issue becomes more and more serious to me b/c only 2 of my 10 test PCs can playback a video without get 3313 error. I did some tests these days and hope the information could be useful for you to help me out.
    Error 3313 only happens on WIN7 system. I tried Win7 Ultimate 32 & 64 bit on 10 PCs only 2 surviced from 3313 issue.
    When I test, I format the hard disk, install the system (with default setting), install all windows updates, udpate flashPlayer to 10.3.x (download from adobe.com).
    3313 happens only in IE (I tested 8 & 9), Firefox and Chrome on the same PC work well.
    My account belongs to Administrator group.
    If I login as Administrator, 3313 won't happen.
    If I run IE as Administrator, 3313 won't happen.
    All storage related settings in FlashPlayer setting panel are set to "allow".
    My system language and location are all English (US).
    Error code is 3313 and subID is 99.
    Since there is no workaround for client app, I really need your help on this. Why this happens, and how to solve it. If you need FlashPlay's log, please let me know where I can find them.
    Thanks.

  • Getting Error Message when trying to use Software Update in the Mac App Store...

    Hello,
    I was wondering if someone knows what this error message in the Mac App Store means. I am trying to run Software Update by clicking in the Apple Menu however, I am not able to see my available updates and instead get the following message on the Mac App Store:
    I have tried to fix the error by deleting both the Mac App Store Caches and plist files in the user library and made sure that I am properly logged into the Mac App Store with my personal Apple ID.
    What else can I do?

    aayushp wrote:
    I've been having the same issue. It was all fine until yesterday when I was searching for updates.
    Since when have you been seeing this error message?
    Last time I checked for an update was about 2 weeks ago and there were no errors reported. However, today I wanted to update iTunes to version 10.7 and decided to use the standalone installer rather than the SU version. Still, I decided to run the MAS Software Update function in order to ensure that my computer had all its software up-to-date and then I get this message. I don't think that me installing iTunes is to blame. Probably, it could be an internet connection problem on Apple's end I am still submitting a bug report to Apple.
    Now one question, who is your ISP (internet service provider)? In my case I have Comcast and I am in Florida.
    Thanks for your reply!

  • I'm getting error 4001 when trying to use itunes match, I'm getting error 4001 when trying to use itunes match

    Hi can anyone help with the error message I'm getting?

    Any idea how to upgrade to that version? When I go to my About iTunes menu it gives me this:
    But when I check for updates I get:
    Any ideas? Thank you very much in advance.

  • Why do I keep getting error 4100 when trying to use iTunes Match?

    I just can't get iTunes Match to work. It finishes Step 1 (Gathering Info), but then on Step 2 it errors out saying there was a problem of some sort with iTunes.

    Any idea how to upgrade to that version? When I go to my About iTunes menu it gives me this:
    But when I check for updates I get:
    Any ideas? Thank you very much in advance.

  • Getting Error Message When Try to Open iTunes

    I recently had to reinstall my Os now I am having some issues. I unlocked all the folders to access my archives but now I open iTunes. I even reinstalled (10.4.1) the application but I am still is getting this error message, "The folder “iTunes” is on a locked disk or you do not have write permissions for this folder."
    I do not know what to do. Please advise. Thx.

    Anyone???

  • Why do I keep getting error -65581 when trying to use a cRIO 9024 and c series modules

    I am simply trying to send out a digital high on DIO0 of a 9401 c series module and I get the following error every time.  
    Error -65581 occurred at Shared Variable in Send True Value Out.vi
    Possible reason(s):
    CompactRIO:  (Hex 0xFFFEFFD3) The FPGA personality currently running on the CompactRIO chassis does not support the RIO Scan Interface in this slot.
    This error or warning occurred while writing the following Shared Variable:
    \\NRL-CMG-cRIO\NI 9401-1\DIO0
    \\170.126.209.52\NI 9401-1\DIO0
    Any help would be greatly appreciated.
    Nate 
    Solved!
    Go to Solution.

    NMAYO,
    In your project view can you right click on the chassis in the cRIO and make sure that it is set for Scan Mode and not FPGA mode? Also, In the measurement and automation explorer you can check the cRIO and verify that it has Scan Engine Support installed on it. The tutorial below shows how to reformat a cRIO and install software on it, the later steps on software will allow you to check your cRIO.
    Reformatting a CompactRIO Real-Time Embedded Controller
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • I get error message when trying to use Firefox Sync after upgrate to 5.0. The message reads: "Sync encounted an error while syncing: Unknown error. Sync will automatically retry this action" I am using Windows 7.0 on a stationary computer.

    Simply: Firefox Sync doesn't work after upgrade to 5.0.

    You can have a try, unmark the Tabs in Sync of Preferences.

  • I get error message when try to load new download firefox 4 for mac x==says i dont have permission???

    i get this message--
    The operation can’t be completed because you don’t have permission to access some of the items.

    Trash your older version and do a new install with the newer version problem solved

  • Upgraded to Lion and now getting error 51 when trying to use Cisco VPN Client.

    Mac mini with Snow Leopard not having same issue, VPN client works fine. What happened?

    Try uninstalling then reinstalling the Cisco software. Cisco VPN may not be compatible with Lion. Check with them about compatibility or upgrade.

Maybe you are looking for

  • Status of a PO

    Hi All, How can we find out the status of a PO which was submitted by a person. ie. do not have PO #,No info only we have Person name who has submitted. Thanks

  • Path To Help on CRM 7.0

    Dear Friends: What is the path to get help on crm 7.0 on help.sap.com Regards | Pradeep

  • How do I monitor the Band-width usage with my RV 120W?

    We are having an issue with accessing our SharePoint Sites over the Web and Microsoft Technicain wants us to capture band with usage. I am trying to findout if that is possible with the RV 120W. I have looked at the documentation and cannot find any

  • Wrong settings? Help...

    Hey guys, i got a Gopro Hero 3. I got a problem. When i import my videos into Adobe premiere pro, then i got a few problems... one of them is, that i don't think the quality is super, i record in 1080p 60fps... i can't find any sequence that support

  • Flash Transitions in Keynote 3

    I am trying to get my transition effects to export with my slide show, but it keeps giving me an error at the time of export. It does create the flash file but no transition effects are present. Is there an issue here? Thank you