Jump to content

Alby

Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Posts posted by Alby

  1. Hi anyone,

    I need to prevent a user to close an Excel session by clicking on the X symbol in the right top or in other ways from inside Excel. The reason to do this is because the Excel session is opened by LabVIEW and I need to close it by LabVIEW; on the contrary (clicking on the X symbol of Excel) it's impossible to open an Excel session from LabVIEW again (the refnum is not cancelled by the same application). I think the better thing is to hide the Excel title bar in some ways but I can't find out the right way. Is there someone who can help me?

    Thank you

  2. Thanks to your very important advices finally I did it. Here is a little example where the use of a structure is done. If you'll run the VI "TestScheda_1.vi" you'll know how many audio devices are available on your system and what's the name of any of them.

    So enjoy yourself and make me know if the attached VI works on your system without any problem.

    Thank you again the all of you for help :thumbup:

    Download File:post-3754-1137774082.vi

  3. Download File:post-3754-1137613874.zip

    You can usually build such structures by using a cluster (in this case it's simple since the structure only has simple data types). To get the value by pointer you set the parameter to "Adapt to Type" and wire the cluster you built into the input. This will cause the DLL node to allocate the memory for the structure and will feed it into the output cluster.

    Note that some of the parameters are byte-order sensitive and that to wire in constants you need to know their numeric value (which can be found in the header files). More information about working with DLLs can be found here.

    Something similar to the file attached? But it didn't work at all yet :headbang:

    Any idea?

    Thank you

  4. You can see one example for this here. Unfortunately, since LTR (where those VIs were published) went out of business, those VIs are no longer available on their site. I may have some others in one of my other computers, but I will need to search for it.

    If you want, you can try going to the MSDN (Microsoft Developer Network) and read more about the other functions available in GDI32.dll, but unless you have some experience with calling DLLs from LV, this may be hard for you. There are some tutorials on NIs site for working with external code.

    Thank you so much, I'm trying to manage DLL in LabVIEW but I have a lot of problem :headbang:

  5. Anyone interested in changing the shape of a Front Panel ? :thumbup:

    Hi, this is my firs time here. I didn't Know there were any chances to change the shape of a Front Panel but I'm very interested in doing it. I'd be glad to know the way to do it.

    So long

×
×
  • Create New...

Important Information

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