NI VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

UDP in Veristand Model instead of Custom Device

Highlighted

Hello.

I have developed a complex model from Simulink which needs to comunicate via UDP. The first problem I have is that the model doesn't support string output, so I need to split the message into an array but it is not a very big problem, because I'm generating an array including the total size for UDP.

Now (and here is the problem) for the UDP communication I have tried:

1) Use a model generated from Labview. The models can read array inputs so I can map the array simulink dll ouput to the array input (of course I need to match the size). The problem is that I cannot get running the UDP communication by using a model. I get error 60.

2) Use a custom device. I have move the code into a custom device and now the UDP communication works, great! The problem now is that Custom device doesn't support array as input so I need to map manually up to 100 vector positions comming from simulink dll.

Any idea about how to solve the problem?

Thanks in advance.

Miguel.

0 Kudos
Message 1 of 3
(928 Views)

Hello.

Any idea about this issue?

Thanks,

Miguel.

0 Kudos
Message 2 of 3
(817 Views)

Error 60 said that the port is now under the use. Can you change UDP port on your code?

Emboar
Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 3 of 3
(804 Views)