-
Posts
899 -
Joined
-
Last visited
-
Days Won
50
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Phillip Brooks
-
-
QUOTE (Shazlan @ Mar 4 2009, 06:09 AM)
File Separator ? 0x1C is the ASCII code for File Separator.
Note that a File Separator is not necessarily the same as EOF. I think FS is a holdover from the days of punch cards...
-
nOObzor; why do you want to continuously ping the remote device?
-
QUOTE (Antoine Châlons @ Mar 4 2009, 07:00 AM)
What is this parameter : "-t" for the ping command ?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.
-
-
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
Current working directory is "fs"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 CWDIf the server is returning the string you indicated, then the bug is in the server
-
QUOTE (Mark Yedinak @ Feb 24 2009, 02:14 PM)
You could install a generic printer or a PDF printer driver and make this your default printer.
-
-
QUOTE (Mikrobi @ Feb 19 2009, 07:04 AM)
-
QUOTE (Daklu @ Feb 10 2009, 12:54 AM)
I test control panels for microwave ovens.* My testing thus far has been strictly on the module level--my test app communicates directly with the control panel module via I2C. To test devices at the system level, the design engineers are implementing a test mode where the device will copy all I2C data it receives from the control panel to a serial debug port. I have to figure out how to incorporate the new functionality into my current test app architecture. Furthermore, looking forward into the next couple years, it's not clear future control panels will be based on I2C. SPI and serial are real possibilities.*Not true, but it's a better analogy than my previous toaster examples.
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.
-
QUOTE (sachsm @ Feb 9 2009, 10:31 AM)
Be careful with these LV 8.6.1 installations!!! I foolishly rushed to do this and am getting a niwd4c.dll initialization error in my cRIO RT code. I am guessing that I will need the appropriate NI-DAQ or VISA drivers that will come with the released version of LV 8.6.1. Anybody know were they are hiding? -
-
QUOTE (Mark Yedinak @ Feb 5 2009, 01:45 PM)
This is useful information but it is still a very bad idea to give the same IP address to all of the clients. This can cause some major problems on your network. Duplicate IP address can lead to routers and switches on the network having bad routes and can create data loops and circular routes within the network. Worst case this can bring a network down. If the IP addresses of these clients can be seen by network I would strongly recommend against using duplicate IP addresses. From a network perspective you are asking for trouble.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...
-
New location for Roomba API
-
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
The malicious code was hidden after a blank page, and “it was only by chance” that the senior engineer scrolled down and found the virus.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...)
-
-
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'.
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)
-
QUOTE (Antoine Châlons @ Jan 20 2009, 10:14 AM)
This is about as far as I got...
http://lavag.org/old_files/post-949-1232466601.vi'>Download File:post-949-1232466601.vi
-
QUOTE (crelf @ Jan 9 2009, 02:33 PM)
I don't think you can get the context help window contents to update without loading the VI into memory. Here's something I used once to get the info of a subVI into the context help window:Then the context help window will update when the user mouse-overs the Boolean. It's kind-of a hick, but it worked for the situation I was in back then.
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)
Code Checking
in LabVIEW General
Posted
QUOTE (Darren @ Mar 4 2009, 11:23 AM)
Wikipedia: