Jump to content


Photo
- - - - -

OpenG Toolkit - Create Response Notifier bug?


  • Please log in to reply
3 replies to this topic

#1 klove

klove

    2 more posts to go.

  • Members
  • 8 posts

Posted 11 February 2005 - 09:05 PM

I'm using the OpenG Message Queue library (thanks Jim) in my project and may have come across a bug.

It appears if you try and call the "Create Response Notifier" VI (called by "Insert Msg Queue Element") too frequently, it creates duplicate names for successive identifiers...

It seems to be caused by the fact that the "Get Time/Date" function used to generate the notifier name returns integer seconds, which will attempt to create identical notifier names if called more than once in the same second.

I created a temporary fix by appending a random number to the end of the notifier name. This obviously does not guarantee a unique name, but it does seem to tilt the odds in my favor... :D

Any thoughts?

Kirk

#2 Jim Kring

Jim Kring

    packages everywhere!

  • JKI
  • 1,901 posts
  • Location:Lafayette, CA
  • Version:LabVIEW 2011
  • Since:1995

Posted 11 February 2005 - 09:09 PM

I'm using the OpenG Message Queue library (thanks Jim) in my project and may have come across a bug.

It appears if you try and call the "Create Response Notifier" VI (called by "Insert Msg Queue Element") too frequently, it creates duplicate names for successive identifiers...

It seems to be caused by the fact that the "Get Time/Date" function used to generate the notifier name returns integer seconds, which will attempt to create identical notifier names if called more than once in the same second.

I created a temporary fix by appending a random number to the end of the notifier name.  This obviously does not guarantee a unique name, but it does seem to tilt the odds in my favor...  :D

Any thoughts?

Kirk

View Post


Kirk,

Could you please post this in the OpenG Support Forums? This is our support channel, and ensures that the issue gets visibility by our developers and users.

Regards,

-Jim

#3 klove

klove

    2 more posts to go.

  • Members
  • 8 posts

Posted 11 February 2005 - 09:11 PM

Kirk,

Could you please post this in the OpenG Support Forums?  This is our support channel, and ensures that the issue gets visibility by our developers and users.

Regards,

-Jim

View Post


I would like to, but the registration confirmation process seems to move very slowly, I still have yet to recieve my confirmation e-mail for that forum.

Kirk

#4 Jim Kring

Jim Kring

    packages everywhere!

  • JKI
  • 1,901 posts
  • Location:Lafayette, CA
  • Version:LabVIEW 2011
  • Since:1995

Posted 12 February 2005 - 08:04 AM

I would like to, but the registration confirmation process seems to move very slowly, I still have yet to recieve my confirmation e-mail for that forum.

Kirk

View Post


That is strange. I have activated your account and you should be recieving an email that will allow you to change your password and log in.

Regards,

-Jim