LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx base and gtk

Hi Prem-

sharedlib.so is just an example file- it doesn't actually exist and is only used to show the syntax in the help file.  However, the include statements I suggested in my last message should be sufficient.  I am beginning to think we are seeing a conflict with the gtk portion of your makefile.  To confirm or disconfirm this, please try the following:

  1. Attempt to compile an example program copied from the example directory to an external directory using the absolute path I suggested in my last post.  If this is successful,
  2. Attempt to compile your program without the gtk arguments in a directory of your choice and use the absolute path again as suggested before.  Also,
  3. Attempt to compile your program in the example directory with the same makefile arguments and the gtk portion added back in.

If you are able to compile your program without the use of the the GUI portion then we can be confident that the gtk portion is at fault.  Please let us know what you find.

Thanks-

Tom W
National Instruments
0 Kudos
Message 11 of 14
(916 Views)

Tom,

Tried it a coupla days back. You are right. GTK seems to be the problem. Will try a fifo or pipe between the two programs and post the stuff once am done .

0 Kudos
Message 12 of 14
(914 Views)

Dear Sir

Would you be willing to save me a lot of time by showing me the most trivial example of code you could have of using gtk to display any value read with nidaqmxbase?

Learning gtk and the nidaqmxbase C API at the same time is a bit tough in spite of quite a bit of experience in other domains.

The problem is not C, neither nidaqmxbase, nor gtk, but just to put things together.

 Thanks

Jacques

 

0 Kudos
Message 13 of 14
(746 Views)

Please ignore my request, I have tried my luck and it made it.

Jacques

0 Kudos
Message 14 of 14
(737 Views)