LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

importing data stream into labview

Hello everyone.

 

I need a small hint on how to import a data stream into matlab. The data is the deltaX and deltaY values from an optical mouse captured from code written in visual basic 6. It constantly updates the mouse position with a fast acquisition rate and does not stop at the screnn borders. The output of the code (which can be seen here http://www.mech.uwa.edu.au/jpt/mecha/LV/mouse-input.html ) is a .vbp and a .vbw.  I'm not too familiar with how this data is being encoded by these codes but I was hoping the X and  values could be easily imported into labview.

 

Thank,

FB

0 Kudos
Message 1 of 2
(2,413 Views)

Hi Fishbulb,

 

Please specify what you want to import your data into--you have mentioned matlab at the beginning and LabView at the end. If it is LabView, you can put our code in a dll and call that dll in LabVIEW using a Call Library Function Node. To put your Visual Basic code in a dll you have to look at the MSDN library. For more information on calling dlls in LabVIEW please look at this link. More information on the Call Library Function Node is provided in this link. Hope this helps.

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,390 Views)