Jump to content

What I do to configure DSC to read and log 5000+ tags?


Recommended Posts

Hi,

I'm developing a application thats need read and log a large tag database at period of 1 second. My system have actually 1200 tags and when I try to increase the number of tags my system slowdown and not update at requested period anymore.

I'm using NI OPC Servers to read data of 4 different PLC's. In the SVE I've created an IO Server to bind variables and all variables are located in a single process.

All variables are logging alarms and data. The Log Deadband and Update Deadband are set to 0.

My machine is a DELL Precision T5400 with Dual Intel Xeon Quad Core with 4GB of RAM and Windows XP Sp3 installed.

LabVIEW 8.6.1

Bruno Costa

Automation Enginner

Link to comment

When you say "read and log", I assume you don't mean you're reading from one database and logging the data to another, right?

We've had success reading that number of channels, but it often depends on the hardware. If you can get the data from the hardware in that time, then you're probably okay (the database writes aren't too timeconsuming).

Link to comment

When you say "read and log", I assume you don't mean you're reading from one database and logging the data to another, right?

We've had success reading that number of channels, but it often depends on the hardware. If you can get the data from the hardware in that time, then you're probably okay (the database writes aren't too timeconsuming).

I want say read tags from PLCs and log in database. This operation isn't tima comsuming because i use only 2% of CPU time.

Wich version of LabVIEW are you using? Update rate, deadband ... . I want know what you doing different, to make it work.

In attached image you can see the system layout.

post-15666-0-66778400-1309868127_thumb.p

Link to comment

Hi,

I'm developing a application thats need read and log a large tag database at period of 1 second. My system have actually 1200 tags and when I try to increase the number of tags my system slowdown and not update at requested period anymore.

What is the update rate of every Tag in your OPC Server? They should all be at 1000ms, if it's lower, there is a chance you are logging a lot more data than you need since your Shared Variables deviation is set to 0.

If that doesn't do it, I would suggest increasing the deviation to minimize logging small changes in data that might not be of any use anyway.

The SVE is not the most efficient application when it's asked to perform a lot of operations quickly.:( If you minimize how often each channel updates, you will reduce the load on the SVE and therefore allow it to handle more channels.:)

Good luck,

LP.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.