05-29-2007 04:12 AM
05-29-2007 08:28 AM
Hi Nileshv,
I wanted to mention a couple of things. First, in regards to the LabVIEW issue of having the Add button dimmed, this is because you did not set up the connector pane for the VI. You need to assign terminals to the controls and indicators. Once you have done this, you will be able to add parameters. Check out the LabVIEW Help for information on how to do this. Just in case you have not done this before, once inside LabVIEW, select Help >> Search the LabVIEW Help. Then switch to the Contents tab and navigate to Fundamentals >> Creating VIs and SubVIs >> How-To >> Creating SubVIs >> Setting up the Connector Pane.
The other thing I wanted to mention was that you may find some use out of the PeakDetector class that comes with Measurement Studio. That class allows you to Calculates the location, amplitude, and second derivatives of peaks or valleys in the input array. If you are curious about it, check out the <MeasurementStudioVS2005>\DotNET\Examples\Analysis\PeakDetector shipping example.
Also, Measurement Studio does have annotations that also may be of use to you. Just drop a graph onto the Windows Form and then right-click and select Edit Annotations...
If you can find everything you are looking for in Measurement Studio, then you might want to just use Measurement Studio. However, since LabVIEW does have more analysis functions, then you might be better off building a DLL and calling that from .NET.
Hope this helps!
Best Regards,
05-29-2007 08:44 AM
05-29-2007 09:54 AM
05-29-2007 01:56 PM
05-29-2007 02:09 PM
09-03-2008 02:06 PM
In my lab, we have built a labview peakdetector dll to be called by C/C#.
I was curious if we want to run the application on another machine, whether we must install labview run-time on the host machine to be able to call the dll.
09-03-2008 02:21 PM
Any target machine that will be using that LabVIEW built-DLL will require the LabVIEW Run-Time Engine to be installed. So in your case, the RTE must be installed on your lab systems.
Best Regards,
09-03-2008 03:18 PM
Jonathan
Our priority is saving disk space (running the system on a PC 104, with Flash Drive).
Since we do have subscription to Developers suite, if all we need are the number of peaks and estimated locations, do you expect peak detector in Measurement Studio to give the similar or same results as the one in LabVIEW?
Thanks,
Santiago
09-03-2008 07:34 PM
Hi Santiago,
The Peak Detector class in the Measurement Studio libraries does provide the calculations you need. LabVIEW does have several different peak detector VIs and so I'm not sure if all of them use the same underlying source as we do. However, with that said, I would expect you to see the same results with Measurement Studio as you are seeing with LabVIEW with regards to the calculations our are wanting.
Best Regards,