f



Labview #3

Hi
this is my first mail to this group. I hope this group will be helpful
for me.

In Labview , What is the difference between .dll files and .exe files
in terms of how they call during the execution and in terms of memory
management.

Please reply
Raman

0
7/4/2006 6:08:46 AM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

1 Replies
330 Views

Similar Articles

[PageSpeed] 0

The main difference is that an exe is a stand alone executable and a DLL is a collection of functions as they were implemented in LV. That allows you to write a function in LV and call it from another language.
Using either of them will invoke the LV run-time engine (which takes an X amount of memory, depending on the version and the application). Each instance of the LV RTE is limited to a certain amount of memory by the OS (I think the official limit in 32 bit windows in 2GB, but you would probably hit that before). I think that if you open a DLL while running another executable in parallel would open a second instance of the RTE, but I'm not sure.
0
x9561 (148467)
7/4/2006 7:10:08 AM
Reply:

Similar Artilces:

How start many labview sessions (instances of labview.exe) ? #3
I mean could I start many instances of labview.exe like excel.exe, word.exe,visual basic, .net , ... You posted many instances of this question... ;o) I never tried, but never needed to... Why do you want to open multiple instances of LV. I don't think it's advisable because if you run all of them and some code is shared, you may create a conflict. Why do you want to run multiple instances of LV? Do you want to open many vi's at once? If so, then you can easily do this with a single instance of LV. I do it all the time.. JLV In article <506500000008000000E2AC0000-10664...

change a LabVIEW array outside LabVIEW and keep updated in LabVIEW
change a LabVIEW array outside LabVIEW and keep updated in LabVIEW hi, I am Interfacing a FrameGrabber with LabVIEW using a frame grabber SDK(dll). The memory managment of this FG allow you to allocate your own Array and to give a pointer to this Array to the memory manager. Then when you acquire with the frame grabber, the acquired image will be directly accessible in your array. 1.I give to the FG memory manager a pointer to the Labview array through a SDK Dll function. 2. I run the acquisition 3. I display the array My problem is that the Array is allways displayed with it initial val...

Differences in CIN management between Labview 5.0 and Labview 7.1 ? #3
Hi, &nbsp; I'm using a VI on a two photon microscope. It steers the laser beam in the sample (quite the same way as a TV scan, scanning a fast line on the X axis, then moving the line down)&nbsp;controlling two mirrors by the&nbsp;PCI-MIO-16E-4 Multifunctions card&nbsp;on traditional DAQ and at the same time it serves as the acquitision through a non-NI DSP Multifunction-board with on-board buffers and hight data throughput (70 Mb/s). &nbsp; It is this part of the program which gives us strong headaches since we have upgraded to a new PC. On the old machine we used Win...

How to convert LabVIEW 3.0 version source code to LabVIEW 6.1 Version?
How to convert LabVIEW 3.0 version source code to LabVIEW 6.1 Version? Follow this link to see how to get the free VI Conversion package from NI... http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/429e45271cfd683786256d87006b1eef?OpenDocument Dan ...

Re: LabVIEW and LabVIEW RT?
Hello Iman, I will try to illustrate it with an example since it all will depend on the type of application you would like to implement. Let's say you would like to implement an application where you log data, maybe exchange data with databases and you acquire a bunch of data points at a time not performing any type of control and where high determinism is&nbsp;not needed. In this case LabVIEW for Windows work great. If you on the other hand would like to implement a closed-loop application where you need high determinism and reliability and will acquire data point by point you would use LabVIEW RT which is an add-on to LabVIEW. I.e. you need LabVIEW + LabVIEW RT when developing an RT application. ...

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. &nbsp; Let's say that it is a program that when opened and you hit run it shows a sine wave. &nbsp; 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?? &nbsp; Thanks, K ...

How can I convert the &quot;AI one pt&quot; symbol from LabVIEW 6.3 to LabVIEW 8.0?
Hi, &nbsp; I've got an assignment with LabVIEW and&nbsp;I work with LabVIEW 8.0. The program I work with is written in LabVIEW 6.3 and had to be converted&nbsp;to LabVIEW 8.0. That went very well, except for one symbol. The "AI one pt" symbol (see&nbsp;enclosed figure) turned into an empty box (question mark). My question to you is how can I overcome this problem, or how can I simulate this symbol with LabVIEW 8.0? &nbsp; With kind regards, &nbsp; Sander Smeets &nbsp; <img src="http://www.ese.upenn.edu/rca/software/Labview/labview41/inputoutput/AISamplechannel.gif"> Hello, Graziano is right about this. To make it completly clear: The block you refer to as a symbol is a VI belonging to the Traditional NI-DAQ driver. Currently there are two drivers for DAQ boards: DAQmx (the new one) and Traditional NI-DAQ (the old one). Since your VI was written in LabVIEW 6.x (6.3 never existed) the VI uses the old driver. What you need to do is: install Traditional NI-DAQ on your PC to get the support VI's for the driver in LabVIEW. This Traditional NI-DAQ installer&nbsp;should be on the driver CD which was delivered along with LabVIEW 8.0 or you can download it here: <a href="http://joule.ni.com/nidu/cds/view/p/id/586/lang/en" target="_blank">http://joule.ni.com/nidu/cds/view/p/id/586/lang/en</a> There is one good point though which Graziano already mentioned: Which DAQ board are you using? I...

