Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmxstarttask errorcode -50258 on linux

Hi All;
 I'm getting the following error message form the writedoport example code
 

2DAQmx Error: The specified software component failed to initialize. The operation could not be completed as specified.

Task Name: _unnamedTask<0>

Status Code: -50258

This is coming from the daqmxstarttask() call.

 I'm also getting the error " Device failed to load" when I run nilsdev on my system. The pci-dio-96 is picked up and the values are correct.

 This is on Mandriva linux and the most recent NiDaqMx I could find

Pat

0 Kudos
Message 1 of 4
(3,555 Views)
Hi Pat,

This is strange behavior that you are seeing.  I have a few additional questions about your setup:

1.  Are you using Mandriva Linux 2006 or 2007?
2.  Have you tried installing the PCI-DIO-96 in a different PCI slot in the system?
3.  Are you developing this application in C?
4.  Regarding your comment: "I'm also getting the error 'Device failed to load' when I run nilsdev on my system. The pci-dio-96 is picked up and the values are correct.",
Could you copy and paste the full dialogue returned in the terminal window when you run nilsdev?

Regards,
Andrew W
National Instruments
0 Kudos
Message 2 of 4
(3,543 Views)
It is a mandriva 2007 system. I used Ninevoltz script for installing to redhat 5 with a few very minor changes
I moved the DIO card to the ohter PCI slot and it now works.
nilsdev still gives the message that the device failed to load BUT the correct values are displayed and I can program the card.
 
 I'm using C and build my app from the WriteDigPort example.
 
Next time I jump over to the development system I'll post that additional info.
Thanks
Pat
0 Kudos
Message 3 of 4
(3,540 Views)
Hi Pat,

I'm sure you're already aware of this since you needed a custom installation script to install the driver, but as of this time Mandriva 2007 is not an officially supported distribution.  I'm glad that you were able to get the device working and programmable in another PCI slot.  As for the nilsdev error, this is most likely due to an incompatibility with the DAQmx driver and your distribution.

Regards,
Andrew W
National Instruments
0 Kudos
Message 4 of 4
(3,529 Views)