(Hex 0xBFFF003E) Could not perform operation because of I/O error.

I am seeing this error in the code attached.  I have tried to implement the fix using the following link
http://digital.ni.com/public.nsf/allkb/60DDFED7EFEFE7188625705700750821?OpenDocument.
 to no avail.
I am at a loss as to what is happening; this is a very very simple VI that is not yet even close to completion but all I am doing is starting up said board and waiting for an initial power up string to appear and I check for 4.8.0 in the string.  Where the Error first occurs is after the first read in the case structure that is looking for the start up string.
The while loop with the empty case structure is for furture commands, so there is nothing in there at this time.
Anyone have any ideas as to what my issue could be?  I feel this has to be something stupid that i am doing incorrect.
Thanks,
Bill
John 3:16
Attachments:
(Hex 0xBFFF003E).vi ‏66 KB

Thanks for the criticism Ravens fan, I appreciate it, being that i am somewhat of a novice with LabVIEW it helps. 
"VISA:  (Hex 0x3FFF0006) The number of bytes transferred is equal to the requested input count. More data might be available."
The above warning I got to appear when I restarted the computer and ran the test again.  I then set the expected bytes by hand and the original error appeared again.
Thank you for pointing out the dumb mistake I had with my converting to a number, I am still trying to figure out why I did that...I think I was going to try putting this into test stand for some sort of numeric limit test, but ya I don't need it.
I don't Think I need the flush buffer either here, I took it out and still no help with the error.
Also, what I didnt state in my first post was that the data is being given to me at the port, so i can perform my string test on the data in the buffer, it's just after the read the error appears so I can not continue executing the rest of my code without passing the error (Yes I can just clear the error, but that seems to not be a smart thing to do).
I also have the right port settings set and I have had problems with termination characters in the past screwing up my vi's with this particular board so I just automatically disable the termination character.
I am wondering if there is a flush buffer call in the Visa read vi?  Would this cause me my error?
Could null characters in the data being sent back give me the error?  My data from the buffer is as seen below in code display
\00\00XXXXX\s"XXXXXXXXXXX"\s\s4.8.0\sFT\r
John 3:16

