LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to acquire data and send via tcp/ip

Your question is not clear. You say you're going to use the 6210 and have one, but you want to test it, but you're looking for a 6009 in MAX. This makes no sense.

 

Regardless of which module you're looking for, have you installed DAQmx? This is independent of LabVIEW. 

0 Kudos
Message 11 of 22
(2,042 Views)

no no mate...

for this project i will use a 6210, my boss will buy one from NI

but first, for test we will use a 6009 that we already have here at company....

 

and yes i have the daqMX installed 😉

i will try here, any question i post it here

0 Kudos
Message 12 of 22
(2,030 Views)
OK, so you have a 6009 and you connected it to your computer, but it doesn't show up in the Devices and Interfaces list. Does it show up in Device Manager? If it does, does it have a yellow exclamation point? The 6009 is USB-powered, so it's possible it's not getting enough power. Try plugging it into another USB port, or removing other USB devices that you may have plugged into the same root hub.
0 Kudos
Message 13 of 22
(2,021 Views)

no no, i already fix that =x

was a mistake of mine

now i'm working in some improvements =D

all is working good!

0 Kudos
Message 14 of 22
(2,017 Views)

I have a question, I was sending to another program the data from what I was measuring

It was 3 voltages and 3 currents, but now I want to send the others things

I have 2 graphs that I want to show in the other program via tcp/ip

and have 2 boolean variables... how can I send all these informations??

 

i will upload a screen shot of how I sent the 3 voltages and 3 currents

I don't know if i only have to put more input at the  build array

or if i have to send it from another way!

 

Well i tryed put on the build array but it don't work because the data types are different

So I don't know what i have to do to send all these informations to my client =/

 

The red circles are the things I want to send with the 3 voltages and 3 currents

Could someone help me on that?

Thanks

 

problem to send the data.JPG

0 Kudos
Message 15 of 22
(1,951 Views)

Hi EduU,

you can build a cluster from your array of values and your boolean values. Connect it to the same function you use now for your double array. Change the receiver also to the new structure. With this changes you should get what you need.

 

Mike

0 Kudos
Message 16 of 22
(1,947 Views)

Well thanks for your answer!

But you say a blundle right?

I will try it, if it works I post here again

 

If i'm wrong, please upload a screen shot with a basic example

Thanks!

0 Kudos
Message 17 of 22
(1,939 Views)

Well Mike I did what I think it was right....

But I'm receiving an error at my client.vi

 

Error 116 occurred at Unflatten From String in teste 4 - client.vi

 

Possible reason(s):

LabVIEW:  Unflatten or byte stream read operation failed due to corrupt, unexpected, or truncated data.

 

I will upload bouth VI the server and the client...

I'm using LABVIEW v. 8.6

So maybe you can take a look 

and tell me where i'm commiting a mistake

 

here are the 2 screen shots from my server and client too:

 

Server:

server.JPG

 

Client:

Client.JPG

 

Thanks for any help!

Download All
0 Kudos
Message 18 of 22
(1,923 Views)

Hi EduU,

you should use the same cluster on both sides. You send the booelan elements as the last elements, but you try to get it out first.

 

Mike

0 Kudos
Message 19 of 22
(1,900 Views)

well how can i change the order?

Because this order appears like that, maybe is because i put the boolean at first on cluster?

well I will try make another one following the sequence!

 

Thanks mike!

0 Kudos
Message 20 of 22
(1,892 Views)