f



Re: LabVIew crashed in "memory.cpp"

Hi, While using the pvcam library Labview crashed so many times today that i have nearly given up.. :smileysad:here's the crash log attached..if neone has any suggestions .. they are welcome...I was using the call library function...the crashed arised when i tried to pass some values by referencing...Even when the function was empty, labview was crashing which does seem odd to me.So, any views?Thanks,Yatin :smileyindifferent:


lvlog07-10-08-15-36-32.txt:
http://forums.ni.com/attachments/ni/170/339634/1/lvlog07-10-08-15-36-32.txt
0
x9561 (148438)
7/10/2008 3:40:05 PM
comp.lang.labview 35210 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

3 Replies
672 Views

Similar Articles

[PageSpeed] 14

PS: is the library loaded for every seperate function i call in labview or is it done only once..
0
x9561 (148438)
7/10/2008 3:40:08 PM
Hi yatintyagi, What do you have your calling convention set to in the call library interface node?  What kind of parameters are you passing by reference?  What do you mean by the function was empty?  Did you just call a library interface node with no function defined for it?Also note that this is a three year old thread, you may get more responses from the user community by posting a new thread.
0
x9561 (148438)
7/11/2008 8:40:06 PM
Hey Jeremy, Thanks for replying but the I solved the crashing problem. It was a problem with null pointers. About why it crashed when the function did nothing i am still clueless.. but since labview isnt crashing nemore , ii need nothing more.. :smileyhappy:Thanks for the time..Yatin
0
x9561 (148438)
7/14/2008 9:10:06 AM
Reply:

Similar Artilces:

Error Code "1097.....this might corrupted LABVIEW's memory.........." 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 &quot;Fatal Internal Error &quot;memory.cpp&quot; line 1038
Hi, &nbsp; This is an example file provided by NI and can be found in Labview 8.2\examples\instr\niHSDIO: Dynamic Generation.lib. Inside this library, there is a file called "Dynamic Generation.vi". If I copied "Dynamic Generation.vi" to other place, the labview will crash. Error message: &nbsp; "Fatal Internal Error. "memory.cpp". Line 1038. Labview version 7.1.1. You will lose any unused work, please contact NI, etc, etc" &nbsp; In the mean time, the Windows freeze. Mouse right click no response. No status bar at the bottom of the screen. The whole desktop is blank. All icons on the desktop disappeared. I have to log-off and re-login to re-active everything. &nbsp; I also tried to copy&nbsp;other VI's in other library files. Same thing happened. &nbsp; Thanks, Jing I&nbsp;was using Labview 8.2.1 when I had this crash, though I have Labview 7 installed in the same computer. When I "copy the file to some other place", I mean: Click the *.vi file, ctrl-c and ctrl-v to some other directory. Thanks, Jing ...

Re: VisualBasic &quot;Show &amp; Hide&quot; equivalents in LabView
Hi, I want to show/hide the Labview Help programatically. (Just on the click on single button) How it can be done? Do i have to use event structure on Ctrl + H buttons???:smileyindifferent: Please suggest some solution. Thanks There's a help palette with a primitive called Control Help Window, which should do what you want (assuming you want the context help). <img src="http://forums.ni.com/attachments/ni/170/336539/1/untitled5.PNG"> Message Edited by mathan on 07-01-2008 07:07 AM untitled5.PNG: http://forums.ni.com/attachments/ni/170/336539/1/untitled5.PNG Hi Tst, Thanks. i know that there is a Context Help Window where you can see the help for all the functions or Labview help. i want to show/hide this window programatically. Is it possible? Thanks. Thanks Mathan, This is what i wanted. Thanks. Hi Dev, the first of those functions ("context help window") is what you need - as you can read in the context help window for that function!!!:smileyvery-happy: Yes, i got it. thanks . ...

