Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Changing the Reference type of a stationglobal

$
0
0

I am creating a Stationglobal variable that is a number. Teststand by default creats this as a double precision 64bit floting point and I need to make it an unsigned 64bit number.

 

I use this as the way to create the variable:

 

StationGlobals.NewSubProperty("Station_Equipment.DMM.Session_Number",PropValType_Number,False,"", PropOption_DoNothingIfExists)

 

Which make the double precision no problem. I then use this to try and change the type reference to unsigned 64 bit:

 

StationGlobals.SetPropertyObject("Station_Equipment.DMM.Session_Number",PropOption_DoNothingIfExists, (PropValType_Number.Type.Representation, PropertyRepresentation_UInt64))

 

This does not seem to change my variable. Any suggestions on what I am doing wrong?

 

 

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>