Jump to content

jcarmody

Members
  • Posts

    947
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by jcarmody

  1. Hex 24 = $ which is special character for the match pattern. Check the help on Match pattern and look at "special characters"

    Ben

    I used a Format Into String to escape the special character and it works correctly (you need to escape the escape character in the format string in order to get the escape character into the Match Pattern, hence the two "\"s).  The "offset past match" will be one more than the "index of element" from your Search 1D Array.    

    post-7534-12725457511_thumb.png

  2. For things where you really want to make sure the user notices it, you're better off with a custom dialog which looks different (large, bold, red font tends to work).

    I had a   :frusty: situation yesterday where an operator ignored the large, bold, black-font-on-yellow-background dialog that told them they were doing something wrong.  When a downstream process failed they told the line-leader that they ignored the warning because they "thought it was all right".

    You can't fix stupid everything.

  3. It would be nice if we could drag and drop a case name into the VI.

    For instance by selecting a case with the 'ctrl' down.

    This would not show the case, but allow for a drag and drop of the case name.

    If you drop this into a string constant it would contain the name of the case you selected.

    Ton

    Ton,

    I tried this but gave up when it didn't fall into place quickly, but I have uploaded CaseSelect 2.0.0 which contains my interpretation of your suggestion. It works by selecting the String Constant you want to add new cases to, you then double-click cases in CaseSelect to add them to the String Constant. I think it's faster this way than do drag-n-drop; it sure was easier to implement. It does switch cases as you click, but you can use the right-click context menu to highlight the selected String Control when you're done.

    I've also added a feature to the renaming function. It finds all instances of the case being renamed and replaces them with the new name.

    Jim

  4. I would like to have all of these values be the same on the separate tabs at the same time.

    For example if I press one of the boolean controls, that same boolean control should now be activated on the other tabs as well.

    If it would be possible, please do point me in the right direction of how to go about doing this. (Also the proper terminology)

    Many Thanks,

    Buffalo960

    You can use Local Variables or Property Nodes in an Event Structure to update the controls on the other tabs but, if you're always going to make them equal, you can put them over the Tab control (instead of on a particular tab) and show/hide them as appropriate.  Put them over the control by placing them on an empty part of the Front Panel and move them into place using the arrow keys.

  5. Thanks a lot for the comments.

    Any idea about how to connect with a database sitting in a different computer? Now i am connecting by creating a datasource, as the database is in my PC. Now, when i put the database in another PC, how can I connect with the database? How should i link? Is there any way that i can specify server's IP address and database's location in the UDL file?

    Skip the UDL file altogether and wire a  connection string directly into the Open Connection function.

    • Like 1
  6. Sort of, but you would have to build it yourself. Both the BD and the FP have a property called Selection List[] which returns an array of reference to all selected objects. You can go over all the objects in that list and get or set their tags.

    Is there a way to find the tags if you don't already know the names?  The Tag.Get Tag method requires a Tag Name.

    post-7534-127072262941_thumb.png

    Stardom, this is a way to get the SelList[] using a VI kept in the Projects folder.

  7. This has already been started at

    Avinashgogineni hasn't provided any method of validating whatever program you develop.  We've provided at least three VI's that do what's been requested, but can't know what's correct without a better definition of the problem.  I guess someone could keep writing until they stumble upon a solution that's accepted...

    The only way I'll EVER develop software without a good problem definition is when my boss tells me to.  Nobody else can make me do it!  It's too emotionally draining.

    :frusty::throwpc::blink::nono::P:lightbulb::wacko::angry:

    • Like 1
  8. I have several channels worth of data.

    I want to be able to have a horizontal bar plot where each bar represents the RMS value of the channel.

    I also need to have some kind of marker to mark the peak value.

    Anyone have any experience with bar plots in LabVIEW?  I've done a little research and I haven't found a lot.  It doesn't seem like it should be this hard.

    There's a relevant post here that includes an example with horizontal and vertical bar charts. 

  9. Not only CSV, i am unable to read any data.. please some one help me here... so that i can move farward..

    Ton mentioned that the decimal separator may be an issue.  We use a "." here; what do you use?  Have you tried Ton's suggestion to save the Excel sheet as a tab-delimited text file?

  10. Bzzzt - paying someone to complete your assignment is, IMHO, unethical.  I think you'll find it difficult to find someone here to do it for you.

    We could provide obfuscated code. :D That'd be funny.

    Hi Please help me in that.. I have some confidence that I can Complete that Project....

    Have you determined how many peaks your sample data contains?  How do you know that what you already have isn't exactly what you need?

  11. Hello Jcarmondy,

    I have done this one. Please see this and tell me how can i connect the bundle and wave form graph. So, that i can follow your instuction

    Like Ton said, they're XY Graphs.  You could have dragged my snippet into your (LabVIEW 2009) block diagram and you'd have had the right indicators automagically. Take a look at the LabVIEW Help on "graphs, types" (in the index); it has a good overview of the different graphs & charts and the data that they'll accept.

    You did the peak detection as I did, but you may need to play with the Width and Threshold values for your application.

  12. Ya sure.. I am posting my code document... here please see this.

    Here's the beginning.

    post-7534-126927665502_thumb.png

    Like I said before, you need to specify your requirements for peak detection better.  Perhaps you could manually detect peaks from your sample data and compare my results in the screenshot above.  I used the Peak Detector.vi, but it may not be what you need.  See if you can implement this from my snippet.

  13. Actualy I want that block panal please can you mail that to my id? avinash.gogineni@gmail.com

    Two things:

    1) I didn't post my code because you didn't post yours.  I don't work for free (but I will do my best to help).

    2) I don't trust my peak determination.  You'd need to validate the results against a known data set.

    c) My program is at work and I'm at home.

  14. Hey,

    It's really surprising.. I am sending my file here.. please see that for required modifications....... and we have to show the maximum and minimum values of each pulse in the waveform and then we have to count the pulses in that two waveforms.

    post-7534-126901760048_thumb.png

  15.  

    Here's a wiring nugget for you.  If you have a function on your block diagram with two inputs, you can switch the position of the inputs very easily.  If you hover over one of the inputs with your wiring tool (this also works with the auto tool), and you hold down the Ctrl key, your wiring tool will turn into what I call the "switcheroo" tool, which kinda looks like a curly wire.  Anyway, with this tool visible, if you simply left click, you'll see the inputs to your function switch places.  And for you LabVIEW trivia buffs, I'm pretty sure this feature was introduced long ago by none other than Jeff Kodosky himself.

    From here.  Is yours different? 

  16. What mind maps are. I've played around with FreeMind a little, and have a hard time seeing how this will be worth the effort. Am I missing something? Wrong software? Forget software, do it by hand? Just a few more hours to get past the bump in the learning curve and see how wonderful this stuff is?

    I used to use Freemind a lot and was very happy with the way it helped me organize large bodies of information. It's not hard to learn enough to be effective. I don't use it any more because it's not Emacs. tongue.gif

×
×
  • Create New...

Important Information

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