Similar Messages

  • VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error

    Hello
    I'm trying to communicate with a device which have to be tested with my application. So I send it a command to initiate the device to send me back some values. This values are sended continously with a baud rate of 57600.
    I create a VI to test this communication but I always get the error:
    VISA:  (Hex 0xBFFF003E) Could not perform operation because of I/O error
    I have googled for this thread, but all the described solutions didn't solve my problem (ex. Set Buffer Size to 48, Various Byte Count Values for the VISA Read function, etc.).
    Note: the VI works properly in the LabView 6.1! I have tested. I also tried to receive the Data with a Termial programm (works fine). But another COM Port (on an USB Serial converter) shows me the same Error.
    I just updated to Visa 3.4.1, but no success
    LabView 8.0.1

    Yeah it works
    of course buffer to 4096 and mask to 48
    I added a Flush I/O buffer (mask 16) before reading from Visa (problem was to read data).
    And suddenly it works fine.
    I can't reproduce where the error exactly was. Could it be possible that the RX buffer was already full
    at the time I would to read from Visa or at the time the COM port received data? There are some questions to find out:
    how does LV handle the buffers? will the buffers be cleared if LV starts? when does LV flushes the
    buffers?
    thx

  • Very strange error "(Hex 0xBFFF003E​) Could not perform operation because of I/O error"

    Hi everyone! I've seen many similar threads but I haven't found an answer. I'm using labview 8.5 and through visa i'm controlling a USB controller which communicates with an FPGA. This pcb, is connected to a second pcb which also has another FPGA and the data are transmitted from the usb controller to the first FPGA and to the second FPGA (and vice versa). The really strange thing is that the system had been working fine for severall months but now this error appears when i remove from its connector the jtag i use to program the FPGA located on the second pcb (!!!) and everything goes back to normal when i place it back! Could it be a hardware problem? 

    Hi,
    What protocole are you using to communicate to the board?  If it is VISA then it could be a problem with the COM ports and resources on your computer.  Is the session connecting to the FPGA still active when you are disconnecting it?
    Regards,
    Greg H.
    Applications Engineer
    National Instruments

  • Photoshop CC: Could not open Photoshop because of a Program Error. How do I fix this?

    Photoshop CC: Could not open Photoshop because of a Program Error.
    How do I Make sure your OS X user account has Read & Write access for the following path:
    /Users//Library/Preferences/Adobe

    Nobody can tell you anything without proper system info or other technical details like the actual crash logs. From your description it simply sounds like your graphics hardware is acting up, so update the graphics driver. Likewise, you may simply run out of disk space for the PS scratch file, so check that, too.
    Working with your Operating System’s Tools | Mylenium's Error Code Database
    Mylenium

  • What does 'Appliance Error (configuration error) Your request could not be processed because of a configuration error: account is disabled' mean?

    All of a sudden Safari on my MacBook Air won't let me do anything. I have a Mac OS X Version 10.7.5.
    As soon as I open Safari, a message comes up straight away saying 'Appliance Error (configuration error) Your request could not be processed because of a configuration error: account is disabled'.
    I also can't check for system updates because of a 'network error' and can't connect to the App Store.
    My internet is working fine and safari is working fine on both my iPhone and iPad.
    I've never seen this message before and I'm not having much luck in searching for an answer.
    This may be a silly question, I don't know, but does anyone have a solution?

    Back up all data.
    From the menu bar, select
     ▹ System Preferences... ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. If any proxy options are selected, make a note of them and then deselect them. You don’t need to change the bypass or FTP settings. Click OK and then Apply. Test. The result may be that you can't connect to any web server. Restore the previous settings if that happens.

  • Could not initialize Photoshop because of a program error" with PS CC 2014

    I get "Could not initialize Photoshop because of a program error" with PS CC 2014 on a 2099 Macbook Pro running Mavericks. Then the program closes. Can anyone help?

    Could be corrupt preferences, a problem with the OS font cache, or some other problem with the OS.
    First, try resetting the preferences.

  • I am unable to add Firefox for some reason. I get a message that "the addon could not be downloaded because of a connection error on Mozilla.addons..."

    I am running Firefox 10 on my MacBook Pro. I have tried several times to download the Firebug addon, but get the following message:
    "The addon could not be downloaded because of a connection error on Mozilla.addons.org"

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    -> right-click somewhere, click '''New''' -> select '''String'''
    * name it '''xpinstall.enabled''' and set the value to '''True'''
    -> Close the '''about:config''' tab and then Restart Firefox.
    All the downloads should work now. If you delete this value some time later it still works.
    Check and tell if its working.

  • Photoshop/Bridge CS6 Could not build preview because of a disk error: Mac10.8.2

    The crashes always occur while editing a photo  in the Camera Raw editor in Bridge (most of the time they are JPG files, yes you can edit JPGS in the Adobe Camera Raw editor) and then hit the "Open Image" button that will open the image in Photoshop. That's when things lock up. Often Bridge, Photoshop and InDesign all are "not responding" and have to be force quit.
    Always when I'm editing a photo in Photoshop that is on a server I get the " Could not create a preview because of a disk error message" which I have to hit the OK button to clear. I just tested this several times and I never get the disk error message when editing an image from my hard drive. I suspect there is a network communication problem.
    MacBook Pro 15" Early 2011
    2.2 GHz Intel Core i7
    8GB 1333 Mhz DDR3 RAM
    AMD Radeon HD 6750M 1024 MB
    OS 10.8.2 (12c60)

    I am having the same problem.  I work off of a server too and I get the "Could not create preview because of a disk error" message too.  The actual preview itself is there once I hit OK but this is so annoying because it keeps me from batch processing images.  The message comes up for each image you try to save out so you have to set there and hit enter between each image when you run an action.  Any help to correct this error would be greatly appreciated!  Thanks.

  • What do I do when I get   "Could not save as because of a program error"?

    I'm useing CS5 and when saving my file, i get this message.  "Could not save as because of a program error"  How do I get past this???  HELP HELP HELP

    Nobody can say anything without exact system info and what format you are trying to save to what location.
    Mylenium

  • "Could not use the ***** because of a program error"

    I'm using Photoshop CS CC on the new Mac which looks like a rubbish bin, and keep receiving "Could not use the ***** because of a program error". Does anyone know a work around or fix as I can't work with photoshop.

    There seem to be recurring permissions errors for Photoshop running under OS X Mavericks. You might check into disk utility : repair permissions, or very carefully manually altering permissions here and there.
    Not entirely sure this relates to your issue, but it might help:  http://forums.adobe.com/thread/1404674?tstart=0
    And  http://forums.adobe.com/thread/1403095?tstart=120
    And I'm sure you can search for several more threads related to permissions issues with Mavericks. I think Apple needs to do an update to Mavericks. But with careful permissions alteration, you can probably get PS working.
    Once you're pretty secure in what permissions can change and what permissions should never change, you can Google a permissions utility called BatChmod. It rocks, is extremely powerful, and in the wrong hands can destroy your entire system.  :+)  So be careful ...

  • PS CS4 Error: Could not build preview because of a disk error

    I have been using this version of Photoshop without any problems for about two years, and then I upgraded to OS X Lion last week and now I get a disk error when I try to save a file.  The message says "Photoshop could not build preview because of a disk error".  I tried to save the file to a thumb drive, but I get the same problem.  I believe I also got a scratch disk error one of the times as well.  Anyone have any ideas on how I can fix this?  I have already downloaded the latest update.  I have tried restarting my computer.  It works ok for a few times after restart but then the error returns.

    I guess it could be a coincidence, but since this started happening right after I installed OS X 10.7 I have to think it has something to do with that.  I'll try using the repair disk utility... Don't have a 10.7 disk since i installed from the app store, so not really sure what steps to take.

  • CS 5.1 Mac....  Could not initialize Photoshop because of a program error.

    CS 5.1 Mac....  'Could not initialize Photoshop because of a program error.'
    I changed my security preferences and still get the same thing poping up.  I am not able to open PS CS5.1 on my mac.
    What should I do or even where do I go if I need to re-install CS 5.1? I have my Lic#
    MikeNewsome.com

    I don't think the application installation would be corrupt because I uninstalled and re-installed according to adobe and all the times I did so, it was from adobe website.  and I am thinking about the OS, if that were corrupt, a lot more applications, ... would be giving me problems.
    It is only PS. I am almost at wit's end trying to solve this issue. I would have thought re-insatlling program (prob did this about 10 times), would solve any issues.  I did use the cc cleaner but only yesterday as a last resort. I just don't know where to go with this problem.
    when 1st happened I just uninstalled and reinstalled a few times and when that didn't solve anything, also then ran utility programs a few times.all the while deleted prefs

  • ITunes could not copy "song" because of an unknown error (-50)

    Hello there, i need help, recently I bought an used 160GB iPod classic, when I sync it with iTunes it syncs like 400 songs (from 800), and then iTunes freezes, when it comes back it shows an error: "iTunes could not copy "song" because of an unknown error (-50)". I don't know how to fix this, i have already tried restoring, disabling my antivirus, updating, reinstalling iTunes, using another computer, using another wi-fi, manually syncing, I DONT KNOW WHAT TO DO, I am  desperate, please HELP!

    See this older thread for a few ideas on how to resolve the issue.
    https://discussions.apple.com/thread/3924425?tstart=0
    B-rock

  • ICloud could not be activated because of a server error.

    Hello,
    I am having issues getting connected to iCloud from my Macbook Pro Late 2013. I have no problems logging in. I accept the terms and conditions and immediately get an error:
    Server Error
    iCloud could not be activated because of a server error. Please try again.
    Thanks for the help

    Hello,
    I am having issues getting connected to iCloud from my Macbook Pro Late 2013. I have no problems logging in. I accept the terms and conditions and immediately get an error:
    Server Error
    iCloud could not be activated because of a server error. Please try again.
    Thanks for the help

  • Apple Id could not be created because of a server error?

    I just upgraded to ios6 and it asks me to login to my apple account but I keep getting the "apple id could not be created because of a server error." message.  Did my upgrade go badly or am I not alone?

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

