LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve the problem in sync between EMG (TCP/IP) and FORCE (DAQ)

Hello,

 

I’m currently makingh a LabVIEW template to measure both FORCE data and electromyogram (EMG) data at the same time.

I have a question that I could not solve.
When measuring EMG data and FORCE data at the same time, there is a problem that both data do not start and end at the same time. That is, when the total number of samplings for both data is set to 1000Hz and measured for 10 seconds and the number of samplings is checked in real time, FORCE data always starts from 1 and accumulates 1000, and the measurement time is almost the same as the time I set, 10 seconds. However, EMG data does not always start from 1 and accumulate, but accumulates from various counts each time (e.g., sometimes it starts from 200, sometimes from 500, and accumulates 1000), and the measurement does not end at the same time as FORCE. Is this problem due to a synchronization problem between the two data? Or is it because FORCE data is received through a waveform graph and EMG data is received through a waveform chart? I just can't figure it out.

If anyone could kindly provide a solution or guidance (I'm sharing the template), I would greatly appreciate it.

Sincerely yours,
From. HSKHS

Information: I setup the VI that is simultaneously working and measuring multi-asix FORCE (from NI DAQ Nano17 to LabVIEW block diagram) and EMG (from Delsys; from EMGworks (a Delsys hardware) to NI USB-6210 to TCP/IP in LabVIEW block diagram). 
And, the VI is normally working. the VI is have been made and operated on 'NI LabVIEW 2015 SP1 (32 bit)'

0 Kudos
Message 1 of 10
(402 Views)

Hello,

 

I’m currently makingh a LabVIEW template to measure both FORCE data and electromyogram (EMG) data at the same time.

I have a question that I could not solve.
When measuring EMG data and FORCE data at the same time, there is a problem that both data do not start and end at the same time. That is, when the total number of samplings for both data is set to 1000Hz and measured for 10 seconds and the number of samplings is checked in real time, FORCE data always starts from 1 and accumulates 1000, and the measurement time is almost the same as the time I set, 10 seconds. However, EMG data does not always start from 1 and accumulate, but accumulates from various counts each time (e.g., sometimes it starts from 200, sometimes from 500, and accumulates 1000), and the measurement does not end at the same time as FORCE. Is this problem due to a synchronization problem between the two data? Or is it because FORCE data is received through a waveform graph and EMG data is received through a waveform chart? I just can't figure it out.

If anyone could kindly provide a solution or guidance (I'm sharing the template), I would greatly appreciate it.

Sincerely yours,
From. HSKHS

INFORMATION: I setup the VI that is simultaneously working and measuring multi-asix FORCE (from NI DAQ Nano17 to LabVIEW block diagram) and EMG (from Delsys; from EMGworks (a Delsys hardware) to NI USB-6210 to TCP/IP in LabVIEW block diagram). 
And, the VI is normally working. the VI is have been made and operated on 'NI LabVIEW 2015 SP1 (32 bit)'

0 Kudos
Message 2 of 10
(342 Views)

Hello,

 

I’m currently makingh a LabVIEW template to measure both FORCE data and electromyogram (EMG) data at the same time.

I have a question that I could not solve.
When measuring EMG data and FORCE data at the same time, there is a problem that both data do not start and end at the same time. That is, when the total number of samplings for both data is set to 1000Hz and measured for 10 seconds and the number of samplings is checked in real time, FORCE data always starts from 1 and accumulates 1000, and the measurement time is almost the same as the time I set, 10 seconds. However, EMG data does not always start from 1 and accumulate, but accumulates from various counts each time (e.g., sometimes it starts from 200, sometimes from 500, and accumulates 1000), and the measurement does not end at the same time as FORCE. Is this problem due to a synchronization problem between the two data? Or is it because FORCE data is received through a waveform graph and EMG data is received through a waveform chart? I just can't figure it out.

If anyone could kindly provide a solution or guidance (I'm sharing the template), I would greatly appreciate it.

Sincerely yours,
From. HSKHS

INFORMATION: I setup the VI that is simultaneously working and measuring multi-asix FORCE (from NI DAQ Nano17 to LabVIEW block diagram) and EMG (from Delsys; from EMGworks (a Delsys hardware) to NI USB-6210 to TCP/IP in LabVIEW block diagram). 
And, the VI is normally working. the VI is have been made and operated on 'NI LabVIEW 2015 SP1 (32 bit)'

0 Kudos
Message 3 of 10
(338 Views)

for synchronizing the data, is it possible to create an event to sync both signals ? if this is a  muscle contraction, for example contract 2 times as soon acquisition start so you can see in your signal when the acquisition start ? 

do you need them to see them in sync during acqusition or the sync can be done after the fact ? 

0 Kudos
Message 4 of 10
(361 Views)

Duplicated with Re: How to solve the problem in sync between EMG (TCP/IP) and FORCE (DAQ)

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 5 of 10
(319 Views)

Another duplication with Re: How to solve the problem in sync between EMG (TCP/IP) and FORCE (DAQ)

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 6 of 10
(317 Views)

Hello,

 

I’m currently making a LabVIEW template to measure both FORCE data and electromyogram (EMG) data at the same time.

I have a question that I could not solve.
When measuring EMG data and FORCE data at the same time, there is a problem that both data do not start and end at the same time. That is, when the total number of samplings for both data is set to 1000Hz and measured for 10 seconds and the number of samplings is checked in real-time, FORCE data always starts from 1 and accumulates 1000, and the measurement time is almost the same as the time I set, 10 seconds. However, EMG data does not always start from 1 and accumulate, but accumulates from various counts each time (e.g., sometimes it starts from 200, sometimes from 500, and accumulates 1000), and the measurement does not end at the same time as FORCE. Is this problem due to a synchronization problem between the two data? Or is it because FORCE data is received through a waveform graph and EMG data is received through a waveform chart? I just can't figure it out.

To sum up, 
I would like to know 
1) the way to sync TCP/IP (EMG) and DAQ (FORCE)
2) the way to sync EMG for loop and FORCE for loop
3) the knowledge that would the different sampling rates between FORCE (100Hz; 100 bps) and EMG (2000Hz; 2000 bps) affect on syncronizing for them?

