Jump to content

Dumb Open G Question


Recommended Posts

Posted

Hello,

Am I crazy blink.gif ? I can't get this to work right. Why isn't my 0 column sorted?

Please help answer what I hope is a dumb question.

Thanks

Dan

Posted

QUOTE (ASTDan @ Apr 17 2008, 03:52 PM)

Am I crazy :blink: ? I can't get this to work right. Why isn't my 0 column sorted?

It's sorting in alphabetical order, not numerical.

"0", "10", "5" is in correct alphabetical order.

Do you owe me a beer?

Posted

1 Beer :beer: as ordered. Don't drink it to fast.

Hmmmm. This complicates things. The string array I am actually using has text and numbers, but the first column will always be numeric. Is there an easy way to do this? Right now I am playing around with the pointer array that is coming out of the Sort 2D VI.

Dan

This is what I came up with quick and dirty

Posted

There is a bug in Delete Elements from 2D Array __ogtk.vi where rows are deleted when colums are selected and vice versa.

Reinis

QUOTE (Jim Kring @ Apr 18 2008, 11:34 AM)

Dan,

Glad that works for you.

Thanks for spreading the OpenG love :)

Cheers :beer:

-Jim

Posted

QUOTE (rkanders @ Apr 18 2008, 10:51 PM)

There is a bug in Delete Elements from 2D Array __ogtk.vi where rows are deleted when colums are selected and vice versa.

Please show us an example.

  • 2 weeks later...
  • 1 year later...
  • 2 years later...
Posted (edited)

I don't think the bug described above concerning the "Delete Elements from 2D Array " has been fixed. It still returns the wrong deleted elements. The test case posted by Ton is a bad test case due to the nature of the bug. It does not catch the error. I've attached an example that demonstrates error.

Thanks,

Paul

http://sourceforge.n...435&atid=466832

Delete elements from 2D array.vi

Edited by paulmw
Posted

I agree that this bug hasn't been fixed. However I cannot put my finger on the actual bug.

Changing the number of input columns is of influence of the bug.

Ton

Posted

I believe the bug is derived by the mismatch in the case structure's state and the enum value being passed to the reorder 2d array. See attached pic.

post-26525-0-18443100-1313021526_thumb.p

Posted

I believe the bug is derived by the mismatch in the case structure's state and the enum value being passed to the reorder 2d array. See attached pic.

You can track this bug here: ID: 3390029

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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