LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using problem CW_Datasocket OCX in CVI6.0

I'm using CW datasocket ocx in my application..
By the way, I have a problem.
1. I want to transfer my struct data.
But, VARIANT is not contain struct type.

2. I can't transfer attribute using wrapper's Set/Get Functions. Because I don't know using function.
Send to me answer, please.

regards.

-jecki
0 Kudos
Message 1 of 2
(2,647 Views)
Hello

The simplest way would be to send one of the fields as the main data value and then pass the rest of the feild as attributes of the data value. Check out this link

Are you using the activex controller wizard to generate the wrappers for the datasoket ocx? CVI already has custom made wrappers for this purpose. You can find them under in the Library option under Datasocket. They are alot more easier to use than the Wizard generated wrappers.

If you need more information about using the datasocket functions, check out the examples for datasocket installed under ..\CVI\Samples\datasocket

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,647 Views)