If anyone could kindly provide a solution or guidance (I'm sharing the template), I would greatly appreciate it.

Sincerely yours,
From. HSKHS

Information: I have setup the VI that is simultaneously working and measuring multi-asix FORCE (from NI DAQ Nano17 to LabVIEW block diagram) and EMG (Delsys, Inc; from EMGworks (a Delsys hardware) to NI USB-6210 to TCP/IP in LabVIEW block diagram). 
And, the VI is normally working. the VI is have been made and operated on 'NI LabVIEW 2015 SP1 (32 bit)'

0 Kudos
Message 7 of 10
(342 Views)

I'm very sorry for the several duplications before this post.
This post is the last one, and the reason I've duplicated is because I didn't know that there is no option for editing and deleting the post.

I ask for your generous understanding.

0 Kudos
Message 8 of 10
(327 Views)

Another x2 duplication with PROBLEM IN SYNCING EMG (TCP/IP) AND FORCE (DAQ) 

 

Someone asked a question and you never answer that but keep posting a new thread.

for synchronizing the data, is it possible to create an event to sync both signals ? if this is a  muscle contraction, for example contract 2 times as soon acquisition start so you can see in your signal when the acquisition start ? 

do you need them to see them in sync during acqusition or the sync can be done after the fact ? 

 

You can only edit the post within a short period after you posted it. If you want to make any corrections, leave a new reply.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 9 of 10
(281 Views)

hello! sorry it's not related to the topic but I've followed several of your posts.

I'm working in labview with an emg signal, and want to decompose it into motor units (muaps). I don't know if I need filters or how I could. Can you give me an idea, please?

Thank you very much!

0 Kudos
Message 10 of 10
(86 Views)