Log in

View Full Version : type-casting fixed-point to string


kamocat
07-12-2009, 01:14
Is there a known issue with type-casting a fixed-point number to a string on the cRIO?
I'm trying, and it turns out empty data. However, it works fine on my computer.

Any ideas?

PhilBot
07-12-2009, 07:21
Is there a known issue with type-casting a fixed-point number to a string on the cRIO?
I'm trying, and it turns out empty data. However, it works fine on my computer.

Any ideas?

Which Language?

Greg McKaskle
07-12-2009, 07:33
Fixed point numeric support went into LV just a few years ago, so it may very well be a bug. It may also be that you are doing something few have tried. Please attach a simple VI showing the issue.

Greg McKaskle

kamocat
07-12-2009, 19:00
Here's an example.

It looks like the "flatten to string" function works, though.

Greg McKaskle
08-12-2009, 08:29
If I run the attached VI on LV 8.6, both flatten and typecast produce the same values -- for the half dozen I've tried. If there wasn't a specific value that failed, it looks like a bug in 8.5 that was corrected.

Greg McKaskle