Jump to content
News about the LabVIEW Wiki! Read more... ×

Zyga

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0

About Zyga

Contact Methods

LabVIEW Information

  • Version
    LabVIEW 2011
  • Since
    2011

Recent Profile Visitors

713 profile views
  1. I do not believe this is a disadvantage. Serialization is special... if the parent is not serializable then the child is not serializable. Requiring inheritance from a base Serializable does not seem to me to be a bad requirement. Even in other languages where serialization is an interface, mostly they have to add special syntax checking to make sure that the interface is implemented by the eldest class or else it doesn't work. Serialization isn't functionality that can be injected on a descendant level. It's all or nothing to be meaningful because failure to preserve parent state means you aren't actually saving the state of the object. Thus the requirement to inherit from specific base seems absolutely reasonable to me... indeed, it is an advantage because it syntactically assures that the ancestors are included. Now when I am thinking of it, it sounds obvious. I am possessed by flatten to/unflatten from xml ease of use.. Flattening the names of the complete ancestry into every flattened string would be an incredible bloat of the flattened size of data. Once again, now mentioned it is perfectly plain. For me it is hard to imagine using more than 3-4 inheritance levels, but looking on e.g. VI Server I see it is reasonable to have more than that.
  2. From what I see they are not. Correct me if I am wrong, but this lib enforce "serialize" method to be overwritten and then calls it through whole hierarchy. Disadvantage of that solution is a need to change inheritance. Ok, but enough of moaning. We will use one of existing solution. Just wanted to point out where retrieving ancestry list would be useful (wonder why this information is not in the class flattened string?).
  3. I was looking for getting ancestry list at RT solution for a while. Found few posts, did some coding - no success. I just reply to this old post as @Aristos Queue asks why would someone need that information. I wish to flatten/unflatten object to other format than xml. Surely this post is a grate start, but still unable to get TD even whole data is there. If flatten/unflatten to xml function can do the job, there must be solution hidden under the hood.
  4. Zyga

    NI DAQ alternatives

    These are questions that have to be answered before every single project. And assumption is that if I choose decent vendor, he will provide me with any of above options (I wouldn't dare to demand DIO96..). More important for me is to find solution tested with pc based systems.. With NI I am sure of community and NI support. Whole bunch of pitfalls already discovered and resolved or walkaround found. If about LINX license, this is plainly answered in FAQ authors site. So Yes, you can use LINX to programm arduino for commercial usage.
  5. Zyga

    NI DAQ alternatives

    We do not have strict requirements. This question do not apply to any specific project we are going to implement in near future. This is question in general, but basically I cant think of something that 100Hz, single point measurement wouldn't be sufficient. Actually we have few industrial eol testers based on Windows PC + cdaq, and they works perfectly well. These are not always harsh environments and cDaq does well. Few matters which needs to be balanced and analyzed carefully. Depends on many factors really. Surely if you would have had few implementations over year, you could consider writing your own, good quality driver. It sound like an idea, but it might be very hard to make customer believe this is robust solution. I have never programmed Arduino by myself either, so I would't feel very confident with this solution.. I was looking on Advantech before and did not find any tempting hardware there, but Phoenix and Moxa looks way better. Yes, but getting deeper in this direction we do not need LV at all.. remote IO modeules easily controllable via LV software.. That is the main goal. From what I see there are solution that I was't aware of, but not yet tested in LV. Now most difficult question to answer to is the one from @smithd. Whether it is path worth of exploration or it is just waste of my time and money..
  6. Zyga

    NI DAQ alternatives

    LAVA users, We are looking for alternatives for NI DAQ devices for industrial automation. Since NI has its devices mostly focused on advanced/high speed/high precison data acquisition/processing its prices are inadequate to simple automation tasks. I would also say that NI PC based daq systems are expensive if need to be distributed systems (found this but still relatively expensive cRIO required). Just now we need to extend our compactDAQ based system with two DIO modules. We even have free chassis slots for this, but station that needs this IOs is few meters away from PC. How easier would it be if we could use single ethernet cable.. Ofcourse we can add another small cDAQ (what we probably going to do) but this is slightly expensive solution for our customer. Does anyone have some experience with 3rd party solutions? Any known daq devices vendors? Standalone ethernet daq modules? Regards, Zyga
  7. Hi, I think you might want to read this paper. I am afraid that if you do not have access to the dll sources you will not be able to retrieve this data correctly. At the first place I would split up complex data into simpler types, then pass it to dll as separated arguments. That will make things easier in your dll code. Regards, Zyga
  8. Zyga

    MuParser

    OK, If you will not be able to do so, it is not a big deal, at least I know that it is possible
  9. Zyga

    MuParser

    Hello Porter, I've been looking on this library for a while, but I wasn't able to make it work with labview. Would you share your code? Zyga
  10. Zyga

    Executable - multiple icons

    Tested and it works. With multiple images stored in a single file it doesn't work. Looks like win uses them just for better apperance. All of them list in the resource hacker as a single group. When we take a look e.g. on LabVIEW, there is a group for a single file type icon. Nevertheless specifying icon path explicitly solves my problem. Thanks!
  11. Hi, I would like to associate icons with file types that are handled by a LabVIEW built application. To do so, "defaultIcon" key has to take a value of executable path with parameter "resource ID". The question is how to build in more than one icon with executable? Examples of LabVIEW keys: -library: ..\LabVIEW.exe,-8 -llb: ..\LabVIEW.exe,-3 Is it even possible with app builder? Any workaround?
  12. As far as I know ActiveX should be plan "z". It might cause unexpected problems, just like .net. It's hard to imagine how you can exchange data with compiled code without exact knowledge how it's made. I'm not experienced it this kind of things but it sounds hardly to be done. Shared variables are used to communicate e.g. with PLC systems, so it suggesting this should work way faster than mentioned 50-300ms (for sure more stable). You can also take a closer look on shared memory. I have seen some LV implementations, not only for RT targets on which it is native LV functionality.
  13. Zyga

    Message not arriving

    Could you provide us more details? Any particular reasons? I've used .net in my project twice or three times already, and there were no problems occurring.
  14. Why dont you do some post-build actions? e.g. https://decibel.ni.com/content/docs/DOC-19943
  15. Thanks for reply. I'm not using any Call Library Function Node directly. lvanlys.dll jumps into dependences automatiacally when I place some standard LV functions, e.g. mean.vi. Similar situation takes place when I use one of NI Vision VI but with this difference that "vision.dll" isn't included to my source distribution. Best regards, Zyga
×

Important Information

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