Jump to content

Mahbod Morshedi

Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by Mahbod Morshedi

  1. Hi All,

    I am trying to plot three XY scatter data and move one against the others. It does work when I make a new x-axis and change the scales of one manually. However, when I try and use it programmatically, the numbers of the scale change, but the plots do not change, meaning the one that was moving is not anymore. 

    I could just recalculate X values separately and replot every time I change scale, but I don't think that should be the only way to do this.

    Any help would be appreciated.

     

    Graph.png

  2. Thank you, Bryan; I will keep that In mind.

    Thank you, Neil, as well;  Indeed I know about clusters and TypeDefs and Do use them, and I think overall, I will be leaning towards making Classes and storing all the native app data in the class, so they remain private. 

    At this time, I am implementing top-down, bottom-up piece by piece since this is my first real-world programming experience.

    I appreciate all your comments and help and am very grateful.

    Cheers,

  3. Hi Bryan, 

    You are absolutely correct the file processing and updating the combo box will happen out side, and the info is will be send to the vi (but since the rest of the app is not developed I left it here to test if it works fine). 

    I am also going to use the same setup to get several other constants and initialisation conditions as another combo box. 

    This was done so I can just save new conditions as new procedures later and reload when needed. 

    I am just not sure if I should open, update the combo only, close the file and then release the reference to save memory. Then when the user selects from the combo box reopen the file and generate the required data for initialisation and only keep that info and close the file again and empty the array, again to save resources. 

    The program have a long way to go and I'm too slow in learning (not a programmer as you can tell) 

    Cheers, 

    Mahbod 

  4. Hi All,
    I'm new to LabVIEW and overall programming. I wanted to use a combo box to extract the string and associated value to use later for calculation and presentation.
    I have come up with this one below, which works fine and is very modular (I can just add the solvent info, and it is good to go with no other change, unlike implementation as case structure). However, I wanted to know if this is good or is there a better (more straightforward) way to achieve the same thing?

    Cheers,

    Mahbod

    image.png.e5e3eaa14f5455aa4b7bab1838226aa2.png

  5. Hi Sam,

     

    A very fair question that I have been struggling to answer too. I am (at the moment developing a z-scan experiment which in reality an f-scan, focal point scan using an Optoune variable focal lens, the driver of which is written in LabVIEW). 

    Apart from that, I am an electronic enthusiast (just starting, really) and have a few additions to the project in mind; and instead of using commercial systems, I want to build them myself using Arduino (not yet FPGA, and I don't think I have the talent or the knowledge to touch DSP processors). That is why (since LabVIEW mostly have made the job of DAQ easier) I think I would be using Labview as the primary language and call either scrips or DLLs from within the Labview programme.

    As you can guess, I am not a programmer (just a chemist), but I would love to develop my own experiments. So far, I have been developing with existing pieces of equipment, but I am keen to learn how to make some of them myself.

    Maybe I am taking the wrong approach here, and if so, please feel free to let me know.

     

    Cheers,

    Mahbod

  6. Thank you for your reply ShaunR,
    Indeed, I already know about python's prim

    itive connections. However, this does not answer my original question. 
    The question was if I have to put my efforts into a text-based programming in combination with LabVIEW for my particular needs, which would be a better option, C or python, given that MatLab (price-wise) is out for me?

    Cheers,

     

  7. Hi All,

    I am a Physical Chemist and am just starting Labview (a long way to go, as you may suspect). I would need to do a lot of Daq and DPS but with a low budget (using Arduino and NI-Dev boards for my projects).

    I would like to have the option of going hybrid programming (text-G) and since I do not have much programming experience i wanted to know which one would suit my purposes better, C/C++ or python. I have worked with formula nodes, and it is easy for making base computations and mathemathical formula and I was sad by the fact that you either have to use C/C++ syntax or Mathscript as in Math nodes; meaning MatLab inside labview codes.

    I am fully willing to put work in if C/C++ is the answer, but I wanted to know which should I pick?

    I really appreciate any help you can provide.

    Cheers,

    Mahbod

×
×
  • Create New...

Important Information

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