cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

RS232 data split - more than 15 values

Resolvido!
Ir para a solução

Hello,

 

I'm working with a device that send back data like this :

 

$8982;0140;0200000000;0300D2;040000;050001;060000;078000;088000;09FFCC;0A00DF;0B00DE;0C00FC;0D8000;0E8000;0F8000;108000;2E0000;3D8000;F2

 

It's 19 values separated by a ";"

 

How can I manage to extract all of these values, as my RS232 input can handle only 15 inputs ? Each input have a "a\x3b" input filter.

 

I don't need all of these values, so I'm also looking for a way to filter with "a\x3b<>uselessvalue\x3b"

 

Thanks in advance !

0 Kudos
Mensagem 1 de 3
3.418Exibições
Solução
Aceita pelo autor do tópico Yoruk

You can create a second (third, fourth....) RS232 module that uses the first one as the "master". Then just create the additional channels, with no data request command, and continue the parsing. 

 

There is no easy way to say skip a value when the numbers are different lengths. If it was fixed length, and you didn't need the delimiter, you might be able to do it. 

 

You don't have to use an output from the module, so the unneeded outputs can remain unconnected. 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Mensagem 2 de 3
3.392Exibições

Many thanks, I'll do like that !

 

Regards,

 

Benjamin

0 Kudos
Mensagem 3 de 3
3.385Exibições