LabVIEW
Hi ALL, I am a new user of LabVIEW. I have been assigned to acquire a signal from a sensor at a car. However, all these signals must be filtered. But I am not sure, what type of filter most powerful. Besides, as I know, different type of signal needs differenct type of filter. Anybody can help me to solve my problems. Your kind cooperation is highly appreciated. Regards, M. Firdaus, France Fird wrote: > Hi ALL, > I am a new user of LabVIEW. > I have been assigned to acquire a signal from a sensor at a car. > However, all these signals must be filtered. ...

Installation of LabView 8 after LabView 6
Good afternoon everybody, &nbsp; I've got a big problem with LabView. The fact is that I begin with this software... I've just installed LabView 8 on a computer where LabView 6 was installed. Once the installation finished, I tried to launch a VI That was developped under the old version. &nbsp; The problem is that two VI can't be found : - AI Sample Channel.vi - AI Acquire Waveform.vi Therefore, I can't use anymore the program that was working before... What is the solution to get everything ok please ? Thank you very much ! SylvianTriquigneaux, the VI will now be opened in LV 8 instead of LV 6. So you need all the components which have been used during developement in 6 in 8 as well. The VIs you are missing are from the DAQ-driver. Since the DAQ-driver has been rewritten in the times of LV 7, the new driver is called DAQmx. This one is not available for LV 6, but is the driver which is currently installed with LV (if you installed it with the drivers at all...). The "old" driver has been changed a little and named "traditional DAQ" nowadays. You should find the missing VIs in the API from the trad. DAQ. So i asume that everything you have to do is: install trad. DAQ. You can find a downloadable version <a href="http://search.ni.com/nisearch/nisearchservlet?nistype=default&amp;filter=+%2BProductLine%3A41+%2BDownloadType%3A%22Traditional+NI-DAQ+%28Legacy%29%22+%2BVersion%3A%227.4.2%22+%2Bcontentformat%3Asoftwarel...

How to save in labview 7, from labview 8
Need to open my LV 8 VI in LV7, due to different plattforms... &nbsp; How do I make it possible? Hi, You will have to save out your VI&nbsp;using LabVIEW 8 first, select the Save with options. Then you can select the previous version, which probably is 7.1. ( You will have to repeat the procedure using LV7.1) If you have used any of the new functions and featured in your VI(s), then these will be lost when you save backwards. Hope this helps Regards Ray Farmer Hi Ray, 1) I was just trying your advice on my system and I don't see 'Save with Option' .&nbsp; There is Save, and Save As.. 2) I have a llb file and I wish to know which version it is...how can I find out?&nbsp; (I'm using 8.01).&nbsp; I suspect it is 7.1 and I get bunch of errors when it opens. 3) If the vi is 7.1, will LabView automatically convert it to 8.0? Thanks Rafi &nbsp; p.s. I'm mainly a CVI developer, and apologize for the "basic" questions... Rafi, Thats the trouble when you dont have labview in front of you. Looking at the manual chapter 7-7, there should, be under menu item File a 'Save&nbsp;For Previous Version'. I think under the VI Properties, under the change history,&nbsp;you should be able to find out what version it is. LabVIEW will try to convert automatically, but there are some issue that it cannot cope with. The release notes should identify these. Regards Ray Farmer &nbsp; ...

Labview.lib was not calld from a labview process
I am working with our labview programers to create a Labview DLL that will be called from Labview and VB6. The code works fine with Labview but I keep getting Fatal Error: Labview.lib was not calld from a labview process. I have checked the versions of development software and the runtime versions that we are using and they matche 8.0.1. We have also preformed a mass compile of the DLL with no change. &nbsp; Are there any other steps that we can take to solve this problem??? &nbsp; &nbsp; <a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument</a> &nbsp;Just to make sure you know of this article, I hope its a new one and else we can look further.<a href="http://www.groupsrv.com/computers/about566915.html" target="_blank">http://www.groupsrv.com/computers/about566915.html</a> Another discussion regarding the same error message.<a href="http://digital.ni.com/public.nsf/allkb/A4C3AEF93240280A86256931006FB66C?OpenDocument" target="_blank"></a> Message Edited by andre.buurman@carya on 06-04-2008 08:02 PM <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=127655&amp;query.id=62975#M127655" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=...

