Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxBase and signal handling in Linux

Hello,

 

I installed DAQmxBase 3.2 on Ubuntu 8 (basically following http://forums.ni.com/ni/board/message?board.id=250&message.id=43821&query.id=132322#M43821 plus little things) and my USB-6218 works nicely.

 

However, when I tried to add signal handling to my code (a periodic timer to deal with another device), the signal handler was not called when the signal was generated. The code compiles sucessfully with DAQmxBase, but it works only if I remove NI library.

 

Am I doing anything wrong? Any solution for this?

 

Thanks,

 

Antonio

0 Kudos
Message 1 of 4
(3,254 Views)

Just updating the message..

 

I've found that SIGVTALRM (process time) works fine, but SIGALRM (real time) doesn't.

 

Is there any installation option that may solve this?

 

Thanks again,

 

Antonio

0 Kudos
Message 2 of 4
(3,239 Views)

Hello,

Sorry but,

Ubuntu is not officially supported as you can see at this link http://www.ni.com/linux/support.htm.

You might find something on NI forums or on the linux communities. You can also take a look at www.lavag.org.

Regards

Yann C.

France

0 Kudos
Message 3 of 4
(3,229 Views)

Thanks for the message.

 

Actually I solved the problem using POSIX timer_settime, which allows more flexibility to handle periodic tasks (I could use SIGUSR1, instead of SIGALRM for real time timers, which is probably used somewhere in DAQmxBase).

 

Cheers,

 

Antonio

0 Kudos
Message 4 of 4
(3,225 Views)