05-27-2009 12:43 PM
I have a situation where i want/need to detect what type of activex reference a particular reference is, and then output that reference type to another part of my code. Is this possible?
I could/would also make great use of a bit of code that could detect what an input is. By this i mean numbers (I8, U32, DBL, CXT.....), strings, references, paths, or boolean. Is this also possible?
I realise that polymorphic VIs may be one answer, but i don't have the ability to create them. Please, are there any other ways of achieving my aim(s)?
James
Solved! Go to Solution.
05-27-2009 01:16 PM
The OpenG toolkit has a function called Get Type Enum from Data
Ton
05-27-2009 01:22 PM - edited 05-27-2009 01:22 PM
05-27-2009 01:34 PM
smercurio_fc wrote:
@James: I'm not sure how a bit of code that detects the datatype of numerics is going to help you with an ActiveX reference. These are totally different beasts. Exactly how were you intending to use the ability to determine whether an input is an I8 or a DBL to tell you what class an ActiveX reference is?
Sorry - these were two different questions, but i put them together since they are asking something similar only using different data types.
TonP wrote:The OpenG toolkit has a function called Get Type Enum from Data
![]()
Thanks for that. I have the toolkit, but haven't found this VI. Which section is it in?
05-27-2009 11:12 PM
It's in the LVData palette:
Ton
05-28-2009 03:47 AM
05-28-2009 04:16 AM
05-28-2009 09:26 AM
James Mamakos wrote:
Just another question - a slight extension of the first. Is there any way of telling what a particular reference links to (programatically)?
This has been brought up before, but no solution was ever found.
05-28-2009 10:11 AM
05-28-2009 11:25 AM