f



Can't debug LabVIEW built shared library

I'm using LabVIEW 8.20 and have built a shared library containing a single VI that will be called from C/C++.
In the build specification, I've enabled debugging and marked 'Wait for debugger on launch'.
 
I start a C, C++ or LabVIEW application that calls the VI. Now, the "One or more VIs are paused..." message is displayed.
From the Project Explorer window I select Operate->Debug Application or Shared Library... and tries to connect to the application.
The "Failed to connect to remote application" is displayed each time.
I've followed every step in the Debugging Applications and Shared Libraries section of the LabVIEW Help.
 
If I turn the VI into an Application instead of a Shared Library there's no problem debugging it.
 
Regards,
tosko
0
x9561 (148441)
6/29/2007 1:40:13 PM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

0 Replies
643 Views

Similar Articles

[PageSpeed] 37

Reply:

Similar Artilces:

If i have a labview .vi file(and labview) but i want to open it in a computer that doesn't have labview, how would i do it??
Okay, i have a made a labview program and save it as.vi.   Let's say that it is a program that when opened and you hit run it shows a sine wave.   Now if i wanted to open up the program without Labview, ( i don't need to modify it) on a computer that doesn't have labview. How would i go about doing this??   Thanks, K ...

can't run a built application because it can't find Run-Time engine
Let's start at the begining.... everything was working fine, and then I started getting an&nbsp;error 2 (memory is full) while compiling any application.&nbsp; I couldn't resolve the issue but the same applications would compile on another machine, so I uninstalled every National Instrument software from Control Panel (add remove programs), and deleted the c:\Program Files\National Instruments directory.&nbsp; I then reinstall the Labview 8.0 Prof Dev system,&nbsp; and performed the labview 8.0.1 upgrade.&nbsp; I can now open and compile applications,&nbsp; but now when I try to run one of the compiled applications it says it can't find the labview 8.0 or compatible run-time engine....&nbsp; I tried to install the runtime engine, and I get an error message saying a higher version is already installed so it won't install.... when I go to control panel the runtime engine 7.0 and 7.1.1&nbsp; show up , but Runtime 8.0 or 8.0.1 do not....&nbsp;&nbsp; I installed runtime 8.2.1 to see if it would show up in the control panel 'add remove programs) and it does not ..... &nbsp; help! &nbsp; thanks Mike Mike, &nbsp; This knowledgebase may help you <a href="http://digital.ni.com/public.nsf/allkb/E6E8D84E9464AE33862571FB007085B2" target="_blank">http://digital.ni.com/public.nsf/allkb/E6E8D84E9464AE33862571FB007085B2</a> &nbsp; Regards Ray Farmer ...

From Labview 7.1 help, can't load example vi's
Quick question:<br><br>When in Labview 7.1 Help, I can no longer load examp= le vi's. I receive a message: "An error occurred ? The NI HelpServer could= not be found."<br><br>A search on the NI website finds this issue listed &= a solution given for Labview version 7.0. It is suggested to:<br><br>Solu= tion: NI HelpServer is one of two services which open TCP/IP ports to commu= nicate with other NI applications running on your computer, such as the NI = Example Finder and the LabVIEW Help. By default, LabVIEW 7.0 will launch th= is serv...

Can I use LabVIEW to load data directly into system memory? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Win32 function to read the data from the card
Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a&nbsp;Call Library&nbsp;function to read the data from the card and now I want it to go directly to system memory. The data is being received at 1Mbps. &nbsp; Thanks 1.You will most likely crash your system trying to write meg's/sec of data to system memory. LabVIEW has it's own memory manager and manages data for you. If you getting data to LabVIEW, I hope for the processinfg purposes. You didn't menti...

GPIB instruments connected through Agilent USB/GPIB Interface can bee seen in MAX but can't communicate in labview
I have an Agilent 82357B USB/GPIB Interface connected to my computer.&nbsp; Attached to that, I have two lock-in amplifiers (an SR830, and an SR 850).&nbsp; I would like to be able to communicate with them through GPIB. I have downloaded and installed the software for the Agilent device (Agilent IO Control), and I can see the interface and the two devices in that software.&nbsp; Here's what is configured in this software, that I can see: - The VISA interface ID is GPIB0, and its address is 0 - The VISA addresses of the devices are GPIB0::4::INSTR and GPIB::12::INSTR, and the GPIB addresses are 4 and 12 In Measerment and Automation Explorer (MAX), I made sure that the Passport for Tulip box was checked.&nbsp; Once it was, I could see the devices in the Configuration window under Devices and Interfaces -&gt; Miscellaneous VISA Resources.&nbsp; There, I see GPIB0::INTFC, GPIB0::4::INSTR and GPIB::12::INSTR. I can right click on either of the instruments, and "Open VISA Test Panel" where I am successfully able to send commands and read from both devices. HOWEVER, when I am running an actual LabView program, I am unable to communicate with the devices.&nbsp; For example, when I try to communicate to the devices through VISA, using the 'Basic Serial Write and Read.vi' (while VISA Resource Name is GPIB0::12::INSTR), I get an error: Error -1073807331 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr)...

