From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 data split - more than 15 values

Solved!
Go to solution

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
Message 1 of 3
(2,180 Views)
Solution
Accepted by topic author 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
Message 2 of 3
(2,154 Views)

Many thanks, I'll do like that !

 

Regards,

 

Benjamin

0 Kudos
Message 3 of 3
(2,147 Views)