Jump to content

pawhan11

Members
  • Posts

    113
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by pawhan11

  1. Good to know. I wanted to create addon that allows inserting properties like in text languages but it seems that i ve hit the wall here... Another thing that I have been looking for, is there a way to acces context help data from within labview?? I have done that by exploding chm file and rendering html in browser activex but that is very slow ...
  2. Yes, that is exactly my point. I have done it by creating 2 property nodes but i want one. When we launch class browser it is possible to select that in the way I want...
  3. Thanks for help. I have done that arleady. When selecting property node we follow this path: and I want to do the same, select the same property as above via scripting but it seems that I cant.
  4. Hello, Is there a way to set property node of another object by scripting ? As far as I looked I can only set property by ID string.
  5. I have made converting vi and it seems that it was the easiest part. Now I just need to replace input and output accordingly with scripting? Vi is attached When most of subvis in xnode are clear to me I have hard time understanding how Insert and Write Xnode template.vi created by You works. Could You explain it to me?? template.vi
  6. Thanks for help and pointing me in right direction . One last question. Xnode manager is the best tool to play with Xnodes?
  7. Thanks for reply I want input to be array or cluster defined by user that will convert my string accordingly. Here is image how I see that: And i think ahat are all cases than can happen when comes to data types. in DB toolkit this works in similar way. This data comes from PLC and is mostly used to archive something DB or sent some commands. It is annoying to do the same all over by adapting this data accordingly after read
  8. Hello, I have some string data that is written in format *x*xxxxx*xxxx*xxxxxxxx*xxxx*xx,xxxx*. There are data elements are separated by *. I want to make xnode that will convert this data into cluster or 1D array. Types of that data will be only strings , numerics and booleans. This is very like in DB connectivity toolkit. I have xnode manager but all xnodes that I find from NI are password protected and i can;t take a look how this is made. Do You know where to start looking for some good examples?
  9. Thanks for that example. I will think about making new approach to how I do things in upcoming week. When comes to datatypes I always make cluster that has string and variant inside as a data type. That makes it generic but adds casting from variant when reading and that can be annoying to do but when I use the same queue to transfer different data types that is only one option I can think of. So adapting that to new project is only about making/removing these queues. I have found there is something like Xnodes, so maybe it is possible to join read from queue and UE vis with casting variant to specific datatype but so far I don't know how to do that.
  10. In my recent projects I use one FGV that stores all my Queues and Events references in Cluster. When I need to get some element I just unbundle it from cluster. When I use only one data communication mechanism I could store it as a variant attribute in FGV and get it by name to avoid placing unbundle by name. When adding elements I created polymorphic vi to handle events, queues and UE. It makes my programming faster I was trying to push it more to avoid wasting time on unbundling these queues and transforming variants to data but so far I was unable to find something better...
×
×
  • Create New...

Important Information

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