LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI that evaluates EMG

I really need some advice on creating a program that does the following!

 

  1. When the VI is first run, all controls & indicators will reset to default values. The EMG plot will also be cleared.
  2. Select an EMG file with File Select. (either EMG 1, EMG 2, EMG 3)
  3. When load button pressed, EMG is displayed on plot. The first column is the time intervals between samples. The second column is the magnitude.
  4. When calculate button pressed, RMS, AVR, and total recording time are calculated and displayed. 
  1. When save button is pressed, a csv file is saved from the EMG plot to the location of save path control. File is called NewEMGData.csv. The amount of data to save is specified by the start and end time controls.
  2. Pressing stop will stop the VI.
0 Kudos
Message 1 of 7
(2,589 Views)
  1. Learn LabVIEW.  Really learn LabVIEW.  Strive for a CLD certification.
  2. Learn enough Biomedical Engineering, or Muscle Electrophysiology, to understand EMGs.  A little Signal Theory might also be helpful.
  3. Apply Steps 1 and 2 to solve your problem.

Bob Schor

0 Kudos
Message 2 of 7
(2,586 Views)

Hi syd,

 

please team up with zoe, she basically does the very same task!

Are you in the very same class?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 7
(2,545 Views)

I'm trying to figure out how to make a typedef control. Any suggestions?

0 Kudos
Message 4 of 7
(2,532 Views)

Right Click

Tim
GHSP
0 Kudos
Message 5 of 7
(2,528 Views)

This is what I have so far. I think I'm on the right track, but this is also my first time using LabVIEW. I'm having a hard time with my calculations, typedef, and displaying the signal.

 

Any help would be extremely appreciated by this very stressed college student in finals week!

(VI examples would help tremendously for this time-sensitive matter)

0 Kudos
Message 6 of 7
(2,527 Views)

You need to look into the training that NI provides on event structures. Nothing that you did as far, as function goes, is correct. Please take some time and read on how to use the event structure properly. That would be my first suggestion. NI has some great information and training for you to look into.

Tim
GHSP
0 Kudos
Message 7 of 7
(2,521 Views)