-
Posts
908 -
Joined
-
Last visited
-
Days Won
53
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Phillip Brooks
-
Ping with -t parameter
Phillip Brooks replied to n00bzor's topic in Remote Control, Monitoring and the Internet
QUOTE (Antoine Châlons @ Mar 4 2009, 07:00 AM) I think -t is a windows specific parameter. C:\Documents and Settings\Phil>ping -?Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] target_nameOptions: -t Ping the specified host until stopped. To see statistics and continue - type Control-Break; To stop - type Control-C. -a Resolve addresses to hostnames. -n count Number of echo requests to send. -l size Send buffer size. -f Set Don't Fragment flag in packet. -i TTL Time To Live. -v TOS Type Of Service. -r count Record route for count hops. -s count Timestamp for count hops. -j host-list Loose source route along host-list. -k host-list Strict source route along host-list. -w timeout Timeout in milliseconds to wait for each reply. The reason it doesn't work from LabVIEW is that it the system exec.vi will wait until ping completes; it doesn't complete until you press a key to end the ping. I think you will need to use the -n parameter in a loop or find a different implimentation of ping. -
The TestStand File Dialog has an additional 'Browse History' ring at the top. It also contains TestStand specific symbolic paths. When you select <TestStand Public Directory>, the absolute path for 'look in' is changed to the target of the symbolic path.
-
Is there a bug in the internet toolkit?
Phillip Brooks replied to Bjarne Joergensen's topic in LabVIEW Bugs
I compared your block diagram images to the FTP VIs in LabVIEW 7.0. They are exactly the same (as I expected). The internet toolkit has been around for a long time and if there was a bug, I think someone would have found this long ago. I believe the problem is with the FTP server you are connecting to. If you see when you connect to the host with a command line FTP client, then the FTP server is not compliant with RFC 959 - File Transfer Protocol (FTP). The format of a response to a PWD command should be: 257 "fs" is CWD If the server is returning the string you indicated, then the bug is in the server -
Create control progmmatically to "future proof" program
Phillip Brooks replied to dblk22vball's topic in VI Scripting
QUOTE (neBulus @ Feb 19 2009, 11:39 AM) Looks like a XControl to me -
QUOTE (Mikrobi @ Feb 19 2009, 07:04 AM) The JKI team has a couple of nice "How did they do that?" videos on their site. You might want to look at "How to make a status bar". The technique would be the same, except that you would lock the pane to the top and add button or ring controls instead of text indicators. http://forums.jkisoft.com/index.php?showtopic=988
-
Question about implementing a Delegation Pattern
Phillip Brooks replied to Daklu's topic in Object-Oriented Programming
QUOTE (Daklu @ Feb 10 2009, 12:54 AM) I have nothing to contribute to solving your problem, but since you use a toaster/microwave analogy I had to share this link that I Stumbled Upon last night. http://www.danielsen.com/jokes/objecttoaster.txt -
QUOTE (sachsm @ Feb 9 2009, 10:31 AM) It might be in here... NI System Driver Set Feb 2009 NI LabVIEW 8.6.1 Upgrade for SSP Customers
-
QUOTE (Ton @ Feb 6 2009, 01:50 AM) I'm hoping something will be available for download next week...
-
Problem TCP IP communication
Phillip Brooks replied to jbhee's topic in Remote Control, Monitoring and the Internet
QUOTE (Mark Yedinak @ Feb 5 2009, 01:45 PM) I agree with everything you've mentioned, but we don't know how the UUT(s) are being used. One use case would be that the OP is performing final testing on modbus equipment in a manufacturing environment and wants to perform final test on several units in parallel from one LabVIEW station. Each UUT would be at a factory default address (e.g. 192.9.100.1) and the test station would have four distinct IP addresses for the 4 ports on the network card. -
Is your stand alone app (exe) a console app or a GUI? I remembered this post on the dark side... using stdin/stdout with LabVIEW
-
New location for Roomba API http://www.isr.com/sp.cfm?pageid=248
-
Topic about LabVIEW just started on slashdot.org
Phillip Brooks replied to Aristos Queue's topic in LAVA Lounge
Any person with programming experience can laugh at this. Only a LabVIEW programmer would laugh at this... Jim's magical use of the word open is important. The upper image is "open". Practically any programmer can read and interpret it. It can be compiled and adapted to run on virtually any type of computing platform. The lower image can only be created and executed with a specific programming language. -
QUOTE (PaulG. @ Jan 30 2009, 10:35 AM) Ah, this reminded me of this http://forums.lavag.org/Small-icons-t6689.html' target="_blank">Small Icons thread...
-
Ex-Fannie Mae worker charged with planting computer virus Original Criminal Complaint (contains details, .pdf format) QUOTE With LabVIEW, it's as simple as placing the malicious code under a structure, or "off in the buckwheat" (far off from the active code portion of the block diagram). You have to do the same thing as the guy who found this; look carefully at the scroll bars or run the code through a beautifier. If you need to justify an upgrade to 8.6 and work in a secure computing environment, 'clean up block diagram' and VI Analyzer are good reasons. Just remember you have to use them (Whether 'clean up block diagram' actually 'beautifies' your code is another story. Beauty is in the eyes of the beholder...)
-
Getting LabVIEW Scripting out of the shadows
Phillip Brooks replied to crelf's topic in VI Scripting
QUOTE (Ton @ Jan 22 2009, 01:57 PM) And http://forums.ni.com/ni/board/message?board.id=170&message.id=381343#M381343' target="_blank">this post on the dark-side is one good reason to limit the amount of items exposed. I have a hard enough time keeping track of the public methods and properties. Don't even get me started on calling .NET properties and methods; I get depressed when I have to poke around in THAT huge pile of, um, 'stuff'. -
QUOTE (alfa @ Jan 22 2009, 02:51 AM) They also didn't say that the moon is made of green cheese... I went to Dunkin' Donuts this morning, and I ordered a sausage, egg and cheese sandwich on a sesame bagel. The cheese was not green, but the bagel was not sesame; it was cinnamon-raisin. I ate it (yuck) while entering a comment on the DD web site. When I pressed the 'Submit' button, I got a polite error and the complaint I entered was 'lost'. This particular Dunkin' Donuts CONSISTENTLY messes up my order. Are the employees just animals who like to torture me? Does DD take my complaint (including name and address) and pass it to the secret police for survailence? Could it be that I am at fault for not finding a place that provides the satisfaction (physical and emotional) that I desire? I am responsible for my own happiness, and must make it where I can. It is not the responsibility of the world to understand or conform to me. It is my responsibility to 'fit in' as best I can and to share my beliefs where and when I feel they can make a difference. F*ck DD, the http://en.wikipedia.org/wiki/Pain_au_chocolat' rel='nofollow' target="_blank">pain au chocolat at Panera is better, and the price is almost the same
-
I had a similar problem to this several years ago. My database grew so fast and then ran so slow that I ended up storing the data as a file in a shared location and stored a path to the file in the database. If your database is providing some sort of security for the BLOB data, this might create an administrative issue (matching up OS and DB permissions) but I think you will find that the file method scales much better and will cost less hardware-wise in the long run.
-
QUOTE (tilli @ Jan 21 2009, 06:44 AM) Why would you want to run http://en.wikipedia.org/wiki/Iperf' rel='nofollow' target="_blank">iperf multiple times in parallel? Wouldn't that make the performance numbers for each test invalid!? (Edit: look at using the iperf '-P' modifier)
-
Context Help for a VI without loading
Phillip Brooks replied to Phillip Brooks's topic in Application Design & Architecture
QUOTE (Antoine Châlons @ Jan 20 2009, 10:14 AM) Looks good, I actually started working on something similar, then realized I would want to make an XControl that would take care of resizing the description like the NI context help. I realized I was going overboard, considering the tool I'm working on is a temporary one to help developers selectively compile VIs, LLBs or folders (without subfolders). I even started to look at how to shrink and grow the parts of the image like the real thing. You can export the interface for the VI and then play around with the 'wisker' and terminal locations to replace the full name with an index and add the datatype info below when the window is made very narrow. This is about as far as I got... http://lavag.org/old_files/post-949-1232466601.vi'>Download File:post-949-1232466601.vi -
Context Help for a VI without loading
Phillip Brooks replied to Phillip Brooks's topic in Application Design & Architecture
QUOTE (crelf @ Jan 9 2009, 02:33 PM) This works fairly nice. ( see picture). I wish there was an Application method or property that would allow me to set the object of the context help so that I could specify a VI from MY tree based browser (like the Project Window does) Product suggestion entered... -
What if LabVIEW programmers had roller girl names
Phillip Brooks replied to Mark Balla's topic in LAVA Lounge
Block die-her gram