06-23-2011 06:25 AM
Hello,
06-23-2011 07:48 AM
Hum...I'm autoresponding myself....
I just foun this : https://decibel.ni.com/content/message/19311#19311
I'm going to put my process in .so and load it dynamically at judicious moment.
Apparently dynamic loading look like this :
#include <dlfcn.h>
#include <stdio.h>
main()
{
void *libc;
void (*printf_call)();
if(libc=dlopen("/lib/libc.so.5",RTLD_LAZY))
{
printf_call = dlsym(libc,"printf");
(*printf_call)("Bonjour ! Ha ben ca marche pil poil sous Linux !\n");
}
}
So sorry for disturbing...
Rom1nux
06-30-2011 05:30 AM
Hello,
I be able to put all my nidaqbase code into a shared lib, but i got an ther problem, DAQmxBaseReadAnalogF64 never update the sample read count !
https://decibel.ni.com/content/message/24454
Please help me
Rom1nux
PS : I make an other thread because it' not the same probleme, but problems are effectively linked, i hop it's not a problem ?