Jump to content

Peter Laskey

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Santa Rosa, CA

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    1995

Peter Laskey's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I have a database application written in LabVIEW 2010. The application gets it's data from a MySQL database server using the Database Connectivity Toolkit and MyODBC Connector. Because MyODBC is required, I have been manually running the .msi installer for this tool before installing my compiled LabVIEW application. I would like to know if it is possible to make a LabVIEW Installer Build Spec that will run the MyODBC install .msi before installing the LabVIEW components. Can anyone tell me how to do this? Thank you, Peter Laskey
  2. Hello, I would like to build an installer for my compiled LabVIEW 2010 application. The installer will be run from an network directory and I would like the installer to log some information about each installation. I would like to capture user name, computer name and date to a text file or database to facilitate any future support / update notifications. Is it possible to extend the installer with this capability? Thank you, Peter Laskey
  3. Thank you for the information. I fixed the bug that you noticed so my VI now detects the minimum correctly. I'll post my fixed VI here in case anyone else in interested in trying this method. I will be looking at your example this morning - I think it shows exactly what I need. -Peter
  4. Attached is the SubVI that I wrote to iterate through the values of the array (ignoring values outside the start and end x index values) and storing the maximum and minimum values. The VI uses minimal buffer allocations so it is probably not too hard on the memory manager (versus array subset, array index, and delete from array). The question is, is there a faster way to accomplish this? I wrote this VI in LabVIEW 8.6. -Peter
  5. Hello, I am writing an application that loads a set of temperature vs. time data from a text file and displays the data on a graph. At the time the data is loaded, I run it through the Array Max/Min function to calculate these values and display them on the screen. The user can zoom in on part of the graph using the built-in zoom capability. Now I would like to recalculate the max and min values within the window that the user has selected. (I would like to maintain all of the original data in case the user zooms back out.) I am trying to determine the most efficient way to accomplish this. What I have done so far is to get the chart x-scale minimum and maximum values from a chart property node, then find the index of these values in the original data array. I then use the indices with Array Subset to remove first the end, then the beginning from a copy of the array. Finally, I pass the data to the Array Max & Min function. This method seems to be very slow. This may be because it requires me to make copies of a large data array. Is there a better way to do this without manipulating large arrays too much? Would it be faster to just iterate through the array and start capturing the max and min values only after the chart x-scale min is found? Ideally, I would like to create a version of the Max & Min function that takes a start and end index. Has anyone written such a function that is relatively fast? Thank you, Peter Laskey
×
×
  • Create New...

Important Information

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