LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tcp windows media player

Hi there, I am new to LabView and currectly doing a small revision that able to play windows media player through control panel. But I am getting an error when I take second action in my client side. Below is my problem.

Download All
0 Kudos
Message 1 of 7
(2,434 Views)

Hi KinniHan,

 

due to missing WHILE loops your VIs run only once!

So it is expected to get problems on "second action"…

Best regards,
GerdW


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

But I am using the continuouslyrun function. Which mean I must add a while loop in order to run more than once even though I am using that?

0 Kudos
Message 3 of 7
(2,355 Views)

Hi Kinni,

 

using "run continuously" is just for debugging purposes…

Best regards,
GerdW


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

Thanks for your advice but it is still not working after I added in a while loop and my problem occur on "TCP write" when I try to excute the second action.

0 Kudos
Message 5 of 7
(2,344 Views)

KinniHan escreveu:

Thanks for your advice but it is still not working after I added in a while loop and my problem occur on "TCP write" when I try to excute the second action.


What is the problem? There are lots of problems related to TCP Write.

 

Regards,

Mondoni
0 Kudos
Message 6 of 7
(2,334 Views)

Hi, thanks for concern. This is the error I had during debugging.

Error 62 occurred at TCP Write in Untitled 1.vi

 

Possible reason(s):

LabVIEW: Serial port overrun error.
=========================
LabVIEW: The system caused the network connection to be aborted.

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