can't open labview help
I can't open Labview help file&nbsp;&nbsp; (.chm) When open it from link text in&nbsp;pdf bookshelfit it shown an error popup as show in attach picture. &nbsp; please help, how to fix it. &nbsp; Thanks &nbsp; &nbsp; LV70Helperror.jpg: http://forums.ni.com/attachments/ni/170/270107/1/LV70Helperror.jpg Can you find the help at the path given in the message (&lt;LabVIEW&gt;\help\help.chm)?&nbsp; Were you ever able to open the help?&nbsp; What happens when you try to open the help from LabVIEW? &nbsp; Regards, &nbsp; Craig D Applications Engineer National Instruments ...

Both can ping, 1st pc can access 2nd pc shared folder, but 2nd pc can't 1st pc's.?
pc-a & pc-b connected with rj-45 vis a switch. Having same workgroup "MSHOME". pc-a ping to pc-b "OK". pc-b ping to pc-a "OK". both pcs TCP/IP is configured for file & printer sharing & client for ms network. pc-a can access pc-b's shared folders . MY PROBLEM IS "WHY PC-B CAN'T ACCESS PC-A's SHARED FOLDERS?". Any suggestion? By the way, both pcs can browse ie from single gateway. Both OS is Xp sp2. And they can access mutually in the past. Are you talking about regularly shared folders or admin shares like ADMIN$ or ...

Can't step into shared library function
This is crazy. I have done thins so many times before, on Solaris and I'm pretty sure linux as well. I can't step into a function contained within my shared library. I have broken out a simple example where the .so containes just a single function: foo() and the main.c program contains main() which calls foo() and exits. The program works as foo() prints out a message. I can't, however, use gdb to step into the foo() form main(). Yes, the source for foo.c is compiled with -g. Here's the comlete output from make: andromeda: /home/dao/tmp > make cc -g -c main.c ...

Can't link to debug library in Linux
Hi, I'm trying to make KDevelop link to a debug version of wxWindows. I got it to link to the release version without any problems. Then I built the debug version as follows: ./configure --with-gtk --enable-debug make make install ldconfig but it ignored it and kept linking to the release version, so I deinstalled the release version and re-installed only the debug version. Now it can't even run automake. I have $(WX_LIBS) set as a parameter in "target options" linker flags and wx-config as both c++ pre-processor flags and LDFLAGS (these are what KDevelop puts...

Labview can't see global channels
This is the first time I have used DAQmx, so apologies if I'm doing something really stupid... &nbsp; I'm using a PCI-6221. I have configured a number of global virtual channels. However, when I try to access any of them in Labview, they are not there. If I use Get Channel Information.vi, it always returns error -10003. If I try AI Acquire Waveform.vi, running it as a stand-alone vi, when I click on the channel input selector and choose Browse, I see "Select Names", and an empty listbox. &nbsp; This is a brand new install of Labview 7.1. I'm using Nidaq 7, version...

I can't find my fieldpoint VIs in Labview
I just installed Labview 8.5 and I have a project to convert that uses Fieldpoint VIs.&nbsp; I can't figure out what to install to get Labview to recognize the VIs already embedded in the project.&nbsp; I have Instaled Fieldpoint 5.0, but I didn't see a selection for Labview 8.5 support. &nbsp; I have the runtime engine for LV 8.5 installed on the target machine.&nbsp; I'm assuming I'll also have to install something for Fieldpoint.. &nbsp; Also, from what I read, it looks like the Fieldpoint Explorer has been integrated into Max?&nbsp; I will just be able to load my .iak file somehow? &nbsp; Thanks, John Hebert Hi John! &nbsp; Thanks for contacting National Instruments. &nbsp; Guenter is right in that the Fieldpoint 5.0 drivers were released with a previous version of LabVIEW, and not the recent version, LabVIEW 8.5.&nbsp; The link he has provided to the Device Drivers from August 2007 is the only place&nbsp;to obtain the Fieldpoint 6.0 drivers without the CD that accompanies the actual&nbsp;hardware.&nbsp; &nbsp; &nbsp; As far as what you have mentioned about .iak files, I think that you are referring to something that is explained <a href="http://digital.ni.com/public.nsf/allkb/C7127F390359977C8625730200716EE4?OpenDocument" target="_blank">here</a>.&nbsp; <a href="http://digital.ni.com/public.nsf/allkb/2EF82CA062692F4886257325008067BC?OpenDocument" ...

I am trying to make a Calculator in LabVIEW. I can't able to...
I am trying to make a Calculator in LabVIEW. I can't able to display decimal point in the output display and i can't able enter floating point numbers? Please help me. I am new to LabVIEW. Please provide the detailed information. Thanks in Advance. First thing to check is the representation of the indicator. Right click on it and move the mouse to representation. If it's not eithe EXT, DBL, or SGL, then the indicator is set only for integers. ...

can't connect RT target in LabView project
Hello, I use LabView Real Time 8.5 on a Desktop PC. I see the target in MAX in which I can change the network settings of the target and use the FTP without problem. But it's impossible to connect the target in a LabView project. The Log error of the target says : #### #Date: Mon, Jun 9, 2008 3:04:29 AM #OSName: PharLap #OSVers: 13.0 #AppName: PH_EXEC #Version: 8.5 #AppKind: AppLib #AppModDate: 06/09/2008 06:55 GMT LVRT.DLL load address: 0x003EE000 Someone can help me ? Thanks in advance Hi, Thanks for posting on the National Instruments forum. Have you checked if all the softwares a well installed on your target? In MAX, you explained that you can see you PXI target, so may you click on the software menu: <img src="http://forums.ni.com/attachments/ni/170/330063/1/Target%20in%20MAX.JPG"> and then click on the "Add/Remove software" button to install all the softawres on your target. (It's recommanded to previously uninstall those already on the target). <img src="http://forums.ni.com/attachments/ni/170/330063/2/Add_Remove%20softwares.JPG"> After this checking and/or install, does it work? Regards,Message Edit� par J�r�my Marliot le 06-09-2008 01:38 PM Target in MAX.JPG: http://forums.ni.com/attachments/ni/170/330063/1/Target in MAX.JPG Add_Remove softwares.JPG: http://forums.ni.com/attachments/ni/170/330063/2/Add_Remove softwares.JPG Yes, I've started from a formatted disk with no software installed. Then...

