LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access a cluster control's base address?

I am playing with low-level disk I/O using Win98 function DeviceIOControl() called from LabView 7(via "Call Library Function" call to kernel32.DLL).

The DeviceIOControl() function requires me to setup some int32 registers (reg_ESI,reg_ECX,reg_EBX etc) prior to invoking the Interrupt 21 operation. One of these registers must contain the base address of a "Control Block" in which to return the results. I have implemented the Control Block as a cluster control. I need to extract the control's base address to load into reg_EBX. I notice that a cluster control's "value property" (accessed via property node) lists values for registers reg_EBX,reg_EDX etc. So does the base address for the cluster control reside in its reg
_EBX value property?

Is there another easier way that I can access the cluster control's base address so I can install it into an int32 (as opposed to connecting the cluster directly to a "pass by pointer" input of a "Call Library Function" node?
0 Kudos
Message 1 of 1
(2,641 Views)