Calling a LabView DLL from a Labview VI
Hi, I have a vi that is calling a Labview DLL and they both have a same subVI. If I drop that SubVI into the block diagram first then drop in the Call Library Function Node, when I run the VI, the DLL would not work and it did not give me any error. Does anyone know how fix this problem with Labview? or is there some configuration that I can force the all of that SubVI points into the DLL. Thanks for your help, Dan ...

how to make my labview codings as a package for labview
Hello NI, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I made drivers for some thrid party instruments, which is compatable for serial port and&nbsp;Ethernet.&nbsp;I have several vi's for that i cant able to share these vi's to my friends. i just want to build one package of my driver, also i want to install these package to labview user library. &nbsp; Tell me some good suggestion for this. &nbsp; With&nbsp;warm regards, Balaji DP Application Engineer, Gantner&nbsp;Instruments.&nbsp; The easiest way is to do a development distribution (File&gt;&gt;Save As. If your needs are more complex, you can also try <a href="http://jkisoft.com/vipm/" target="_blank">VIPM</a>. I don't&nbsp;think the free version can do this, but it's worth it just for getting the OpenG code. where i can find this development distribution ? is there option available in labview? If you re using LV versions &gt; 7.x, you can create an LLB by using the option Save As... in the Files menu. You have to just open the top-level VI of that driver (or something) &amp; go on to build the LLB. All other VIs will get added/bundled into it automatically. :smileyhappy: In LV 7.x, I think it ll be under the Tools &gt;&gt; Build Source Distribution menu... balaji_dp@yahoo.com wrote:Hello NI, &nb...

Error Code &quot;1097.....this might corrupted LABVIEW's memory..........&quot; appears after exit the labview and re-start labview
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I have a probelm when I use the "tool/import shared library(.dll)" wizard&nbsp;to generate the&nbsp;API from C. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The API &nbsp;works correctly when I complete the wizard, but after I exit labview and re-start labview to run&nbsp;the API&nbsp;again. The error 1097 code "......this might corrupted LABVIEW's memory.............."appears. &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The only solution now is to re-generate or update the wizard to&nbsp;generate the API. &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I try to find the answer in &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/58596F5D41CE8EFB862562AF0074E04C?OpenDocument</a>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The paragraph in above article shows ........................... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "LabVIEW does not crash until it is closedThe most likely problem is that the DLL function being called has corrupted th...

LabVIEW Documentation Survey: LabVIEW Fundamentals Manual
The LabVIEW Documenation team is conducting a survey to assess certain aspects of the LabVIEW Fundamentals manual. &nbsp; This survey will be used to evaluate and improve the LabVIEW documentation. This survey will be used for research purposes only. &nbsp; The LabVIEW Fundamentals manual describes LabVIEW programming concepts, techniques, features, VIs, and functions you can use to create LabVIEW applications. &nbsp; Please click the link below if you would like to participate in the survey. <a href="http://www.surveymonkey.com/s.aspx?sm=F36U605c9ZlsCbDGIePr9A_3d_3d" target="_blank">http://www.surveymonkey.com/s.aspx?sm=F36U605c9ZlsCbDGIePr9A_3d_3d</a> <a href="http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d" target="_blank"></a> Are you looking for real feedback or is the survey all you want? If you want real feedback let me know. Ben ...

Should I call C from LabVIEW or call LabVIEW from C?
I need to write some software and am trying to choose the best development environment. I currently use Borland C++ Builder to develop most of my software and have also used some LabVIEW occasionally. The new package I need to write has to provide several functions, some of which would be better in C++, some in LabVIEW and I am wondering whether to combine the two. So far, I have had a quick play around and called a very basic piece LabVIEW code, built into a dll, from some C++ code. I am about to try to reverse (create dll in C++ and call from LabVIEW) but would appreciate some advice on the advantages/disadvantages of each method. &nbsp; Restrictions I have: 1. I will (probably) be using some hardware which will be supplied with C++ driver functions only. My interface with this card is the 'heart' of my system and is time-critical. Also, I need to assign a pointer to pass to this card (could I do this in LabVIEW?) 2. I wish to analyse data from the card using FFT and related functions so would ideally use the LabVIEW Sound &amp; Vibration and Order Analysis toolkits. I need to use these in real-time where the data sampling rate is fairly high (frequency analysis to be done on 4 channels at once with each channel sampled at approx 100kHz). &nbsp; To add to this, I would like to be able to create/modify the display screen at run-time - something which I am fine with in C++ but understand is very difficult in LabVIEW (I have only used LabVIEW for relatively...

LabVIEW Documentation Survey: LabVIEW Style Checklist
The LabVIEW Documenation team is conducting a survey to assess certain aspects of the LabVIEW Style Checklist. &nbsp; This survey will be used to evaluate and improve the LabVIEW documentation. This survey will be used for research purposes only. &nbsp; The LabVIEW Style Checklist provides users with a list of tips on how to maintain consistent style and quality throughout their applications. &nbsp; Please click the link below if you would like to participate in the survey. <a href="http://www.surveymonkey.com/s.aspx?sm=RPQfHExakBuK_2fFU5sCBNhQ_3d_3d" target="_blank">http://www.surveymonkey.com/s.aspx?sm=RPQfHExakBuK_2fFU5sCBNhQ_3d_3d</a> <a href="http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d" target="_blank"></a> ...

LabVIEW real time vs LabVIEW desktop
By my understanding, compact field point need LabVIEW real time. My question is: Does LabVIEW real time have the same function as the desktop LabVIEW? For Example, LabVIEW PDA module has less function than the desktop LabVIEW. Yes you have the same functionality as LV. You can develop like normally in LV and then you will target a real time system. This will then download the vi that you created and allow you to run this vi on the target. ...

labview crashing when calling labview-built dll
Hello I need some help with regard to calling a LabVIEW-built DLL in LabVIEW.I have created a vi in LabVIEW. I made the DLL for this vi. I called this VI as a re-entrant in another vi.This vi(calling DLL) has been working fine till yesterday. Since yesterday, it started crashing LV.I need some help in this regard.I am attaching the screenshots of the Application Builder configuration window, the B.D of the vi using DLL and that of the configuration window which pops up when i call the DLL.I made a vi which performs FRA. I built its DLL.I have around 10 inputs. I output 3 one-dimensional arrays, and a string from the DLL.When i build the DLL, the builder defines the outputs 'gain', 'phase' and 'frequency' as arrays of 8-byte double.When i call this DLL in my vi, the configuration window sets them as 'numeric' outputs.Why does this happen? What is the solution to this?When i try to set them as 'array' in this configuration window, i get a warning that i am trying to change the data types which do not match with the data type found in the DLL. Is this the problem with my code or with the Application Builder?Now, after i change the 3 output datatypes to Arrays, and set their minimum length(i assumed that this value means the size of the array ), the vi runs and crashes LV. I am nto sure when it crashes, why it crashes. It runs fine at one time. It crashes at another time. I am nto sure if these arrays are teh reason why L...

Compatability from Labview 5 to labview 7 express?
I am having a problem where I may have to write a VI on labview 5 on one computer, then move it to a second computer running labview 7 express. Are there any compatability issues I may have to deal with in doing this? there is not supposed to any compatibility issues with version 5. You would have a problem going backwards from 7 to 5 but not from going from 5 to 7.At least that is the way it is supposed to work. Joe Hello Kura, LabVIEW 7.0 will open and convert LabVIEW 5 VI=92s. There are occasionally conversion issues, just depending on what is involved in the VI (the bulk of which bein...

LabVIEW Documentation Survey: LabVIEW Upgrade Notes
The LabVIEW Documenation team is conducting a survey to assess certain aspects of the LabVIEW Upgrade Notes. &nbsp; This survey will be used to evaluate and improve the LabVIEW documentation. This survey will be used for research purposes only. The LabVIEW Upgrade Notes contain upgrade information including: compatibility issues you might experience when upgrading to the new version of LabVIEW and the new features that the new version of LabVIEW contains. &nbsp; Please click the link below if you would like to participate in the survey. &nbsp; <a href="http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d" target="_blank">http://www.surveymonkey.com/s.aspx?sm=AqLMsyCycYCxWDf570GIFw_3d_3d</a> ...

labview 8.0 to labview 7.0
Hi, Can somebody save the below VIs in LV 8.0&nbsp;for LV 7.0, please... ?! Find Power Interrupt Time.vi: http://forums.ni.com/attachments/ni/170/335061/1/Find Power Interrupt Time.vi Remove Element(s) from Array.vi: http://forums.ni.com/attachments/ni/170/335061/2/Remove Element(s) from Array.vi Hi Partha,Here are the VIs in LV7.0.Have a nice day Find Power Interrupt Time.vi: http://forums.ni.com/attachments/ni/170/335070/1/Find Power Interrupt Time.vi Remove Element(s) from Array.vi: http://forums.ni.com/attachments/ni/170/335070/2/Remove Element(s) from Array.vi ...

Is LabVIEW Runtime required for a DLL created by LabVIEW ?
Hi &nbsp; Could some one&nbsp;advice me on this matter please. I am trying to build a DLL for a set of functions created in LabVIEW. Now I am&nbsp; wondering if I need to use it with some other language like VB or C++, do I need to install the LabVIEW runtime of the same version as the original functions ? &nbsp; Any settings required while creating the DLL ? I am trying to&nbsp;create it in LV 7.0 &nbsp; Thanks in advance Deepu. &nbsp; Hi Deepu, yes, if you want to use a dll, which is created with LabView you have to install&nbsp;the runtime engine. Mike Alright Mike, Thanks ! I was&nbsp;hoping it would work without the LabVIEW runtime. Anyway, thanks for the quick reply. Rgds Deepu. ...

labview 8.5 to labview 7.0
i am on my labview working with 8.5but at work, we only have labview 7.0.what would be my best way to get my vi to be 7.0?thank you so muchMessage Edited by krispiekream on 06-19-2008 03:59 PM In order to go from LV 8.5 to LV 7, you will need to have LV 8.5 (save it back to 8.0), LV 8.0 (save it back to 7.1) and LV 7.1 (to save back to 7.0). If it's only a few small VI's, you can post them on the forum and ask someone to do the saves for you.&nbsp; (Best if you do the save back to 8.0 and&nbsp;post that in order&nbsp;to eliminate 1 of the 3 steps for whoever will do the rest of the conversions for you.) yeah. great.. i did all those steps.i went from 8.0 to 7.1i dont have labview 7.1 so i can't go to 7.0.can someone please help me. Code.zip: http://forums.ni.com/attachments/ni/170/333708/1/Code.zip Hey Krispiekream, &nbsp; Please try the attached to see if it works with LV7.0 &nbsp; Hopefully it does!! &nbsp; &nbsp; Copy 7.0.zip: http://forums.ni.com/attachments/ni/170/334253/1/Copy 7.0.zip thank you so much. i'll try it right now. hi there,i somewhat got it to work.but i am having this error everytime i try to save it.does anyone know how i can get rid of it?<img src="http://forums.ni.com/attachments/ni/170/334653/1/untitled5.PNG"> Message Edited by krispiekream on 06-24-2008 06:02 PM untitled5.PNG: http://forums.ni.com/attachments/ni/170/334653/1/untitled5.PNG You might want to look into <a href=&...

Web resources about - Labview #3 - comp.lang.labview

LabVIEW - Wikipedia, the free encyclopedia
LabVIEW (short for Laboratory Virtual Instrument Engineering Workbench) is a system-design platform and development environment for a visual ...

LabVIEW - Geekosystem
Don we now our gay apparel, and why shouldn’t that apparel be primarily composed of Christmas lights synchronized to flash with music ? Andy ...

National Instruments - LinkedIn
Welcome to the company profile of National Instruments on LinkedIn. It's not what we make. It's what we make possible. National Instruments is ...

Open Directory - Computers: Programming: Languages
about dmoz - dmoz blog - report abuse/spam - help the entire directory only in Programming/Languages Description Top : Computers : Programming ...

Products / Home - g.tec - Guger Technologies
g.tec medical and electrical engineering produces biosignal amplifiers, data acquisition systems, real-time processing systems and EEG Processing ...

School of Electrical & Electronic Engineering - Computing Facilities
In particular, we have technical interests in common with the other Engineering Schools (Chemical, Civil & Environmental, Mechanical and Computer ...

Handy Arduino Uno R3 Pinout Diagram
Loading... « Missed the Maker Faire? Catch the pictures! Music + Floppy = Moppy » The original post from Nick Gammon is old, but I’m pretty sure ...

Curriculum Vitae - Stefano Meroli
Curriculum Vitae - Stefano Meroli

Testing Engineering Supervisor
Testing Engineering Supervisor job. Read the Testing Engineering Supervisor job description and find other Division 10 Personnel jobs at Monster. ...

Knowledge and Content Management: A Foundation for Business Success
Knowledge management and enterprise content management are increasingly at the center of a successful business strategy.

Resources last updated: 3/28/2016 10:33:25 PM