CIN crashes LabVIEW - Worked in tests Programming Software Development by rock_climbr Hey everyone, I'm currently trying to use LabVIEW for pattern recognition to find the angle of a product … all falls apart and the c code seems to crash LabVIEW. The program will stop responding and the only way to… get out of it is to completely shut down LabVIEW. It almost seems that there is an infinite loop somwhere… plz plz help me in LABVIEW Programming Software Development by adeelghani hello to every one im making a GUI in labview and i want to take serial data in labview im new in labview so plz help me thanks for replyng Re: displaying labview graph on vb6 form Programming Software Development by Shefali i run ur code. i first started labview manually and run the labview program. then i run ur vb code. when i run the vb code it displays the labview window infront of the form (not on the form) as a seperate window. what i though after running the code is it puts the labview front panel at the foreground. am i missing something? Re: displaying labview graph on vb6 form Programming Software Development by Shefali well i have checked with labview and found that labview doesnt allow vb to get its graph. that is the graph object of labview isnt accessible to vb. i understand what u said abt the vb coding stuff... but can u give me some similar example code.. it seems to me pretty daunting (for my capabilities). thanks. Re: displaying labview graph on vb6 form Programming Software Development by Comatose Hmn.... for some reason it's not setting the labview parent...... I don't have labview, so I can't test it, but… own..... I wish I knew why it won't kidnap labview :( Re: displaying labview graph on vb6 form Programming Software Development by Shefali actually i wud like only the graph to steal.. but ur program doesnt differentiates between the graph or the labview window(front panel). whenever i take the mouse over the labview window(front panel) it shows the same caption and class. in that case wud be the stealing of only the graph possible? displaying labview graph on vb6 form Programming Software Development by Shefali hii all yet another question from me.. i have written a code in vb6 to call a labview7.1 vi and run it. the labview code acquires data and plots the data continuously as long as the program is running. now i want this graph to be plotted on vb6 form. any ideas how i can do it? thanks. Re: displaying labview graph on vb6 form Programming Software Development by Comatose Eak, does labview write a .txt file, or some means in which VB can read the data? Re: displaying labview graph on vb6 form Programming Software Development by Shefali yea labview can write a text file or excel data file. Re: displaying labview graph on vb6 form Programming Software Development by Comatose Then, if you can past an example of that file.... I can see about how to go about reading it. What I'm guessing you'll have to do, is have labview write a file (either one, text or excel, vb can work with both) and then get a list of points out of that file, and plot them using pset or something..... Re: displaying labview graph on vb6 form Programming Software Development by Shefali … ur point. in that case i wud like, as the labview program wud continuously add/save data to a excel/text… Re: displaying labview graph on vb6 form Programming Software Development by Comatose … what kind of effect that's going to have on labview though..... it might get pretty pissed about you deleting the… Re: displaying labview graph on vb6 form Programming Software Development by Comatose … was actually talking about taking it..... without permission. So that Labview would still be running, and it would still be plotting… Re: displaying labview graph on vb6 form Programming Software Development by Shefali … that there wudnt be multiple data for a single time. labview can also save the data as excel file. Re: displaying labview graph on vb6 form Programming Software Development by Shefali sorry forgot to add this in the previous post: if capturing the graph isnt possible.. then i wud be glad even to capture the complete front panel of the labview.. only thing is that it needs to show the continuous realtime plot of the data. Re: displaying labview graph on vb6 form Programming Software Development by Comatose if you minimize the VB form, does it minimize the labview window too? Power control box for use with labview Hardware and Software Hardware by lopkinfop … looking for a controller box which i can create a labview VI for so i can turn things on/off virtually… Re: CIN crashes LabVIEW - Worked in tests Programming Software Development by ArkM Well, a little counter-question: I have my code working for all test data sets. Suddenly yesterday (or this evening) it was crashed. It seems it does not work properly. Any ideas? Can you help me?.. Re: plz plz help me in LABVIEW Programming Software Development by Rashakil Fol You can't be helped with such a vague request; ask friends and coworkers, or just fiddle around. Re: plz plz help me in LABVIEW Programming Software Development by adeelghani thanks 4 replyng i take a simple example com port read and write its working & i undertstand how its work but i face a little problem i hope u solve it 1) VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.------------????? 2) how to segregate the input coming data from microcontroller which sends the 8-bit data. i send the… Re: plz plz help me in LABVIEW Programming Software Development by adeelghani thanks 4 replyng i take a simple example com port read and write its working & i undertstand how its work but i face a little problem i hope u solve it 1) VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.------------????? 2) how to segregate the input coming data from microcontroller which sends the 8-bit data. i send … Re: displaying labview graph on vb6 form Programming Software Development by Shefali guys... can u plz give me some ideas about this real time plotting thing. i have a text/excel data file where data is being continously added. i want to plot this data wrt time on a vb form. i m stuck.. plz help me. thanks. Re: displaying labview graph on vb6 form Programming Software Development by Comatose Is the textfile constantly being "ADDED" to, or is it constantly being UPDATED (there is a difference, ya know... added to means that it leaves the data alone that's already in the file, and just adds more data to the end, while updated means that it's possibly changing the data already in the file) Re: displaying labview graph on vb6 form Programming Software Development by Shefali no its just adding the data.. Re: displaying labview graph on vb6 form Programming Software Development by Shefali ok i will post the data file.. just give me a few mins. and regarding the kidnap thing.. that was exactly my idea to begin with... but cudnt find a way to do it. if that cud have been done.. wow.. all probs solved. Re: displaying labview graph on vb6 form Programming Software Development by Comatose First, you'll need to get the class name of that window.... I have a program that does this: [url]http://www.aftermath.net/~coma/downloads/getclass/getclass.zip[/url], once you download and install that, run the "Getclass" program, and it will show you a textbox and a button. The textbox will contain the windows current hWnd (The number … Re: displaying labview graph on vb6 form Programming Software Development by Shefali thanks comatose for taking so much interest and helping me out. i really appreciate this. i have run the program and here is what i got: hwnd: 13239932 class: LVDChild Caption: Acquire Data and Plot 2.vi Front Panel Window Thread: 2912 Re: displaying labview graph on vb6 form Programming Software Development by Comatose Just to make sure, that's JUST the graph that we want to steal right? Not it's parent, or anything like that, the mouse directly over the plotting area, right? Re: displaying labview graph on vb6 form Programming Software Development by Comatose K, Try this and let me know what happens. Re: displaying labview graph on vb6 form Programming Software Development by Shefali no.. it doesnt