Jump to content

jbrohan

Members
  • Posts

    85
  • Joined

  • Last visited

Everything posted by jbrohan

  1. Great I'll be coming from Montreal. Anyone care to share driving? I live near Fairview. John
  2. QUOTE(eerc @ Mar 2 2006, 08:12 PM) If you execute the email vi's too frequently you get an error. I looked for mail every 5 minutes (OK) but the same program failed at every 1 minute. My solution is to move the problem to a php script on a webserver and use cURL.exe Even there, forwarding all your email to a php script directly works like a charm and simplifies the logic because it will fire for each email. You'll find the text on sysin! | php -q /home/mydomain/public_html/myfolder/emailprog.php > /dev/null John
  3. QUOTE(Michael_Aivaliotis @ May 22 2003, 01:18 PM) Is this to measure the flatness of a hockey rink for example. Do you need a gadget to attach to a Zamboni (Impressive instrument for resurfacing skating rinks) to draw a map of surface irregularities, with the assumption that the underlying surface is flat. I'm always interested in projects, but a few more clues would be welcome? John
  4. QUOTE(Justin Goeres @ Oct 31 2007, 03:54 PM) This is really interesting. However, why not try to do better than just fighting, which seems to often get lots of people in trouble. Why not a vi which can find the capabilities required in the specification and add them in to a started-off-blank VI. For example if the specification called for a prime_number test on a particular wire then the "scripting cooperator" would locate our origianal poster's homework and slip it in.
  5. A popular post has many contributors. Is there a way to expand the whole correspondence, or everything newer than "this post"? The probem arises when I click on a line in teh correspondence tree and it redraws just the initial post and the reply, very slowly. I find it difficult to check out what many people have said on a topic. I use Firefox. John
  6. It is possible to add a new tag just for the comment [PID] p=2.12 i=0.1 d=0.023 pidcomment="These values come from the autotune in Pinsk-PID.vi" [othersection] ... Of course you never refer to pidcomment in the program.
  7. Hi Dops Thank you very much for your most informative posting. It runs but does not recognize anything I say, even with a French Accent! I get an error when (LV7.0) it loads the SRModeID into the CharacterEx. What is that long string of letters and numbers? it is not in the Registry! Is there any callback for when it hears something but does not know what it is? This would assure me that the Speech Recognition system is doing something. At present I can't see what it's up to? I hope I can get this working, it's so short and will be so neat to implement in my program! Bonjour de Montréal John
  8. Hi Guys I don't think that it's as bad as you are suggesting. There is a small C++ example which shows the internal processes of interpreting a spoken phrase from a random speaker. For example the spoken phrase "1234" goes through several hypotheses like "one to free four". "one to threee four" and then "one two three four" and finally "1234" This technology has come a long way. The logic is complicated, but it's well hidden in an Active-X. The main contender for speech recognition is "Dragon Naturally Speaking" and the same active-x can load that engine in place of the MS engine with apparently nothing more thna pointing to it. I haven't done this yet. The example image is from a "Command and Control" grammar about Solitaire. The Vista uses the 5.3 version of the SDK, and it's integral to the operating system. XP uses 5.1 and you have to download it. The C++ example "Reco" is *nearly* fine for my purposes. My problem is that I don't know the syntax, I jumped straignt from C to LV 2.0 and didn't really work in OBject Oriented C++. The Labview has the same difficulties of the Object Oriented approach to a complex (though well documented) interface. If anyone wants to dive into either the C++ or the LV (preferrably a 7.x) I'll be happy to cooperate. John
  9. Hello I need to interpret some voice comments recorded on a voice mail. The 'Speech' in question is a structured comment on the sounds in the voice recording. There are several LV examples but I cannot get any to work. I use Win XP and LV 7.0. In the MS package there are some C++ examples which compile and work right out of the box. I assume that this means I have all the ActiveX components required. Does anyone have a good example of LV voice recognition, or even Grammar building. The speech engine is totally mind-blowing. You can limit its vocabulary to a small set (solitaire words for example "play the red queen") which improves the recognition. I would not be surprised to see speech recognition as an important input route for LV. There was a chap the other day trying to get a reading from a DMM when the signal was stable, presumably both hands were busy and he needed a way to trigger the acquisition. Yours Sincerely John
  10. Hi Irene What did you do 'inside' to make it compatible? Yours Sincerely John
  11. Thank you Eugene This is most helpful and instructive. It's a much better solution than I've been using up to now! Can I add hree comments (hopefully helpful) 1) The Flatten to string is not required if you format the queue as a cluster. 2) The split 1D array can be moved inside the case statement 3) The Buffer Size check can be moved inside the case too Yours Sincerely John
  12. Hello I do not know about the ASPX But I do this a lot with websites written in PHP. The cURL.exe program works very naturally and conveniently. In the case you want for example to return some values from a web program, you simply execute the php program with the $_POST parameters from cURL. You run a System_Exec function from LabVIEW. Good Luck John
  13. I have a LabVIEW program which access some pages of my Website to download images and conduct MySQL transactions. The subject domain is Medical / Wound Care / Wound Images. The deployment is hopefully wide with many Windows customers using the program. The program is distributed on a memory stick as it happens, so one user may plug it into different computers during the day hoping to access the web site. I am using cURL to pass the http requests. In the setup part of the program I have the Proxy Server, Proxy Port and User name and Password stored on the memory stick. It is hard to check all the proxy configurations out there…My plan is to test for Access to my Website without proxies, if this fails apply the proxy information to the cURL command line. Does this make sense? Is there any location on a Windows computer where the proxy information can be reliably retrieved? Thank you John Brohan By the way smercurio... posted a helpful vi to test it there is any access to the web (thanks) at http://forums.ni.com/ni/board/message?boar...=276144#M251808
  14. Hi Jon This looks very useful. Could you kindly post the Block Diagram as a JPEG since I am still on LV 7.0. I'll post it back if you like! John
  15. QUOTE(EJW @ May 3 2007, 03:58 PM) This is a very interesting idea. I have been fiddling with USB memory sticks lately and found that there is a program which executes when a USB memory device is plugged in. There is one in Windows XP and there is a commercial one with my digital Camera. I don't know how to write these programs, but there are examples out there. The examples I report just show the contents of the USB memory. Please let this group know if you find out more about this! John
  16. I use cURL. It is a very powerful way of interacting with websites. You can upload and download any type of file and start web pages. This is very handy to run .php files from your Vi. http://curl.netmirror.org/docs/faq.html John
  17. QUOTE(Gary Rubin @ Jun 20 2007, 12:12 PM) I'm using TightVNC for something similar. I'm developing a DAQ based application in my office and the client checks it out every day by running it remotely. It's kind of weird seeing the cursor move around and open up menus and change values. It works well since this application is rather slow paced. The following extract from my documentation (edited!) explains about using the system in a normal dynamic network. These items were not clear to me when I started, and there may be others who do not know and need to. Yours Sincerely John The Avalanche computer is a member of my home network and has the address of 192.168.1.93. This is a private address and cannot be accessed from outside. The real IP address of my home network varies from time to time outside my control. We need to ensure that some unchanging name (xxxxxxxx.gotdns.com) always points to the real IP address of this network. This is done by a service (free) of dyndns.com. Username xxxxxxxx password xxxxxxxx in every case for this service. There is an updater (dyndns.exe) running as a service on the Avalanche computer. It updates the web site at dyndns.com in such a way that the address xxxxxxxx.gotdns.com always points to the Avalanche computer in Montreal or in xxxxxxxx. xxxxxxxx.gotdns.com points to the IP address of the whole home network. It must be got to point to one particular computer. This is done by modifying the router to assign the port 5900 to 192.168.1.93 in this case, or whatever you assign it to in your network. This operation will need to be repeated in xxxxxxxx and again when the machine goes to xxxxxxxx.
  18. QUOTE(yen @ Jun 18 2007, 02:42 PM) Hello Yen I should have referenced your contribution to the USB project. My post was made in the throes of "tidying up the project" before moving on to something else. This thread meant just as an example of how to do it. The NullSoft installer can install icons and it assembles very neatly all the components to allow ordinary people to install it. Thank you again for your help. It is deeply appreciated, and I'm sorry I did not acknowledge you properly John
  19. I am posting the results of some efforts to get a LV 7.0 compiles program to run on a USB stick. This article shows the scripts and the folder contents, which compile with the excellent Nullsoft software to make a Zip executable which installs the software. The USB stick can be used on an unknown computer running XP or Vista (tested) which does or does not have LabVIEW installed. Where to get Nullsoft http://nsis.sourceforge.net/Main_Page Rationale. My program relates to images used in medical diagnosis of wound infection and healing. Doctors wander between clinics and either they take the data with them in a memory stick, or they use a complex network. Script The script used is in the file Script.zip it is a simple text file. Installer The Nullsoft folder contents are in the FolderContents.zip. These include the lvrt and the dlls that are needed for this graphic oriented program. The cookbook approach is for you to replace wounds.exe with your own blabla.exe and the complie should work OK. I update the program by using this directrory as the target of the build. To execute the installer compiler, run the nullsoft software and load the .nsi file from the folder contents and in a couple of minutes there is an installer.exe ready to be tested or uploaded to the distribution site. Problems.. 1 It's easier to get the autorun.inf to run if it is all in the root directory of the memory stick. Nullsoft installer will not install to the root directory. I just installed it to a temporary folder on the memory stick and then moved it to the root, deleting the temp folder. If you use the action= parameter in the autorun.inf file on many XP computers the list of options on detecting a new USB memory stick includes the wounds.exe program. U3. These memory sticks are sold at a discount. They have two drives and are rather confusing to naïve users. It works fine though, when you get to the right volume. Test the install yourself… http://www.tradersmicro.com/WoundFollowUp/...structions.html Yours Sincerely John
  20. Hello I have an array of text rings and I'd like to initialize them in the program (initialized to the same strings[] but with different values). Solved (in info-LV) The elements are all the same, so you need to initalize the strings[] property of just one. You can get a reference to one element and set its strings. The value simply update the array of the value property.
  21. I bought a new cable and it all works fine.
  22. Hello It seems that the first steps are the hardest. I have a LV 7.0 setup on a new computer and I cannot get it to communicate to FP1000 (Yes I'm old fashioned but these units are GREAT!) If the Firmware is out of date is there still some communication? Or does it sit there dead until I reload the firmware? FP last used with LV 5.1 now I'm using LV 7.0. The new FP just came from NI but I'm using the FP 4.0 software, not the latest version that came with it! Yours Sincerely John
  23. QUOTE(Michael_Aivaliotis @ May 2 2007, 11:25 PM) I'm glad this question has come up. I've been wondering why people embed database access in LabVIEW programs when they can do it in php and make a simple call to execute the php script on the server. In my application I need to for example look up file names on the server and download them to the local PC. The images are of a patient's surgical wound. The PC uses cURL.exe to send a request to execute GetImageFile.php with parameters username. The php program does its MySQL thing and comes up with a list of files, which can be downloaded in another call to cURL.exe. Implementing a databse access on a PC requires a) that the PC be a valid host to the database, and b) it must contain the passsword. I have had difficulties with the hosts when I tried to run a LabSQL program from a friend's location. If the password is on many people's computers it's very hard to change it. If the database access is encapsulated in a web based program on the web server, you have none of these issues, a simple call to a php program is the easiest way to go. It's perhaps a little strange to begin with, but becomes natural with practice. I'd be glad of any feedback from people who have tried this approach. It is especially good for installing database access on a widely used program. It does do away with the need to install drivers! Yours Sincerely John
  24. This is really neat! Can you say a little more about it. For example where did the QuartzTypelib.ImediaControl come from? Did Hytek write it? Can I reasonably expect it to be on a random modern PC? PS Thanks for making it work in LV7.0 Best wishes John
×
×
  • Create New...

Important Information

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