Maybe you are looking for

  • Xml file parse  event base

    hello all, i am learning xml file with sap help sample. I have a FM, that change xml-file into if_ixml_parser, but when i wrote the xml " <person status="retired">Walt Whitman</person>" and debug it. event_sub was 312, <b>event was always initial</b>

  • Using variables as variable names

    Hello (me again) I know I can use this[variable] to evaluate a variable name so it can be used for such things as referring to a movie clip e.g this[variable]._x=100; However... I'm trying to create movieClips with: var MovieClipName:MovieClip = new

  • Best Way to Aggregate Multiple Announcement Apps and Possibly External RSS Feed

    Hello, I have two separate announcement apps (one in sub-site A, and one is sub-site B). I am trying to create a webpart that will display content from both apps together. I have tried to setup a CSWP and have been able to set the query to pull in th

  • CS5.5 AnchoredObjectSettings not working like it did under CS2

    I have a script that ran fine with CS2 but doesn't work with CS5.5, I get the error anchoredObjectSettings are not found on type Object. Do I now somehow define the object as an anchored object? This is the code that worked under CS2: MyObject = myFo

  • Third party keyboard hiding text in messages

    after installing third party keyboards( swiftkey, swype,) I found that when going into  a message, the keyboard does not automatically push the text up and I have to scroll to see the messages hidden by the keyboard. Does anyone else experience this