06-22-2015 08:45 AM
Hello,
I have an issue using Measuremetn Computing DAQ's with LabVIEW.
Occasionally, LabVIEW will loose control of the DAQ. I am not sure why.
Also, of the DAQ is not plugged in when I launch LabVIEW it is not acknowledged as a resource.
Does anyone know if there is a dynamic way to determine if measurement computing resources are available?
That way, if I do things out of order, or if I loose communication, I can restore it after the fact.
Thank you very much
06-22-2015 05:40 PM
You don't tell us very much. Describe the Hardware a bit more -- for example, is it a USB product, what is it supposed to do, and what timing considerations are applicable. Are you using their software, or are you using LabVIEW (and just treating their device as "hardware")?
If you are using their software and drivers, it might have the ability to "find" the device and make an automatic connection. Otherwise, you need to have established in advance what the name of the Device will be when it is plugged into your PC, and with USB, this might not "stick".
Why you lose control in the middle of using your device is difficult to say without more information and the code (not a picture of the code, but the actual VI or a ZIP file with multiple VIs) to look at.
Bob Schor
06-23-2015 07:24 AM
MCC's LabVIEW driver requires that the DAQ hardware be present (fully enumerated) in the system before the first call to the driver. If the DAQ hardware is not present, you must close the LabVIEW application, and re-launch it after the hardware is enumerated.
It would be helpful to know which DAQ model is used, and what functions/features of it are being used at the time of the problem. The likely cause is some kind of electrical event in the environment (inductive kickback) that is affecting the DAQ device or USB bus/hub. First, try without any USB hub or USB cable extenders. Then try to figure out what external event happens at about the same time, and either relocate it or the DAQ/wires, or look for a ground loop.
Measurement Computing offers free technical support. You can visit www.mccdaq.com and click on the "Support" tab for all of the support options.
06-23-2015 09:27 AM
Hello,
My specific devices are USB-1208LS and USB-DIO96H/50.
I replaced the USB-1208LS with a USB-1208FS and seem to have better luck.
I had contacted Measurement Computing, and they informed me that there was nothing programatically that could be done to solve this issue.
I am currently experiemting with USB cords that have built in Ferrite noise suppression to remove inductive kickback. I am pretty sure that is what it is.
I was hoping for a software solution that we could implement to restore a loss of MC hardware, should the worst happen, to avoid an undesired operation. It seems like that is not possible after contacting MC. Oh well.
06-23-2015 10:44 AM
Did you verify if you are using the LabVIEW Version that that driver support?
Try to see this device in NI MAX and probe it.
Can you replay more information like(screenshots, pictures…)