Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQmx Base dying on startup with segmentation violation under Redhat 6

Hi All,

 

I am running NI-DAQmx Base 15.0.0 under RedHat Enterprise Linux 6.6.  It runs fine on machines with only a few cores where is starts up 5-30 threads.  But I also have a server with 24 processors where 90+ threads are started.  Frequently, my process will die on startup with a segmentation violation error "Attempt to reference address: 0x0x4".  Immediately re-running the process works fine each time.

 

Is there a way to limit how many threads are started.  I see in the lvrt_15.0f1 log file in /tmp that InitExecSystem() determines how many processors there are and adjusts the number of threads according to that.

 

Thanks

Paul

0 Kudos
Message 1 of 2
(2,694 Views)

Hey Paul,

 

It looks like there is a VI that you can use to change the number of threads. Here's an article that shows where it is:

 

http://digital.ni.com/public.nsf/allkb/37675EB478666A5E862565BC006BDCDB

 

It's a bit buried in the file directory, but it should help limit the number of threads.

0 Kudos
Message 2 of 2
(2,648 Views)