Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

WriteMultipleItemValues in C++

More
28 Oct 2011 13:13 #587 by support
Now replied, and posted an updated example, See the thread mentioned in my previous answer.

Please Log in or Create an account to join the conversation.

More
26 Oct 2011 09:48 #576 by support
I will prepare this example and reply in the original thread, i.e. www.opclabs.com/Support/Online... .
Best regards,
Zbynek Zahradnik

Please Log in or Create an account to join the conversation.

More
26 Oct 2011 01:55 #575 by bcook@c3i-usa.com
I need an example of how to use the WriteMultipleItemValues using C++. A prior thread showed how to use this function using fixed values. I need an example that uses variables that are holding the data to be written.
I have tried using a format such as the following:

CComSafeArray ItemDWArray(12);
ItemDWArray.SetAt(0, CComVariant(*(DWORD*)&m_sTfn1WriteCommandData.sData0));
.........

However, this generates an exception at runtime. I need help.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.051 seconds