06-17-2016 07:27 PM
Hello,
Im using the USB 6009 to collect my data.
After a 6 month pause, When I ran my VI
A diaglogue box that said "loading lvlib" popped up before the VI opened.
When I run the VI I get a "error 201003" (Image 3) (It was working perfectly fine before) - The only change was the upgrade from windows 8.1 to windows 10. (My Labview Interface with adurino seems to work fine)
I looked at the following links to for information -
1. http://www.ni.com/white-paper/52818/en/
2. http://www.ni.com/download/ni-daqmx-15.5.1/6100/en/
I updated my NI DAQmx drivers, but get the same error.
When I look at devices and inetrfaces - the status says "not present" (Image 1) - after updating the driver, the "ASRL 10::INSTR LPT1" status also says "not present" (Image 2)
When I test the device alone - It checks out.
I'm a little confused as to what to do next? Should I rollback to windows 8 ? Should I re-install the USB 6009?? Am I missing something??
Any help would be great.
Thanks
Solved! Go to Solution.
06-17-2016 08:10 PM
06-19-2016 02:03 PM
Lana,
If you had attached your VI (instead of useless pictures of the VI), I could have tried to run it with my USB 6009 to see if I could spot the problem. Is everything in one VI? If not, and if everything is inside a single folder, compress the Folder (which makes a .zip file) and attach the Zip file, otherwise attach the VI. Note that this will also automatically answer the question about Which Version of LabVIEW you are using, as it is "encoded" in the VI.
Please attach your VI or Zip file so we can "poke" your code.
Bob Schor
06-19-2016 07:10 PM
Hello Mike.
When I checked the device manager - there doesnt seem to be any issue highlighted. (Image 4)
The labview version Im using is - 12.0f3 32-bit
Attached is my VI - its pretty straightforward. (Data is colleceted through USB 6009, - written to a .lvm file through write to measurement file)
Attempts so far -
I tested the device - through the NI device monitor - When I connect, channel AI0 to a function generator (1Hz - frequency, 5 volts peak to peak square pulse) Image 7 is what I see when I test the device.
Will it matter if
Device Specified is Dev2 and the
Suggested Device(s) is Dev3 - is that the problem?
With a presumption that the drivers for 6009 are not compatible with windows 10, one of the things I can do - is run the VI with USB 6009 on lower windows OS (8 or lesser) - just to test if the hardware and software are working fine.
Is there a better approach?
Also, when USB 6009 is connected - should it show up as a driver - in "My computer" for eg: like (E: ). If yes, nothing happens when I connect my USB 6009, is that a problem? (if it is not connected then the NI device monitor shouldnt start to begin with - right?)
Thank you for the help.
06-19-2016 08:34 PM
Thank you for attaching your VI and providing additional information. Here are some facts that might clarify things for you.
Assuming that my assumption that you are trying to run your code on a PC running Windows 10 is correct, I think you have two options:
Looking forward to learning more about your system, including (a) if my assumptions are correct, (b) which path you chose to try to get this working, and (c) what happened.
Bob Schor
06-20-2016 01:26 PM
Windows 10 (x64) PC with LabVIEW 2015 SP1 (32-bit) installed.
Bob "I'll be Back" Schor
06-20-2016 02:33 PM
That was a scare! I've just finished a "limited Repair" of my LabVIEW Installation, concentrating on DAQmx, MAX, and VISA. Here we go again ...
Well, that was interesting. Here are the changes I made:
I'm attaching the resulting .lvm file.
Bob Schor
06-21-2016 03:09 PM
Hey Bob,
Thank you for the detailed reply -
Well, if 2012 doesnt work on windows 10. My only other option would be to upgrade to 2015 - cos its too late for roll back.
I have a quick question - if Im upgrading to 2015, WIll i have to start off from the beginning? (Re - install everything - or will it just "add to existing" - as in would I have to interface adruino and all the other hard ware used??)
Hope that made sense?
06-22-2016 08:57 PM
Hi Lana89,
Installing LabVIEW 2015 will not overwrite your current installation of LabVIEW 2012, and many of the drivers made for LabVIEW 2015 will still support development in LabVIEW 2012. (You will still be able to develop your applications in LabVIEW 2012, and open up your older VIs in LabVIEW 2015 if needed.)
After installing LabVIEW 2015 you will have to upgrade the drivers of any hardware you wish to use with LabVIEW 2015. For example, LabVIEW 2015 requires DAQmx 15.0 at a minimum. Your USB-6009 will require a version of the DAQmx drivers compatible with LabVIEW 2015.
Next year our new drivers will only support LabVIEW 2013 or later (so be careful about upgrading next year). That being said, our current drivers (DAQmx, etc.) will work with LabVIEW 2012.
I am not sure about your Arduino interfacing software or drivers. Are you referring to the LINX add-on?
06-22-2016 10:02 PM
Lana,
With LabVIEW, you can only add newer Versions (i.e. if you have LabVIEW 2012, you can install 2013, 2014, 2015, but could not install 2012). If you notice when you install LabVIEW, some features are installed in a Version-specific sub-folder (e.g \National Instruments\LabVIEW 2015), while others are installed in the NI "root" (MAX, Device Drivers). These latter are thus not Version-Specific, but there can still be issues.
When I install LabVIEW, I also install the Device Drivers I expect to use. Since I'm doing some LabVIEW RT with a PXI system, and also some Image Processing, I install DAQmx, PXI, VISA, and Vision (IMAQdx).
I've had systems with 4 different LabVIEW Versions installed (8 if you count the SP1 installs), but find that I often run into mysterious clashes that are best solved by removing all LabVIEW Versions and installing the 1 or 2 most recent. My "production" code is currently running in LabVIEW 2014, but I'm doing most new development in 2015 (those are the only versions on most of my systems -- some of the newest only have 2015).
I do have some collaborations with colleagues running older versions of LabVIEW (2011 comes to mind). For these projects, I work in a VM that has only the older version installed (and bug my colleague to upgrade, you bet ...).
So if you are going to install LabVIEW 2015, install everything that you think you need, including the (minimal set of) Device Drivers that you will be using. If you are fortunate to have a Distribution Kit where everything is basically on a large USB Key, you can do the install "all at once" by carefully checking the options you want (given a choice, I'd recommend installing from the SP1 Kit -- it's a little easier, and is, after all, the "patched" version of 2015 ...).
Bob Schor