Why does VISA show that a non-present device is still present?
I have NI VISA 5.4 installed and I'm using LabVIEW 2012 SP1 to control a USB HID devices using USB RAW. My computer is running Windows 7 Ultimate 64-bit. Using the VISA driver wizard, I created custom INF files that I have installed on my machine and the actual control portion is working great.
My issue is that once in a while VISA seems to think that a disconnected device is still present. As you can imagine, this messes with my application as it tries to talk to unit that really isn't there. Using LabVIEW VISA VIs, the device can still be discovered and attempted to be communicated with (it will just error out though). When I open NI MAX, I see the device listed as present even though it is powered off and disconnected from the PC.
While leaving MAX open, I can reconnect the same unit and nothing appears to change in MAX. The only difference is that now the device is actually connected and powered on. If I connect another unit, I see it populate in the device list. If I disconnect both units, the device I connected last disappears from the list but the first "phantom" device remains in the device list and is listed as present.
The immediate workaround I've found is to reboot the computer. Things seems to work OK for some time afterwards but will usually crop up again while using more than one USB RAW device in this manner.
Something else I just witnessed is that I left MAX and LabVIEW open on my work machine over the weekend and I still saw the phantom device listed as present (it was not connected). I reconnected it and disconnected it and the device properly disappeared this time.
Has anyone else ever experienced similar issues? Can anyone explain what is going on? Since it is critical that my application can use more than one device at the same time, how can I ensure that the devices that are reported as available for use through the VISA VIs are really there and can be used?
Thanks!!
actually, I was wrong.
I am controlling another device where this behavior is not observed. As soon as the device is disconnected, LabVIEW knows it is disconnected and it will not show up when you use the "Find Resources" primitive in the VISA palette. The other device I'm using will still appear in the found list even it was disconnected.
For each device a VISA session was opened and USB Interrupts were enabled. The only difference is that the device which "disappears" appropriately when disconnected has a serial number in its serial number descriptor whereas the device which hangs around does not have a serial number in the serial number descriptor.
Maybe this is a clue to someone at NI.
Similar Messages
-
Why does BC show that I need to buy live hosting when I should get 5 free from CC?
I bought CC earlier today and BC still shows that I need to buy live hosting. Why?
Hey there,
Reach out to BC support on this. It probably is to do with if you tried to use Adobe BC before with a different Adobe ID etc. There are some FAQ's in the FAQ section on this I believe. But if you reach out to support I am sure they can fix that up for you. -
I took out a subscription earlier today and installed LR and PS. However CC desktop shows the message, "You started you 30 day trial of Photoshop CC (2014) 11 hours ago." I understood that I would have full access to PS and LR under my subscription with no further purchases needed.
Does your Cloud subscription properly show on your account page?
If you have more than one email, are you sure you are using the correct Adobe ID?
https://www.adobe.com/account.html for subscriptions on your Adobe page
If yes
Some general information for a Cloud subscription
Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
-Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
-http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
-http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
-ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
-http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
If no
This is an open forum, not Adobe support... you need Adobe staff to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us" -
I have the newest version of iTunes 10.3.1.55, and I check for new iPhone update and it says I have the latest update. Yet I know there is a newer one.
I have the iPhone 4 from Verizon. What do I do?"Is the 4.3.4 going to be available anytime time soon for the Verizon? "
No idea. Apple does not announce such things.
Since it will get ios 5 this fall,I doubt it, but who knows.
"Why doesn't it just work for all the phone regardless of carrier?"
No idea. Apple does not announce such things. -
Why does it show that FaceTime uses up memory?
Why is it whenever I use FaceTime it says I use memory when I check the time for when a FaceTime call was made? Do I use memory when I call people for FaceTime? If so how do I delete that used memory?
the facetime program on your iphone takes up memory. How else do you think it can reside on your phone? IF you could delete facetime (which you cannot because it is built in to the operating system on the phone) then that would free up memory on the phone. IF you are referrring to the fact that facetime uses data (if your carrier allows facetim eover cellular data) then you can prevent that by only using facetime over wifi or not at all
-
Why does it show my Apple ID is disabled when I try to download puffin web browser?
Why does it show that my Apple ID is disabled when I try to download puffin web browser. It works for everything else.
If you still have problem, contact iTune Support
https://ssl.apple.com/emea/support/itunes/contact.html -
Why when i buy books on my ipad, when i log onto the store it does not show that i have purchased them?
how many books and songs were therefore lost when i had to wipe my ipad?
this is SHOCKING from Apple... this is not in my domain of settings!!!In the iBooks application on the Mac, there is a checkbox to sync highlights and notes across devices.
I don't see a similar setting in the iBooks app on my iPad. It may require iBooks on the Mac as a mediator.
Also:
Can I highlight text and make notes?
Yes, iBooks includes built-in Highlight and Note features. Highlight any word or passage of text within a book. You can also create a Note from your highlighted selection. Review your Highlights and Notes by tapping the Table of Contents button and then tapping Bookmarks. Highlights and Notes appear in their own section under Bookmarks. -
Is it free to send messages in iMessage to another county? if yes why it does not show that these messages from iMessage?
if you receive an imessage not on any internet connection you will receive it as a sms (green) and yes it counts toward your texting plan
-
HELP -- hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that? although i have looked online to try and figure it out and here is the website i found is this the stuff i need to do to fix this? is this site what i need to do to fix this? http://edtechstandish.wordpress.com/what-ive-learned-about-apple-configurator-so -far/ Thanks
Sorry but I don't know anything about this. But you might have better luck posting this question over ing the iPad in Business and Education forum here: https://discussions.apple.com/community/ipad/ipad_in_business_and_education?view =discussions.
-
When going to the gym and launching find my iphone- why does it show 3 different addresses and streets blocks away and then if I move in the building to another area it shows exactly where the phone is?
Because the earth is large and you phone is getting your location from a satellite miles in the sky and you are under a roof.
-
I have an ipod touch 4th gen. why does it show the wrong album artwork on my ipod and it's fine on itunes. why is that and is there any way to fix it? please help!
I think it can't find the right or any artwork and ends up putting junk in there.
And can happen with artist and other tags.
probably fine with commercial media but otherwise....? I think you have to manaully go in and edit
I also don't like how it handles and stores non-Apple iTunes store content. -
Why does firefox show up as a plugin on volume mixer?
Why does firefox show up as a plugin on volume mixer? After updating a flash plugin into firefox (when it had requested me to update it), it no longer shows up as firefox in volume mixer. It now shows up as some plugin icon. I really don't understand this, and wish it to be the firefox icon again. What is going on and what happened? It names itself "Plugin Container For Firefox" What does that mean? It has been this way ever since, and nothing I have done has fixed this. Restarting, refreshing, reinstalling, clearing cache, etc. Can anyone think of something please? :(
== This happened ==
Every time Firefox opened
== This happened just a couple days ago (june 25, 2010 exactly)I have this, but my volume on firefox doesnt work at all
-
How do I get the none button to pop up so u don't have to have a credit card for apps? I owe nothing for apps from Apple, NOTHING!? And it still does not show the option "none". If it helps the card I have is a debit.
I'm happy you figured it out and just try to keep in mind that not everyone you talk to at support will give the same advice or have the same knowledge. Just like those who contribute to these forums. Sometimes Google is your best friend.
I agree that Apple could probably make it easier, but as of yet prefer security over freedom. (sound famaliar?)
Anyway, if you choose to do so, you can leave feedback here:
Apple.com Feedback
Apple Support Feedback
Developer Feedback
Product Feedback
QuickTime Feedback
Search Feedback -
FB70 why does system show warning message "enter true account assignment" ?
FB70 why does system show warning message "enter a true account assignment object with revenues" ?
i enter profit center but i still get warning message "enter a true account assignment object with revenues"
what should i do ?
my system have CO-PA .Dear,
Please see that the profit center which you are entering in FB70 must have segment.
still it gives warning message do worry enter it will post the transaction.
bsrao -
Why does listener show +ASM1 as BLOCKED
I did a lsnrctl status on the listener and it showed that +ASM1 status as BLOCKED. Why does listener show ASM instance as blocked? How does the agent connect to ASM instance if it is blocked?
ThanksHi,
I assume the ASM entry that you are showing refers to what should be in db_1/network/admin/tnsnames.ora?
My tnsnames.ora does not have an ASM entry at all, and I am experiencing the same issue as the original poster. Should I add one and restart ?
Thanks,
Colm.
Maybe you are looking for
-
Dolby Audio driver cannot start after upgrading to Windows 8.1
Hello. Windows 8 was the worst thing that happened to Windows, but since I bought this G505s laptop with Win8 pre-installed, i had no other choice to go to. Few days after the purchase, Windows 8.1 arrived and I updated 8 to 8.1 hoping to see some im
-
What's wrong with this simple code?
What's wrong with this simple code? Complier points out that 1. a '{' is expected at line6; 2. Statement expected at the line which PI is declared; 3. Type expected at "System.out.println("Demostrating PI");" However, I can't figure out them. Please
-
my mail icon in the dock tells me i have an incorrect number of messages that i haven't read. it continues to say 29 in the read circle even if my inbox is completely empty. how do i make unread messages an accurate number?
-
TS3376 My macbook is stolen, what can I do to track it's use?
Hi, My brand new macbook pro 15'' got stolen last weekend. It is password protected, but I would very much like two things to happen: a) track if the macbook gets online somewhere and report this to the police b) wipe the content remotely, although I
-
Tar -x never finishes. [Solved]
I'm a complete beginner to Arch. I've installed the system, and I'm trying to setup yaourt so I can install AUR packages more easily. The problem is, tar isn't working. I downloaded yaourt.tar.gz from the AUR, but when I type "tar -x yaourt.tar.gz" i