Jump to content

Phillip Brooks

Members
  • Posts

    899
  • Joined

  • Last visited

  • Days Won

    50

Posts posted by Phillip Brooks

  1. 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.

  2. 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 CWD

    If the server is returning the string you indicated, then the bug is in the server :o

  3. 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.

  4. Any person with programming experience can laugh at this.

    post-949-1233835540.jpg?width=400

    Only a LabVIEW programmer would laugh at this...

    post-949-1233835413.jpg?width=400

    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.

  5. 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 :P

    (Whether 'clean up block diagram' actually 'beautifies' your code is another story. Beauty is in the eyes of the beholder...)

  6. 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'. :P

  7. 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.

  8. 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:

    post-181-1231529544.png?width=400

    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)

    Product suggestion entered...

    post-949-1232458056.png?width=400

×
×
  • Create New...

Important Information

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