Adding an &quot;IMAQ Image.ctl&quot; to the &quot;Display State.ctl&quot; of an XControl prevents LabVIEW from creating a probe of &quot;Display State.ctl&quot;
I am working on an extended IMAQ Display control using LabVIEWs XControl capabilities. &nbsp; I need a copy of the original image passed to add some overlays which must not affect the original image. To achieve this I am creating a backup image in the "Init.vi" and deleting it in the "Uninit.vi". I am storing the reference&nbsp;of this image&nbsp;in the "Display State.ctl" which is part of every XControl. &nbsp; As soon as I am adding an "IMAQ Image.ctl" to the Display State cluster, it is no longer possible to generate a probe of the Display State cluster for debugging purposses. I am always getting the message: "Failed to load or create probe." Deleting the "IMAQ Image.ctl" from the cluster makes the probe working again. &nbsp; Is it a bug or am I doing something wrong? &nbsp; I am working with LabVIEW 8.5 and Vision 8.5. &nbsp; Regards &nbsp; Ingo Bartsch Hello Mr. Bartsch, is it possible for you to post a small example to reproduce the behaviour? It would be helpful to get a description in which way you use the typedef files. I found a example/knowledge base where some informations were included to XControl and LV but not with Vision. <a href="http://digital.ni.com/public.nsf/allkb/1DC1ADD2A136DA298625712C00635758?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/1DC1ADD2A136DA298625712C00635758?OpenDocument</a> Best wishes Ja...

&quot;re-entrant&quot; &quot;file I/O&quot; &quot;QSM_State Machines&quot;
&nbsp; &nbsp; I have trouble with writing (appending) to text file in a QSM that is in an "occurence mode" of operation whereby the queue waits for outside engueue to go ahead and do a task. The task is simply to write to a file a line of text. &nbsp; Outside producers give the queue its go ahead and data is sent along etc... &nbsp; WHat I am seeing in the logging functions are multiple errors (Error 1) Somehow Labview&nbsp;is not noticing that the reference is valid or it is invalidating the reference. &nbsp; Q is Should I just let the QSM loop to keep it alive and would that work? &nbsp; What is the rule concerning queue waiting for an event? Does the VI get flagged as idle and is that why the ref appears to be dropped?&nbsp; THere is no reason I can think of for the ref to be dropped. It is opened in the init frame then kept in a shift register. and available at each iteration in the QSM. &nbsp; The example works in a simple loop but not a loop that is waiting on an occurence.&nbsp; Why? &nbsp; The only work around I can manage is to use the path and open the reference when it is not valid which feels kind of&nbsp; silly if you get my drift &nbsp; Anyone seen this before? &nbsp; Thank You &nbsp; &nbsp; &nbsp; ...

plug-in &quot;not installed&quot; in my LabVIEW project's &quot;Build Specifications&quot;
I moved my LabVIEW project from one computer to another, now when I click on any item under the project's "Build Specifications", I get an error reading "The plug-in for the selected item is not installed on your system." Does anybody know how to fix this? I have no idea what this "plug-in" is.Attached is a screenshot. plug-in error.PNG: http://forums.ni.com/attachments/ni/170/222664/1/plug-in error.PNG ...

Failure&quot;datatype.cpp&quot;line 2672 Labview crashes while mesurement
Labview&nbsp;crashes while running a measurement without saving any data. &nbsp; Failure"datatype.cpp", line 2672 LabVIEW Version 6.1 Hello Brian The error log file is drwtsn32. The error pops up when I try to do PCT measurements on the PCT Pro. &nbsp; ...

How can I modify the &quot;Type definitions&quot; of &quot;Function Prototype&quot; if I want build a DLL in Labview 8.5.1.?
Hello,We have a library with several VIs (API - Interfaces to our Real Time Target). This VIs we provide to our customer to generate own VIs to control the Real Time Target.Now we want to provide the functionality of this VI-library as DLL to our customer. The problem is, that labview use self definite name of type definitions. Also if I use "strict Type definition".Example:void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], TD1:smileymad: *errorIn, VARIANT *Scale_Out, TD2 *Data, TD1 *errorOut, int32_t len)It is possible to modify "TD1" and "TD2"? I want to give useful names.GreetingsSteffen Hi Steffen, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try&nbsp;editing the .h file as follows: CHANGE FROM: typedef struct {&nbsp;LVBoolean status;&nbsp;long code;&nbsp;LStrHandle source;&nbsp;} TD1; CHANGE TO: typedef struct {&nbsp;LVBoolean status;&nbsp;long code;&nbsp;LStrHandle source;&nbsp;} TD1; typedef struct {&nbsp;LVBoolean status;&nbsp;long code;&nbsp;LStrHandle source;&nbsp;} LVErrorCluster; then your GetOutputValues prototype becomes: void GetOutputValues(VARIANT *Scale_In, int32_t ModelNr, uint16_t SignalID[], LVErrorCluster *errorIn, VARIANT *Scale_Out, TD2 *Data, LVErrorCluster *errorOut, int32_t len) If your source-code doesn't refer to "TD1", then&nbsp;you probably won't need to keep the TD1 prototype! Cheers. ...

