Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.
  • Page:
  • 1
  • 2

TOPIC: ask for library C# use on class 5 motor

ask for library C# use on class 5 motor 3 years 8 months ago #1712

  • zslim
  • zslim's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
ask for library C# use on class 5 motor
The administrator has disabled public write access.

Re: ask for library C# use on class 5 motor 3 years 8 months ago #1713

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
The SMIEngine library gets installed with the SMI2 software. The DLL file is IntegMotorInterface.dll and will be installed in your C:\Windows subdirectories.

There will be a subdirectory of sample code for some compilers in the C:\Program Files (x86)\Animatics\SMIEngine directory. The SMIEngine.chm file explains the DLL.
The administrator has disabled public write access.

Re: ask for library C# use on class 5 motor 3 years 8 months ago #1715

  • zslim
  • zslim's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Do you have simple sample of communication C# interface with Animatics motor?
The administrator has disabled public write access.

Re: ask for library C# use on class 5 motor 3 years 8 months ago #1717

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
I'm sorry... but I do not have a C# example.
The administrator has disabled public write access.

Re: ask for library C# use on class 5 motor 3 years 7 months ago #1734

  • zslim
  • zslim's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
from animatics VBIO.vb example,

"ErrorHandler:
If Err.Number = &H80004005 Then
UIStatus.SelectedText = "Error:" & Err.Description & Chr(13) & Chr(10)
Else
UIStatus.SelectedText = "Error:" & ErrorToString(Err.Number) & Chr(13) & Chr(10)
End If
End Sub"

may i ask that where get from the value "&H80004005"?
Err.number can refer from any user manual?
The administrator has disabled public write access.

Re: ask for library C# use on class 5 motor 3 years 7 months ago #1736

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
The .chm file in the SMIEngine folder is the best reference. I don't recognize your error. It may have something to do with what Country Code you have selected in Windows. You may want to try setting it to USA to see if you have the same result.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: hsummer, csearcy, swalters, mmeyers
Time to create page: 0.317 seconds
Powered by Kunena Forum