can I make Labview Exe which can be executed i A PC which is not having labview
hi, &nbsp;I am using lab view&nbsp; 7.1. Can we make a exe or installer, which can be run in a PC which is not having labview installed. If that can be done, please let me know&nbsp;which edition i have to use and how can i do with Regards, Ashok. Under Tools-Build application or shared library, you can build your .exe file. You also have to option to include an installer which installs the necessary LabView dll's. I have the Pro version, however. "budda" <x@no.email> wrote in message news:1174290007790-493593@exchange.ni.com... > hi, > &nbsp;I am using lab view&nbsp; 7.1. Can we make a exe or installer, which > can be run in a PC which is not having labview installed. If that can be > done, please let me know&nbsp;which edition i have to use and how can i do > with Regards, > Ashok. ...

help: Can't open shared library issue
Hi group, I'm prety new to HP-UX and am currently facing an issue I can't manage to tackle. I'm compiling C code in a single shared library called libcatiman.sl. The compilation is done on HP-UX 10.2 and I test my application on HP-UX 11. When I sart my program, this message is displayed: -------- /usr/lib/dld.sl: Can't open shared library: /fred/WORK/Connec/OBJ_HP-UX/libcatiman.sl /usr/lib/dld.sl: No such file or directory -------- If I try again, another message is displayed: -------- /usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/Connec/steplib/HP-UX/VARUNIX /usr/lib/dl...

How can I insert a required subVI that is required but Labview won't accept it?
I am trying to use a VI named Termperature Monitor that was provided in the Labview 7&nbsp; library included on the CD but it seems to be missing subVIs. I located the subVIs on the cd and attempted to insert them into the block diagram where the question marks are. Despite the fact that the names of the subVIs match what Labview expects, the app won't accept them. Is there a way to force them to accept the subVI that I picked? Have you installed LabVIEW? and if yes, aren't the example vi's on your harddrive now? How are you "attempting to insert them"? When LabVIEW ...

Matlab can't find a shared library when running a mex file
Running 32-bit SuSe Linux and Matlab 7.1. I have a single mex file a.mexglx that needs to be linked dynamically against a library libb.so. Compiling goes fine, mex finds the header files of the library. But when I call !ldd a.mexglx | grep libb.so from Matlab I get libb.so => not found I have the library in the same directory than the mex file, I have compiled with the command mex -L. -lb a.cpp and I have tried adding . to both the system path and Matlab path. Still nothing. Any ideas on how to find the problem? And, by the way, how can I link mex files with a library that does not have ...

Can't cd , can't use wildcard
Hi , I am running Windows 2000 service pack 4.Whenever I try to "cd" into some of the directories(which exist), I get an "Invalid directory". I can use to get into few of the directories(using cd) but for other it just says "Invalid directory". Moreover, I can't use any wildcard characters..(*, ? etc) at all.. Any idea what is wrong? Thanks Arun On Sun, 31 Aug 2003 17:13:52 GMT, Arun Goel <arun.goel@sbcglobal.net> wrote the following to comp.os.msdos.misc: > Hi , > > I am running Windows 2000 service pack 4.Whene...

