DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add two properties and make it one property?

Hey guys!

 

I was wondering if I could add two properties of a channel to make one property.

 

For example, let's say the two properties are date and time - Aug. 17th and 1:00 pm.

I want to put them together to make a property called "blah" - Aug. 17th at 1:00 pm.

 

If possible I want to do this in script... any help?

 

Thanks in advance!

0 Kudos
Message 1 of 2
(2,272 Views)

Hi kmyan9,

 

You can read those two properties with a VBScript, do the math in VBScript, then save the result back to a property with VBScript.  It would be better to load those two properties as just one property, though.  What type of file is this?  Did you write the DataPlugin that is reading it?

 

Can you send a data file that has these two properties in it?  The exact VBScript code will depend on how those properties were saved.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 2
(2,232 Views)