• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About CallumSamuels

  • Rank
  1. Hi All, I have a button that when clicked records a value and saves it in a test channel (D to A). I was wondering if I could have a separate button that I can use to remove the last entry? If so, how would I go about this? Thanks a lot Callum
  2. CallumSamuels

    Access exported data from DaqFactory

    Thank you for the reply. I am still a little confused. When you say to calculate the means on that data at the same time how would you go about this? Would that be in the expression in the export set or as a sequence file after? I am sorry I am really new to this. I want to click a button which takes say 5s seconds of readings, averages them and saves the mean value as maybe a global variable? that I can use to plot on a graph. I want to do this 5 times with i guess 5 seprate buttons to produce a graph.
  3. CallumSamuels

    Access exported data from DaqFactory

    The first thing I am trying to do is read the values from my export set file and save them in an array variable that I can then use in pages I have tried using File.Open and File.ReadDelim to access the column but its too code-y for me 😢
  4. Hi all, I apologize now I am a complete beginner with this software and data acquisition in general. I have exported two sets of mass flow rate data using an export set (10seconds worth) which is great; however, what I want to do now is use the data and find the average of each set of mass flow rates and store it so I can plot them against each other - the intention is to then incrementally increase the mass flow rate to build a plot of the relationship between the two sets of data and use linear regression to get a discharge coefficient. My plan (perhaps others have a better idea): 1. use a button to begin a sequence that triggers the export set to record for 10s. 2. use another button that begins a sequence to read the data in the export set and calculate an average for each mass flow rate sets 3. average value is then plotted on graph 4. increase the mass flow rate at the wall and repeat procedures 1-3. 5. when I have values for a range of mass flow rates, use a sequence and linear regression to determine the discharge coefficient, d_c (mfr_1 = d_c mfr_2) 6. discharge coefficient then saved as global variable to be used going forward. Does this sound like right workflow and simplest way to do thing? I am not very good at programming/code heavy stuff so hoping someone can help. At the moment I am stuck at step 2. Thank you all for your time Callum