error 0xbfff003a

I have a couple of quirks happening.  I'm trying to control a device (solenoid driver) through the USB port via an interface card that has a PIC18F1450 on it.  I managed to control the device with the code in the image (without the VISA read).  The Commission sends a response of 64 bytes for all orders, so I added playback VISA.  That's when I get the error.  The VISA open and writing still work, but the reading gives the error.  The other oddity is when the device is visible.  I used the wizzard of device driver to create a driver for it.  When I did, he disappeared from the Windoze Device Manager.  When I move to a different USB port, it appears in Device Manager, but disappears in MAX.  When I get back it to port original, he reappears to the MAX, but still once disappears in the Device Manager.

Jim,

Thanks for the additional information.  Do you know if your device supports a pipe interruption?  You may need additional code to read from your USB RAW device, as in the example of program VISA USB RAW Mode Get Interrupt data example.

Let me know if this is useful,

Jen W

Technical sales engineer

National Instruments

NI.com/support

Tags: NI Software

Similar Questions

  • GPIB - issue VISA (LV2014 and Keysight IO libraries)

    Hello together!

    I have tried for two days to meet the LV2014 - Keysight IOLib - Agilent DSO6014L...
    And I need help.

    What I want to do

    I have a LabView VI for the osziloskop control and obtain values of. I created the VI with LV8.5.1 and it worked very well with Agilent Io Lib 14 and Windows XP. Unfortunately, I had to change to a new computer...

    And the problems started, I do not get the components together (at least, not without error messages in MAX):

    I connected an Agilent DSO6014L by a GPIB 82357 A Agilent to a Windows 7 Enterprise edition - 64-bit.

    I already posted my problem in German LabView Forum ( http://www.labviewforum.de/Thread-LV-2014-und-Keysight-IO-Libraries-Suite-17-1 )

    GerdW already replied and proposed to connect via LAN or switch to a NI GPIB.

    But maybe there's a way to solve my problem, keeping the "old" material.

    Currently, I can run my VI because I use aliasnames which I attributed to the IOLib and MAX (below I've listed the steps I did).

    But Max I still got the error "0xBFFF003A (VI_ERROR_INV_SETUP)" of viFindRsrc.

    -> More funny. If I say / activate the tulip Passport - save parameters - and restart MAX. I don't have any errors and I see my GPIB instruments... uuuuntil I refresh the view!

    Steps to make it work:

    • Installed Labview 2014 - not reboot!
    • Keysight IO libraries Suite installation (default) 17.0.19313.5, automatically as secondary VISA
    • Under Keysight connection compatible Expert maps GPIB for 488 program and set options of PXI (Resource Manager active and responsible trigger by default) of National Instruments
    • Connected the GPIB 82357 A Agilent and install the driver (windows driver update speed search to jump to the top)
    • Install the driver for the oscilloscope (in my case ag6000 for DSO6014L for LabView 2014 32) and 64-bit support
    • Restart
    • Turn on the oscilloscope
    • He searches the IOLib - here everything works fine no problem to control the oscilloscope
    • In turn MAX on NiVisaTulip.dll under passports (MAX restart, get the 0xBFFF003A error)
    • Restart

    Now, there are some steps that I could possibly do before restarting:

    • In Keysight IOLib I updated the GPIB ID 1 (VISA Interface ID and ID of Interface of CLCL) - there was a note that the Tulip Passport uses the GPIB0 and this causes connection issues
    • Max under VISA conflict Manager, I enabled Agilent VISA under implementations installed VISA
    • Max under general settings - Interfaces PXI/PCI - active option to display all devices accessible to the VISA
    • In MAX under passports disabled NiVi488.dll and NiViGpvx.dll

    Now it is running once, and I put the same alias under IOLib and MAX name for my oscilloscope.

    In addition:

    • Installed drivers IVI Keysight IOLib RPF
    • Reinstalled NIVISA1401Full with support 32 and 64 bit
    • Did all the updates of NOR

    Hello

    Thanks for your posts.

    Yes I also use Agilent GPIBs for other screws so I need a solution running.

    I found this post:
    Passport (GPIB) max

    "Agilent IO libraries Suite v 16.2.15823.0 ' works very well with all my gear in IOLib, MAX and LabView 2014.

    I also tried the ' Agilent IO libraries Suite v 16.3.17914.4 ', which also works perfectly with all.

    For my solution, I give a brief summary of my installation (GPIB Agilent GPIB 82357 A, Agilent DSO6014L):

    • Windows 7 Enterprise Edition SP1
    • LabView2014 SP1
    • MAX 14.5.0F0
    • Driver for LabView ag6000 (support 32 and 64 bit)
    • NIVISA1401Full (support 32 and 64 bit)
    • Agilent IO libraries Suite v 16.3.17914.4 (driver for Oscilloscopes 6XXX 1.3.24.0 IVI)

    and parameters:

    • Agilent IOLib - installed as secondary during custom installation VISA, I can not set the 488 (box all the time is reset), but it works fine without. And I did not change GPIB or ID of CLCL. I gave an alias to my instrument.
    • MAX - all passports are activated. I checked the show box any device accessible to VISA. I gave the same alias to my instrument, as in Agielnt IOLib. Under conflict Manager Agilent Simulation VISA is selected and Agilent VISA is disabled, all chosen VISAs are the Canadian standard.

    Best regards

    André

  • VISA IC returns the 0xBFFF003A error code when reading the USBTMC device

    Hello

    I'm creating a USBTMC device and have some difficulty to determine why a viRead returns the 0xBFFF003A error code. Strangely enough, it reports also to read the correct byte number and the buffer contains the correct data. I use VISA IC 5.1.2 but I had the same problem with version 5.0.3. I have no problem with the device recognized by VISA IC, MAX, LabVIEW SignalExpress or LabVIEW. Using the previous version of VISA IC performing an async read would return a code completion, 0x3FFF009B (VI_SUCCESS_SYNC).

    The attachment of the utility Trace all communications from e/s or watch for when the USB cable is plugged into the computer.

    Lines 1-18 LabVIEW SignalExpress 2011 has begun

    Lines 19-35 VISA IC: open the selection

    Line 36 VISA IC: claire

    Line 37 VISA IC: Read - 10 characters

    Line 38 VISA IC: Read - 21 characters

    Lines 39-44 LabVIEW: open, read 21 characters

    Line 45 VISA IC: Read - 18 characters

    Line 46 VISA IC: claire

    Line 47 VISA IC: Read - 18 characters

    Line 48 VISA IC: closed

    Note: LabVIEW crashed on line 44.  At the moment I know not whether that is related to this problem or not.

    Full error description: failed to start the read operation because the installer is not valid (because of attributes defined in an inconsistent state).

    I'm confused by why it says it cannot start operation when in fact, it returns the requested data and attributes that it refers to? I reviewed the USB descriptor values that I use, and they look correct to me.

    Any ideas?

    Thank you

    Hi Perry,

    I found the problem.  The TransferSize didn't get converted from big-endian to little endian and 0x0A was considered 0xA000000.

    See you soon,.

    Airaki

  • VISA devices with the same serial number and the vendor ID does not work (0xBFFF003A)

    Hi all

    I need to acquire the data of two meters of power YOKOGAWA with VISA driver (USB connection).

    They work very well if used alone, but they do not work when are used toghether. In particular, when I plug in and turn on the two of them, NOR MAX shows me the following error message:

    0XBFFF003A (VI_ERROR_INV_SETUP)

    viFindRsrc return 0xBFFF003A (cannot start the operation because the installer is not valid (because of attributes defined in an inconsistent state).)

    Please make sure that VISA is properly installed on this system.

    Possible causes of this error:
    1. more than one passport may be to attempt to claim the same resource.  You can try to disable passport to understand which Passport is the cause of the error.
    2 you have connected multiple no configured plug-and-play devices that have the same name of the resource. For example, the vendor ID and the serial number may be the same.

    In fact, according to MAX, both power meters have the same serial number and the same vendor ID; so, this seems to be the reason why they do not work together.

    Can someone help me?

    Thank you all


  • VISA: (Hex 0xBFFF003A) using a RS232 USB converter

    Hi, I'm reading a pH meter and it is connected to my computer by USB using a USB RS232 converter. NOR-MAX recognizes the instrument, but when I try to play the instrument in the testpanel I timeout error. When I read the status byte, it gave me the following error VISA: (Hex 0xBFFF003A) cannot start the operation because the installer is not valid (because of attributes defined in an inconsistent state). I looked in the attributes and saw the following error VISA: (Hex 0xBFFF001D) the specified attribute is not defined or supported by the resource referenced. the pH meter is a unit of office of simpel with the following characteristics: baud rate 9600 8 data bits years 1 stop only bit no control flow or parity.

    Why try to read the status byte? It is not an instrument based GPIB is?

    What attribute? I asked in your original post to attach a screenshot of MAX. Why should someone have to guess? I suspect this attribute doesn't apply to serial devices OR and is not relevant to try to read the status byte.

    Check if you are using the right type of cable and check to see if you add the correct end character. You also do not mention if you write what whether in port or just do a reading. You mention also the seller or the model number of the meter.

  • Uninstall software update Apple says error in seller contact package package unstaller

    Try to get itunes working to make a backup of my faulty iphone before repair.

    First-itunes does not start says error. I'm trying to fix it, who said success but same error when you try to start it.

    Then uninstall completely worked. Then reinstall that seemed to be over except for a message "an older version of Apple software update already exists" then he went down and install itunes apparently had not been completed.

    Then I try to remove the update from the apple software and executed by an error in the installation program - it says there is an error in the installation and contact the supplier of the installation package. Same error if I run the uninstall command line program.

    Try to repair the Apple Software Update of programs & features Control Panel and then try to update iTunes again.

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    The more information box has direct links with the current and recent if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit - for older video cards) as a workaround for problems with installation or operation, or compatibility with third-party software.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • SUMIF error

    I'm new to apple and get a syntax error when you use SUMIF.  In my table, I just need column F to test the value of column E.  If it is greater than 0, then divide by 20.  Thank you!

    In cell F1

    = E1/if(E1>0, 20, 1)

    fill down as needed

  • An error in this Applescript that I can't understand

    Hi, I searched some forums and found this script below which I modified. It works great except for a single statement:

    runScript If = 1 then number error -128 I want the script to do is, when a USB drive is mounted and is in the ignoredVolumes as "USB Untitled" I want the script to stop. What I can't understand is, runScript is set to 1, "Untitled USB" Monte, runScript is not changed, why don't the script stops with an error "user cancelled"? On the other hand, if a key USB Monte is not in the ignoredVolumes, runScript is set to 2 and copy the file I want it. What hurts? It's probably something that will be very obvious when I see the answer.

    Thanks for any help with this problem,

    Mike.



    property ignoredVolumes: {'10,10 30 1. 5 't', 'files 1. 5 't', "Untitled USB"} - add if necessary

    property videoExtensions: {"avi", "mov", "mpg", "wmv", "mp4" and "mkv"}

    the value newVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / new")

    the value oldVolume to the alias (POSIX file "/ Volumes/files 1.") ("5T / old")

    game runScript to 1

                   tell application "System events".

    the value rootVolumes to disk (POSIX file ' / Volumes ' in the text)

    the value allVolumes to name of every element of disc of rootVolumes

    the value numofallVolumes to the County of allVolumes

    Repeat with the present book in allVolumes

    say application 'Finder '.

    if (the present book is not in ignoredVolumes and (this book as text) is not '. ') DS_Store') then

    if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2

    runScript If = 1 then number error -128 - it does not give a 'User cancelled' error when "Untitled USB" is mounted

    runScript If = 2 then

                                                                            try

    duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / new ") as text) to newVolume

    on error number errorNumber errorMessage

    _error value of errorMessage

    _errorNum the value to errorNumber

    If errorNumber is -15267 then

    display the dialog box "This file already exists in folder a." buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the result is 'OK' or back button gave up lead and then of

    eject the present book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    return

    end if

    end if

    end if

    end try

    Try

    duplicate (elements whose name is in the videoExtensions extension) in alias (POSIX file (' / Volumes / "& the present book &" / old ") as text) to oldVolume

    on error number errorNumber errorMessage

    _error value of errorMessage

    _errorNum the value to errorNumber

    If errorNumber is -15267 then

    display the dialog box "This file already exists in the folder B" buttons {"OK", "No"} default button 1 with the title "Film copy error?" giving upwards after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the result is 'OK' or back button gave up lead and then of

    eject the present book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    return

    end if

    end if

    end if

    end try

    display the dialog box "USB key will Auto Eject in 10 seconds or click OK... "buttons button 1 with the title"copy Complete - Eject? "default {'OK', 'No'} which gives after 10

    If the returned button of result is 'No' then

    Error number-128

    on the other

    If the button returned of result is "OK" or gave up a result then ejection of the this book

    display the dialog box "U S B D r i v e E j e c t e d - K O t o R e m o v e" {"no need to click on this button"} default button 1 button give up after 5

    end if

    end if

    end if

    end say

    end Repeat

              end say

    The way in which your external block If is currently based, the script can't do anything when this book is in the ignoredVolumes, it can not yet test the runScript value. Try something like this:

    If the present book is in the ignoredVolumes then

    game runScript to 1

    on the other

    if (the present book as text is not '. ') DS_Store') then

    if there are alias (POSIX (' / Volumes / "& the present book) as text file ) then game runScript to 2

    end if

    end if


    Of course, you need to remove a "end if' the end of the script.



  • error message when try to sync the iPhone, "invalid response from the device?

    What can I do when I receive this error message when you try to sync to my iPhone 5 s - "invalid response from the device?

    -What are your 5 updating to 10.0.2 iOS iPhone? If this is the case, you must have the latest version of iTunes on your computer, which is required for Mac OS X 10.9.5 12.5.1, or above. To meet these specifications will be receiving this error.

  • Display Rotation error

    Hello

    I had a problem with the rotation of the screen under macOS Sierra function. As the screen rotates, there is an error that pop up and later that I'm unable to get into system-> Display Preferences. It is for me a "mistake preferably: County not load display preferences" message and I was unable to rotate the screen back. I started from the system in safe mode and temporarily solved the problem. But if I want to rotate the screen again, it pops up the same error again. I was using the rotation function pretty well in OS X El Capitan. But since I updated to macOS Sierra, I had this problem.

    I wanted to know if there is a lasting solution to this problem.

    I'm using macOS Sierra on MacBook (13-inch, early 2015) Air with processor 1.6 Ghz Intel Core i5 and 8 GB memory DDR3 at 1600 MHz with 128 GB of storage.

    Hello PavanGJ,

    Thank you for using communities Support from Apple. I see that since upgrading to Mac OS Sierra problems of screen rotation. The preferences window does not. I know how it is important for your Mac to work reliably. I'll be more than happy to help.

    Great job to test mode without failure. In Safe Mode disables most of the third-party services, it could be a compatibility problem with an application that you have. Check out this article:

    OS X El Capitan: If you have problems with startup items

    You can not hold account that the title suggests it's to El Capitan. It applies to macOS Sierra as well.

    You can also test the issue in a new user account.

    How to test a question in another account on your Mac - Apple Support

    Let us know if that helps.

    Take care!

  • A fact error 4014 showing each time after all the steps

    One of my friends has an iPhone 5 s and he lowered his 10 9.3.5 iOS iOS iPhone it started and inquired "side update" to the rest of the new software update points, but suddenly her iPhone off and does not turn, does not yet show the Apple Logo. I tried to restore it with the new version of the iOS 10.0.2, I file the software theipsw and then restoring the iPhone, iTunes showed me the message "waiting for iPhone" and ultimately showed me a message by this sentence "iPhone" his name' siphons ' could not be restored.» An unknown error occurred (4014).

    I checked the list of steps that Apple suggests their, but nothing happened then, always showing me the same error number. What should I do?

    Thank you for your help and appreciate it.

    I found the solution. Just type here for others with the same problem to solve their problems.

    While the "iTunes with cable" sign is showing and in your computer, showing you "Waiting for iPhone" and things occur, you should restart your iPhone (hold sleep/wake low and low home together for a few seconds) implemented after this attempt to restore your iPhone again you should recover your iPhone software.

    Thank you for your support and more.

  • Playgrounds are learning to code 1 download error

    I recently bought an iPad Mini 2 specifically so that I could use the app to playgrounds to learn about Swift.  Whenever I try to download the playing field 'Learn to Code 1 - basics of the swift' I get an error that says: "not taken download error supported URL.  I uninstalled and reinstalled the soft playgrounds several times.  Other playgrounds (as 'learning to Code 2 - beyond the basics') download very well.  How can I bypass or fix this error and get the first playground of lesson?

    Finally, the playing field is downloaded successfully!

  • Error Java Run After downloading the new Sierra

    Java is up to date and I get this error message. A couple of times, I have "updated" restarted. Still happens.

    Hi cjshrad,

    Thank you for contributing to the communities of Apple Support. I see in your message you receive a Java error after upgrade to Sierra on your Mac. I'd be happy to help with this!

    First of all, try to install the Java for OS X package found here:

    Download Java for OS X 2015-001

    The next step, if you still see this error, I recommend that you completely uninstall Java from your Mac by following the steps listed here:

    How to uninstall Java on my Mac?

    Once you're done, use this link to download and install the latest version of Java for your Mac:
    Download Java for your Mac - Apple Support

    Take care!

  • "error recovery main area".

    Hello

    I can not access my old video files of my 6 16 GB iPhone, I'm using iOS 10.  When I try to open the videos that I always meet the message 'area main-fetching error' I can't specify when this problem started, but I'm sure it was good when I was with iOS 9.3.3 However, recently filmed videos works perfectly.

    Same thing here. I bought the new iphone and took the backup from your old phone, but the videos do not work.

  • App Store connection error

    Am having a problem of signing in the App Store and iCloud on Preferences system on my MacBook Pro, getting an error response whenever I tried signing in.

    Here are the errors:

    1. Are you sure that you typed your password correctly 100%? (sry, but that would be classic
    2. have you tried to reset your password?

Maybe you are looking for