'viFIndRsrc' in my 16-bit application failed after talking to a device using MAX 2.2

We still need to run a 16-bit 'C++' application on the XP environment. This app. works fine with all the devices. However, after I open 'MAX' and communicate with any device and then close 'MAX', my application will fail saying that 'no device is found';
If I use 'viClear' from the VISA-Interactive COntrol to clear that particular device that I had talked to using MAX, my application will then work.
Also, if I communicate with any device using the VISA-interactive control instead, I will not have any problem either.
What is the difference between communicating with a device using MAX and VISA interactive control (2.6.1)?
It causes problem to my application.
Thanks for any i
nformation!

Actually, the communicator does not use VISA. It makes direct calls to the NI-488.2 driver, so it is a little different than using VISA. It looks like the 488.2 driver is leaving some resources open and not closing them down correctly. You can try to upgrade to a newer version of NI-488.2 to see if that fixes the problem.
http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BB9002C14EF?opendocument&node=132060_US
Otherwise, I would suggest just using VISA for all of your tests. You might even want to put together your own VISA test panel. Here is one that I created using MSVC 7.1 with one of the VISA shipping examples. It installs a small executable called VISA Test and a shortcut on to your desktop.
-Josh
Attachments:
VisaTest.zip ‏275 KB

Similar Messages

  • IMac Display failing after 1 year of average use.

    I have a mid 2011 27" iMac (the one with thunderbolt)  and the display is starting to fail after 1 year of average use (an hour of use every day on average).  The display is now much dimmer on the left half of the display (the GPU sits underneath that portion) and also flickers the whole display now and then to a lower brightness.
    I am about 45 days out of warranty and basically will have to cough up $500 to have it fixed by Apple.  My questions are...  Has anyone else ever had this happen to them?  The genius bar employee thought that it was something he has seen happen to displays when exposed to heat over long periods of time.  So basically playing starcraft 2 and doing video encoding killed my display if you believe that to be the cause.
    Are there any conditions in which apple would recognize this as a manufacturing defect and fix it free of charge?  Otherwise it looks like im writing a check for $500 next week.

    Today a dark streak showed up on my display right in the middle. It is shaped like a zebra stripe but is dark grey and wont go away.
    I too have a mid 2011 27" 3.4GHz i7 iMac with a 2GB Graphics card . Im about 50 days out of warranty.
    Seems like its perfect coincidence  for apple that 50 days after my warranty runs out, the most expensive thing to repair breaks.
    After doing some research it seems like there is a lot of people with this model experiencing this problem.
    Pretty sad that my 2005 iMac is holding up better than my brand new iMac.
    Been saving up for it for like 4 years and I dont have the money to repair it.
    I tried everything, I knew none of the stuff i tried would work but i still tried resetting the PRAM repairing disk permissions all that good stuff. I even have an air purifer/dehumidifier in my room so i dont know what caused it.
    I didnt think i needed applcare because ive had my other imac since 2005  without a hiccup.
    Ive rendered out 3d animations using the cpu at 100% for days and it still runs fine.
    Havent even used my new imac for anything that would put stress on it.
    What i do notice is that it runs hot all the time. ever since I got it. Sometimes just doing basic stuff such as browsing safari it can get so hot where i cant touch it. my GPU normally stays at around 70C and the hottest its been was 80C which is still safe. The alluminum is supposed to transfer heat better but all it does is retain heat more and get super hot. the old plastic one i have is 10x cooler.
    What i did notice today tho when my screen problem happened, is that the GPU temperatue is at 50C and wont go above it. I monitor the temperature with istat  and never have seen it at 50C and below unless i am just doing a fresh boot.
    What really concerns me tho is how the screen went out so close to when my warranty expired.

  • [SOLVED] GTK applications failing after latest update

    Several GTK applications are failing after the latest updates.
    So far, I have found Bleachbit and Gtkpacman are crashing, but there may be more.
    They all give the  same error messages (obviously, the application name/line number in the first line varies):
    File "/usr/bin/bleachbit", line 41, in <module>
    import gtk
    File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
    ImportError: /usr/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so: undefined symbol: gtk_combo_box_set_entry_text_column
    How do I fix this?
    Many thanks in advance.
    Last edited by myrlin (2011-05-07 10:17:03)

    How do you manage to reply to my problems before I've finished typing, Wonder??
    VERY many thanks once again.
    pacman -Q pygtk gtk2 give different versions, as I haven't yet been able to fix my previous problem with Firefox 3.6 (machine in constant use), so I guess that's the problem.
    Thank you SO much for your help, support and patience.

  • Error occurred while packaging application: fails to run on iOS device...

    I am building a project in Apple Mavericks using FlashBuilder 4.7 using AIR SDK 3.9 and Flash Player 11.9. 
    The project is plugin project that builds and runs for android in the AIR simulator as well as on the device (so far so good)… it also builds and runs for iOS in the Xcode simulator but fails on the device… I have checked and double checked to make sure that my certificate (p12) and provisioning profile are correct and have also confirmed that the Application descriptor correctly mirrors the app ID (in flash builder as well as in the provisioning profile). I have allowed System Events in the Security & Privacy setting in Mavericks.
    If I try to build and run for the device… after a few minutes it fails with a message… “Exception occurred during launch  Reason: Error occurred while packaging application:” without any detailed information.
    If I try to “Export Release Build” it fails after a few minutes with message… “Error occurred while packaging application: Id: framework not found UIKit  Compilation failed while executing  :  Id64” Even though I know UIKit was included in the Xcode project when I started and UIKit is (I thought) automatically included by Flash Builder!
    Can anyone help me out or point me in the right direction? I really need to get this project running on the device, I was pretty sure that the provisioning was my problem but have not had any luck getting it running no matter how many times I review and check my settings and provisioning. Please Help

    I am building a project in Apple Mavericks using FlashBuilder 4.7 using AIR SDK 3.9 and Flash Player 11.9. 
    The project is plugin project that builds and runs for android in the AIR simulator as well as on the device (so far so good)… it also builds and runs for iOS in the Xcode simulator but fails on the device… I have checked and double checked to make sure that my certificate (p12) and provisioning profile are correct and have also confirmed that the Application descriptor correctly mirrors the app ID (in flash builder as well as in the provisioning profile). I have allowed System Events in the Security & Privacy setting in Mavericks.
    If I try to build and run for the device… after a few minutes it fails with a message… “Exception occurred during launch  Reason: Error occurred while packaging application:” without any detailed information.
    If I try to “Export Release Build” it fails after a few minutes with message… “Error occurred while packaging application: Id: framework not found UIKit  Compilation failed while executing  :  Id64” Even though I know UIKit was included in the Xcode project when I started and UIKit is (I thought) automatically included by Flash Builder!
    Can anyone help me out or point me in the right direction? I really need to get this project running on the device, I was pretty sure that the provisioning was my problem but have not had any luck getting it running no matter how many times I review and check my settings and provisioning. Please Help

  • Web Start Application fails after upgrade to JRE 1.6.0_u33

    I have a production application that uses java web start for deployment. All has gone well, but we are experiencing problems when testing upgrading to the latest JRE update 1.6.0_u33.
    The application is composed of several jar files, all of which are signed with a code signing certificate. However, after updating the JRE, I receive the error :
    #### Java Web Start Error:
    #### Unsigned application requesting unrestricted access to system
    Unsigned resource: the first jar file in my jnlp
    This is a pretty odd error, since the jar is definitely signed. I can find it in the webstart cache and run jarsigner -verify against it and it verifies successfully.
    If I remove the application and reinstall it, everything works fine, but this is a pretty unacceptable solution for thousands of users, many of which are not very technical.
    Does anyone have any solutions or has anyone encountered the same problem? It is currently a showstopper for us to taking this new JRE update which contains some critical security updates we would like to have implemented.
    Thanks in advance for any help.

    Hi
    I have seen this post a little bit late, but... We have also encountered such issue.
    There is another workaround than ask people to empty the java web start cache.
    In order to force the end user's computer to download again you application entirely, we have signed again ALL the jar files and uploaded them to our server.
    That works well but... if somebody download the "new" files and upgrades java to 1.6_0_33 afterwards... same issue will appear again.
    Please observe that the traffic in this forum has started to decrease strongly. That's not amazing when you see that you cannot count on this product.
    Java web start has never worked correctly and that for a long time. This one suffers of numerous bugs and regressions. We should rather call it Java Nightmare Neverstart
    It's a shame.
    Sun has been acquired by Oracle but that does not seem change anything.
    Java RIP
    Claude

  • Updates to CS5 report download error and failures for multiple applications using bridge or application itself, after earlier updateswere successful.  Using Windows 7 Pro 32 Bit.

    Updates include the following
    Bridge CS5 4.0.5 Update
    Extension Manager CS5.0 Update
    Illustrator CS5 15.0.2 Update
    Pixel Bender Toolklit 2.5 Update
    InDesign CS5 7.0.4 Update
    Dreamweaver CS5 11.0.4 Update
    Fireworks CS5 11.0.2 Update
    Photoshop 12.0.4 Update for Photoshop CS5
    Photoshop Camera Raw 6.7 Update
    Every application has teh same error associated with the update; it reads "THere was an aerror downloading this update. Please quit and try again later."

    update manually, http://www.adobe.com/downloads/updates/

  • Perl applications failing after switch from 5.16 to 5.18

    I recently updated my system and it seems perl recieved an update too as it is now at 5.18. However, after the system update I could not start rxvt-unicode anymore (it segfaulted). After some research and reinstalling I found that perl is responsible for that: Going back to 5.16 fixed it.
    To keep a long story short: A lot of my perl modules could not handle the new perl version. I am not a 100% sure if these would all be aur packages but I suppose not, as I also had an issue with ImageMagick (its' perl module). Finally I somehow hacked together a few commands that reinstalled most of my perl modules. However, this does not string strike me as a pretty solution (as I just searched for packages containing "perl" and reinstalled them.
    For example, ImageMagick needed this as a seperate install. Now, I am wondering whether there is way to do something about this problem. I can't imagine I am the only one having a problem with this perl update, so maybe there is someone who could help me straighten this up.
    Thanks in advance,
    javex

    Many things broke with perl 5.18, I think you should report bugs upstream.
    Marc Lehmann (the guy behind urxvt) was pretty unhappy about perl 5.18 http://lists.schmorp.de/pipermail/rxvt- … 01795.html

  • Eth0 fails after installing and operating ath0 using ath_pci

    Hi everyone, thank you for taking a look at my problem here.
    I'm operating on an older IBM Thinkpad A22M.  When I first install ArchLinux, eth0 works fine.  I can dhcpcd into my network and browse the internet without a problem.  Once I add this WG511T PCMCIA card, and attempt to connect with it, eth0 fails and nothing I can do will bring it back.
    I am operating no network managers and I do not do
    sudo ifconfig eth0 down
    before doing anything at all with the ath0.
    ifconfig -a
    ath0 Link encap:Ethernet HWaddr 00:1E:2A:67:30:DC
    inet addr:192.168.0.66 Bcast:255.255.255.255 Mask:255.255.255.0
    inet6 addr: fe80::21e:2aff:fe67:30dc/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:5218 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1622 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:4296916 (4.0 Mb) TX bytes:207436 (202.5 Kb)
    eth0 Link encap:Ethernet HWaddr 00:10:A4:82:6C:63
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    irda0 Link encap:IrLAP HWaddr 00:00:00:00
    NOARP MTU:2048 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:8
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:280 (280.0 b) TX bytes:280 (280.0 b)
    wifi0 Link encap:UNSPEC HWaddr 00-1E-2A-67-30-DC-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:22123 errors:0 dropped:0 overruns:0 frame:1141
    TX packets:3979 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:280
    RX bytes:4314509 (4.1 Mb) TX bytes:391932 (382.7 Kb)
    Interrupt:11
    lspci
    00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
    00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
    00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
    00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
    00:03.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 09)
    00:03.1 Serial controller: Xircom Mini-PCI V.90 56k Modem
    00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
    00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
    00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
    00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
    00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
    01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
    06:00.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
    /etc/rc.conf
    #I cleaned this up to fit it into this forum post.
    MODULES=(e100 eepro100 mii slhc ath5k ath_hal ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc slloc snd-pcm snd-rawmidi snd-timer snd snd-ac97-codec snd-cs46xx soundcore)
    eth0="dhcp"
    INTERFACES=(eth0)
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    #NETWORKS=(main)
    DAEMONS=(alsa hal fam gdm syslog-ng network netfs crond)
    Of course, taking down eth0 and then bringing it back up does not work.  I have already made sure that the ethernet cable and the router both work by plugging in another PC.  I've looked at just about everything I could find to figure out what would cause this kind of issue, but I have found little in answers.
    Again, thanks for taking a look.  If you have any useful resources or reads or an explanation as to what I'm doing wrong, I would take them gratefully.
    Last edited by sharpie (2009-01-06 00:05:51)

    What are you using to connect to the network itself?  IE netcfg2, wicd, knetworkmanager... ?
    Try using either the "mii" or "ethtool" application to gain some info perhaps?  I've used ethtool to re-connect seemingly dead connections.  Some people find the "dhcpcd" client to be a pain and quirky with their hardware, so often I see others recommend using "dhclient" instead.  Give that a try perhaps, and check the netcfg2 page on the arch wiki for troubleshooting ideas if you have time.
    Stupid question but what is the Irda port used for in your case?  I know its infrared but I've never seen that port actually used for something even on the Thinkpad line of lappys, where its most commonly found.  Maybe its conflicting somehow?
    Last edited by MoonSwan (2009-01-06 06:47:30)

  • IPhone Application Frozen after waking up from Device Sleep

    The iPhone application that I am currently working on is having a hard time running properly after the device is put to sleep. I've built other applications that work fine, but something seems to be wrong with this one.
    After the device is woken up, it shows my user interface correctly, and I can see that other threads are running because I added log messages in a communication thread, but the UI is not responsive to any touches.
    Anyone have any pointers on what to look into for why this is happening?
    I've overridden the applicationWillResignActive and applicationDidBecomeActive methods in the application delegate to see what is getting called, but am not sure what to do once the application has become active again.
    Thanks.

    No one's ever faced that?
    I mean the iMac is brand new, upgraded from SL to Lion and this happened.
    It's the iMac mid-2011, 21,5
    2.5 Ghz Intel Core i5 - AMD Radeon HD 6750M 512 MB
    Would you guys say it's a hardware issue, or rather a Lion issue?

  • 64 Bit Applications Print to PDF but 32 Bit Applications do not

    Vista Home Premium x64. All updates installed. SP1 is installed.
    Acrobat 8.1.2 as a part of CS3.
    Printer Port is set to Documents/*.pdf
    Printing fails with Spool print docs or Print directly to Printer selected.
    All 64 Bit Applications work.
    All 32 Bit Applications fail while 'spooling' according to the Print
    Spooler. Printing documents cannot be paused or deleted.
    The acrotray.exe and the application from which you are printing must be
    killed by Task Manager. And a reboot is necessary to clear the print cue.
    The Microsoft Hotfix KB930627cannot be applied due to SP1 having released a
    newer version of GDI32.dll.
    All applications can successfully print to any other printer on the network.
    The Message "Adobe PDF creation cannot continue because Acrobat is not
    activated." This is not the case. Acrobat is activated.
    A repair installation has been done.
    Hopefully this is enough information for someone to advise me.
    I see many instances of users complaing since late last year. Is there a
    solution to this problem yet?
    Rikk

    This problem is now corrected with a simple setting change that is installed<br />incorrectly by default.<br /><br />Rikk<br /><br /><[email protected]> wrote in message <br />news:[email protected]..<br />> Vista Home Premium x64. All updates installed. SP1 is installed.<br />> Acrobat 8.1.2 as a part of CS3.<br />> Printer Port is set to Documents/*.pdf<br />> Printing fails with Spool print docs or Print directly to Printer <br />> selected.<br />><br />> All 64 Bit Applications work.<br />> All 32 Bit Applications fail while 'spooling' according to the Print<br />> Spooler.  Printing documents cannot be paused or deleted.<br />> The acrotray.exe and the application from which you are printing must be<br />> killed by Task Manager. And a reboot is necessary to clear the print cue.<br />><br />> The Microsoft Hotfix KB930627cannot be applied due to SP1 having released <br />> a<br />> newer version of GDI32.dll.<br />><br />> All applications can successfully print to any other printer on the <br />> network.<br />><br />> The Message "Adobe PDF creation cannot continue because Acrobat is not<br />> activated."  This is not the case. Acrobat is activated.<br />><br />> A repair installation has been done.<br />><br />> Hopefully this is enough information for someone to advise me.<br />><br />> I see many instances of users complaing since late last year. Is there a<br />> solution to this problem yet?<br />><br />> Rikk<br />>

  • BB Tour Fails after Update

    Like others, I get the clock on white, then black screen of death, then more clock on white.  The difference is, mine won't stop.  It just keeps going and going and going.  From what I can tell on the BlackBerry website, I need to pay someone to help me resolve the problem (????).  Am I missing something??  PLEASE HELP!

    Mine failed after update too.  Device will not even turn on now and if I plug it into the usb the red light comes up but still no screen.  tried taking out battery and replacing but still nothing...

  • After the last update iTunes no longer works...  "This application failed to start because MSVCF80.dll was not found.  Re-installing the application may fix this problem"  I tried and it did not fix the problem?

    After the last update iTunes no longer works...  "This application failed to start because MSVCF80.dll was not found.  Re-installing the application may fix this problem"  I tried and it did not fix the problem?

    Click here and follow the instructions.
    (99061)

  • 32-bit Application stops working on Windows 7 Enterprise machine after Windows is restarted

    Hello,
    We have a legacy 32-bit application that we distribute that was built with Microsoft's Visual Basic 6.0.  I have installed this application on many versions of Windows up to and including Windows 8.1 with no issues.
    Recently we provided the application to one of our end users who is running Windows 7 Enterprise on multiple laptops.  They are able to install the application and run it without issues until the machine is restarted.  After the machine is restarted
    the icon for the application changes to the standard Windows EXE icon and when they attempt to start the application they get the Windows message box:  "The version of this application is not compatible with the version of Windows you're running....".
    From the research I have done, this error would only apply to trying to run a 16-bit application or if you are trying to run a 64-bit application on a 32-bit version of Windows, neither of which is the case here.
    It also quite odd that they are able to install and run the application with no issues until Windows is restarted, and this has been verified on multiple of their machines.  The icon change is also quite odd.
    If anyone can provide any information regarding this issue it would be greatly appreciated.
    Thank you.

    Hi,
    Have you checked this page?
    Help with Windows 7 compatibility problems
    The following steps can help you with programs that aren't working properly:
     Step 1: Find software updates from the program manufacturer.            
     Step 2: Try re-installing the program by following the steps in
    Install a program.
     Step 3: Follow the steps in Make older programs run in this version of Windows.
     Step 4: Try running the program using Windows XP Mode. Get more information in
    Install and use Windows XP Mode.
    Best regards
    Michael Shao
    TechNet Community Support

  • Application failed to return status record to ALE layer after Idoc procesed

    Hi,
    I am loading a full load to Product category (hierarchies) through process chain.
    One of the load failed with the following error. The Idoc has status 51 in BW.
    Can some suggest me the process for correcting this.
    Thanks
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.

    Hi
    If this is standard code then you will have to write code to populate the status message in exit. But in case of custom code, the above mentioned solution is best (if coding logic is correct). I have given this solution to many queries and all worked.
    Thanks
    Anuraag

  • After Effects CC 2014 will not upgrade?  Gets to 100% and then says application failed.  Why does this not upgrade?

    After Effects CC 2014 will not upgrade?  Gets to 100% and then says application failed.  Why does this not upgrade?

    We can't know anything. You have not provided any useful details like system information or the install logs.
    Mylenium

Maybe you are looking for

  • How can I avoid duplicates on importing ics files

    I'm a new Mac user and would like to start using the Mac for everything including my diary. For a while I will be working in parallel with another calendar (I'm using the Lightning add-in to Thunderbird). Scenario as follows: Export events from Light

  • Bad image quality when connecting an external Dell 30" monitor. Why?

    I recently bought the latest Mac Book Pro Retina 15. It's running the nVidia M750 2gb card I believe. I'm trying to hook it up to my Dell 30" desktop monitor which runs my desktop computer perfectly well. I'm using a cheap Mini Displayport to Display

  • Topics in BI.7

    hi... i have to attened the interview next week..so plz let me know the important topics in BI.7 nd some intv questions on BI.7... thanks in adv madhuri

  • Inbound Allow ACL when http headers inspection is true.

    Hello, I have a request to make the following work on an asa 5515 deployment and I'm receiving a lot of conflicting information about how to implement the solution. I have an external provider that requires access to an internal non-ssl webpage. They

  • Preset 'Standard' paper size wrong

    I have a user who somehow managed to change the preset 'standard' paper size to a custom size. He didn't go into the terminal, didn't edit any plists, etc that he is aware. Since we've got a work around already (created a new preset with US Letter) i