f



How to interface the Labview and Simulink (Matlab) without using the "NI LabVIEW Simulation Interface Toolkit"?

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 programs. How could I interface the Labview and Simulink (Matlab) without using the "NI LabVIEW Simulation Interface Toolkit"?
thank you,
Kostya.
0
x9561 (148440)
4/6/2007 4:40:07 PM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

2 Replies
1502 Views

Similar Articles

[PageSpeed] 25

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!
0
x9561 (148440)
4/9/2007 3:40:09 PM
Hi, Abhinav,
thank you for your reply. I will try to explore the option with the Script Node.
regards,
Kostya.
&nbsp;
&nbsp;
0
x9561 (148440)
4/9/2007 4:40:09 PM
Reply:

Similar Artilces:

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...

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...

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 ...

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. ...

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...

Error 1047 in LabVIEW 8.2: LabVIEW failed to send variable to the script server. Server:&quot;&quot;
I am working with the evaluation version of labVIEW as well and I have run into another error.&nbsp; I am using a MATLAB script node within a for loop and attempting to pass the for loop counter variable into the script.&nbsp; When I run the code it brings up a 1047 error and says "LabVIEW failed to send variable to the script server. Server:"" ".&nbsp; I looked up the error online which seems to have roots in a failed auto initialization of MATLAB.&nbsp; Is there something that I can do in labVIEW to fix the problem or is it strictly a MATLAB error? &nbsp; I really appreciate your help. Hi Patsenat, &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We have a knowledgebase document on our system referring to this issue.&nbsp; Try reading through <a href="http://digital.ni.com/public.nsf/allkb/2B3FF46C8512C4F786256CF30071BE53?OpenDocument" target="_blank">this</a> and attempting what it says.&nbsp; If you still have problems, please post again. ...

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 . ...

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 ...

Using &quot;getf&quot; command in Scilab-LabVIEW Gateway
I am having trouble using the "getf" command in the Scilab-LabVIEW Gateway.I would like to load an external Scilab function using the LabVIEW scriptnode and perform an operation with it.In Scilab, the following code works correctly:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ___________________________________________&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scilab-4.1.1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Copyright (c) 1989-2007&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Consortium Scilab (INRIA, ENPC)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ___________________________________________&nbsp;&nbsp; &nbsp; Startup execution:&nbsp; &nbsp; &nbsp; loading initial environment&nbsp; &nbsp; --&gt;getf "C:/program files/scilab-4.1.1/macros/dec2bin.sci";&nbsp; &nbsp; --&gt;dec2bin(10,4)&nbsp; &nbsp; &nbsp;ans &nbsp;=&nbsp; &nbsp; &nbsp; 1010&nbsp; &nbsp; --&gt; &nbsp; &nbsp; However, when I execute the same code in the Scilab-LabVIEW Gateway, Ireceive the error:&nbsp; &nbsp; Error 1048 occured at LabVIEW: &nbsp;LabVIEW failed to get var...

&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 ...

I have some question on &quot;Use LabVIEW to Control two DSP and RTDX&quot;
I have some question when writing LabVIEW. I have DSP6711 and DSP6416, I use RTDX to send data to LabVIEW. I write three programes for LabVIEW, one is RTDX for&nbsp;DSP6711, another is RTDX for DSP6416, and the final is RTDX for two DSPs. The program of LabVIEW is workable when doing DSP6711 or doing DSP6416. But there is some problem when running DSP6711 and DSP6416 on LabVIEW at the same time. How to&nbsp;tell the LabVIEW's tool of " RTDX read" to&nbsp; get the datas from different DSP ...

