Jump to content

hburd

Members
  • Content count

    16
  • Joined

  • Last visited

  • Days Won

    1

hburd last won the day on May 28 2011

hburd had the most liked content!

Community Reputation

1 Neutral

About hburd

  • Birthday 05/11/1974

Contact Methods

  • MSN
    helcioburd@yahoo.com
  • ICQ
    0
  • Yahoo
    helcioburd@yahoo.com

Profile Information

  • Gender
    Male
  • Location
    usa
  1. Hi Jim, I just watched you presentation on State Machine Objects at NI Week 2015 ( to view, follow the instructions here: https://lavag.org/topic/19154-ni-week-2015-videos/),and I liked it a lot. I am wondering if you are going to make the Programatic API for the State Machine Objects available to the community, or is it going to take some time? Thank You Helcio
  2. Hello all, Finally there are better clues of how to use JKI state machine for exchanging data with others jki state machines (Thanks Justin!): Here is the link of the template library for that Justin Goeres created for his presentation at CLA summit 2011 Template jki intercommunication with other jki state machines However, as Justin Goeres mentioned in the CLA summit 2011 (VI SHOTS PODCAST), there is a problem when using his template if you need the timeout case in the event structure. Attached there is an example in labview 2010 (a little modification of what Justin Goeres' example) to try to make this problem clearer: Whenever a registered event is fired, Labview will reset the timeout event structure in the event structure where this event is registered if there is 1 or more registered events with no case to handle them in this event structure. There is a huge discussion if this is a bug or not (Lava link). But, as you can see in the template, Justin registers an entire cluster of user events all at once independently of them having a case to handle them in the event structure. This makes very practical and more maintainable code, but at the cost of having huge headache if you need the timeout case in the event structure. Hopefully NI will come up with some solution for this in the next version of labview. I am still trying to figure out how to use it. I am really very, very tired of using queues to make the JKIs state machines to intercommunicate. Please, if someone has an example of use for it, please share it. thanks Helcio Event Structure Timeout Bug 2.vi
  3. Hi Jim, It all works fine now and I have no idea of what was causing the problem.... Anyway thanks for all. Helcio
  4. Hi, I am sure I am doing the right thing choosing 2 # names: thanks
  5. Hi Jim, This is very odd. Still, after disconecting all the type defs it continues not working. I expect not to get error 91 reading the xml file with easy xml read. Thanks Helcio EASY_XML_does_not_work_NI_XML_works22.vi
  6. Hi, Easy XML has broken my heart, it refuses to parse complexer structures. Please, give a look in this dirty example:EASY_XML_does_not_work_NI_XML_works.vi As you can verufy, easy xml writes an XML file but is unable to parse the data. Unfortunately I will have to live with the NI XML Vis, since there is no other option for this case. Please, let me know if anybody find a solution for this. thanks Helcio
  7. State Machine vs State Machine

    Hello Jim, Yes it would be really great if Justin could put the POWER SUPPLY code available for download. It is not enough to read Justin's presentation to understand this design pattern. Please, share this example. thanks Helcio
  8. Hi Jim! The Ni week should be over tomorrow, so could you, please, post the link for the ni week presentations? Please could you also post the VIs in the presentation JKI STATE MACHINE VERSUS NI STATE MACHINE so that everybody can be able to download and follow the presentation? thanks very much Helcio
  9. Hi Jim, I read the GOOP chapter indicated by you in the book. Also I am trying to learn more OOP, but still I continue without a clue in how to implement the JKI producer loop to share data with other JKI producer consumer loops. Could you post an example of that when you have time? Also, there will be a presentation section in the NIWEEK 2010 dedicated to the comparison between the JKI state machine and the other types of state machine. Could you post the presentation on this website for those, like me, who won't attend the NIWEEK? Thanks Helcio
  10. Hi Jim, Thanks for the information. I guess I really have to start learning GOOP, it will be very useful. thanks again! Helcio
  11. Easy xml and com port

    Hi Jim, Yes, this helps a lot! thanks again! Helcio
  12. Easy xml and com port

    Hi, I am also trying to do the same as Dialooc and I did try to take the string value out of the visa serial port. Please, could you advice me if there is a better way to do it? easyxml_serial_port_information.vi
  13. Hi again, The jki state machine producer consumer loop is working nicely using it in the way described by you. I was wondering what would be the best way to use the jki state machine producer consumer loop to intercommunicate with other jki state machines Producer consumer loops (JKI SM PC loop) in the same project, but not in the same vi. For example, suppose I have 1 JKI SM PC loop that continuously acquire data from the serial port. What would be the best way to transfer the data from this jki sm pc loop to another jki sm pc loop in another vi which will plot the serial data acquired? Or alternatively, in the example given above (jki_producer_consumer_loop_with_events_and_data_lv_2009.zip), what if another vi sends a command for this jki state machine PC loop execute the command for displaying a certain message on the screen? Would the answer be to use notifiers? I mean, if I put a "wait on notification" in the timeout event structure of the jki sm pc loop that will execute the commands and a "send notofication" in the jki state machine PC loop that sends the commands? thanks Helcio
  14. Hi Jim, I tried to do what you have said for the producer consumer loop with events and data for the JKI state machine. I created a cluster with user all user events I needed and worked from there. I am sending the project file attached for labview version 2009 (could not be saved in Labview version 8.2 because it generates an error). I hope that this is what you had in mind. However, I have no clue how I could use LVOOP to avoid having to convert variant, therefore you will see conversions all over the code: regards Helcio jki_producer_consumer_loop_with_events_and_data_lv_2009.zip
  15. Hi! Thanks for sharing the example for the JKI state machine applied to the producer consumer loop, it was very useful. However, I am not sure what is the best way to share data between the producer-consumer loop. I can send the Message from the producer to the consumer, but, for example, if I need to send together with the Message another data, for example, a Boolean (to be processed in the consumer loop), what is the best way to do it? Should I use a variant (cluster of string-message and Boolean-data) as the user event data type in the producer loop, or there is a better way? thanks Helcio
×

Important Information

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