LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to get VI to communicate with Galil 1842: DLL????

Hello everyone, I am very new to LabView and to programming in general but I am trying to piece together a cyclic tensile bioreactor to test some bladder cells for my Bioengineering research. I am using a thin beam load cell to feedback through LV to control the motion of a Hyadon Linear actuator (stepper motor). We already have a motion control setup in another lab using a geko micro stepper drive through a galil ICM 2900 board into the Galil 1842 card. I already have the VI written to control direction and step conditions but don't really know how to make it communicate to the motor through the galil stuff. The VI we were using before was simply for strain. It seems to use some .dll libraries but i dont understand how they are connected into the VI, or how the VI controls them since i don't see any wires going to them really. Could someone explain to me how the .dll stuff works and how LV uses it to communicate to the galil software. Here are some screen shots if that would help.
 
 
 
here is the hierarchy for the strain VI
 
0 Kudos
Message 1 of 2
(2,658 Views)

Hi Bfleish,

The Call Library Function node in LabVIEW simply functions to call into a DLL.  The required inputs and outputs depend on the construction of the DLL.  You can double click the Call Library Function node and a dialog box will open.  You wil be able to see the different functions and methods that are being called into and what the expected input and return values are.  The best way to understand how LabVIEW should interact with a DLL is to use the Call Library Function node dialog box to explore the different functions etc. that are available to LabVIEW from the DLL. 

 

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 2 of 2
(2,631 Views)