LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integer and a string arrays to LabVIEW from Matlab script node

I need to pass an integer and a string array to LabVIEW from Matlab script node. The latter only allows real and complex vectors and matrices as output nodes. Can someone suggest a work around?
0 Kudos
Message 1 of 5
(3,997 Views)
>
> I need to pass an integer and a string array to LabVIEW from Matlab
> script node. The latter only allows real and complex vectors and
> matrices as output nodes. Can someone suggest a work around?

Hi
I do not know if this helps but maybe divide every string to
chars and send array of chars (converted to int16) and in Labview
put it once more together.

P.S. Next time you write to newsgroup give at least your name, it
is better to know hwo you are talking to.

by
PP
0 Kudos
Message 2 of 5
(3,997 Views)
Many thanks for taking time to answer,Pawel. I did try this(both with I8 and I16 as output) before posting here. I am attaching a test VI which did not work. I would be grateful for any further help.

Thanks again

Sheela
0 Kudos
Message 3 of 5
(3,997 Views)
I modified the example you posted to utilize the double command in Matlab. It should now do what you want.

Matt Kisler
Applications Engineer
National Instruments
Message 4 of 5
(3,997 Views)

I had 4 strings in a variable.

how can i get that as output

0 Kudos
Message 5 of 5
(3,336 Views)