Error with Visa and USB device
Hello
I am currently working on a VI to use visa to get information from a USB device. The device is a digital-line tachometer.
I was able to get the drivers USB and everything set and the device appears in MAX, but now I get an error after the open block of visa, and I don't know why.
Any ideas would be greatly appreciated, but I don't know that anyone will be able to do, because you probably don't have the same one.
VI is attached
Tags: NI Software
Similar Questions
-
Interfacing with several unknown USB devices; all producing NMEA strings
Hi all
Question about the peripheral USB interface and their associated drivers.
I have the obligation to build an application that interacts with the USB devices that produce NMEA strings. I have the library to parse NMEA strings, but I fight with interfacing with several unknown USB devices. When deploying applications, I know not all possible USB devices to use.
Is it possible to produce one driver who will accept any USB device strings?
Or, more likely, is there a way to get the LV to recognize a connected USB device and automatically find / install the driver like windows does and is it possible to do in a deployed application?
I had a trawl of the forums, but I've not found anything that specific.
Thanks, I really appreciate the help.
About the VI "set up the serial port", my problem is that the choice of COM port is in a separate menu (not directly related to the VI) and it allows all possible COM ports to be selected. That can be addressed.
I am not expecting an all-in-one solution but asked the question in case it was possible.
What I realized, is that for my specific condition to read strings from a USB device. It is likely to be sent over a serial connection. LV can handle this well and easily assuming the device has the installed driver / settings are available.
LV (and indeed any other program) will not work without a device driver / settings. In this case, parameters set must be found (error) / a USB RAW driver would need to be developed. Devices requirng a RAW USB driver would need a serious review to continue due to the time and effort required. All this effort is work inherited from the AIDS to navigation
I appreciate any help and I think I got the answer I was looking for! Thank you very much
-
Can I install Driver Visa and USB-GPIB on LabVIEW7?
Can I install Driver-NI-VISA and USB-GPIB on LabVIEW7? Or I need to install LabVIEW8?
Thank you
Véronique.
Veronica wrote:
Can I install Driver-NI-VISA and USB-GPIB on LabVIEW7?
Yes.
Or I need to install LabVIEW8?
Only if you want to program in LabVIEW.
-
Original title: USB device not recognized / dysfunction
"Unrecognized USB device".
One of the USB devices attached to this computer has malfunctioned and Windows does not recognize it. Help for this problem, click this message. »This is what I get AFTER that I had to reinstall windows XP because a virus has attacked my computer a little before avg and Microsoft security essentials picked it up and destroyed... I have reinstalled twice... then I changed discs since I have two... well, I get this message from my 2 external Seagate Freeagent and my Phillips mp3 go gear aria... player these devices work on the laptop from my friend and she is under vista. It seems that since then they have worked on my computer before they would always run. My mouse and my cam work fine and my Canon printer gets thus detected... a few readers who have the space that is made... Ive looked everywhere for a solution... even upgraded windows media 11 and is player went to service pack 3. restarted several times... tried d
Power Management tab and tried toOpen recognition of the USB device by using Device Manager.
.. I am at a loss: P please help thanks!
isable the power management of the USB hub and I couldn't find the
Hi LadyDefi,
You can try to uninstall and reinstall the USB controllers and check:
To remove and reinstall all USB controllers, follow these steps:
a. Click Start, click Run, type sysdm.cpl in the Open box and then click OK.
b. click on the Hardware tab.
c. click the Device Manager button.
d. expand Bus USB controllers.
e. right click on each device under the Bus USB controllers node and then click on uninstall to remove them one at a time.
f. restart the computer and reinstall the USB controllers.
g. plug in the removable USB storage device and test to make sure that the problem is solved
For more information, see the following article:
Advanced troubleshooting tips for General USB for Windows XP problems
http://support.Microsoft.com/kb/310575
Hope this information is useful.
Jeremy K
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think.If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Original title:
My wireless mouse works fine for the last 2 months, now, all of a sudden it doesn't work at all.
I get a windows notification that says-
"One of the USB devices attached to this computer has malfunctioned and Windows does not recognize it."
I have Vista 32 bit OS on my laptop.
My office has Windows 7 32 bit and I am able to use the mouse on this computer, then the M225 is not defective.
I tried to look for a download of update on the site of Logitech & only found:
6.32.20 set - point it did nothing to help.
I also tried to move the receiver to the other 2 ports USB w / still the same results.
Are there other downloads or solutions that will help w / this problem?
You can also try searching for devices strangers (with yellow symbols) in the Manager under the mouse devices and other pointing devices and other devices (if any). Right click and uninstall unknown devices. Then restart.
Also try the steps below to reset the power of USB:
(a) the laptop off, unplugged from the wall outlet.
(b) remove the battery for a few minutes, then reinstall it.
(c) then restart the laptop. -
tried already everything written here. When I plug my USB device (3 of them) my Windows a sad of the USB devices attached to this system has malfunctioned, and windows does not recognize it. I tried plugging it into another winXP machine, it won't work. Can you help me?
Original title: usb malfunction
His salvation,
Thanks for posting your query in Microsoft Community Forum.
- What are the troubleshooting steps you have tried so far?
- If it works much earlier? If so, did you do changes on the computer before this problem?
- What type of USB device you are using?
As you mentioned that the USB device does not work when plugged into a WinXP machine, it may be a problem with the device itself. In addition, the question may also arise if the currently loaded USB driver has become unstable or damaged or if your PC requires an update for problems that could conflict with a device USB and Windows.
Therefore, I suggest you try the following methods (skip the ones that you already tried) and check if the problem persists.
Method 1:
Please try the fixit (s) provided below which will help you solve common problems associated with devices and USB ports.
- Hardware devices do not work or are not detected in Windows
- Diagnose and automatically fix the Windows USB problems
If method 1 does not work, try Method 2.
Method 2:
Remove and reinstall all USB controllers.
- Open Manager devices by clicking the Start button, click Control Panel, click system and security, and then, under System, clicking Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
- In the list of the categories of equipment, locate and expand Bus USB controllers.
- Right-click every device under the Bus USB controllers node and then click Uninstall to remove them one at a time.
- Restart the computer and let the USB controllers get reinstalled.
- Plug in the removable USB device and test to make sure that the problem is solved.
If the problem persists, go to method 3.
Method 3:
This method will install the latest drivers from device to your USB device.
- Click the Start button, type Windows Update in the search box, and then click Windows Update in the results pane.
- Click find updates. When the scan finished, click optional review updates.
- Click the check box next to the update, and then click install updates.
- If you are prompted, read the license agreement, then click I agree.
- Follow the instructions on the screen to download and install updates.
- If you are prompted, restart your computer.
More information: Update a hardware driver that is not working properly
If the device fails after updating the driver, you can try to roll back the driver with its previous version.
Restore a driver with its previous version
Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.
-
Error "connection of the USB device was unsuccessful.
I can't connect my USB device to the guest operating system when I use one of the USB ports on my computer.
VMware gives an error like:
The connection of the USB device has failed. The device is currently in use.
However, when I use the other USB port, the device connects successfully to the guest OS. How can I solve this problem?
My host OS is Windows 7 64 bit.
I doubt that it will have nothing to do with the SD/MMC.
This could be useful. I wrote and published a few days ago.
Host and guest OS USB 3.0 xHCI virtual support with Workstation 9
-
Satellite M30X-129 loses connectivity with the external USB device
I have a problem with my laptop that has regularly been do worse and I can handle is no longer!
Whenever I work with external devices via USB ports (all kinds of devices but my external hard drive Smartdisk CrossFire and my iPod in particular), after a certain period of time (sometimes minutes, sometimes hours) the laptop loses connectivity with the device.
If happens to be listening to the music, download photos from a camera or laptop computer for the ' net or sync of the iPod, the connection is cut off, turning off the device and I have to start all over again!
I'm almost at the point of launch of the laptop by the window, so any help is most welcome.
Thank you
AbderrahmanHello
This happens also with the external USB mouse?
This occurs if the power adapter is plugged or only if the laptop running on battery?In-hubs properties > Device Manager USB root-> power management
You will find the option called allow the computer to turn off this device to save power.I would recommend the brand and disable this option.
Maybe it helps.
By the way; When do you update the operating system? I think that it s there long time, perhaps some system files or registry entries are corrupted or a 3rd party application affect the USB functionality?
-
Error with VISA Read (-1073807346)
Hello
I use VISA read/write to control a glucometer and read files in memory. When I run the file memory for the first time, I get the error 1073807346 and the explanation is "VISA: (Hex 0xBFFF000E) the given reference of session or the object is not valid."
However, when I run again immediately after (without doing anything except click Run), it works perfectly every time until I have log and restarts (while I get the same error, but it works each time after this).
I checked my settings, they are correct and I also tried to run the command with Hyperterminal and it works. I don't know why this does not work the first time around.
Any help you could give would be great. I have attached the file ("read Mem").
Thank you.
Hello
You choose the resource monitor correct (I assume you are) before starting the program?
Why do you have a picture of sequence around your code? The sequencing is already accomplished by the data cables. The last wait is relaxed.
And most important: why do you have a feedback node in your visa session just before writing.
Delete and press cleaning diagram.
-
Error with Facebook and other web pages; document. Body' is null or not an object
Original title: error line: 19 tank: 23004 error line: 20 cha:124
document. Body' is null or not an object line: 19 tank: 23004... object doesn't support this property or method line: 20 char: 124... I get these errors on facebook and other web pages help me please!
Hello
IE - Tools - Internet Options - Advanced tab - navigation on the article - check the BOTH Disable script
boxes of debugging.Close and restart IE.
------------------------
Follow these steps to remove corruption and missing/damaged file system repair or replacement.
Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN
sfc/scannow
How to fix the system files of Windows 7 with the System File Checker
http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.htmlThen run checkdisk (chkdsk).
How to run check disk in Windows 7
http://www.SevenForums.com/tutorials/433-disk-check.html========================
========================Tips for solving problems with Internet Explorer
http://Windows.Microsoft.com/en-us/Windows7/tips-for-solving-problems-with-Internet-Explorer------------------------------------------
Methods more troubleshooting for Facebook and other questions of the site, if needed:
Try to add to your trusted sites in IE - Tools - Internet Options - Security - Trusted Sites.
http://www.Facebook.com/login.php
http://www.Facebook.com/Farmville
What antivirus/antispyware/security products do you have on the machine? Be one you have
EVER had on this machine, including those you have uninstalled (they leave leftovers behind which)
may cause strange problems).If no joy there's something blocking perhaps.
Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?
IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK
IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK
Close and restart IE or IE with no addons
not better?
IE - tools - manage Addons (for sure disable SSV2 if she's here, it is no longer necessary but Java
installs and it causes more questions - have you never update Java to go back in and turn it off again.) Search
other possible problems.Windows Defender - tools - software explore - look for problems with programs that do not look
right. Allowed are usually OK and "unauthorized" are not always bad. If doubt about a program
ask about it here.Could not be a free - SpyBHOremover - BHO - standalone program, needs no installation, download.
unzip and run - all are not bad, but some can cause your question (toolbars are BHO).
http://securityxploded.com/bhoremover.phpHow to change, add or remove startup programs in Windows 7
http://www.SevenForums.com/tutorials/1401-startup-programs-change.htmlAlso get Malwarebytes - free - use as scanner only.
------------------------------------------------------
Maybe using Compatibility Mode will help you.
Introduction of compatibility view
http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspxhttp://www.Microsoft.com/Windows/Internet-Explorer/features/easier.aspx
Some Web sites are not displayed correctly or work correctly in Windows Internet
Explorer 8
http://support.Microsoft.com/kb/956197Hope these helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
Error with SwfLoader and field of application
Hello
I have a test with a SWFLoader loading of an application in a different application domain.
Test with SWFLoader is ok during the loading of the application in the same application domain, but when I want a new Application domain, I have an error with a debug version of flahplayer message when I use the unload method.
Is this a bug?
Well, I can reproduce this.
Have seen, as I can now reproduce outside of FlexUnit however. It seems the specific problem with the FU framework is when we add it to the container of UIImpersonator, the Manager of bridgeToFocus is never properly created internally.
I can create the same circumstances in a regular application too if I followed a similar trend. Eager to focus on this more but maybe need a loop in other countries, so I don't think it's a quick fix.
When you have time, please this file as a bug in jira FlexUnit. Adobe is off this week, it will be at least next week before I can get a review on some of my proposed corrections.
Mike
-
"USB device not recognized" error keeps popping up and USB devices do not work
I receive the error USB not recognized on my HP Vista laptop at home.
For anyone else who might have this problem until I make this comment and you run windows 8.1 there is an update that fixes it!
http://support.Microsoft.com/en-us/KB/3013769#fixed_issues
-
Cannot connect anything through Bluetooth. Errors of pilots and other devices.
Hello
I am unable to connect anything to my computer via Bluetooth most. I used to connect my Flip JBL speakers to my PC via Bluetooth, but now I can't.
Under my devices and printers, there is an icon on my PC and JBL Flip which declares that both need to troubleshooting for the missing drivers. When I try to get these drivers, they are unable to do so. Recently, this problem happened after I tried to connect my Dual Shock 3 controller to my Kinivo BTD - 400 Bluetooth USB Adapter. (I'm on a laptop and also have built in Bluetooth).
In Device Manager, I have the following errors:
Interface devices:
-Bluetooth Remote Control: this device cannot start. (Code 10)
Other features:
-Bluetooth device: the drivers for this device are not installed. (Code 28) There is no driver selected for the item or a set of device information.
-Bluetooth device: the drivers for this device are not installed. (Code 28) There is no driver selected for the item or a set of device information.
-Unknown Device: The drivers for this device are not installed. (Code 28) There is no driver selected for the item or a set of device information.
Sound, video and game controllers:
-Bluetooth hands-free Audio: this device cannot start. (Code 10)
My built-in Bluetooth does not work with any device and is neither my Kinivo. I am currently working with the support Kinivo customer as well, but I need help here, too.
Looks like your driver is missing or corrupt.
Try to download your Bluetooth driver for your laptop from your site of manufactured goods.
Uninstall existing bluetooth driver, reboot the PC.
Then install the latest bluetooth drivr, downloaded from the website of the manufacturer. Then try to connect to your bluetooth device.
-
Measures voltage and temperature with 6221 and USB TC1
Hello
I make a program to make measurements of voltage with a card PCI 6221 37 pins Council and measures temperature with a USB-TC01. I use Labview 2009 SP1 and basically my program reads the data, it displays in a table and records in a file, all at a time which runs in a loop until I have to stop the program.
The program is closed. I wasn't too sure about timing with the 2 devices. The tc01 works at a fixed rate, so I put DAQmx read 1 Chan 1 Samp. On the 6221, I defined a sampling frequency and chose to not 'continuous samples', set DAQmx read 1Chan Nsamp and 'samples to read' the value "-1".» And it seems to work fine, but only if 'samples to read' - 1 seems too easy. I'm missing something. What determines the speed at which the loop runs?
Thank you
Try putting a wait function (ms) in the loop. Set the value of waiting for 100 to 1000 ms. If everything goes faster than that, then the wait will determine the rate of the loop.
Lynn
-
T430s is not awaken from its slumber with mouse and USB keyboard Logitech wireless
Hello
My T430s is hooked up with a monitor and a keyboard/mouse (Logitech LX710) wireless.
I put the laptop itself under my desk since I did not take it with me that often.
Now, when I hit the sleep button on my keyboard, the computer goes to sleep, as expected.
-There is no way (it seems) that I am able to wake up.
I am running Windows 7 (x 64).
I tried different USB ports (to make sure I use a motor) for Logitech wireless USB adapter.
In the BIOS Setup, I checked to see if the USB ports can wake the computer from sleep mode.
In the devices tab Manager keyboard (and mouse), power management, I enabled "allow this device to wake the computer". I did the same thing for the "Human Interface devices".
"Update driver software" for the keyboard and the mouse says I have the latest drivers to install.
In power controls of Lenovo, under Advanced settings, USB settings, I tried the USB selective suspend allowed many people with reduced mobility. They are disabled for the moment. Under global settings of power, I enabled 'always on USB"and"even when the computer is turned off.
Then... I'm slowly running out of options. So for now, I can leave the computer at any time (it's what I do, with an occasional reboot - that seems not so respectful), or I can crawl under my desk in the morning, take the laptop on the little stool that I put there, make attention to diet, USB and cables monitor and external hard drives, open the laptop , press the power button, close it again and carefully put it back. What is bulky.
So... what someone has ideas on how to fix this and leave my wireless keyboard to wake the portable computer?
(Oh.. and of course buy a wired keyboard is an option, but not one I prefer...)
I only have the mouse, but I have a T430s and a Microsoft wireless mouse to wake it. I always use the blue (USB3) port on the left side for all functions related to the startup, because I learned that the always active port (on the back) is started later in the process of turning the power on. Use the right-click button to wake it up, which is the function that was originally defined as one to this end, even though I believe that this movement of the mouse as she wakes up on a wired mouse.
Maybe you are looking for
-
Main problems of delay (2009). Help!
Hey guys, for the last two days that I tried to get my MacBook run smoothly at the end of 2009! After so many forums El Capitan watching seemed to be the answer! Well, I tried that and now my computer is not the completion of download. Perhaps, it st
-
FoxTab 1.4.4 stopped working.all I get is toblue window where the ith my topsites grid use to be.i tried to remove the extension and then re - install but I have the same condition. Someone at - it ideas. Oh yes, there was a windows update this morni
-
Satellite P20 - is not restart
Satellite P20 does not restart. He says to re-boot of the original startup disk, but I can't afford to lose all the info. Any help appreciated thanks
-
Original title: Windows Live Mail error I use Windows Live Mail and have never experienced a problem. Tonight I was e.mailing good people - just normal text. Then, because I forgot to add images, I tried to send an e-mail to the same person and added
-
Can I turn off my PC during the upgrade to Windows 10?
Original title: Upgrading Wondows Can I turn off my PC during the upgrade to Windows 10