Jump to content

cosmin

Members
  • Posts

    27
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Romania

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    2009

Recent Profile Visitors

1,392 profile views

cosmin's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi, just a work I've done few years back, toolkit for power systems simulation. All elements are Xnodes. Cosmin
  2. QUOTE(Michael_Aivaliotis @ Oct 5 2007, 10:57 PM)
  3. QUOTE(hviewlabs @ Nov 21 2007, 02:30 AM) I guess the PackType parameter is refering to the member aligment (how the structures are packed into memory, 1byte, 2, 4, 8 or 16 bytes).
  4. QUOTE(hviewlabs @ Nov 21 2007, 02:30 AM) I guess the PackType parameter is refering to the member aligment (how the structures are packed into memory, 1byte, 2, 4, 8 or 16 bytes).
  5. QUOTE(hooovahh @ May 7 2007, 05:08 PM) Hi, the good thing that comes with these forums is to get started in solving something that you get stuck in, not to expect someone to spend his time to fully solve your problems. If you looked in the block diagram smartly, you could figure out that "count" shows how many usb devices exists, so testing it is usefull to see if something changed in the system (so the rest of the code can be placed in some case structure). If you want to know more, please read msdn. cosmin
  6. QUOTE(EJW @ May 3 2007, 10:58 PM) Hi, here is a sample which looks at usb devices connected. It uses .NET. cosmin
  7. QUOTE(nipon @ Apr 25 2007, 01:20 PM) Hi, change the "input value" from empty constant string to control string and put 256 characters in it, to create the buffer cosmin
  8. QUOTE(victorpiper @ Mar 16 2007, 07:21 PM) hi, just count the number of bytes from the Input structure http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputstructures/input.asp' target="_blank">http://msdn.microsoft.com/library/default....tures/input.asp cosmin
  9. Hi, maybe this is usefull for you http://www.codeproject.com/file/SummInfoPropSetFile.asp cosmin
  10. hi, here is the 7.1 version, the dll and vi are different from the 8.2 ver because of the __int64 var cosmin Download File:post-4089-1164628593.zip
  11. hi, see if the dll and vi works for you cosmin Download File:post-4089-1164553243.zip
  12. Hi, i'm just posting the easier way to do "class by reference" example, just because nobody postit yet cosmin ooops Download File:post-4089-1158784523.zip
  13. hi, actually the issue with mclInitializeApplication and mclTerminateApplication is not a bug. Mathworks web site says that mclInitializeApplication must be called only once per application. So in our case that application is Labview.exe. In the wrapper dll it must be created an init function and close function, to call only once mclInitializeApplication and mclTerminateApplication cosmin
  14. Hi, I've taken a little of my time to put something together, so you can get started. Look in the attachment for VI who use magic function from Matlab. mymagic.dll was created with matlab compiler, and Lmagic.dll is a wrapper for calling the magic function in Labview. Actually the magic.m is an example in Matlab help about how to create shared libraries with Matlab compiler. P.S. the test.vi has a bug in it (I do not have time to look deeper), it works only once. It seems that the mclTerminateApplication function does not terminate de mclapp or is something else. Look in the Mathworks docs for some more info. You have to exit labview for the mclInitializeApplication to work again. cosmin Download File:post-4089-1156256245.zip
  15. Hello, i don't think you can call functions from matlab built dll directly in labview. You must create a wrapper dll, which initialize the mxArray's. cosmin
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.