iTunes help: I can't see any shared libraries on my home network
I have a Mac running Jaguar and a Windows XP Pro machine at home on a network with a Linksys cable router acting as DHCP server and gateway to the internet. I have iTunes 4.2 running on both the Mac and XP machines but cannot seem to access any shared libraries. The Mac can see my shared library on the XP machine but when I actually click on the library I get a mesage that the shared library is not accessible and to check if any firewall software is blocking port 3689. I have verified that: - Both iTunes are version 4.2 - The Mac is not using the firewall software to block port 3689 - Both i...

Can't load library TCL.tmp This library or a dependent Library could not be found in library path
I'm receiving a bizzare error message on the Windows 2003 platform. This runs fine on XP and Windows 2000. I'm executing a tclkitsh with my kit and it's failing with: Couldn't load library "C:/DOCUME~1\username\LOCALS~1\Temp\1\TCL1.tmp": this library or a dependent library could not be found in library path. I have attached a listing of the directory structure. Thank you in advance. Mike Hi Mike, >I'm executing a tclkitsh with my kit and it's failing with: >Couldn't load library "C:/DOCUME~1\username\LOCALS~1\Temp\1\TCL1.tmp": >this library or a dependent library could not be found in library >path. whenever I get this error message the first thing I check is the ... or a dependent library ... part. Go over to www.dependencywalker.com and get the, well, dependency walker. It will tell you which DLLs are - overall - required by your application and more often than not this already resolves the question. HTH Helmut Giese On Wed, 05 Sep 2007 19:52:31 +0200, Helmut Giese <hgiese@ratiosoft.com> wrote: >Hi Mike, >>I'm executing a tclkitsh with my kit and it's failing with: >>Couldn't load library "C:/DOCUME~1\username\LOCALS~1\Temp\1\TCL1.tmp": >>this library or a dependent library could not be found in library >>path. >whenever I get this error message the first thing I check is the > ... or a dependent library ... >part. > >Go over to ...

can't open my file after saving.using labview 8.2.1
Hi there, after saving my program, i can't access/ or open my program again, but my subVI can be open, this puzzled me. Can anyone help me with this. i have attach the program,. it also prompt me (this resource you are attempting to open was created in a more recent version of labview and is incompatible with this version). And my Uni is using labview version 8.2.1, no other version.thanks alot &nbsp; Regards:MKK cyclodrive combination programme.vi: http://forums.ni.com/attachments/ni/170/294813/1/cyclodrive combination programme.vi I can't open it either... You should always keep back-up.... ...

Re: hide when labview is not active ... can't have it back (8.5 Mac) !!
Hi be, Thanks for contacting National Instruments.&nbsp; I am trying to recreate your issue on this end, but I have not had any problems.&nbsp; Here is what I have done: - Open up a blank VI - Click on a background program, which moves LabVIEW back. - On the dock, right click LabVIEW, and choose Hide (which hides the window) - On the dock, right click LabVIEW, and choose Show, which then brings the front panel and block diagram back up. Could you provide me with steps to recreate the error?&nbsp; Also, what version of Mac OSX are you using?&nbsp; I did the above steps using 10.5 (Leopard). I look forward to hearing back from you. Regards, Kevin HApplication EngineerNational InstrumentsMessage Edited by Kevin_H on 11-26-2007 12:48 PM ...

Can't log in as an ordinary user after installing labview 7.1.1 on RHEL4
Hello &nbsp; I have installed LabVIEW 7.1 and the update 7.1.1 on a Dell 380 running RedHat Enterprice 4. I installed it as root and under root the applications I have tryed seems to work well. But when I try to log in as an ordinary user I can�t log in. &nbsp; Has anyone an idea of what can be the problem? Thanks in advance ...

I can't find a LabVIEW driver for Agilent 8156A Optical Attenuator, please help!!
I can't find a LabVIEW driver for Agilent 8156A Optical Attenuator, please help!! Is there any one who can help me on this? I will appreciate this a lots , thank you, :smileysad: The programming guide for 8156A is as follows <a href="http://www.artisan-scientific.com/info/Agilent_8156A_Operating_Programming_Guide.pdf" target="_blank">http://www.artisan-scientific.com/info/Agilent_8156A_Operating_Programming_Guide.pdf</a> Anyone has the command set for 8157A? The command set of 8156A is different from the one of 8157A. &nbsp; 8157A command set is very ...

Web resources about - Can't debug LabVIEW built shared library - comp.lang.labview

Resources last updated: 3/19/2016 2:44:37 PM