Profile Performance and Memory crashes at &quot;memory.cpp&quot; line 342.
When I try to run Tools-&gt; Profile-&gt;Performance and Memory, it&nbsp;crashes at "memory.cpp" line 342. &nbsp; I am using Labview 8.2. It used to work in Labview 8.0. &nbsp; ...

LabVIEW crashed when openning XControl Facade, and Init VI
XControl_Fatal error.PNG: http://forums.ni.com/attachments/ni/170/261642/1/XControl_Fatal error.PNG XControl_Fatal error1.PNG: http://forums.ni.com/attachments/ni/170/261642/2/XControl_Fatal error1.PNG ...

Labview crashes on loading &quot;missing&quot; subvi
Now that I'm confortable with Labview 8.5's&nbsp; projects explorer, I've been cleaning up my old vi's, and putting them into projects and library's.&nbsp; This meant that many vi's got renamed or moved, so I had to update those locations in some programs. &nbsp; During moving in the project explorer, I had a few unexpected crashes.&nbsp; It seems that moving/renaming doesn't always work properly...&nbsp;&nbsp; I've solved those issues by hand, didn't try to search for a reproducable error condition... &nbsp; But now I'm updating the toplevel vi's that make use of those renamed and moved subvi's,&nbsp;and I'm getting more crashes...When loading the top level vi, it asks for the location of the renamed/moved vi's.&nbsp; So I browse to it, and select the correct vi's.&nbsp;&nbsp; Works for about a dozen vi's, and then Labview suddenly crashes.&nbsp; I've tried ignoring that missing vi, but then it crashes somewhere else.&nbsp; So I decided to simply ignore all missing vi's.&nbsp; That worked,&nbsp;it then loads without crashing, and ofcourse shows lots of missing vi's with questions marks.&nbsp; I then manually, replaced the ?-vi's with the correct ones.&nbsp;&nbsp; Took a little, but now the program works.&nbsp;&nbsp; I can run it without problems, so I saved it, and thought I was ready.&nbsp;&nbsp; &nbsp;...

Re: &quot;File not found&quot; when starting LabVIEW
hello, i would ask about why a ni zone example code problem. i try to run on LabVIEW and it says file not found...(as attached by picture) the link on the ni zone is: http://zone.ni.com/devzone/cda/tut/p/id/6037#softwarethanks.zull azymresearch assistantRF department,UTHM, malaysia file not found.JPG: http://forums.ni.com/attachments/ni/170/292574/1/file not found.JPG ...

