Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NIDAQmx programming with Qt4

I'm having a little trouble programming with Qt 4 using NIDAQmx on Linux, I'm hoping some of the Linux gurus here can help.

If I run the linker with the -lpthread option, my program fails with a segmentation fault when executed. Without -lpthread, it runs perfectly.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="qrichtext" content="1">Is there a way to fix this, because Qt 4 defaults to threads always enabled? My application is most likely going to require multithreading.

Is anyone out there using Qt to write DAQ apps? I'll be happy to post some example code to the NI site when I can actually get it running properly.

Any ideas?

Thanks in advance,

John Voltz

0 Kudos
Message 1 of 3
(3,390 Views)
If I was better at searching this site I would have already found my answer here:
 
 
I'll try this now...
0 Kudos
Message 2 of 3
(3,383 Views)
The following link leads to another related solution for using Qt and NIDAQmx on Windows:
 
0 Kudos
Message 3 of 3
(3,357 Views)