Jump to content

Mahbod Morshedi

Members
  • Posts

    37
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2016
  • Since
    2017

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mahbod Morshedi's Achievements

Contributor

Contributor (5/14)

  • One Year In Rare
  • Collaborator Rare
  • One Month Later
  • Reacting Well Rare
  • First Post Rare

Recent Badges

2

Reputation

  1. Hi All, This may be my naivete, but I wanted to know if there is a way to dynamically load the motors (DLLs). Or do I have to load each motor type DLL separately for the front panel (.Net container) of the child class of a motor class? Cheers, M
  2. Thank you for the reply, Well, I'm very new at Labview, and the software I am developing is for my use. The problem with that is that I know the work and am learning more and more tricks that push me to add more features to the app, and now it has become too big. I am carrying too many unsorted clusters throughout the app that need proper organisation. I also am carrying too many wires in the shift registers (dynamic data, hardware and acq parameters, raw data, copy of the original raw data, worked and formatted data and copy of the original of those for history and undid purposes. I am also adding a completely new experiment to this software, which treats data differently, but the internal would be the same. As you can see, I am out of my depth, and this is a way for me to manage the data across the VIs in different formats and unbundle on the fly based on technique and application. This a the original post I made a while a go that lead me to this decitsion, thanks to ShaunR and the data has gotten bigget since: I was just wondering about the "array with tag" or "Var attribute" since there is not much information about the latter. I am unsure if the data is more susceptible to corruption, gets lost, or if there are other complications I do not know about. Really! I appreciate your reply. It took a while for someone to reply to this one. Cheers, M
  3. Hi All, I had a question about variant data and variant attributes specifically. I have different datatypes, and for having a nice and neat wiring, I am storing an array of clusters made of a variant and a data tag, so I can insert a new datatype w/o changing anything and with no i/o problems. I use normal search for tag and retrieve data VI, and the same thing for adding new data or changing data. My qusetion was: can i Just use variant attributed to do the same? something like this? Are there any draw backs that I do not know of? Cheers, M
  4. Hi Darren, Well, admittedly, it is my lack of experience with programming. I wanted to use one wire to carry all my data, so I made an array of clusters, a variant typed and a tag string' to' and did a tag search to find the data and get the variant. To convert that back to my data, I will have to have the original data type feed to "var to data". I want to get this done programmatically. Case structure is a no-go, so I was thinking of bundling all the data, finding the order of the data via the tag, and unbundling that way. Now, I think it was my naivete, and I should not be so lazy and manually do it when I add a new data type. Cheers
  5. Hi. Thank you for putting this together. It is not like this actual unbundle but like indexing an array, using the cluster control order to unbundle the item to get it as a control like unbundle by name does. cheers M
  6. Hi All, Is there a way to unbundle a cluster by "order number" instead of name? Cheers, M
  7. @Darren Thanks Darren, Indeed, I've checked your HAL implementation. That was my inspiration, but DQMH does not offer tools for generating Objects. That is why I was thinking to make the HAL with SMO and then using DQMH as you have used but I gather it can become even more complicated.
  8. @Neil Pate Thank you Neil, I have already made HAL, I just want to rewrite it (it was my first try and, well, it is messy). But I get your point. Cheers
  9. Hi All, Thank you for your help and sorry for confusing things on my part. I am only one person and am still very much new in programming. I am a chemistry researcher who does a lot of laser instrumentation. I have developed two applications for my own experiments and am going to developed some more and wanted away to combine them all in one application since they have a lot of communalities. I was wondering if the best way is to use LOOP and to do that, I thought that SMOs give more formulised frame for writing HAL. Then I was going to Use DQMH for the rest of the software (UI, Workup, Representation, Data save, export and import and anything else that requires inter Module communications). I have attached a very rough UML diagram (Please don't judge too harshly I am not a programmer; it is done in PowerPoint and right now). So, I was thinking if it is a good approach or should I stick only to one. Bear in mind that I am using the project to also learn LabVIEW. Cheers, MM
  10. Hi All, Is it possible use JKI>SMO to generate my classes and then use those classes in DQMH? And also, is it even a good idea to mix and match this way. Cheers, MM
  11. Well. I'm not sure if this was the best way but it is working perfectly thank you again.
  12. Thank you I will give it try and see if it is working and the right solution. MM
  13. HI BramJ, thank you for the solution, tut that would not work for what I need, as you see I had to add a separate one and off for my plots that is used to select the selected plots for further calculations. I wanted to replace this Booleans with the plot is visible on legend and use that property in its place. Wich in you solution is a little (programmatically) more work that it is worth. Cheers, MM
  14. Hi X__, I am not quite sure I understand dummy graph. Do you mean the graph is going to be nit visible? and I use that only for the legend? Cheers
  15. Hi Sam, I understand what you say and that exactly how I generate my graph (I programmatically assign colour line style point style and legend label). The problem is this graph is a combination of two sets of plots: As I said, scatter plot (points) and fitted (lines) plots. In other words, every two plots belong to the same data. Problem is that I cannot find a way to only show one legend for both plots or away to combine the two plots and show as one plot group. Also, visible apply to plots not the legend for that plot. My question is if there is a way to hide every second legend (not plot) and only the legend. I have tried the legend properties, but the visible property is applied to the whole legend rather than my specified plot legend. Cheers, MM
×
×
  • Create New...

Important Information

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