Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   type-casting fixed-point to string (http://www.chiefdelphi.com/forums/showthread.php?t=79219)

kamocat 07-12-2009 01:14

type-casting fixed-point to string
 
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

Re: type-casting fixed-point to string
 
Quote:

Originally Posted by kamocat (Post 886473)
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

Re: type-casting fixed-point to string
 
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

Re: type-casting fixed-point to string
 
1 Attachment(s)
Here's an example.

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

Greg McKaskle 08-12-2009 08:29

Re: type-casting fixed-point to string
 
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


All times are GMT -5. The time now is 11:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi