LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data collection

Hi,

 

I'm collecting data from a homemade device using labview but labview says the maximum amount of data to be obtained during any one read of the port by the protocol is limited to 548 bytes. Does anyone know how i can change this to higher number?

 

thanks

sbz

0 Kudos
Message 1 of 13
(3,439 Views)

hello,

 

wich com do you use rs232, gpib ... ?

 

do you really need to pass 548 bytes in one read ?

 

what kind of dta do you transfert ?

 

Tinnitus

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 13
(3,433 Views)

hi Tinnitus,

 

it's ethernet connection and i need higher bytes to read.

 

thanks

sbz

0 Kudos
Message 3 of 13
(3,387 Views)

Could you provide some more information about your program (screen shots or VI) so we can get a better idea of how your program is coded?

What functions or VIs are you using and how is your read set up?

 

Thanks!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 4 of 13
(3,372 Views)

What are you talking to? Does it have limitations that will not allow more data to be read? Can you change the communication protocols to adjust the amount of data that the device sends?

Tim
GHSP
0 Kudos
Message 5 of 13
(3,360 Views)

I'm using UDP to collect data. It does not have limitation but labview limits it. thanks, sbz

0 Kudos
Message 6 of 13
(3,330 Views)

UDP Read has a default 'max size' input of 548 bytes (see Help on UDP Read Function). This can be increased by wiring a higher value to the 'max size' input. If you have already tried this, did you get an error? If so, could you post the error to the thread?

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 7 of 13
(3,321 Views)

hi guys,

 

i tried to change the max number of bytes before but the problem was the data collection became unstable, meaning sometimes it freezes out.

 

thanks for your help

sbz

0 Kudos
Message 8 of 13
(3,282 Views)

What did you change the max number of bytes to? Also, what do you have set as your timeout value? If you have wired -1, your function will wait indefinitely if no data is received.

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 9 of 13
(3,247 Views)

i changed the max number to several values up to 1000, and also the time out to 200. sbz

0 Kudos
Message 10 of 13
(3,238 Views)