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. QUOTE (Eugen Graf @ Jun 24 2008, 06:58 PM) Hi Eugen, http://forums.lavag.org/Special-LabVIEW-version-wish-t3046.html' target="_blank">This thread may be of interest to you. I did at one point create a VI that would produce a 3d hiarchy of an application. Sub-VI's were distributed along the base of cones were the caller was the apex. Shared VI would be placed in a central cylinder. Since that code was written using the public beta version of the 3d picture control, it only supported a very small screen so I was disappointed with the results. I have not returned to that game ever since. Ben
  2. QUOTE (Yen @ Jun 24 2008, 01:09 PM) QUOTE (mballa @ Jun 24 2008, 11:25 PM) Here are the basic ones that I have from my archives. It looks like it is using the same dll call as yours but there is an enum or ring that stores all the key codes. There are also some demo programs to show how to do multiple key presses. http://lavag.org/old_files/post-584-1214364339.zip'>Download File:post-584-1214364339.zip Thank u ... it is helpful....
  3. Unfortunately LabVIEW RT currently (version 8.5) does not contain the necessary driver stack to support USB devices other than USB memory devices. More info from ni.com Christian
  4. I have struggled a bit before noticing that if I have a graph overlaid ever so slightly over an intensity graph, adjusting the scale of the intensity graph using the scale legend buttons does not fire a "scale range changed" event (even though the intensity graph is actually updated). Interestingly, changing the scales manually (by modifying one of the displayed number on the scale) still fires an event. It may be more general than that, but this is annoying enough for my purpose. If anybody wants to check this out, I have attached two simple Vis that illustrate this phenomenon. I have reported the potential bug to NI. Best, X
  5. QUOTE (tcplomp @ Jun 24 2008, 05:49 PM) Cool, exactly what I need !! :thumbup: Thanks Ton
  6. QUOTE (Justin Goeres @ Jun 24 2008, 12:18 PM) Ring>>> Mouse Leave Event hides ring? Ben
  7. Hi, Is there a way to programmatically detect if there is one or 2 (or more) screens connected to the computer ? What I'd like to do is to detect the presence of a second screen, and if it's connected display a window on the second one. I guess it will be different on Windows and MacOS X, so my question is for both of them Any idea ?
  8. Hi Carlos, Please provide some sample code that includes data illustrating where you need assistance. These 3-d graph questions are challenging enough without having to start from scratch. Trying to help, Ben
  9. QUOTE (Eugen Graf @ Jun 24 2008, 10:06 AM) Check out http://forums.lavag.org/Event-Value-change-during-the-change-and-not-at-the-end-t7388.html&pid=28049' target="_blank">this thread for some ideas. Once the mouse down is detected, move a hidden off-screen ring to over-lap the cell and set screen focus to it. Just trying to help, Ben
  10. Hello, I am writng a vi to simulate the keyboard. basically i need to send in some commands to a Hardware (running linux) using plink. i could not do it by using the System exec.vi and hence thought let me write a vi which will open up a "cmd" (command line prompt) and let me type what i need to type in it using LV. So i am using the user32.dll for accomplishing the same I manged to get 60% of the vi but do not know how to simulate certain keystrokes like " / ? * ^ & and other things. one thing i found that to simulate the * (which nothing but "shift" followed by "8") u have to pass the value 16 (for shift) and 56 (for 8) but dont know how to perform the ? or ? operation.(pasing ascii equivalent * as 42 didnt helped me) Please see the attched vi...Its very basic (i didnt managed to write it in a professional way ) also loked at the ASCII table but some of the decimal equivalent values didn't helped me out...
  11. QUOTE (jjylf @ Jun 24 2008, 02:30 PM) Hi, I think you have to format your number into string before sending it and then scan number from string after receiving it. Tools for this are located in the string palette. http://lavag.org/old_files/monthly_06_2008/post-7452-1214311562.png' target="_blank">
  12. QUOTE (jjylf @ Jun 24 2008, 11:21 AM) If you execute in highlight mode you will see why it can't work QUOTE (jjylf @ Jun 24 2008, 11:21 AM) I removed the stop button connection, and it worked. Thank you very much! You're welcome There are different way of stopping several loops with only one button, do you need help on this ?
  13. QUOTE (jjylf @ Jun 24 2008, 10:58 AM) Developing this program I first made two while loops, (1) and (2), and it executes well in paralell. Then I added the last (3) while loop for meassurements and it won`t execute. Not untill i press the stop button for the first (1) while loop. But I want all three to run in paralell. I`m using the "Wait Until Next ms Multiple" VI with 50 ms in all the three while loops. I do this because the sampling period from the java simulator is 50 ms. Any suggestions to what might cause the last (3) while loop not to run will be greatly appreciated. Thank you. Hi jjylf, Can you post a screen shot of you main diagram (the one with the 3 while loops), it sounds like there is a dependance between loop 1 and 3, that could explain the behaviour you described. Hope this helps
  14. Hi. In one of the posts I saw something called as "PIPES" which is a part of Labview for Linux version.(which was seen under "Connectivity->Libraries and executables) Is the same thing available on Labview for Windows also? How can i get the same?
  15. QUOTE (sachsm @ Jun 22 2008, 08:33 PM) Thanks Micheal but revert to DAQ Trad is not an option as we will have to support this system for a couple of years ahead. I have to find something similar in DAQmx. QUOTE (sachsm @ Jun 22 2008, 08:33 PM) BTW, nice video Thanks :laugh:
  16. QUOTE (PaulG. @ Jun 20 2008, 07:58 PM) Well... Am I that famous ???
  17. Thanks all for your replies, QUOTE (Tim_S @ Jun 19 2008, 09:10 PM) I'm not locked to the hardware I have, I have a 6221 (not a 6227 which doesn't exist, sorry) because I'm acquiring different signal, but if there is a need for another board I still have a free PCI slot in the computer. FPGA... well I though about it bit I'm really not familiar with and I'd prefer a DAQmx solution, RT is also something I'd like to avoid even if I lose a bit in time accuracy. I like your second idea (counter timers so as to provide a triggered reset line for, say, 100 msec (think of a off-after-delay relay)) I though this could be configured in the DAQmx task setting but I didn't find it. Anyone knows it is possible and how ? QUOTE (neB) How about configuring a triggered acq and set the post trigger size large enough to get the second two chirps. Anther trick that may help is to set-up (configure but do not start) two acquistions for the same channels but only arm one at a time. When one is trggered, arm the second, etc. Just sharing ideas As I said I've looked for a LabVIEW example that does this but didn't find - I might have missed it though. Do you know how to code this ? I hadn't thought of 2 acquisitions, one at a time ; I'll keep this idea in mind QUOTE (Yuri33) Rectify and smooth the signal, that way, you only get one trigger per sound packet. If you need to make things as fast as possible, pipe the processed data back into an output channel and configure the appropriate analog trigger parameters. Or alternatively, if the noise is occuring at a specific frequency, there is a single tone frequency detector VI in the signal processing palette. I believe the VI has a window size parameter, so you can have it process data in packets large enough to contain an entire packet of sounds at a time. You could then generate a software trigger when you detect your particular tone. Hmmm.. At the very beginning I thought I could trigger both the video camera and the sound acquisition at 4kHz (get one image per trigger with the camera and 10 sound sample at 40kHz per trigger), do some signal analysis to find the noise pattern, get the buffer of the moment it started and get the corresponding buffer on the camera. I gave up this idea thinking that it would be alot easier to do with DAQmx and also the noise pattern can be very different from a type of watch to another so I'd have to modify the analysis for each type of watch. Good idea anyway
  18. Hi there, I am facing a problem. I need to login to a Panel (running Linux on it) using plink. I am using the "System Exec.vi" to open up a secure port using plink and getting the needed information, for example to list the "files" in one of the directory i would issue the command plink 10.47.101.22 cd /opt/MAP/etc/db/ ls -al exit exit And i am getting the response without any problems.(a new shell gets opened, and closes when the job is over) Now the problem is there is a "database" in one of the folder and i would like to view/modify the same using "msql" commands. So I log in to the panel, go to the location where the database exists and issue the commands (this how i work manually) But if i use LV and the System exec.vi to issue the command as shown below, A new "shell" opens (like u are opening a command prompt window) and it does not comes out. I have to manually go close this shell to gain the control back. plink 10.47.101.22 cd /opt/MAP/etc/db/ msql -d Users.bdb -o guru.txt (to create text file called 'guru.txt) select * from UserTable ; .q exit exit Now is there any solution to avoid this so that my vi can continue executing without any issues? Is there any other tool or something is available to perform such operation?
  19. QUOTE (Gabi1 @ Jun 20 2008, 09:05 AM) I think this is already planned. I heard of it but I don't remember where... Didn't NI (tried to) show this at the last NI Week? So in future (what ever future means) you can "just" edit a running programm... :thumbup:
  20. QUOTE (Michael_Aivaliotis @ Jun 20 2008, 08:58 AM) It's all pictures of me. How did you find that ? EDIT : for some reason the end of the video is missing (about 10 seconds)
  21. QUOTE (Aristos Queue @ Jun 19 2008, 03:39 PM) Note to self: Include man-eating rabbit in all future demos VI's. Which reminds me... 1) Has anyone else ever seen the video "Pets or Meat?" It was a short included in Michael Moore's "Roger and Me". Crelf, you're hailing from that teritory. You must have seen it. 2) Does mistreatment of stuffed animals count toward the man-eating rabbit req? My wife thought it was cruel when I derivated a bear. Ben
  22. QUOTE (Antoine @ Jun 19 2008, 05:56 AM) This is admittedly a "hand waving" answer. How about configuring a triggered acq and set the post trigger size large enough to get the second two chirps. Anther trick that may help is to set-up (configure but do not start) two acquistions for the same channels but only arm one at a time. When one is trggered, arm the second, etc. Just sharing ideas, Ben
  23. QUOTE (Yren @ Jun 19 2008, 04:20 PM) Hello, Well... First question : have you ever used LabVIEW on other project or are you completely new ? Speech recognition... Ok, that's vast... what exactly do you want to achieve ? Could you tell more precisely your goals, I guess you don't need a LabVIEW program that writes what you speak-up On what part do you need help ? Maybe on acquiring sound ? Maybe on processing the acquire signal ? Maybe something else... Do you know what hardware/software you'll be able to use ? Do you need advice to choose them ? A well set problem is half solved ! Help us to help you.
  24. QUOTE (bbean @ Jun 19 2008, 07:27 AM) THe built-in web-page support is still a "Risk factor" in my apps. My customers that have implemented very simple pages for monitoring have reported success. The very complicated GUI's should not be assumed to work without effort or resources. The methods mentioned by Neville (maybe not shared variables, I don't they are ready for prime time yet) are approaches that I would turn to if I wanted to be comforatble with the success, since I can control all of those factors. So include some experimenting with your intended GUI early in your development. You don't want to have to re-write your app after you find that opening the web-page kills your app. Just trying to help, Ben
  25. QUOTE (tcplomp @ Jun 19 2008, 02:31 PM) Well nothing wrong, just that in my mind my question was only related to software, but now that I think about it, depending on the solution, there is also a hardware part in my question.
×
×
  • Create New...

Important Information

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