10-29-2008 11:32 PM
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
10-30-2008 04:13 PM
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.