Using &quot;To-upper-case&quot; on cluster with Enum (LabVIEW 8.2)
Hi folks, &nbsp;&nbsp;&nbsp;&nbsp; The following example won't compile on my installation of 8.2 ! &nbsp; &nbsp; <img src="http://forums.ni.com/attachments/ni/170/225670/1/ClusterErr.jpg"> &nbsp; Cheers.Message Edited by tbd on 01-23-2007 09:21 PM ClusterErr.jpg: http://forums.ni.com/attachments/ni/170/225670/1/ClusterErr.jpg ClusterErr.vi: http://forums.ni.com/attachments/ni/170/225670/2/ClusterErr.vi It fails the same way under LabVIEW 8.0. Clearly something is not handled properly. (Of course I don't quite see the general&nbsp;usefulness to use "to uppercase" on a simple&nbsp;enum. ;)) altenbach wrote: (Of course I don't quite see the general&nbsp;usefulness to use "to uppercase" on a simple&nbsp;enum. ;)) (tbd momentarily ponders: "Why does it seem there's always something Altenbach doesn't quite see?") &nbsp; Oh, gee,&nbsp;do it (enum to upper-case) all the time&nbsp;when I forget and type enumerated-case-values in all upper-case. :smileywink: &nbsp; &nbsp; <img src="http://forums.ni.com/attachments/ni/170/225670/1/ClusterErr.jpg"> &nbsp; Indeed it doesn't compile.&nbsp; But the To Upper Case VI handles numbers as ASCII codes.&nbsp; How would converting an enum value of 97 to 65 be useful to you?&nbsp; Are you trying to capitalize the strings in the enum's typedef?&nbsp; A case structur...

why it keeps on asking &quot;NI LabVIEW 8.5.1&quot; distribution when building installer?
Hi, I am building an installer for one image processing application. For addtional installers, NI Labview runtime engine 8.5.1NI vision runtime engine 8.5NI IMAQdx 3.1.2NI VISA runtime 4.3When building, it keeps on asking "NI LabVIEW 8.5.1" distribution even though I put the CD into CD room, saying it needs to copy a component installed or updated by the distribution to continue building the installer.If&nbsp; NI-IMAQ dx 3.1.2 not checked, it is OK. BUT, I need it.Thanks a lot for any help.Anne Zuo What is a "CD room"? or CD driver. sorry for my language.&nbsp; Take a look at this <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;view=by_date_ascending&amp;message.id=210032#M210032" target="_blank">link</a> and see if it helps. &nbsp; Also, if it doesn't like disk 1, put in disk 2 instead, if not disk 2, then try disk 3.&nbsp; Perhaps it is looking for the driver it needs, but the actual files it is looking for is on the 2nd or 3rd CD. &nbsp; Ultimately, it may be best to copy all of the CD's to your hard drive and have it point to them there. ...

How to use &quot;GetLastInputInfo&quot; in &quot;user32.dll&quot;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi, &nbsp; I need to logout user if he doesn't make action during 5 minutes, "GetLastInputInfo" method in the "user32.dll" library, return the tick of the last action, so I can&nbsp;know the inactivity time of the login user. &nbsp; But I try to using "Call Dll function" item in Labview 8.1, and each time I run VI, Labview crash. &nbsp; Next, is information about the method : &nbsp; DLL###############################User32.dll &nbsp; Syntax###############################BOOL GetLastInputInfo(PLASTINPUTINFO plii); &nbsp; Parameters###############################plii : [out] Pointer to a LASTINPUTINFO structure that receives the time of the last input event. Private Type LASTINPUTINFO &nbsp;&nbsp;&nbsp; cbSize As Long &nbsp;&nbsp;&nbsp; dwTime As Long End Type Return Value###############################If the function succeeds, the return value is nonzero.If the function fails, the return value is zero. &nbsp; Remarks###############################This function is useful for input idle detection. However, GetLastInputInfo does not provide system-wide user input information across all running sessions. Rather, GetLastInputInfo provides session-specific user input information for only the session that invoked the function. &nbsp; You can see also my VI source. &nbsp; GetLastInputInfo.vi: http://forums.ni.com/attachments/ni/170/31...

The &quot;LabVIEW evaluation version &quot; may use VISA to receive or send data to RS232 port?
Hi All , I am using LabVIEW evaluation 8.0 . Now I use NI-VISA function to send or receive data from COM port . but I can not find com port in the front panel of LV&nbsp;. I don't know&nbsp; LabVIEW evaluation whether may use VISA to receive or send data to RS232 port. Who can help me ? Thank you in advance ! VISA.JPG: http://forums.ni.com/attachments/ni/170/236974/1/VISA.JPG Yes ,but it can't&nbsp; drive com port .could you try it ? Thanks . ...

Is there a known problem when using &quot;cursors&quot; (name property) in a XY graph in the LabVIEW version v7.1?
Hi, &nbsp; I am having trouble trying to use the "cursor"&nbsp; properties in an XY graph. &nbsp; The funtion works, but LabVIEW gets very slowly (like hanging). &nbsp; NOTE: I am trying to show names in an XY graph by using the cursor properties (cursor name). &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; My Labview version is v7.1. &nbsp; Kind regards, &nbsp; Amaloa S. &nbsp; Hi, Thanks, &nbsp; I think that this Vi is too big (It has other parts or sub-parts). &nbsp; It get slowly only when using "Property Node". &nbsp; Is there any other way to write some text&nbsp;on&nbsp;a XY graph? &nbsp; I need to write text e.g. : Lab 1, Lab13, Lab 2 on the XY graph (Picture attached). &nbsp; Thanks, Kind regards, &nbsp; Amaloa S. &nbsp; View.JPG: http://forums.ni.com/attachments/ni/170/268827/1/View.JPG Hi, &nbsp; I am using the Cursor Property Node like in this VI attached. &nbsp; Kind regards, &nbsp; Amaloa S. Cursor_good.vi: http://forums.ni.com/attachments/ni/170/268835/1/Cursor_good.vi Hi, For some reason it seems to work now. So this would be Ok. Now I only need to generate more than one cursor. Could you please tell me how to do (or show) more than one cursor in the same XY graph? Thanks, Kind regards, AS. &nbsp; Hi, &nbsp; Thanks!!! This worked perfectly. I used the vi example (modified) you sent me. ...

Have problems in using Labview program contains &quot;niScope Multi Fetch&quot; unit to sample data from PCI 5922
Dear all: &nbsp; When I use labview sample program "niScope EX save to File" in niscope driver V3.4 to sample data from channel 0&nbsp;or channel 1&nbsp;or 2 channels together&nbsp;in PCI5922, there is always an error message: &nbsp; Error occurred at:&nbsp; niScope Multi Fetch.vi:1&lt;err&gt;Driver Status:&nbsp; (Hex 0xBFFA2003)Maximum time exceeded before the operation completed.Status Code: -200284 &nbsp; When I use other sample program without the "niscope multi fetch" unit, it works well. So I wonder how to solve this issue. Thanks for your help. &nbsp; Regards Cui Song Sounds like you are doing too much in a loop.&nbsp; You must fetch samples fast enough to avoid buffer overruns.&nbsp; If you save data in the sam loop as the fetch this becomes a distinct possibility, especially with more channels high acq rates.&nbsp; Your fetches become large so writing to file can be slow causing your next fetch to not be in time.&nbsp; Post your code or take the save out of the fetch loop and see if the error goes away.&nbsp; if so, there are multithreaded workarounds. &nbsp; &nbsp; Thanks for your suggestion, I take out the save and run the multi fetch, the problem is still there, Appreciate your help. Hello everyone, This question is being addressed on the High-Speed Digitizer forum <a href="http://forums.ni.com/ni/board/message?board.id=150&amp;message.id=1926" target=&q...

The use of the &quot;XY graph&quot; with the &quot;Read Traces&quot;
Hi, I'm trying to plot on "XY Graph"&nbsp; some informations wich are taken directly from the "Read Traces", and the problem is that the Start timestamp wich i enter to the "Read Traces" don't correspond to the beginning of the X axeof the graph. Can some one help me please. Question pour le forum NI.doc: http://forums.ni.com/attachments/ni/170/334716/1/Question pour le forum NI.doc Hi basile Have you found an issue about your problem? Could you attach you code(.vi) please? Thanks. Regards. Hi&nbsp;&nbsp; R_DUVALThank you for your help but I found the solution to my problem.Best Regards ...

LABVIEW.LIB could not locate &quot;RTsetCleanupProc&quot;
Hi,I am trying to get some feedback on a random error that I am getting whenrunning Labview on Windows XP. In my application I am performing dataacquisition with an M-series Daq device while at the same time I amrecordingimages with NI-Imaq device (PCI-1405). I am also communicating with twootherinstruments through a USB and a serial port. At random times (once every month or weekor sometimes a couple of times within the same day) Labview crushes and Iamgetting the following error message:LABVIEW.LIB could not locate "RTsetCleanupProc"After that I have to reboot the computer for Labview to be able to run.Please advice on what steps to take in order to fix these problem. I am also attaching the corresponding failure log file Thanks,George lvlog05-19-08-14-58-071.txt: http://forums.ni.com/attachments/ni/170/325132/1/lvlog05-19-08-14-58-071.txt Hi George, I see that you have addressed this issue with one of our Applications Engineers through email. Was this issue not solved? Hi Michelle, &nbsp; Thanks for getting back to me. &nbsp; I got very prompt and useful feedback through email from one of NI?s Application Engineers. However, part of the process of troubleshooting this issue involved waiting for LabView to crash again and look at the error log report. Unfortunately (!?) this did not happen within reasonable time and NI considered this issue resolved. When recently LabView crashed again I tried to follow up with this issue but I was redirected&n...

Looking for a LabVIEW &quot;Comparison Tool&quot;
&nbsp; LabVIEW is hell to debug. &nbsp; I'm working through Exercise 7-5&nbsp;in the Intermediate I Course Manual. There is a Producer Loop, a Consumer Loop, and a Display Loop, each with a 8 to 12 element Case Structure. &nbsp; Currently (11/14/2007), my project bombs consistently. Press Play, let it get half way through its cycle, press Stop, then the interface becomes unresponsive. I've tried enabling Highlight Execution, but there are many VIs that&nbsp;I&nbsp;don't understand (the manual has me drop them in) and&nbsp;so many things going on at once that I am lost. &nbsp; I&nbsp;navigated to&nbsp;the Solutions folder, and opened the project. The solution (from what I can see) looks identical to mine, and it runs as it should. &nbsp; I want to compare the two, so I tried to open another instance of LabVIEW so that I could look at each of the cases side-by-side. Naturally, LabSPEW (as we have come to call it) will not let you open 2 instances at one time. &nbsp; Unlike normal&nbsp;languages (C++, VB, Perl), I&nbsp;can not print my code to see what went wrong (viewing on&nbsp;a screen is more&nbsp;difficult than looking at it on paper), and I can not use conventional comparison tools. It seems I am at the mercy of National Instruments to provide something. &nbsp; I looked in the&nbsp;LV menus for a comparison tool. If it is there, it is either in an illogical spot or it is called something th...

Input &quot;Microsoft Paint&quot; in Labview
HI, &nbsp; This is my first post in this forums, How can i input "Microsoft Paint" in the labview and using it&nbsp; ? actually i know to use active X and input it , but i don't know how to use this method . &nbsp; Thank you for your help &nbsp; from &nbsp;0852 This is a multi-part message in MIME format. ------=_NextPart_000_0050_01C7F15E.3EB493B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 UGFpbnQgaXMgbm90IGFuIEFjdGl2ZVggb2JqZWN0LCBzbyB5b3UgY2Fubm90IGVtYmVkIGl0IGlu dG8gYSBmcm9udCBwYW5lbC4NCg0KSWYgeW91IHdhbnQgdG8gZGlzcGxheSBpbWFnZXMsIHlvdSBo YXZlIHRvIHVzZSB0aGUgYnJvd3NlciBjb250cm9sLCBvciBhIG5hdGl2ZSBMYWJWSUVXIHBpY3R1 cmUgY29udHJvbC4NCg0KUmVnYXJkcywNCg0KV2llYmUu ------=_NextPart_000_0050_01C7F15E.3EB493B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu dD0idGV4dC9odG1sOyBjaGFyc2V0PWlzby04ODU5LTEiPg0KPE1FVEEgY29udGVudD0iTVNIVE1M IDYuMDAuMjgwMC4xNDk4IiBuYW1lPUdFTkVSQVRPUj4NCjxTVFlMRT48L1NUWUxFPg0KPC9IRUFE Pg0KPEJPRFkgYmdDb2xvcj0jZmZmZmZmPg0KPERJVj48Rk9OVCBmYWNlPUFyaWFsIHNpemU9Mj5Q YWludCBpcyBub3QgYW4gQWN0aXZlWCBvYmplY3QsIHNvIHlvdSBjYW5ub3QgZW1iZWQgDQppdCBp bnRvIGEgZnJvbnQgcGFuZWwuPC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBmYWNlPUFyaWFsIHNp emU9Mj48L0ZPTlQ+Jm5ic3A7PC9ESVY+DQo8RElWPjxGT05UIGZhY2U9QXJpYWwgc...

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;self reference&quot; vi labview 7
I'm searching in Labview 7.1 for a "this vi" reference node but can't find it. I know that it is possible to create one, i once did it. In higher versions of Labview it is available from the palettes. Do you know a solution for Labview 7.1? Hi vlipje, you don�t need it. You can right click on the property node and select "Select class -&gt; VI Server -&gt; VI -&gt; VI". This should also work. Mike To get the reference to the current VI: File I/O &gt;&gt; File Constants &gt;&gt; Current VI Path wired to Application Control &gt;&gt; Open VI Reference. This reference can be passed to a subVI over a VI Refnum control. For working with the same VI the method of MikeS81 is prefered. Thanks Mike, this is a nice and clean solution, even better than what i had in mind.. Indeed MikeS81 solution was what i was searching for. This one is also an nice solution, thanks ...

&quot;unsigned char** pImgData&quot; How to call in LabVIEW
HI, &nbsp; I am calling a DLL in LabVIEW8.5 by using "Call Library Function Node". I can able to access all the functions and getting&nbsp;exact results. But for the below function LabVIEW is crashing. &nbsp; void SFCCU_GET_IMG_RAW_DATA(unsigned long *length,unsigned char** pImgData,unsigned int iCamObj) According to the doccumentation of the dll provided, pImgData is 1D array. I tried the same dll in VC++. I can able to acheive the result of he above function properly. I attached the Call Library Function Node.vi's prototype with this mail what i have done. It seems to be correct. But i dont know why its crashing. Please tell me wether i am calling properly or not. if not, kindly suggest me how to overcome it. &nbsp; Thanks in advance for the help, Please help me, Thanks, Sams. Prototype in LabVIEW.JPG: http://forums.ni.com/attachments/ni/170/296907/1/Prototype in LabVIEW.JPG ...

Web resources about - How to interface the Labview and Simulink (Matlab) without using the &quot;NI LabVIEW Simulation Interface Toolkit&quot;? - comp.lang.labview

Resources last updated: 3/19/2016 3:45:49 PM