LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Width of Hysteresis

Hi GerdW,

 

Thanks for your reply.

 

1. Separate your data into the up and the down cycle.

At the moment all plot date are stored in one array. How can I split in for up and down cycle date? Find the index with max value  for Y and create subarrays?

 

Regards,

Gregorian7

0 Kudos
Message 11 of 13
(897 Views)

Hi Gregorian,

 

How can I split in for up and down cycle date? Find the index with max value  for Y and create subarrays?

I took your data "3.csv" and played with it using Excel:

  1. Take the first half of the measurement data, containing just one "pulse"
  2. Delete all datapoints with Y < 0.1
  3. Search the max value for Y in the remaining data
  4. split the remaining data at max(Y): the first part of the data contains only rising Y values, the 2nd part only decreasing Y values
  5. Now you have 2 curves: one for the upcycle of the hysteresis measurement, one for the downcycle.
  6. Use Threshold1DArray to search/interpolate interesting data like finding X values for certain Y values…

See how far you get and attach your VI with some example measurement data again.

 

Btw. IMHO a VI should not have a filesize of 9MB (or more). Especially when the filesize is dictated by that huge image you placed in the frontpanel! To lower the filesize you could scale that image to a reasonable size!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 13
(880 Views)

Hi GerdW,

 

Thank you for your message.

 

Can you have a quick look on my VI if does it make any sense to you. I don't know why all data in "Index2" array is 0. 

 

Thanks,

Gregorian7

0 Kudos
Message 13 of 13
(866 Views)