Jump to content

wevanarsdale

Members
  • Posts

    34
  • Joined

  • Last visited

wevanarsdale's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. QUOTE (faisaldin @ Dec 1 2008, 06:25 AM) I suggest you configure the port only once (outside the while loop), and then close the port at exit. You might also want to flush the port before entering the loop. You also need some delay in your loop to avoid repeatedly hammering the port. I would put the VISA Write function in a case structure with a button or some other logic that enables the function. I assume you are trying to read and write to the same hardware. Does the hardware require a command string to toggle between read and write mode? Does the hardware require an end of line character? I have never used the Convert to Dynamic Data and Convert from Dynamic Data functions to cast an array of bytes to a DBL. You might try the Type Cast function instead (Numeric/Data Manipulation palette). I hope this helps...
  2. QUOTE (ibbuntu @ Mar 20 2008, 04:18 PM) I use LabVIEW 7.1 datasockets to broadcast successfully at 600 bytes/sec on up to 9 different sockets. You might try setting the DataSocket Write input ms timeout (0) to -1.
  3. QUOTE(jdunham @ Feb 25 2008, 01:10 PM) Don't you have to set the length to 0 to get an empty subarray? I just get the input array if all inputs to this function are unwired.
  4. QUOTE(mross @ Nov 9 2007, 10:54 AM) I agree. A client's desires are not always in full evidence at the start of a project. The key for me is expandability. This approach lends itself to an http://en.wikipedia.org/wiki/Agile_software_development' target="_blank">iterative software development process.
  5. QUOTE(tcplomp @ Nov 1 2007, 10:44 PM) The area in the diagram is I16. This value exceeds the data range for a square region with sides larger than 181 pixels. I used 72 pixels/inch to get 2.5 inches.
  6. QUOTE(tcplomp @ Oct 31 2007, 01:22 PM) As long as your diagram is no bigger than 2.5 in x 2.5 in...
  7. QUOTE(valipetricele @ Oct 24 2007, 04:24 AM) Fixed axis limits are faster than auto-scaling.
  8. QUOTE(alukindo @ Oct 21 2007, 02:10 PM) Anthony: How are you getting this behavior? Both the Print Window... command (under the File menu) and the VI method Print.Panel to Printer work for me in LabVIEW 8.2 and 8.5.
  9. QUOTE(Justin Goeres @ Oct 16 2007, 02:17 PM) QUOTE(Mads @ Oct 17 2007, 03:33 AM) The "Lab" makes it sound like a quirky (nonprogrammer) engineering tool. LabVIEW has been targeted at engineers since its inception. Most undergraduate engineering majors, excluding some electrical programs and computer science (if it's even part of the engineering college), are limited to one required course in computer science due to a credit hour "crunch" that pushes degree programs to 4.5 years. What single course would you have students take in computer science? I find it hard to argue against C, which is perhaps a step up from the Fortran course required into the 1990s. While most engineering students will not be competitive with computer science graduates who spent 4 years programming in text-based languages, they will at least understand the process. Teaching undergraduate engineers LabVIEW as their only introduction to computer science is a hard sell. Computer science professors rarely even know about LabVIEW. Consequently, professors in the engineering college would have to assume this role, which is daunting due to a lack of facilities and expertise. Engineering faculty tend to be older due to incentives associated with tenure. Anyone born before 1953 (55+ years old) did not have a scientific calculator during their time as an undergraduate student. Many of these faculty (typically influential full professors) do not program computers as part of their research and fail to see the importance of additional computer science classes in an already large curriculum. The others are largely self-taught, usually in the context of their own research. Most of these people did not venture into LabVIEW when it was introduced in the mid-1980s, possibly because text-based languages seemed to have a better chance at permanence. The obvious place to introduce LabVIEW to engineering undergraduates is in the context of lab courses. Most majors have 3+ courses devoted to this area, usually taught by experimentalists using computers in their own work. These faculty are more likely to be familiar with LabVIEW or at least have an interest in the subject. This context is currently the most compelling undergraduate environment for using LabVIEW, allowing engineering students outside of computer science to handle their own programming tasks using a high level language. Perhaps this state of affairs will change in the future, but you will have to wait at least a decade for a significant portion of the older faculty to retire or lose influence.
  10. QUOTE(Cloedu @ Oct 1 2007, 08:30 AM) Cloedu: I use the following approach to implement comments in a configuration file. The attached LabVIEW 7.1 VI reads all keys as strings in a configuration file at "path". Any line preceded by the "comment" string is ignored. All other information is bundled as the "data" array of clusters containing section, key and value. I hope this helps. Download File:post-10-1191333036.vi read_configuration_data Restore.vi
  11. QUOTE(Shoyurx @ Sep 27 2007, 01:37 PM) Shoyurx: I assume you are using a Windows computer. You might try checking the status of your serial port using the Device Manager in Windows. Right click on My Computer and select Manage from the menu to obtain the window below. Double-click the appropriate port to obtain the property page below. Make sure the device is enabled. I hope this helps,
  12. QUOTE(karthik @ Sep 18 2007, 04:34 AM) Karthik: 1. Select the "Meter" control on the panel of the attached VI. 2. Select "Customize Control..." from the Edit menu. 3. Press the button on the toolbar to change to customize mode. 4. Import your grid pattern by selecting "Import Picture to Clipboard..." from the Edit menu. 5. Select the white background on the control and paste your grid. 6. Resize as necessary and save the control. http://lavag.org/old_files/monthly_09_2007/post-10-1190138454.png' target="_blank"> Best of luck,
  13. QUOTE(Sparky @ Sep 6 2007, 02:51 PM) The Fract/Exp String to Number function correctly recognizes a leading decimal point for all versions of LabVIEW (7.0, 7.1, 8.2, 8.5) currently on my office computer.
  14. QUOTE(Sparky @ Sep 6 2007, 12:46 PM) Sparky: I'd use the Fract/Exp String to Number function to convert a string or array of strings. This conversion is not sensitive to characters subsequent to the numeric part. You can set the default value to NaN (assuming this value does not appear in your data) and test for a conversion error. You can convert back using the Number to Fractional String or similar function to remove any trailing non-numeric characters. This approach is useful for reformatting numeric string arrays. http://forums.lavag.org/index.php?act=attach&type=post&id=6868''>http://forums.lavag.org/index.php?act=attach&type=post&id=6868'>http://forums.lavag.org/index.php?act=attach&type=post&id=6868
  15. QUOTE(Jim Kring @ Aug 16 2007, 01:24 PM) I believe Close Reference supports arrays in LabVIEW 8.5.
×
×
  • Create New...

Important Information

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