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.

VarType in Delphi

More
20 Feb 2017 16:13 #4969 by support
Replied by support on topic VarType in Delphi
You can test e.g. like this:

VarType(eventArgs.AttributeData.Value) = varBoolean
More info - e.g.:
- docwiki.embarcadero.com/RADStudio/Seattle/en/Variant_Types
- docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/He...vclwin32/Variants_VarType.html

Best regards

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

More
13 Feb 2017 11:23 #4960 by alr1976
VarType in Delphi was created by alr1976
Hi!

how can I check if data received is Boolean or single in Delphi?

I understand that I need to check eventArgs.AttributeData.ValueType

eventArgs.AttributeData.ValueType = System.Boolean
I have an error...

Thanks Alessandro

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

Moderators: support
Time to create page: 0.046 seconds