Hi,
I've installed the LabVIEW bindings just to get data from my python application to the LABVIEW environment.
But sadly I've programmed by python app with using the ZMQ send_pyobj functionality.
So I'm wondering, how and if it is possible to get the python object back to LabVIEW?!
Perhaps somebody can give me a hint on that?
Regards,
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This sounds very challenging! You'll have to write your own version of "unpickle" to interpret the data. Unfortunately "The data format used by pickle is Python-specific [...] however it means that non-Python programs may not be able to reconstruct pickled Python objects."
I think it would be more realistic to rewrite your python app to use a more portable serialisation convention for data on the wire. I expect that attempting to unpickle the binary data will be a rabbit-hole of complexity, even if you're only sending basic data types.
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've installed the LabVIEW bindings just to get data from my python application to the LABVIEW environment.
But sadly I've programmed by python app with using the ZMQ send_pyobj functionality.
So I'm wondering, how and if it is possible to get the python object back to LabVIEW?!
Perhaps somebody can give me a hint on that?
Regards,
Chris
This sounds very challenging! You'll have to write your own version of "unpickle" to interpret the data. Unfortunately "The data format used by pickle is Python-specific [...] however it means that non-Python programs may not be able to reconstruct pickled Python objects."
I think it would be more realistic to rewrite your python app to use a more portable serialisation convention for data on the wire. I expect that attempting to unpickle the binary data will be a rabbit-hole of complexity, even if you're only sending basic data types.
Cheers