Jump to content

loss of synchronization using notifier (LV 7.0)


Recommended Posts

Hello,

I'm using LV 7.0 and I have two while loops which I want to synchronize with a notifier. The first while loop (upper one in the pdf) reads out an digitizer card. This is code from the manufacturer of the digitizer card which I adapted to my needs. The second one reads out another device over a RS232 connection. An accidental event results in a spectrum on the digitizer card and not later than 200 ms to this event a corresponding information appears on the RS232 connection. This information is passed with a notifier to the digitizer loop so that both loops are synchronous. There the data is saved to a file. The program ist running fine for the first 100 to 300 events and after that the synchronization is lost and I get notifier timeouts. The information is read from the RS232 connection later than before. So I measured the delay between the digitzer and the RS232 connection with a scope and it is always less than 200 ms. Therefore it has to be a problem with my vi and not with the hardware. Is the usage of the notifier correct or do I have to generate and destroy the notifier inside the loop.

Can anyone help me with this problem?

Thanks

Download File:post-5042-1147861217.pdf

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.