LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Default value get from Network Stream

Hi everyone,

 

I am using LabVIEW 2012 SP1 with NI RIO 14.0.1 and Network Stream 1.2, Windows 7

 

I have an array of 7 elements of clusters that I pass through network stream from RT to HOST. The first three values are transmitted correctly but not the others  since they are composed of default value. The size of the array is correct (size is 7 in the RT and 7 in the HOST).

 

If I try to pass the clusters one by one LabVIEW crashes. I don't think it's a normal behaviour.

 

I can use the "variant to flattened string" VI as a workaround but it should work with the variant data.

 

Where does the problem come from ?

 

Thanks

0 Kudos
Message 1 of 5
(3,011 Views)

I have not seen this issue.  Can you post some code that shows your problem.  It sounds like you are doing something wrong.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,992 Views)

The problem appears on a cRIO 9073, my colleague  tested on a cRIO 9068 and it worked. since I have a workaround I will not further investigate. If I have time I will post my code with only the problem that shows up.

0 Kudos
Message 3 of 5
(2,982 Views)

It seems that the problem came from the typedef of the cluster I passed into the network stream. I had command from the system palette into this cluster and I changed them with commands from the modern palette and the bug didn't show up, don't know if it will last ...

0 Kudos
Message 4 of 5
(2,932 Views)

I finally found that the error came from a cluster that should be defined as a variant.

0 Kudos
Message 5 of 5
(2,823 Views)