LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux app builder hangs with daqmxbase 1.5.0-f2

Having a problem building apps on linux using daqmxbase 1.5.

Test machines are:

A fresh installation of Suse 9.2 (kernel 2.6.8) on a Dell SC420 to which I added Labview 7.1, Appbuilder and daqmxbase 1.5.0-f2. Building our app fails on the "Copying files to application" part - the progress bar hangs at about 40% complete. The Labview windows become unresponsive, disk i/o stops and the process has to be killed.

I tried building some of the NI examples to pin down a possible issue with our vi but the same thing seems to happen with any example that has a daq component.

Normalize Waveform example - builds and runs fine
Signal generation and processing example - builds and runs fine
Our app - hangs
USB-6008/9 Interactive Control Panel - hangs
Count digital events buffered continuous ext clk example - hangs

In case there was an issue with Suse or 2.6.8 I tried a fresh install of Redhat 9 (2.4.20) on a different box, added labview, appbuilder, daqmxbase 1.5 and the same thing happens - the builder hangs.

Figuring that the builder might need some hardware in order to build an app properly I also gave it a shot with a USB 6009 plugged in - same result.

Being new to labview I'm unsure whether there are any specific log files I can provide that will help track down this problem - /var/log/messages has nothing.

Any ideas?
0 Kudos
Message 1 of 17
(4,059 Views)
Hi PaulSmith,

The following Readme file confirms that DAQmxBase 1.5 supports SUSE Linux Professional 9.2. I'm assuming that you're able to run the programs in debug mode, is that correct?

README for NI-DAQmx Base 1.5.0f2

A few troubleshooting suggestions:
- Do you have another system with SUSE 9.2 with which you can try building the application?
- If you're able to build other applications, it doesn't sound like it's a problem with the Application Builder. It may be a corrupt driver install. Can you try performing a reinstall?

Thanks,
Lesley
0 Kudos
Message 2 of 17
(4,040 Views)
I've tried different kernels (the machines are P4 w/HT so the installer defauls to an smp kernel). Currently running linux 2.6.8-24.10-default #1 Wed Dec 22 11:54:27 UTC 2004 i686 i686 i386 GNU/Linux. I've tried various other smp and non-smp kernels.

I've uninstalled and reinstalled Labview, app builder and daqmxbase in various sequences. I've even reinstalled the entire Suse 9.2 OS and played with various grub and BIOS options. I've tried with the vanilla OS install and after applying the available patches through YaST.

I should point out that the app runs fine in Labview itself and compiles without errors on Windows.

There were no errors reported when installing Labview or daqmxbase and nothing in the system log.

I'm at a complete loss. The app builder fails every time, on different boxes, and it 100% reproducable.

I guess I'll give Mandriva 10 a try. In the meantime.... help! 🙂

Message Edited by PaulSmith on 06-17-2005 11:52 AM

Message Edited by PaulSmith on 06-17-2005 11:52 AM

0 Kudos
Message 3 of 17
(4,032 Views)
Hi PaulSmith,

Try unchecking the box to "Disconnect type definitions and remove unused polymorphic VI instances" in the application. What you're encountering may be due to a known issue with the driver (a Corrective Action Report has been filed).

Thanks,
Lesley
Message 4 of 17
(3,999 Views)
i have exactly the same hang up with labview70, nidaqmxbase ,  on a red hat sytem when i try to build an example ( acq one sample.vi) with a lot of subvi
 i have also reinstalled linux and nidaqmxbase with no result...

have yu finally solve the pb?

BR
0 Kudos
Message 5 of 17
(3,906 Views)
BR,

    You will need to make sure that you have the latest version of NI DAQmx Base installed (version 1.5). After this, please follow the steps in this Knowledgebase:

http://digital.ni.com/public.nsf/websearch/4ABC2925A9B4D4A186257014005E5A1D?OpenDocument

This should allow you to build your VI. Please let me know if you have any more problems.

Good luck!

Message Edited by Ryan V on 10-27-2005 11:03 AM

Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 6 of 17
(3,894 Views)

Sorry but  in  the Application setting  tab i have not such a box.; "disconnect type definition ... ect"

 

 I have only one  box " pass all command line arguments to application"??

 

if i check this box  it always hangs up..

thanks

BR

0 Kudos
Message 7 of 17
(3,853 Views)
BR,

My apologies - I did not catch that you were using LabVIEW 7.0. Currently, using LabVIEW 7.1 may be the only solution here. Is that an option for you? I'll see if I can fifigure out how to get this to work in 7.0.

Regards,

Message Edited by Ryan V on 11-10-2005 11:02 AM

Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 8 of 17
(3,850 Views)
OK   my version is 7.0
 
i don't know if there is an easy way to update to 7.1 , it will not matter for me..except if it is too expensive
 
so,  as  i m obliged to use Nidaqmxbase under linux  i hope there s a solution.
 
It s amazing that nobody has not yet the same problem.....on 7.0
 
i hope you find the solution..
 
regards
 
B. Rossini
 
 
0 Kudos
Message 9 of 17
(3,841 Views)

no   solution  with 7.0 ?

 

0 Kudos
Message 10 of 17
(3,820 Views)