LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image transfer via dde

hi, I am trying to transfer and image from another software package using DDE. I can transfer text and number variables fine but cannot transfer images. Is there a setting somewhere to change the transfer fomat to an image type. Or am i usnig the wrong type of DDE request?
0 Kudos
Message 1 of 2
(2,473 Views)
Hi,
DDE is used to send messages between applications, in string format. You can also use numeric format, but you have to convert that data to string in your code. The only way to transfer images is to first convert them to strings.
When you read an image file using one of the Graphics Formats functions, it returns the Image Data cluster. Use Number-to-String functions to convert numerics in the cluster to strings. For Arrays use Byte Array to String.
Keep track of how you convert this cluster into string on the server side, so that you can uncode it back again to image data format on the client side.
Zvezdana S.
0 Kudos
Message 2 of 2
(2,473 Views)