02-23-2016 02:42 PM
Wow, I must be onest. I didn't expect solving of my problem so fast.
Many thanks to crossrulz. His vi works 100% correct.
Regards to all!
Vlado
03-13-2016 02:12 PM
Back again.
This time I need help with oposite conversion from float to 4 byte array.
It should be used Microchip conversion where from MSB side eight bits are used for exponent, then one bit for sign and rest of 23 bits for mantissa.
So question, how to modify attached example to get desired result?
Regards, Vlado
 crossrulz
		
			crossrulz
		
		
		 
		
		
		
		
		
	
			03-13-2016 03:04 PM - edited 03-13-2016 03:05 PM
California_J wrote: This time I need help with oposite conversion from float to 4 byte array.
All you actually have to do is change the Rotate Left on the MSB to a Rotate Right.

 davekorpi
		
			davekorpi
		
		
		
		
		
		
		
		
	
			03-15-2018 12:56 PM
Can you make that work for LV 2013??
I can not ID what those elements are and when I drag the snippett, written in 2015, it will not convert...
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			03-16-2018 02:07 AM
 davekorpi
		
			davekorpi
		
		
		
		
		
		
		
		
	
			03-16-2018 12:03 PM
You ROCK!
Thanks a million!
How did you figure that out??
I have never used those structures!
VERY VERY cool!
 crossrulz
		
			crossrulz
		
		
		 
		
		
		
		
		
	
			
			
    
	
		
		
		03-16-2018
	
		
		01:06 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		05-06-2025
	
		
		11:44 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
@davekorpi wrote:
How did you figure that out??
It's called a snippet.
 davekorpi
		
			davekorpi
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		03-16-2018
	
		
		01:11 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		05-06-2025
	
		
		11:44 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
I got the snippet thing... The MAGIC is that structure! VERY VERY cool!
@crossrulz wrote:
@davekorpi wrote:
How did you figure that out??
It's called a snippet.