Jump to content

Ale914

Members
  • Posts

    52
  • Joined

  • Last visited

Everything posted by Ale914

  1. Crelf, thanks for friedly words you are right and i may agree with you in different contest, but what i want to do is a very simple test framework, nothing compare with teststand that is "to much" for my needs, i don't want reinvent the wheel What i need is only a test engine able to call a VI passing it arguments and getting results (luaview is perfect for this scope) and test script collection (one script for each VI of my project), this is simple to obtain using lua language. Ciao
  2. Hi Siva, yes it is possible. Try to read at this section http://forums.lavag.org/LabVIEW-VI-Scripting-f29.html Ciao
  3. QUOTE This is true but teststand is expensive and too complicated for unit testing, we need a easier tool for this. I'm trying to develop a unit test framework based on lua and luaview QUOTE(MikaelH @ Aug 20 2007, 05:39 PM) Since the main goal for extreme programming is to reduce the cost of change, I find that a proper OO-analysis and OO-design solves that problem. I've been using GOOP with inheritance since 2001 and I always start with a UML class diagram to visualize my needed classes and their dependencies to make sure changes are easy to add later on. UML break the principles of XP programming that is adaptative and no predictive. usign UML you can obtain a great architecture but - is complicated to cover 100% of requirements because no one know its also the costumer - a great achitecture is complicated to change Ciao
  4. QUOTE(MikaelH @ Aug 21 2007, 06:43 PM) yes, i can confirm. I and a collegue of mine had developed a simple protocoll (XML and TCP based) and a couple of libs, one for labview and one for java, to enable this kind of communication. We use these functions for example for monitoring FP acquisition values due a web browser running a Java Applet and also the libs for building a huge system were labview is the scheduler and java is the UI. Using XML we are able to modify, and also extend the protocol changing only a single XML file and whitout touching the codes. Ciao
  5. as discussed in past " Is anybody using (or considering) agile development methods for G?" this discussion was appear on Openg in 2005 but Labview realy change in this 2 years (Object Oriented, project, ect) so i want move up the topic. I'm studying as XP ( an agile method ) can be applied in LabVIEW development but right now there are some "gray zone". Infact XP, and also all the other agile methods, use testing code as core rule but LabVIEW dosen't have any testing framework like Junit for Java, this may be a great obstacle. Ciao
  6. QUOTE What kind of test do you performed with LUA interpreter? LUA is opensource so there is no problem to adapt (recompile) for our platform, i try with succes to recompile for Linux running on RISC 32 Bit processor.รน The problem may be LuaVIEW because it is a compiled version of LUA + C code to interface it with LabVIEW functions. Right now i haven't any RT system for testing luaview so i would like to know your test result. I also ask for this on LuaVIEW mailing list. Ciao, Alessandro.
  7. what do you think about this Ciao
  8. QUOTE(Michael_Aivaliotis @ Mar 13 2007, 01:48 PM) Ok, do you need some help?
  9. QUOTE(Michael_Aivaliotis @ Mar 12 2007, 11:50 PM) Michael are you interested in Italian translation? Ciao,
  10. QUOTE(sachsm @ Feb 2 2007, 12:22 PM) I agree, a Teststand Lite is a great idea and OSTE was a good candidate to became a smart test manager, any possibilities to restar the work on OSTE? I could put all my experience on LUA to build up OSTE. Ciao
  11. Hi all, what do you think about the possibility to run labview on this device? thanks, Alessandro
  12. This is not true. All NXT kits have the possibility to use BT to alk with other NXT or different device like PDA, cellphone, etc. Ciao,
  13. I heard the same. NI speak about a new (HW) version for cubix, instead to use a multi board architecture use a all-in-one board. Anyway Spot is the cubix killer, look at the price, 499$ for a complete developer kit (include 2 spot boards). Also the technical characteristics are better tha cubix Ciao,
  14. Michael i don't execute a single select of 1000 rows but 1000 select of one field...sure in the first case i obtain a time of 15 ms similar to your. The actual performance are good for my needs. Now my problem is on ADO callback i need to generate a callback when a commit operetion occur on DB. I wrote this simple VI for register the callback but dosen't work at all (no callback is fire) Do you have experience on this? Thanks, Alessandro.
  15. Thank you Michael i try the modify suggested by you and its work fine. Now i have 600ms for 1000 select and about 400ms for 1000 update. Bye, Alessandro.
  16. Hi i'm testing LabSQL with mysql 4 due ODBC driver on Windows XP2 I try different types of simple query but i report poor performance 1000 select of INT about 900ms using Query browser i execute he same query in about 15 ms! i don't know why, maybe a bug in ODBC. Do you have any feedback on performance? Bye, Alessandro.
  17. Did you know that if you open a labview "compiled" .exe file with a text editor you can see all constanst names and values? So if you have a subVI with a constant named "password" simply with notepad you can find its label in compiled code and retrive its value. very very bad. I'm developing a little utilite that change all constants\controll\indicators name in compiled code with an ID. this works fine. Bye, Alessandro.
  18. Today I have build the last version 0.08. This version includes: Tree view for compatible type preview of Vi icon & connectors and descriptions support "wire" and "SubVI" types improve performance bug fixes ---Version: 0.08 ---LabviewVersion: 7.1.x Uses scripting classes! ---License LGPL You can dowload it here Italian LabVIEW user Group Bye, Alessandro Ricco
  19. you can simply put 2 while loop in your main code, one for counter and other one for serial communication. In FPGA the 2 while run really in parallel in your hardware. Bye, Alessandro.
  20. Hi some time ago i develoa a complete user configurable scada system. the goal of this software is to permit user to modify tag definition and graphical sinoptics easiest. To do this i create a software in labview that open , but not run, a template vi inside it using function "setchild windoes" of user32.dll. the results is a single panel with menu button ecc on the top (caler software) and botton a labview FP embedded to it so you can use all the labview function to edit it., rigth click for use control palette. Also i create some codo to deny user to switch to BD and so on. Bye, Alessandro Ricco.
  21. Ale914

    Time

    Hi, this is my preferd solution. In this mode i can get msec time directly and don't use useless data such as year, day of weak ecc. used by "Get Date/Time in Sec" function. Bye, Alessandro. Download File:post-399-1114157424.vi
  22. In not EXE application you can use LV syncronization utility to syncronize two or more application in a network calling the same .llb, for ex queue or semaphore, form all applications... but in EXE you can't do this. In this cases i implement a custom network protocol for share varius information and therefore syncronization data between different applications. The next LV version would implement functionality to develop network distributed applications... it could resolve your problems Bye, Alessandro.
  23. It is possible to develop a LabVIEW application on Linux and running it (executable or not) without user interface from linux shell? thanks, Alessandro.
  24. Select VI Properties >> Category [security] >> Password Protected, choose a password and save all. Alessandro.
  25. I try to change the border color of a while loop or sequence but i don't find how to do this. I can change only the inside diagram color. Do you know if the border color property is accessible? Regards, Alessandro.
×
×
  • Create New...

Important Information

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