06-04-2012 04:42 AM
Thanks for the help, RobertH.
I append this parameter, reboot system and run "lsdaq", it returns:
------------------------------------
Detecting NI DAQ Devices
Found the following DAQ Devices:
------------------------------------
Why is nothing detected? Or I have to follow above instruction one more time?
The board is connected to PCI slot.
06-04-2012 05:40 AM
Edit:
I followed above instruction one more time, updating completed successful (with some warning about "cannot unload something from memory"), but the final result stays the same.
06-04-2012 09:52 AM
Basically it should work then.
Maybe you can try to use DAQmx as an alternative?
06-04-2012 10:40 AM
Hello,
You mentioned in your post that you were trying to use a USB-6501. How/why would you plug this device into a PCI slot? Is there anything unusual in your setup?
When you plug in the USB-6501, what is the LED near the USB plug doing?
Does the FWUpdate utility (located in /usr/local/natinst/nidaqmxbase/bin) indicate that the USB-6501 needs its firmware updated to one compatible with DAQmx Base?
DAQmx Base uses VISA to do some of the communication with the hardware, including recognition. For lsdaq to detect any device, the device would need to be recognized by VISA. You can use VISA Interactive Control (NIvisaic on the commandline will bring it up) to see what devices are currently detected.
Steven T.
06-04-2012 12:32 PM
Hello!
I didn't mentioned anything about USB. I said that "I have a NI PCI-6731". As far as I know it should be connected in PCI.
Thanks for advice. I will try VISA Interactive Control.
First of all I installed DAQmx Base Driver. Then I launch Driver Wizard that request me to fill some fields that I don't know (something about Manufacturer Id and Model Id). I wrote to support and support tells me that I have to run "lsdaq" before any work with device. I tried and that error brings me here.
I don't even know steps to interaction with device. Can you help me?
06-04-2012 01:10 PM
But it doesn't Which differences between them? Sorry for the noob questions and big thanks for your help!
06-04-2012 01:25 PM
Oh, I got your situation mixed up with the original poster of this thread.
What is your distribution and version? What version of NI-DAQmx Base are you using?
Here are the steps I use when I use DAQmx Base with PCI device...
1. Follow the instructions in the readme to get VISA to install (this includes the zcat command you mention in your first post)
2. Install NI-DAQmx Base (this installs VISA if it is not already installed).
3. Reboot
4. Use lsdaq to make sure that my PCI device shows up.
If things go wrong...there are some troubleshooting steps.
1. Is the PCI card recognized by the system? What is the output of lspci | grep National or lspci | grep 1093?
2. Did VISA's PCI kernel support install correctly? What is the output of lsmod | grep ni?
3. Then use NIvisaic to see what devices VISA is aware of. DAQmx Base installs an inf file that will allow VISA to recognize all devices supported by DAQmx Base. No work with the Driver Wizard should be needed.
06-04-2012 02:41 PM
Big big thanks for the help, StevenT!
I have openSUSE 11.2 and NI-DAQmx Base version I need to clarify.
I will try your instructions tomorrow and write what I get.
06-05-2012 01:27 AM
Hello StevenT.
I did some steps and what I got:
- "lsdaq" still returns:
------------------------------------
Detecting NI DAQ Devices
Found the following DAQ Devices:
------------------------------------
- I started VISA Interactive Control and that what I saw:
- This is a output of "lspci | grep National" and "lsmod | grep ni" (sorry for the screen, I can't copy text from console):
- My driver version is NI-DAQmx Base 3.4.5f0 (18-Aug-2011).
I guess system is recognizing the device. But why does "lsdaq" not find anything?
06-05-2012 09:52 AM
Thank you for this information!
I can see that you've also installed DAQmx (not base) on this system.
Only one driver can use a device at a time. Since DAQmx is installed, that driver is probably preventing VISA/DAQmx Base from using the driver. Please check out some of the pages on ni.com about DAQmx for Linux. The basic command for seeing DAQmx recognized devices is nilsdev.
I'd recommend sticking with DAQmx for your application.
Steven T.