Jump to content

HeLo

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

3

1 Follower

About HeLo

  • Rank
    Active

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 2009
  • Since
    1989

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. And it is here again: I just installed LabVIEW 2016 on a Windows 10 virtual machine (Parallels 11.2.2) on a mac with OS 10.11.6 - and - none of the above procedures work: Ctrl-Shift-A does not work at all, others from time to time. Then I also noticed that scrolling in the macintosh version of LV 2016 does no longer work reliably - I can't use the scroll wheel anymore to browse through event-, case- and other structures (I need to try 3 to 5 times, until something happens). It looks to me as if NI uses its own special functions to receive keyboard and mouse events instead of using the standard operating system functions - as all other programs work fine. Now, as there is obviously a non negligible number of LabVIEW-developers using virtual Windows-machines on a mac, I would really enjoy NI to check into these issues. Herbert
  2. I converted the QuickDrop plugin into a JKI RCF-plugin. Herbert
  3. Hi Eric, I saved the vi for 8.2 Regards Herbert Wire to BuildArray_Bundle 8_2.vi
  4. Hi all, having suffered a lot from cleaning code of somebody that had not heard anything about Loops or Clusters, I sat down to study scripting and produce my first Quick Drop plugin. Use of the Plugin: Select the objects you want to wire to a BuildArray or Bundle function and invoke the Plugin ("shift" for Bundle). The Plugin then creates the function with a matching number of input terminals and connects the objects to the function. For sure, there are ample possibilities to improve/expand the Plugins functionality. Herbert Wire to BuildArray_Bundle.vi
  5. hi torekp, this solution looks to me simple and lean. Another solution would be to run a Telnet server on your spec computer and start your program through that server. I implemented this about a year ago in a virtual machine in order to simulate an instrument, with which we communicated through Telnet and FTP. However, this would only be an advantage, if the Telnet server were running anyway and was eased in my case by having the Internet-Toolbox of NI available. Herbert
  6. Hi, I would like to prepare a collection of runtime menus for graph indicators, store them as .rtm-files and load them during runtime, depending on the data displayed. However, I could not find a possibility to do this. Am I right that the only way to do this is by using subvis with appropriate strings, fed into the menu functions? Thanks Herbert
  7. Thanks Aristos, so I just have to plunge into LVOOP and do some tests. Herbert
  8. Hi! as my projects become larger, I feel that OOP is the way to go in the future. However my concerns are with memory management. I have to deal with large data junks, means 4x2 MB of 16 bit integers that need to be converted to doubles, in order to do the number crunching needed. In total that makes 64 MB just to hold one copy of the data. Following the recommendations, published on the internet, I actually store the data in smaller junks in a queue and do all "junkable" operations in for loops. Now my question is: Using OOP, do I have to use queues as well to avoid unnecessary data copies or is OOP freeing me at least from some of my concerns? In other words, is there some resource to find out, when data copies are produced in OOP and when the processing occurs in place? Thanks
  9. Hi all, although knowing and profiting from the forum for quite a long time, I used it mainly as a source to improve my LabVIEW coding and felt that the professionals for sure know better than myself. Now, as a possible contribution please check my teaching software written in LabVIEW on my my website. If anyone is interested in getting the source code, please ask. By the way, I started to write such code with mathematica in 92 but soon discovered that it was much easier to do it in LabVIEW. Although doing heavy math in LabVIEW is not the thing I would recommend to others, the ease of creating a nice and handy user interface outweighs the disadvantage of difficult to read formulas. Furthermore, the longer you do it the more you get used to it. Another advantage I noticed is the speed of LabVIEW. In my tests, my LabVIEW code always outperformed equivalent Matlab, Mathematica or other code. Recently I transcribed a program from Java and got a speed increase of at least a factor of 2 (I did not check whether the published Java code was optimized). At last thanks for the invitation to speak up in this forum, dominated by LabVIEW cracks. (I think thats just normal in as much the forum calls itself "LabVIEW Advanced Virtual Architects" ) Herbert
  10. Hi Cris, I am guessing that in your matlab code you minimize the square of the distance of experimental and theoretical values. This means, you are minimizing the sum: "sum of (Re_theortical - Re_experimental)^2 + (Im_theoretical - Im_experimental)^2). This means that you should be able to easily implement this with reals only: Arrange your experimental data for example such that y0=Re(z0) and y1=Im(z0), y2=Re(z1), y3=Im(z1), .... and the acquisition times are t0, t0, t1, t1, ......... Now, what you have to do is write your fitting function such that it computes the real part of the theoretical function for even indeces and the imaginary part when the index is uneven. In terms of speed, I would use a case structure and toggle between false and true. Then, if it is possible to calculate the derivatives analytically, I would code them in the same manner. Maybe, this description is a little short but please ask again, if I am not clear enough. Herbert
  11. Thanks's a lot to the great LAVA-Team! Herbert
  12. Hi Community, in some applications, I would like to give the user the option to leave some windows open that have received data from a master-vi. As far as I know there are several concepts, for example starting independent vi's that then communicate through shared variables and so on. However, in order to have full access to all the methods and properties (trigger events by writing a "value signaling" ...) in the independently running vi, I came up with the attached solution. Do you think this is too complicated and how do you solve such request? I hope that the code is pretty self explaining and I included a compiled version in order to show that it works also as a compiled application. Herbert
  13. Hi, although it works this way, it is not working as expected: I have put another transparent, green triangle in between the two existing, observing that you can see through both blue and green only, if the green triangle is added to the scene before the blue. Then I checked and tried to see through both from behind. Looking from behind however, transparency is lost. Transparency thus seems to be implemented as an optical diode - not what you normally observe in nature. Herbert
  14. Hello friends, I finally expanded the TIFF-reader of .. (found somewhere, before sometime) to a hopefully good level of usefulness. I tested it on a Mac, but it should work on other machines as well. The reader accepts BW Gray 8,16,32 bit Gray 8 with LUT RGB 8,16,32 bit as well as documents with multiple pages. It does not accept compressed TIFF. In the hope that many will profit from this code . Herbert [moderator note] The attached file(s) could not be found due to server error.
  15. QUOTE(tcplomp @ Jul 19 2007, 07:59 AM) :worship: I can even hit twice and advance to the next control! Thanks!!
×
×
  • Create New...

Important Information

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