05-14-2012 11:26 AM
Hello everybody,
I'm trying to figure out how to perform a typcast data formating from complex array data to DBL and DBL to CBDL. This seems quite simple but I couldn't figure it out.
I've attached an example vi. I don't understand how the dummy variable on the typecast function was created both for the DBL and CBDL constants. When I right click and create constant, I end up with something different. Can somebody explain how to do it. See attachement.
Thanks
05-14-2012 11:37 AM
Right click the constant you created and pick Representation.
I'm not sure what you are trying to do exactly, but you probably don't want typecast. Typecast is a function to take a value in memory and interpret it as a different type of data. So typecast a string of two characters to have it become a 16-bit integer.
I'm thinking you might want to use the conversion bullets in the Numeric >> Conversion palette which will actually convert a number to a different datatype without necessarily changing its underlying value.
05-14-2012 11:40 AM
05-14-2012 12:16 PM
JonN,
What is the name of the function in the middle and where on the functions pallete can I find it?.
Thanks
05-14-2012 12:59 PM
As far as I know, it's not on a pallete...see background here