Jump to content

LAVA 1.0 Content

Members
  • Posts

    2,739
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by LAVA 1.0 Content

  1. The issue here is more that you still are not telling us how do you want to compare the waveforms. There are million ways to compare two waveforms. We can only help you in LabVIEW related stuff, but we cannot help you if you don't describe in detail what and how do you want to compare your wavefroms. - Are the waveforms of equal sampling frequency? - Do both of the waveforms start at the same moment i.e. are of equal length? - Do you need exact match between the waveforms or something less strict? - Are your signlas noisy? - Do you want to compare the signals point-by-point, in a certain time-window, or on frequency domain? The lists goes on, you have to know what you are after at?
  2. Sorry Crelf, my answer just didn't fit to the form you gave. I have no experience on other tools. I cannot compare Visio against other tools. I really don't know if it is especially good or bad. However it does the thing for our 1-3 developer projects. Name: Microsoft Visio Website: Official: http://office.microsoft.com/en-us/visio/default.aspx Wikipedia: http://en.wikipedia.org/wiki/Microsoft_Visio License: Commercial license, academic institutions get large discounts Description: Fairly simple to use yet quite powerful tool for drawing various kinds of UML diagrams (and lots of other things as well). Has lots of UML components to built the UML diagrams up from. I've been using the tool in fairly simple projects and mainly to define class hierarchies and class relations but not anything else although it should be powerful enough to be used with quite complicated UML diagrams. Recent versions of Visio Enterprise Architecht integrate with MS Visual Studio to allow automatic code generation from UML diagram and automatic UML diagram generation from code, naturally however LabVIEW is not one of the supported languages. How Long: 2 years How Often: Every major OOP project How Many: 1-3 Pros: Easy to integrate with Word documents and Powerpoint presentations. However, I really cannot answer this questions as I don't have experience on other tools except pen and paper. Cons: I don't have experience on other tools except pen and paper. Notes: There are multiple different versions of Visio available. The one I use is Visio 2003 Professional. Purchase a license for the one that meets your demands. Enterprise Architecht is the most powerfult one. It may be that Visio and the Visio UML Package ships currently with the Visual Studio 2005. I'm not certain if UML package ships with newest versions of stand-alone Visio or does one need to purchase it with Visual Studio license. There is no LabVIEW Advanced Virtual Architect version available yet...
  3. I don't know if it's really my favorite but I've been using Microsoft Visio Professional 2003 as it's part of our Academic site license for no extra cost. It can be used to draw many types of UML diagrams, altough I've mainly used it for drawing class hierarchy and class relation diagrams. I think too detailed UML modelling is not necessary, more important is to keep the UML models up-to-date as the design changes during the development phase.
  4. We defenitely need a LabVIEW driver for Wii Remote and for Wii Nunchuck.
  5. There should be a way to inherit properties and methods of build-in LabVIEW control to the properties and methods of an XControl. If XControl front panel consists of more than one control, developer should be able to choose one control to inherit from. This is a must for XControls to really be usable. Very common use case for XControls is to extend the functionality of built-in control in a much a same fashion as one can extend functionality of an OOP class. In pseudo language a user defined XControl should be able to look something like the following Class MyTreeXControl extends TreeControl implements XControl { ... }
  6. Your question Michael reminds me of one XControls related question of mine that still is unasnwered. Is there a way to inherit properties and methods of build-in LabVIEW control to the properties of an XControl at least in a case where XControl front panel consits of only one built-in control. The idea would be to extend the functionality of built-in control in a much a same fashion as one can extend functionality of a OOP class. I haven't found a way to inherit these build-in properties and methods but maybe some LAVA readers have...
  7. PJM could you post VI that has the problem here to the forum?
  8. Both suggestions taken into account and the VI modified respectively. The attatchment is for LV 8.0. Download File:post-4014-1166742406.vi For safety I think you should check that you are in the same column but you could ignore the row check in Mouse Up event (as I did in the v1.1 of the example).
  9. - Events Mouse Down and Mouse Up give you information if something is dragged on the control - MCListbox >>> Invoke node >>> Point to Row Collumn gets you information where on the control mouse down and mouse up occurred (row, column) but doesn't tell if anything was resized - You can however see if something was resized from the fact that the control FP image changes, so by comparing the image of the control from Mouse Down Event and Mouse Up event you know that the control has visually changed. - If both mouse down and mouse up occurred on row -1 and same column, you know that the visual change cannot be due to anything else but resizing (if user cannot change header row strings) - From mouse down and mouse up event Coords you can then find out how much the column was resized Complicated but should get you there... Perhaps you want to post the final solution to the code repository Edit: I wrote you a functional example Download File:post-4014-1166738035.vi
  10. :thumbup: Good suggestion, even I learned something
  11. BBC World TV channel is, I think, one of the best news services on the globe... If you cannot access the TV channel, check out news on BBC web site. If you like (sports) cars, check out Top Gear, the best car show ever (you may try to search for the epsiodes in your favorite video tubing service...). I would btw be interested to follow Aljazeera new English language news channel sometimes just to get more extensive view of world news... My cable operator just got it to their serivce portfolio with 4,50€/month.
  12. You are partially right Yen, I missed this news. Although I cannot agree on the fact that European news cover World news on some lesser level, rather the emphasis is different. For example how many of you today noticed a news story that "Libyan court sentenced five Europeans to death on political basis accused of using HIV to kill children in a hospital". EDIT: I think this discussion is reaching the point referred in Godwin's Law
  13. both of them can be..but i prefer first of them...
  14. Well, it's not my web site but the web site of HDF5 group that manages HDF5 standard. I just wrote a LabVIEW wrapper for the library.
  15. I wrote a well performing HDF5 1.8 API for LabVIEW (Windows). It is flexible, well performing and there is an API for C,C++,Java, Fortran, Matlab etc. The API is for LV 8.0 or newer and it's currently at pre-release stage. We're planning to release it when HDF5 1.8 is released. HDF5 1.8 is currently a prerelease version, although it's very stable. If you want to beta test the package, please let me know.
  16. Ok. Check if you have the following node in your version of LabVIEW: "Register for Event Callback". This node is used to register a LabVIEW VI to be called when ever a .NET or ActiveX event is generated. When you register the callback VI, you can define which parameters are passed to this VI. If you select to pass a .NET object reference to this VI, you can then from this VI use the .NET method of that object to set the what ever value you want to pass to C# code. If your class has a method "Log" you can call this method from the callback VI and with a parameter that you want to log. Since LabVIEW doesn't use references for normal wires, you should use some other method to pass the logged parameter to the callback VI from the main program. The alternatives are You write the parameter to a queue when ever the value is updated. You pass the queue reference to the callback VI together with the .NET object reference. Then both the queue and the .NET object are accessible from the callback VI. You use functional global i.e. uninitialized shift register to store the value. If you do not know about uninitialized shift registers, forget this alternative You can update a front panel control in your VI for which the logged variable is local. You can pass the reference to this front panel control/indicator to the callback VI. You can use global variable or shared variable. This is easy but not recommended. I'd prefer the first or second alternative. To pass a callback VI reference to the Register for Event Callback node, use static VI reference constant and link it to your VI by right clicking the reference and then selecting Browse for path... EDIT: If this is too complicated, there is a simple and straight forward alternative. You call .NET code by calling a constructor for a class and maybe some other methods Well write a method for this class, something like "setValueFromLabVIEW". Wire the reference of the .NET object you created with the constructor to the loop in which you have the value you want to log. Then simply call setValeFromLabVIEW method of your .NET class. Do this by right clicking on the .NET object wire and selecting create -> Method for X.Y class. This places the method call to your LV diagram. Then you pass this method the arguments you need by wiring the arguments to the node you just created. This way your problem is transformed in to a new problem, how to access a value of my .NET object from C#. This is much more trivial to you, although it may not be trivial to most of us. in the loop where your constant is available, use this method to set
  17. IE as part of a dialog box.... I have a version of this that I use for dialogs. You can load JPGs, PDFs, MHTs, and other IE compatible file types into the box. I use it to load hook-up diagrams and other documentation that I might need to change/replace externally... Download File:post-949-1166185989.vi
  18. You should use events to do the trick. Check the examples below to get an idea how you can use events to communicate between .NET and LabVIEW processes. You can either set LV to generate .NET event or you can set .NET event to to catched by LabVIEW. labview\examples\comm\dotnet\Events.llb\NET Event Callback for Calendar Control.vi labview\examples\comm\dotnet\Events.llb\NET Event Callback for DataWatcher.vi
  19. I had similar behaviour for one specific project a while back. I never figured out what was wrong. You may try the following. Open LV and create a new VI. Then close all windows visible such as tools, context help, all functions palette, controls palette etc. Last close the VI. Then try opening the project.
  20. What is especially interesting is the fact the Microsoft released a Microsoft Visual Programming Language together with the Robotic Studio. It's a some sort of dataflow language, not too similar to LabVIEW however. The UI of the language is slow. The programming seems to require some typing to define variable names and conditions. I think that the language is still more like an prototype, but it's interesting that there are alternative players on the market besides NI. The Robotic Studio required .NET 3.0. This makes me beleave that the Robotic Studio is based on Windows Workflow Foundaition (WF), which is a kind of framework for defining workflow (read dataflow) languages. WF could open the door for the development of real OpenG language indipendent of LabVIEW.
  21. As a side note, if LabVOOP later will support concept of interfaces similar to Java interfaces then the class hierarchy I proposed allow by-reference classes not only behave like by-value classes but these classes can also really implement "LabVIEW Value Object" interface.
  22. This is a good point. There should be some solution to this problem, some sort of debug mode. Thanks, I agree with you that wires should look different but only by default. You can make by-reference objects that act like by-value objects by overriding default copy-constructor of the class. In these cases you may want the wire to also look like by-value wire. Some sort of dashed line for reference objects would be perfect.
×
×
  • Create New...

Important Information

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