From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

time information and block length mismatch

Solved!
Go to solution
Solution
Accepted by topic author M_Kallin

I finally got a solution.

 

I shrunk the program so I pritty much only kept the modules in the picture below.... and still got the error.
By using the module "Counter" I could count the blocks from "Read # REED" and "Reed Input" (from USB device).

It turns out that RS232 input module are delayed in the start up. Which makes the "Read # REED" ahead with about 20 blocks.

Then the error occur in the "Signal Switc" becouse we have a block length mismatch in the startup.

 

Solution:
Use "synchronize by input" for "Read # REED" and take the input from "Reed Input" (RS232 input). As in picture.

In this way "Read # REED" will not rush ahead in the start up.

 

 

Capture.JPG

0 Kudos
Message 11 of 11
(2,888 Views)