NOR-USB-8451 fails after spending a lot of time

Hello, I use a NOR-USB-8451 contact a panel using SPI (8451 scripting).  NOR-USB is master and slaves are all (EEPROM, ADC and DAC) ICs on the Board of Directors.   If I run my ATP in a loop of 10 times the 8451 will fail at the same point on the 8th time the test is run. When the problem occurs all SPI tests after this point will fail and the test of the 9th and 10th runs fails entirely SPI.  If I remove the USB cable connected to the 8451 and re-connect it works properly again.  If I run my loop it will fail again at the same point.  It seems to me that there is a kind of problem of overflow here.  I tried to add a Script Reset before all the build scripts, but it doesn't seem to work.  I use CVI 8.1 to create the DLL referenced by TestStand 4.0.

Any help will be appreciated.

Nazar

JGB Consulting, Inc.

As it turns out, it's a mistake to programming on my part and not a problem with the device OR-USB-8451.   I was building scripts of SPI with CVI, two of my scripts did not contain a CloseDevice call.  This is what caused the error.  Fixed all the CloseDevice to these scripts added.

Tags: NI Software

Similar Questions

  • Photoshop takes 25 minutes to open after spending most of this time "initialization of the menus.

    I pay for Adobe CC photography. Lightroom opens instantly PS is just horrible. I use a Macbook Pro of the retina with i7. It's infuriating, is it bad for everyone else is? all my software is up to date and no problem with anything else. Yes, I have uninstalled and reinstalled PS

    Now try the SHIFT key when you start Photoshop.  This causes the open without third-party plug-ins, thus eliminating the as a cause if Photoshop opens quickly.

    Plugins Adobe Photoshop troubleshooting

    Another thing that Photoshop on start up is to see what fonts are available, and a corrupt police or hiding from police (with OSX) can mess things up.  Especially look at clear the font cache as described in this link:

    https://helpx.Adobe.com/Photoshop/KB/troubleshoot-fonts-Photoshop-CS5.html

    This gives a guide to most of the troubleshooting problems.

    st https://blogs.Adobe.com/Crawlspace/2012/07/Photoshop-basic-troubleshooting-steps-to-fix-Mo - issues.html

    Good luck

  • Microsoft wireless intellimouse 3000A failed after 3 months, two within an hour and a third a week more later all computers portable differnent

    I bought 4 intellimouse to 4 laptops.  After the failure of 3 1/2 month three of appoximately transceivers, quite warm to the touch you can not hold them as if a diode were burned.  Two of the transceivers has no less one hour of each other and the other a week later.  The first sign was an on-screen error message (windows 7) that a usb driver failed after detecting a device.  Did I just get a bad batch of peripheral mouse (Best Buy in Auburn, ME)?  Only one of the original devices 4 still works.  We have replaced the three different failed with wireless mouse devices and they worked.

    Hello JohnMCronin,

    These mice come with a warranty. I suggest you contact the Microsoft warranty service to help you with this. You can consult the manual for more information on this warranty. Here is a link you can follow and which will give you information about this:

    http://www.Microsoft.com/hardware/warranties.mspx

    Thank you
    Irfan H, Engineer Support Microsoft Answers

  • I2C communication slows down over time using USB-8451

    Hi all!

    I try to communicate via a device slave using a USB-8451 I2C and I noticed that after a while the communication speed slows way.

    I can send and receive data very well and apparently my system seems to work. But the problem is that over time the speed of data transfer slows down so much so that if I let it run all night it has slowed to a crawl in the morning. My ultimate goal is to gather data, draw and save every second and at the beginning it is easily achievable, but after 10-15 hours I can no longer collect data as fast I need. I'm not quite sure if this is a problem with my code LabVIEW, the NI USB-8451 box or the slave device. But if I stop running the LabVIEW program and start it again, everything returns to normal.

    The slave device is a personalized card with a microchip PIC which acts as a slave I2C and returns the data at the request of the master. I can't imagine anyone will be able to determine if this is a problem directly, but if we can rule out the other two (code LabVIEW or the NOR-8451) as the source of the problem so I know it's my slave device.

    I've greatly simplified the LabVIEW code that I used to collect data on I2C and I see even this gradual slowing down over time. Attached, it's that the very simplified VI and the data file, it produced. I only ran it for about 45 minutes, but from the beginning to the end we see again that the enforcement timeframe is rising.

    I hope I'm just doing something stupid, thanks in advance!

    -Aaron

    Aaron,

    Do not have the additional module responsible for these functions, but I'm sure I know whats going on.  It seems that each time through the loop 'OR-845 x I2C Create Configuration Reference.vi' creates a new reference.  After a while it will start to slow things down.  Better to open the reference before the while loop starts and spend just the reference in the loop.  Don't forget to close the reference after the loop stops.

  • GPIB-USB-HS and USB-8451 communication issues - appearing only in VISA

    Hello

    I recently started a new job and have had communication problems between my adapter GPIB-USB-HS, my VISA or MAX-Labview and USB-8451 I2C/SPI interface.  I installed LabView to 32 bits, OR-488. 2, the driver for the 8451 on my windows desktop and VISA 16.0 7.

    In the windows Device Manager, the 8451 appears as a device USB of NI-VISA and Gbspecifications FOR-USB-HS presents itself as a GPIB Interface of NOR.  Two of these instruments are recognized NI Max so but communication Gbspecifications FOR add-in adapter (and connected instruments) fails and he can't find the instruments and the self-test fails with a hardware error unknown gpib (-37052).  The watch also neither device VISA Interactive Control.

    The ready light is lit on the GPIB-USB adapter and the 8451 flashes green as if nothing is wrong at the end.  I uninstalled all the software of NOR and reinstalled, and I run MAX as an administrator.  Is there possibly some computer settings I could neglect or need to change to open a communication?  Any other ideas on why I can't communicate with devices?

    Thank you!

    Trey

    This is a device-Lock software that my it was preinstalled on the computer blocks the USB port.  SHE has added features like confidence, and now it works.

  • CD/DVD on Satellite U500 drive failed after installing Windows 10

    My CARPET * drive dvd DVD - RAM UJ862AS failed after W10.

    I told myself I need Toshiba ' * 86 device ACPI Compliant added logic and general use "BEFORE I can install the driver for the DVD drive.
    I tried Microsoft idea to remove the pilot of regedit and restart the laptop that should logically result in reinstalling the driver... with no luck.

    I'm about to give up the laptop but am wondering if anyone can help me?

    I am extremely reluctant to lose a lot of money on several unnecessary drivers (generally unreliable) providers!

    U500 is old piece of hardware and not supported for Win10, right?

    In any case, what is the status in Device Manager? Is ODD listed here or you just entered with device "unknown"?

  • Compatibility DAQmx and NOT USB-8451

    NEITHER USB-8451 is compatible with NOR-DAQmx?

    The USB-8451 housing does not NOR-DAQmx; It uses a separate driver and API (OR-845 x; ( the latest version is 2.0).

    It is compatible in the sense that you might have OR-DAQmx and NOR-845 x installed at the same time, because they are two independent pieces of software. It is not compatible in the sense that you cannot use the USB-8451 with the API OR-DAQmx case.

  • Acquisition of data NOR usb 6008: a strange problem: mxwcgoutrunsilent.VI is not respected

    Expensive OR

    Today, I bought an acquisition of data NOR usb 6008

    and I'm using labview in 2011
    the problem is appear when after I end the process of configuration of the i/o data acquisition Wizard

    the following image shows the mxwcgoutrunsilent.VI is ignored and an error has occurred

    someone can help provide this VI for me

    What is the complete labview modules can also so I could do a real time data acquisition

    Best regards

    mangood,

    You received an error code? If so, what is it? What version of NOR-DAQmx driver you have installed? It seems your driver potentially incorrectly installed, and you may need to reinstall the driver.

    Here is the link to the latest version of the NOR-DAQmx driver: http://www.ni.com/download/ni-daqmx-9.8/4297/en/

  • Tutorial or examples to access USB-8451 in LabWindows/CVI by C

    Hello

    I can't find any tutorials or C NI USB-8451 access with the compiler LabWindows of coding examples. I see the user manual containing several functions to find the device, etc., but there is no example code for control functions and how to use them. I was wondering if it does not exist anywhere, or if someone could help me am began simply access to him and some of his DIO functions? The code to access the USB should go in the source C code to .uir interface?

    Thank you for any assistance.

    OR claims that there is an example for the CVI (for XP in the folder C:\Program NIUninstaller Instruments\CVIXX\samples\ni845x) - after you download the driver I did not have this material so I can not myself...

  • USB-8451 I2C for

    Hello

    I am looking for a starting point.

    My problem is that I have to communicate with the PCA9555 (http://focus.ti.com/lit/ds/symlink/pca9555.pdf). I searched the site of NOR and have met a USB-8451, which seems to be the answer to my problem.  However, I also have to measure current and this device seems to lack this ability.

    First of all, it would be the device that I would like to use to communicate via I2C? The only reason why I have a question is because I can't access the examples that would give me a good idea that I found what I was looking for.

    Second, is there a device like this one offered by OR who would be able to communicate via I2C and be able to measure current? Or what I need to buy 2 separate devices?

    Thirdly, is there anyone out there who has encountered the same problem (possibly with the same PCA9555)?

    Thank you

    Gerardo Hernandez


  • PC crashes when loading driver NI USB-8451

    We bought a unit of SPI NI USB-8451. First of all connected to the computer, a message appears asking to load the driver concerned. I have it to point to \Program Files\National Instruments\NI-845x\staging\ni845x.inf which it loads but then immediately causes the PC to break and restart (PC uses Windows XP). Try it on another PC gives the blue screen message of problem with the file "Diego.sys". The version of the driver is the last (v1.1.2). I tried to download older versions of the driver from the Web site of NOR, but when it is installed the \staging directory with the file ni845x.inf does not (some confrontation with newer versions of MAX?), therefore could not tell if they made a difference. Do you have suggestions about the problem? Thank you

    Richard.

    Problem solved by removing USB Safend protector software

  • Mapping of Signal USB-8451 problem

    I recently bought a USB-8451 used to try some Labview SPI/I2C development. I found that when I create a simple VI to write and watch the signals on a PC based Logic Analyzer, I see that the SCLK, MOSI lines are reversed. I checked that I have the correct connections to the Analyzer and confirmed that the pins are correct in the 8451 user manual. If someone else found this? I've attached screenshots of my VI and Logic Analyzer. I tried the 8451 examples and the result is the same, the SCLK appears on the MOSI line. I don't think it would be a real issue of what I want to do, but I find it strange. Am I missing something?

    Catherine,

    I found the problem. After the change to a faster USB port and to monitor and increase the frequency of sampling, I was able to get the SCLK appear correctly. I can say that this problem is resolved,

    Thank you

    Andrew

  • Gyro I2C OR USB-8451

    Hello

    I finally got my Gyro to work with the NI USB-8451, but for some reason any I get a lot of noise from my signal outputs. I guess I have do some bit-operation wrong somewhere, attached I have my VI, can a you experts out there, take a look and see if I'm good things?

    (You can look at my previous thread for reference)

    Thanks in advance

    Never mind got it right it was not only signed bit instead of signing.

  • Windows Activation failed after years of work

    Hello.

    I bought my laptop 3 years ago. There were license version installed Windows (all stickers have been in their place). Over the years I did the regular system updates. I did re-install Windows. Has no repair of the laptop. ' ' But 23.12.12 after the regular update of the system told me that my version of Windows is not allowed - my product key "is used on another laptop or has been blocked by Microsoft. When I tried to enter the key again (as suggested by web page), he said that the key was not for Windows 7 Max.

    Sorry for the quotes - Windows is in Russian.

    This seems to be the code for Win 7 Pro, as expected - that explains why the system does not accept the key.

    The probability is that the vondor deliberately obfuscated Version/edition data, knowing that they would be missing for a long time until the system has shown as non-authentique, and that they would get a higher price for a ultimate a Pro machine.

    Or maybe someone has tried to apply an Express upgrade to ultimate using the stolen key.

    In both cases, the necessary of Loader fails after an update (possibly SP1) removed some of its changes.

    You will either need to reformat and reinstall Pro, or purchase a license full for Windows7 and exchange the key in (I could not recommend trying a direct upgrade to Win8 without knowing a lot more on the system)

  • Bootcamp update fails after El capitan (please help me alone!)

    Hello

    I think I have the same problem postedBootcamp update fails after Yosemite (please help me alone!)

    But like the other user, I'm a little scared, and I don't want to lose my Bootcamp partition.

    That's why I ask you to help for solitaire (thank you much in advance).

    I upgraded my MacBook Pro 13 "(mi-2010) at El Capitan 10.11.5."

    Then I noticed that I could not find Bootcamp.

    Regarding the other question, the score was still there, but now under the name "disk0s4".

    I used Testdisk, following the advice, and I discovered the missing partion and data (I could make a copy)

    Now, I would be sure to make the right steps to retrieve the situation.

    Here is the output of Testdisk

    The partition does highlight is the right one, here's where I found my data.

    Now, what I'm supposed to do is follow the same steps that I read in the old post with 508484288 to step 7 and + 468284272 in step 8, in this way:

    GPT4 to rebuild using start/end offsets

    1. Sudo gdisk/dev/rdisk0
    2. P (print the complete list of parts)
    3. D (delete)
    4. 4 (part 4)
    5. N (new part)
    6. 4 (part 4)
    7. 508484288 (-start offset in the sectors or the starting point for the Bootcamp part)
    8. + 468284272 (-size offset, rather than the end offset)
    9. 0700 (part of Windows type)
    10. P (list of all parties just to see what changes will be)
    11. W (Write the new GPT)
    12. Y (Yes! really write the new GPT)

    And then I need to rebuild the MBR (as the old post)

    1. Sudo gdisk/dev/rdisk0
    2. P (print from parts list)
    3. R (Recover)
    4. O (current MBR hybrid in block letters)
    5. H (chooses hybrid)
    6. Partitioning numbers be hybridized: 2 3 4
    7. Y (good for the GRUB question)
    8. (Indicator boot part 2) N
    9. N (part 3-flag of boot)
    10. Y (boot indicator part 4 make the bootable NTFS partition)
    11. O (current MBR hybrid in block letters)
    12. W (Write new MBR)
    13. Y (yes! write the new MBR)
    14. Reset

    I'm sure I'm in the right direction, but...

    Many thanks for any help

    Excellent work. The two sets of Gdisk steps are correct. If you are on El Capitan, these two sets of measures Gdisk will fail because of the Protection of the integrity of system being activated. Please disable SIP.

    1. boot in local restoration (command-R).

    2. start utility-> Terminal.

    3. type csrutil disable in the Terminal, and then press enter/return.

    4. type csrutil State.

    5 start normally, then type csrutil status to confirm that all of the individual entries are still disabled.

Maybe you are looking for

  • set up gmail with wi - fi WE in iOS 9.3.3

    After I delete my Gmail account on my iPhone, because the device has been stuck in an endless loop, tries to send a message to the same account named "test" and checked the accounts didn't work, I decided to delete the account and recreate it. After

  • TWO EXTENSIONS RUNNING OFF A ROUTER

    Hello. I have a N300 Extender on networks and just bought a Netgear EX2700 extension put in another location. Both successfully install via WPS and work well independently, BUT when both are on at the same time as an Extender will show on the network

  • OfficeJet J4660 all-in-One on Windows Server 2003 R2 - cannot use the scan and fax functionality

    Hello everyone, I recently purchased the Officejet J4660 AIO.  I had to install on our Windows Server 2003 R2 (with all latest updates), being present on the CD of driver for Win XP, I had to download the latest driver (OJJ4600_Corporate_ENU_10 - 55.

  • Pavilion Notebook PC 15 no: not possible for laptop replacement screen

    My mother bought a computer Notebook PC 15 non - Pavilion laptop touch screen. A few weeks later, the screen was smashed. I went to my local repair center (PC World) and asked if they could replace the screen. They said that they could not so I decid

  • ASA and UDP

    Can somebody answer how ASA creates 'State' with the UDP traffic? I saw the matrix of the UDP services approved document, but I'd like to better understand what makes it work. TIA Dave