Raw Shared Memory to Gamma

Hi !

I want to share Raw data from beta to gamma. I tried Writer (Raw ShredMemory) but it does not seem to work. Am I missing something ?
With String data shared with SharedMemory (Windows) works fine but want to figure out how Raw data can be shared

Thanks !!
Screenshot 2021-07-07 16.04.28|800x406

Since you’re writing a double (ie Float64) in beta, you’ll have to use ToFloat64 [System.BitsAndBytes] to read that in VL!

that works, thank you Joreg!

and should it work with Spread of Float ? I tried a couple of ways can’t get it work.

note that vvvv beta uses double-precision, so you need to convert to Float32 in gamma, i your example, you are doing it the other way around.

no sorry, i didn’t see which Float64 node you are using.

when you convert the Spread, you need to multiply the start index by 8, because it is 8 bytes for one Float64. currently you only move the start index by one byte.

image

1 Like

Thank you @tonfilm !

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.