&quot;Re-Chunking&quot; A labview waveform per iteration.
Hi, &nbsp; I've got a quick question, so say I've got a DAQ Block, that captures a signal at 300 Samples/Sec. So for every iteration of an outer while loop I get 300 Samples Per Second. Now I want to do some signal processing where, for example in a for loop inside the while loop, where I look at the samples for that second in chunks of X (we'll call it 10) samples per second. Is there some way to "Re-chunk" a waveform over iteration like this?Regards,Kenneth Miller You probably don't want to have that for loop doing its re-chunking inside your DAQ while loop.&nbsp; You could take your data out of the while loop using a queue and then re-chunk in a data processing loop.&nbsp; Or if the re-chunking is not time critical you wait until all your DAQ is done and then re-chunk from file (or array in memory).&nbsp; I dont know if that is helpful to you or not. Cheers That sounds fine, but how do I "re-chunk" it? I'd rather not convert it to a ray of scalars, because then I'd have to keep track of the DT and timestamp manually, is there no VI that works on the waveform or DDT type?Regards,Kenneth Miller Can someone please help me with this? Kenneth, You can convert the DDT to a Waveform data type.&nbsp; Then you can get the waveform components, (t0, dt, and Y).&nbsp; Depending on what signal analysis you are doing, you might not even need to do this.&nbsp; But, then you can build the waveform with the values ...

Re: &quot;File not found&quot; when starting LabVIEW #2
sorry, this the program that i take from this link, http://zone.ni.com/devzone/cda/epd/p/id/5146 am_modulation.vi: http://forums.ni.com/attachments/ni/170/292575/1/am_modulation.vi ...

Memory is full during &quot;Save As&quot; of LabVIEW 8.5 project
Good Morning All, &nbsp;&nbsp;&nbsp;&nbsp; Have run into a weird issue while trying to rename a LabVIEW 8.5 project. I've got two projects that ended up having the same names (one by me, one by another engineer). I want to open both at the same time, so I figured I'd open the one and do a "save as", or a "rename". The first time it started processing, doing file loads, and then hung looking for a sub-vi, with the search address pointing to the .llb in the LV 8.5 directory where I manually located it. Once that was resolved, and the original project saved I tried again. This time it did a bunch of loading and then gave me an error box with the message:&nbsp; "LabVIEW:&nbsp; Memory is full.&nbsp; Cannot save project 'original project name.lvproj'" This isn't a big project, the machine is a new HP Compaq dual core 2.8GHz with 1.5Gb of ram, so I don't really think that it should be generating anything that big. This happens with either a "save as" or "rename". I ended up just changing the names of the .lvproj .aliases files to the one I needed and it seems to load ok, but it would be nice to understand what is happening here. &nbsp; &nbsp; This is interesting behavior, since NI actually ensured that you would now have the ability to Save As and Rename a project with the <a href="http://www.ni.com/pdf/manuals/371780c.pdf" target="_blank">release ...

&quot;filewatcher labview&quot;
Hallo &nbsp; Hat jemand von Euch bereits einen filewatcher (ein Programm das nachsieht ob ein anderes Programm Daten in ein file schreibt, und mir dann den zugriff auf diese Daten erm�glicht.) Ich ben�tige ein sollches Programm dringend Version 7.1 bis 8.2 vorhanden. &nbsp; Vielen Dank Werner Hallo Thanks for info! To you have a ready program for checking an activity on a file. How could i give a notice for a good answer! Thanks Werner &nbsp; Thanks Gerd nice day ...

Why do I receive a &quot;Fatal internal error: &quot;fpsane.cpp&quot; line 399&quot; when saving?
Why do I receive a&nbsp; "Fatal internal error: "fpsane.cpp" line 399" when saving my VI? &nbsp; Thank you. Gustavo Hi Chris, But I could not solve the error that way. Actually, Labview is crashing with this error at any time when I am writing my VI. It simply crashes even if the VI is not running. I think the problem is not in my VI, because&nbsp;it runs normally in another machine, but must be with the Labview installation. I have reinstalled Labview three time already and the error continues. Any other ideas? Thanks, Gustavo hum... not yet. &nbsp; I reinstalled LAbview 8.2 for the 3rd time... nothing happened. The VI I am trying to run is the example 4128.vi we can find in the forum. It is still crashing with the same error when I try to save or save as... or sometimes before the VI starts to run when I do any alteration. I think the error might be related to saving the VI. The problem happens to other VIs as well, but only those that are using IMAQ. &nbsp; Hope you can help me... Tks, Gustavo I am agree with <a href="http://forums.ni.com/ni/view_profile?user.id=91046" target="top"> gutoassi</a> , even though labview 8.2.1 releases are very useful, it still have something to be depurated, my VI is ok and I have the same error fpsane.cpp line 399. In order to give a clue with this issue, I am working with CINs and visual C++, some times it just work fine but in a very inconsistent way it crashes som...

Re: Fatal Internal Error : &quot;memory.cpp&quot;, line 638
Second that motion.&nbsp; Is there a patch for those of us stuck in 7.1 or 7.1.1? The time cost (not necessarily the money cost) to upgrade to newer versions is sometimes prohibitive. Hi Instrumento and ASteiner, Thank you for posting to the forums.&nbsp; Hopefully, each of you have been able to find alternative methods to avoid this error in LabVIEW 7.1.&nbsp; Unfortunately, due to the frequency of updates that we provide, we do not normally have patches for individual or groups of bug fixes.&nbsp; Instead we look to correct the bug and maintain that fix through all future releases.&nbsp; Therefore, any LabVIEW version 8.0 and onward should provide that this will not occur. The best suggestion that I can provide for a LabVIEW 7.1 user would be to look in the LabVIEW 8.0 Upgrade notes and reference that CAR ID I provided previously.&nbsp; Often times through this means we will provide any workaround method that was developed&nbsp;when&nbsp;this issue was&nbsp;identified. I hope this helps!&nbsp; Have a great day! Regards, Jason W. ...

VI &quot;FindInstrumentDrivers.vi&quot; was stopped at node &quot;&quot; at a call to &quot;IDF_WsIdOpen.vi&quot;
This what I get trying to download Instrument Drivers in LabVIEW 8.2. LabVIEW 8.6 doesn't succeed either. any ideas? Could just be an intermittent server problem. Does this happen all the time? At what point does it fail? When you first launch it, after you login? The network traffic indicates that it uses port 3339. Is this being blocked by your firewall? ...

Programmatic &quot;undo&quot; for &quot;FitControlToPane&quot; ?
Howdy neighbors!, (using LV8.2)&nbsp; I'm trying to develop a GUI that lets the user toggle a Tab-control between "Full Pane" and a&nbsp;reduced size/position - sorta-like&nbsp;the "Full Screen" option on many Video apps.&nbsp; The effect of the&nbsp;invoke-node method "FitControlToPane" is perfect (- :smileyhappy: -), but how to undo that effect?&nbsp; After&nbsp;FitControlToPane,&nbsp;"Scale Object with Pane" is selected in the IDE, yet I can't find a "property" for it. :smileysad:&nbsp; FitControlToPane also changes the visibility of vertical and horizontal scroll-bars - are these [VI Properties] programmatically settable? &nbsp; Cheers! &nbsp; &nbsp; &nbsp; follow up... FitControlToPane also changes the visibility of vertical and horizontal scroll-bars - are these [VI Properties] programmatically settable? Feel kinda silly now, having advised someone else to search LabVIEW's HELP first! :smileytongue: &nbsp;- found Scrollbar Visibility can be set via (LV8.2)\ VI \Panel(reference)\Panes[0].HorizScrollbarVisibility. <img src="http://forums.ni.com/attachments/ni/170/239318/1/ScrollBar.JPG"> Still hunting for an&nbsp;elusive "Set Scaling Mode" method... (The&nbsp;Tab Control's&nbsp;"AutoGrow?" property doesn't seem to do anything!?)Message Edited by tbd on 04-03-2007 12:56 AM ScrollBar.JPG: ht...

How to change &quot;ASRL2:... &quot; to &quot;COM1&quot;?
Dear All, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have used com port in my vi. And When I run it in edit mode,&nbsp;the selection of com displays "COM1,COM2,LTP1". &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But when I build it, and run it in another PC, it displays "ASRL2:...". &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How can I modify my vi to make it display COM1... in another PC? &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And If I only want to display all serial port such as COM1,...

How to interface the Labview and Simulink (Matlab) without using the &quot;NI LabVIEW Simulation Interface Toolkit&quot;?
Hello, I've been using the Labview for the data aquisition. And I also developed a controller in the Simulink (Matlab) environment. I'd like to control my application using both&nbsp;programs. How&nbsp;could I&nbsp;interface the Labview and Simulink (Matlab) without using the "NI LabVIEW Simulation Interface Toolkit"? thank you, Kostya. Hi Kotsya, Thank you for posting to the National Instruments Discussion Forums. If you are not using the Math Interface Toolkit, you may be interested in using the MATLAB� Script Node. This allows you to call MATLAB� commands using ActiveX and I you can call your Simulink model from MATLAB� that way. Here are some resources on how you can do this: <a href="http://zone.ni.com/reference/en-XX/help/371361B-01/gmath/matlab_script_node/" target="_blank">MATLAB � Script Node LabVIEW 8.2 Help</a> <a href="http://digital.ni.com/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument" target="_blank">How Can I Resolve MATLAB� script node and Xmath Script Node Issues in LabVIEW?</a> Hope this helps! Hi, Abhinav, thank you for your reply. I will try to explore the option with the Script Node. regards, Kostya. &nbsp; &nbsp; ...

'&&&&a'="&&&&a."
I need a data step that is equivalent to data _NULL_; file print; put '&&&&&&a=' "&&&&&&a"; run; Yet the number of & is a variable, I need to write a Macro, so far I got only half of the code('&&&&&&a.='), I don't know how to put the other half ("&&&&&&a.") into Macro Thanks. %Macro R(k); data _NULL_; file print; put %do i= 1 %to &k.; '&' %end; 'a=' ; run; %mend; %R(10); ==================================================...

Re: Help, rather stuck: Should it take 22 ms to (via Visa) write &quot;ISET 2&quot; then &quot;ISET 0&quot; to an instrument? (to a Kikusui electronic load if you're curious)
Dennis hi: I hope you are able to gime a hand with KIKUSUI PLZ-30F electronic load. 1. I'm talking to the instrument via GPIB and it communicates. 2. It doesn't respond on a settings commands - change from CC to CR mode, etc. 3. There are 3 modules in a frame - one master and two slaves. 4. I'm suspicious I'm missing something, and... this company does not have techsupport...??? 5. Their drivers have entirely different format from SCPI and I have no use to them. 6. There is an IVI driver - but I didn't try it yet. &nbsp; Best, Oleg Finodeyev ...

Web resources about - Re: LabVIew crashed in &quot;memory.cpp&quot; - comp.lang.labview

Resources last updated: 3/19/2016 8:58:17 AM