MIAC and Labview

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
lefas
Posts: 4
Joined: Wed Sep 09, 2009 11:37 am
Location: Finland
Contact:

MIAC and Labview

Post by lefas »

Hi,
I tried to use Labview example but my Labview (8.6) gives error "bad wires" in the USB Transfer vi. Have you ever tested the example with LV8.6?

Best regards
Leif

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MIAC and Labview

Post by Benj »

Hello Leif

I used Labview version 8.0 when creating these examples. I will see if I can get hold of v8.6 for testing and let you know how I get on. Could be that the DLL file is simply missing from the project folder or DLL calls need to be wired slightly differently in v8.6. If you find a workaround for this problem then it would be appreciated if you share with the forum.

lefas
Posts: 4
Joined: Wed Sep 09, 2009 11:37 am
Location: Finland
Contact:

Re: MIAC and Labview

Post by lefas »

Ben,
It seems to be problem with the DLL. Is there any description for the DLL?
Leif

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: MIAC and Labview

Post by Benj »

Hello,

Only that it uses these functions.

ECIO_GetDLLVersion () As Long

ECIO_Open (ByVal index As Long, ByRef pVID_PID As Any) As Long

ECIO_Close () As Long

ECIO_Transmit (ByRef pDataOut As Any, ByVal dwLenOut As Long, ByRef pActualLenOut As Long, ByRef pDataIn As Any, ByVal dwExpectedLenIn As Long, ByRef pActualLenIn As Long, ByVal dwTimeout As Long) As Long

ECIO_GetDeviceCount (ByRef pVID_PID As Any) As Long

If you put the files from your Labview project into a zip archive then I will do some testing for you and see if I can make it work with v8.6.

Post Reply