The documentation for UL on .NET indicates that if we want to make sure our application will work with future releases. It indicates that "This method must be the first Universal Library method to be called by the program."
Since I freshly installed the library, I expected it to match the version 6.73 I saw from the download page, or maybe 2.9.0.0, one of the versions I saw in the MccDaq.dll file. I wouldn't have been surprised if it was something greater than 5.20, since a page (About this document) of the help mentioned that the ULHelp considers product version of 5.20 or later. It could have been also the versions of the cbw32.dll or cbw64.dll which both have 1.93.0.0.
Question
echoix
The documentation for UL on .NET indicates that if we want to make sure our application will work with future releases. It indicates that "This method must be the first Universal Library method to be called by the program."
https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm#Function_Reference/Revision_Control_Functions_for_NET/DeclareRevision.htm
However, I don't seem to find any guidance in the docs or the forum on what value to pass.
I tried debugging to get some values, and got:
MccDaq.GlobalConfig.Version is 5 (an int)
MccDaq.MccService.GetRevision(
out float revNum,
out float vxdRevNum
);
gives revNum = 5 (float), and vxdRevNum = 5 (float).
MccDaq.MccService.CurrentRevNum gives 5.5 (float).
Since I freshly installed the library, I expected it to match the version 6.73 I saw from the download page, or maybe 2.9.0.0, one of the versions I saw in the MccDaq.dll file. I wouldn't have been surprised if it was something greater than 5.20, since a page (About this document) of the help mentioned that the ULHelp considers product version of 5.20 or later. It could have been also the versions of the cbw32.dll or cbw64.dll which both have 1.93.0.0.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now