Jump to content

jhoskins

Members
  • Posts

    102
  • Joined

  • Last visited

Posts posted by jhoskins

  1. Your vi won't open for me so I have to talk generally about the task.

    You have to ask yourself, "How would I evaluate two traces and compare them, if I did it without the help of a computer?" You will have to get LV to do roughly the same things. You will have to identify the maxima and minima - by what criteria will you decide a maxima or minima has occured? (How would you decide what is noise or a real signal? How much noise that could cause faulty analysis can really occur?) Then you know what data to compare from the two waveforms - The first rise of one signal gets compared to the first rise of the other signal, and so on. The time measure measurements are taken at some amplitude. What is the amplitude criteria? Is it some absolute value or a percentage of the total rise or fall of the wave that must be calculated?

    I have never used Write Waveform. Typically, I will acquire a triggered acquisition into a circular buffer. The example vis of this sort are usually titled "Acquire N Scans ..." The result is an array of the voltage readings that can be analyzed in whatever way you wish. If you want a record saved as a file the you can use Write to Spreadsheet File to produce a comma or tab delimited file.

    You can find examples (included with the LV software or found at ni.con, OpenG, or LAVA) of how to locate the maxima and minima (and get the array index of that data). Once you know the index of the maxima and minima then you can parse out the data between them and see where the threshold of your choice occured. You would do this to the various segments of the signal and make your comparisons.

    Mike

    You could also use the waveform monitoring VI's in the waveform pallette. try one called mask and limit. It may help.

  2. I myself have a B.A.S in engineering technolgy. I have worked my way up from a lowely technician to a senior test technician by writing many test applications for R&D and manufacturing here at siemens preclinical solutions.

    There are many engineers here and a couple of physicist, all of them use c++ but some are slowly converting to LV

  3. I have a vi I have been toying with in 8.0 that uses scripting to create a window with a graph on it and display it as a child window inside the parent I can do this with the child window vi's that I got from this site and others. However i found in one of the properties a proerty called FP.Open in window. under that property there is host window, bounds and parent window. I have tried to get this same vi to work using this property but it will not make it a child. I do not understand which vi should be the host and which should be the parent. I really do not understand this stuff and would like your help. This is just something I'm exploring and want to learn and it is nothing pressing, so give me all the feedback/drawbacks that you know of.

    PS sorry if I have posted this in the wrong forum

    Download File:post-310-1150292083.vi

  4. I need to send someone an update to an application. Assuming that nothing changed about the additional installers is there any way to send just the code update? Would it even be possible to send just the .exe file assuming they did a full install of a previous version?

    George

    You can just build the exe and send it to them and have them put it into the same folder as the old one or you could build an installer just for the exe, by telling the application builder not to include additional installers.

  5. Try this.

    Download File:post-2002-1147105371.vi

    Make sure you have the .Net Framework 1.1 and the Hotfix.

    Thank you very much tim it works great. how did you get this getversioninfo to show up with an invoke node without a constructor node. I'm not used to using the .NET functions so if you could tell me how you did this I would appreciate it.

    thanks

    Thank you very much tim it works great. how did you get this getversioninfo to show up with an invoke node without a constructor node. I'm not used to using the .NET functions so if you could tell me how you did this I would appreciate it.

    thanks

    I figured it out for myself I just used the .Net reference instead of trying to use the constructor node on the block diagram and then selected the file info.

    Thanks again for your help.

  6. I would like to find a way to get the file version info of an exe. I have tried the file info from openG but it does not get the version info. I looked on the MS website and found the .NET function called file version info that is supposed to be under system diagnostics but when I bring up the constuctor node it does not show up :headbang: . Everything else that is supposed to be in there shows up. I want this info so that I can create a generic about dialog box for my exe. If anyone knows of an easier way to do this I would appreciate any answer.

  7. Hello.. I am having lil trouble using cursors in labview. I am trying to use multiple horizontal cursors on a single waveform and trying to get their values using the property node function but i am only able to acquire 1 value. Does anyone know how do I get the property node to recognize multiple cursors and acquire all their values?

    Thanks in advance for the help.

    If I remember correctly you can only have one cursor active at a time so when using the property node you will get the value of the active cursor. So what you have to do is set the active cursor property first and then read its value. Another way to do it that I just found would be to use the cursor list property and use the cluster and array functions to get the values.

  8. Hello

    anyone knows as to modify the base of time in a osciloscope.

    I am to try to create a simple osciloscope but I don't know how modify the base time.

    I place in annex the program that I am to try to make.

    I be grateful for the help.

    :headbang:

    In the examples look for a vi called two channel Oscilloscope and you will find your answer. If you cannot find the VI let me know and I will try to post it.

  9. I have a VI that I created in LV7.0 and it works great in 7.1 now I am trying to get it to work in 8.0 and I get a very weird thing going on in 8.0 that I cannot understand. If I run the vi as is it works great it finds all the vi's in memory as it should but when it is run from the tools menu. (I did this by saving it to the projects folder) it does not find all the vi's in memory. So i started doing some debugging and found the code was OK. Then I tried the example called memory monitor and when it is run standalone (ie double clicking on it in the example finder) everything runs great but when I save it to the project folder it does not show all the vi's in memory as it should. Does anyone have an explantion to this.

  10. Hi chris,

    I asked this on the exchange as well and the answer that I got from the person that is responsible for the developement of the installer is yes the installer checks to see if any NI software is present and that it will not install the software if it is the same version or greater. in your case it would look to see if that version of the runtime engine is installed if it is then it will skip this step in the install.

    Joe

  11. Acutally the ActiveVI property does not return the reference to the tool.

    It returns the reference to the vi which has had an object selected in it.

    See attached VI. I run the VI and it stays on top, and whenever I need it to work I select the objects to be operated upon, and press the button in the tool and it modifies the elements that have just been selected, just like in the tunnle wizzard.

    For those of us who like to have our BD terminal lables (non-icon style) line up to the right for controls this is the utility for you. Just leave this running in the background and whenever you have a few control terminals whose lables you want to right justify and align w/ the right edge click the button. IT IS VERY MESSY IN THERE SO USER BEWARE.

    ~,~

    Could you please give me this vi in version 7.0 so that I may have a look at it. i want to do the same thing but cannot figure out how to get the correct reference.

    Thanks

    Joe

  12. I dug through the licensing agreement and found nothing stated like this person said about breaking the agreement. I just wanted to get the opinion from the experts here. And another thing is he not already breaking that agreement by letting me know that it is going to be a product soon. HMM Maybe I need to buy some NI stock now that I have a trade secret.

  13. This is a copy of an e-mail I got back from NI when I asked them why they removed my post from the forum. Just thought I would share this little bit of information with you all.

    Hi Joe,

    This is a good question you posed. As you mentioned, there are other unsupported features and technologies that are discussed on our Discussion Forums. However, VI scripting is different in one significant way. Though it is currently unlicensed (because it's not a complete product), it will soon become a licensed technology, meaning that it must be purchased just like other software. It is in beta right now so it's not being sold yet but, in its final form, it will be a fully licensed product just like the LabVIEW Development System, Application Builder, Report Generation Toolkit, etc. Therefore, to share this technology is to break the licensing and/or Nondisclosure agreements. That is why we remove these posts from our website. Thanks for your understanding in this. If you have any other questions about this, feel free to respond anytime. Best regards,

    J.R. Allen

    ----- Forwarded by Molly Koester on 06/22/2005 12:44 PM ----- Joseph Hoskins

    06/22/2005 12:40 PM

    To

    Molly Koester

    cc

    Subject

    Re: Post in the NI Discussion Forums

    That is OK Molly, I pretty much knew that it would get removed. No hard

    feelings to you or NI, I still love the forums. Just one question why can

    we not post that type of thing, there are a lot of things that posted that

    NI does not support, never will support, and will probably change in the

    future that will cause programs to break when upgraded. I just wanted to

    let people know that these things are out there.

    Thanks anyway

    Joe Hoskins

  14. Yes I did read it. I know it is not supported from NI. I was just wandering if anyone here has had something similar done to them from NI

    I do admit that NI had full rights to give the post the boot. There has been a bunch of questions on the forum about this sort of thing and I was just trying to share what I knew. I thought I was doing a good thing.

    OH WELL

×
×
  • Create New...

Important Information

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