Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Red Hat Enterprise Linux 5 How-to

Solved!
Go to solution

ivorystag wrote:

This is what I got........ 

 

[root@localhost bin]# rpm -qa | grep nipal
nipalki-2.3.0-f1


 

Yeah, you are missing the new nipali for some reason.  I guess the best thing to do is probably run the following as root:

 

source /usr/local/natinst/nipal/bin/nipalkiInstallerUtility.sh

nipalkiPreUninstall

rpm -e nipalki

 

Then try the NI-DAQmx INSTALL script again.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 11 of 14
(1,683 Views)

Hi,

 

That worked! Thanks. However, I couldn't run test prog as detailed below. Here's the install history:-

 

 Installing NI-DAQmx for Linux Installer Distribution version 8.0.0f1...
Skipping nikali-1.2.0-f0.i386.rpm installation, same or newer already installed.
Skipping nirpci-3.2.2-f1.i386.rpm installation, same or newer already installed.
Pre Installation .............................
Preparing...                ########################################### [100%]
   1:nipali                 ########################################### [  4%]
   2:niorbi                 ########################################### [  8%]
   3:nidimi                 ########################################### [ 12%]
   4:nimdbgi                ########################################### [ 15%]
   5:nimxdfi                ########################################### [ 19%]
   6:nimxpi                 ########################################### [ 23%]
   7:niscarabmm             ########################################### [ 27%]
   8:nistci                 ########################################### [ 31%]
   9:nimru2i                ########################################### [ 35%]
  10:nipxirmi               ########################################### [ 38%]
  11:nidaqmxinfi            ########################################### [ 42%]
  12:nimxs                  ########################################### [ 46%]
  13:nidaqmxhelp            ########################################### [ 50%]
  14:nidaqmxef              ########################################### [ 54%]
  15:nicdigi                ########################################### [ 58%]
  16:nitimingi              ########################################### [ 62%]
  17:labview80-rte          ########################################### [ 65%]
  18:nidaqmxcfgi            ########################################### [ 69%]
  19:nimioi                 ########################################### [ 73%]
  20:niscxi                 ########################################### [ 77%]
  21:ni653x                 ########################################### [ 81%]
  22:nidaqmxcapiexmp        ########################################### [ 85%]
  23:nidaqmxcapihelp        ########################################### [ 88%]
  24:nidaqmxcapii           ########################################### [ 92%]
  25:nidaqmxswitch          ########################################### [ 96%]
  26:nidsai                 ########################################### [100%]
Post Installation .............................

FOR PATENTS COVERING NATIONAL INSTRUMENTS PRODUCTS, REFER TO
THE PATENTS.txt FILE ON /ni AND/OR
www.ni.com/patents

NI-DAQmx for Linux Installer Distribution Installation completed successfully.

 

 

I went to try the test progs in  "/usr/local/natinst/nidaqmx/examples/ansi_c/AnalogIn/MeasureVoltage/ContAcq-IntClk" and it failed miserably as follows:-

 

 

[root@localhost ContAcq-IntClk]# ./ContAcq-IntClk
DAQmx Error: The software has entered an unknown state - usually as a result of a cascade failure induced by an unexpected series of state inputs. The operation could not be completed as specified and you should immediately terminate all further transactions if you are able to do so.
Task Name:

Status Code: -50150
End of program, press Enter key to quit

This is from the first line of code creating a task.

 

I couldn't find a "lsdaq" to run. Is that a clue? 

0 Kudos
Message 12 of 14
(1,673 Views)

Hello ivorystag,

 

Did you reboot your system between installing the driver and running the example program?  Another possible cause of this error could be an invalid channel name in the code.  Is there anywhere in your code that has a hardcoded device or channel name?  If so, make sure that the identifier is matched to your device name?

 

On a side note, it might be a good idea for you to at least evaluate the newest version of DAQmx Base: NI-DAQmx Base 3.2.

 

The benefits of this include the fact that DAQmx base is a more recently updated copy of you DAQ drivers and is the direction we are currently moving toward regarding cross-platform drivers.  For future development and compatibility it could be a better idea to use NI-DAQmx Base with your Linux application than NI-DAQmx.

Regards,
Dan King

0 Kudos
Message 13 of 14
(1,648 Views)

Hi,

 

The problem is that the 6722 board isn't supported by daq base, but daqmx isn't supported by rhel5!!!

 

So I'm having to change the 6722 for a 6713 and use base .

 

cheers

 

0 Kudos
Message 14 of 14
(1,642 Views)