LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use network stream to transmit typedef cluster, error -314100

Hi, everyone,

I am now using network stream to send command and data between myRIO and PC(Win7 64bit,LabVIEW 2013).

I use a typedef cluster which includes integer and variant ( I use integer so that I can send enum by changing its type to int.)

 

However, when I use Write single element to stream to send command, the error message pops out.error.PNG

 

So I check the vi where I initialize network stream and found that there's no error but the probe at end point says "no debug info". However, the cluster indicator(Connections Ref) which I transmit stream endpoint address between different loops has value.

error2.PNG

 

 error3.PNG

But when I want to get the endpoint value from the connection Ref cluster in other case, and use write single element to stream. It still doesn't work(error 314100).

e4.PNG

I don't know why this is happening, can someone help me? Thanks!

0 Kudos
Message 1 of 2
(3,237 Views)

Sorry, I've solved by myself...... I didn't notice that I've close the connection(because this is a stop case) before I send stop command to RT target by network stream.

But the probe still can not show message about the endpoint. Strange.

0 Kudos
Message 2 of 2
(3,213 Views)