Jump to content
News about the LabVIEW Wiki! Read more... ×
jgcode

Is a GUID (String Package)

Recommended Posts

Getting old, I posted in that thread but didn't remember it.

Where is the smiley with grey beard?

I wouldn't worry - I frequently embarrass myself.

You just get used to it after a while...

  • Like 1

Share this post


Link to post
Share on other sites

Apologies for reviving an old thread, but would anyone be able to save this GUID toolkit for LV2009?

 

For what it's worth, attached is a zip containing three Create GUID implementations consistent with IETF RFC-4122:

attachicon.gifGUID LV11.zip

Version 1: Timestamp
Version 3: MD5
Version 4: Random

The V3 implementation requires the OpenG MD5 library. Also included is a VI that generates a 100 ns base timestamp (used in the V1 implementation, actually works as advertised now), along with a typedef that is used in the implementations.

There is no V5 VI, I haven't tracked down the SHA-1 library you have been talking about, but it should be trivial to modify the existing V3 VI (replace the checksum call with a SHA-1 and modify the version bitmask) if it doesn't already have the functionality you describe.

If there's interest in having the Is A GUID method perform a basic timestamp validation for V1 GUIDs, I can throw some code together.

-m

Share this post


Link to post
Share on other sites
Edit: sorry, originally posted the wrong zip. Fixed.

 

I did wonder about that when I saw the same file size :)

Share this post


Link to post
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

×

Important Information

By using this site, you agree to our Terms of Use.