Jump to content
  • 0

Universal Library Version


TonyD

Question

1 answer to this question

Recommended Posts

  • 0

Hi @TonyD,

To return the UL version number in Pythn, you use the get_config() library call.

Download this version of the UL Help:  https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm

Click on Contents of not already selected.

Then go to Universal Library Function Reference >> Python for Windows  >> Configuration functions  >> get_config()

there you will find the Prototype:

get_config(info_type, board_num, dev_num, config_item)

info_type = GLOBALINFO

board_num = 0

dev_num is ignored

config_itenm = VERSION

Returns the specified configuration item.  so you'll need to preface the function call with something akin to:

my_version = get_config( GLOBALINFO, 0, 0, VERSION)

Regards,

Jeffrey

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...