vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Brandneu! sevEingabe v3.0 - Das Eingabecontrol der Superlative!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB.NET - Ein- und Umsteiger
Re: Einbinden einer C-DLL 
Autor: ModeratorDaveS (Moderator)
Datum: 06.03.12 13:09

Naja, ist kaum das einzige Problem, das man mit der API haben wird, vermute ich.

    Public Enum ND2_ERR As UInteger
        ND2_NoError = 0    ' Call was successful 
        ND2_InvChannel = &H60000002  ' invalid channel
        ND2_NotInitialized = &H60000003 ' not initialised
        ND2_AccNotAllowed = &H60000004 'access not allowed(e.g. Soft Realtime 
        ' Mode enabled, EnDat master already in use, ...)
        ND2_FuncNotSupp = &H6000000A ' function not supported 
        ND2_ParamInvalid = &H6000000C ' parameter not valid 
        ND2_TimerTrgEn = &H80000003UI ' Timer Trigger is enabled 
        ND2_ExtTrgEn = &H80000004UI ' External Trigger is enabled 
        ND2_NoCustNetwork = &H90000004UI ' no custom network parameter available 
        ND2_HostnameTooLong = &H90000008UI ' hostname is to long/short 
        ND2_HostnameInvalid = &H90000009UI ' hostname invalid 
        ND2_CantSaveHostn = &H9000000AUI ' can not save hostname 
        ND2_CantRdHostname = &H9000000CUI ' can not read hostname 
        ND2_DestIPUnreach = &H90000042UI ' destination IP for Soft Realtime 
        ' Mode unreachable 
        ND2_SoftRTEn = &H90000044UI ' Soft Realtime Mode already enabled 
        ND2_CantTermConn = &H90000051UI ' can not terminate connection 
        ND2_CantTermSelf = &H90000052UI ' can not terminate myself 
        ND2_BroadcastInv = &H90000062UI ' use of broadcast address is not 
        ' allowed 
        ND2_PortNoInv = &H90000063UI ' invalid port number 
        ND2_CantInitWinSock = &HA0000001UI ' WSAStartup() call failed on WIN32 
        ND2_HostNotFound = &HA0000002UI ' gethostbyname() could not resolve 
        ' hostname 
        ND2_CantOpenSocket = &HA0000003UI ' the socket could not be created 
        ND2_CantConnect = &HA0000004UI ' could not connect the socket to the 
        ' device 
        ND2_SendError = &HA0000005UI ' Error ocurred while sending data to the 
        ' device 
        ND2_ReceiveError = &HA0000006UI ' Error ocurred while receiving data 
        ' from the device 
        ND2_OutOfMemory = &HA0000007UI ' Required memory could not be allocated 
        ND2_IllegalParameter = &HA0000008UI ' The parameter is invalid for this 
        ' command 
        ND2_InvalidResponse = &HA0000009UI ' The command response of the device 
        ' is invalid 
        ND2_InvalidHandle = &HA000000AUI ' The handle passed to any ND2* 
        ' function is invalid 
        ND2_ConnReset = &HA000000BUI ' The connection was reset by the peer 
        ND2_ConnTimeout = &HA000000CUI ' The network request has timed out 
        ND2_BufferTooSmall = &HA000000DUI ' The destination memory size is too 
        ' small 
        ND2_CantStartThread = &HA000000EUI ' Cannot start the soft realtime 
        ' thread 
        ND2_ElementSizeInv = &HA000000FUI ' FIFO element size mismatch 
        ND2_FIFOEmpty = &HA0000010UI ' The FIFO is empty, cannot retrieve 
        ' element 
        ND2_FieldNotAvail = &HA0000011UI ' The data field requested is not 
        ' available for the current connection 
        ND2_IFVersionInv = &HA0000012UI ' Invalid interface version 
        ND2_FIFOOverflow = &HA0000013UI ' The FIFO had an overflow, some data 
        ' packets are lost 
        ND2_PortDirInv = &HA0000014UI ' The I/O port has the wrong direction 
        ' for this operation 
        ND2_CantPreset = &HB0000001UI ' can not preset the counter 
        ND2_CantLockKeypad = &HB0000002UI ' can not lock keypad 
        ND2_CantReleaseKeypad = &HB0000003UI ' can not release keypad 
        ND2_CantStartMeasurement = &HB0000004UI ' can not start series of 
        ' measurement or SPC 
        ND2_CantStoppMeasurement = &HB0000005UI ' can not stopp series of 
        ' measurement or SPC 
        ND2_CantChangeREFstatus = &HB0000006UI ' can not change Reference status 
        ND2_KeyError = &HB0000007UI ' not allowed key or key commands too fast
        ND2_NoErrorMessage = &HB0000008UI ' no error message available 
        ND2_CantChangeMod = &HB0000009UI ' can not change to requested mode 
        ND2_TmpCmpEn = &HB000000AUI ' Temp. compensation is enabled 
        ND2_NoData = &HB000000BUI ' no data available 
        ND2_InvParamList = &HB000000CUI ' invalid parameter list 
        ND2_InvCmpTable = &HB000000DUI ' invalid compensation table 
    End Enum

________
Alle Angaben ohne Gewähr. Keine Haftung für Vorschläge, Tipps oder sonstige Hilfe, falls es schiefgeht, nur Zeit verschwendet oder man sonst nicht zufrieden ist

alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
Einbinden einer C-DLL3.677Klaus6505.03.12 22:00
Re: Einbinden einer C-DLL2.155raiserle06.03.12 09:08
Re: Einbinden einer C-DLL2.258Klaus6506.03.12 09:34
Re: Einbinden einer C-DLL2.125ModeratorDaveS06.03.12 09:48
Re: Einbinden einer C-DLL2.183Klaus6506.03.12 10:10
Re: Einbinden einer C-DLL2.144ModeratorDaveS06.03.12 11:26
Re: Einbinden einer C-DLL2.112raiserle06.03.12 11:35
Re: Einbinden einer C-DLL2.265Klaus6506.03.12 11:56
Re: Einbinden einer C-DLL2.287ModeratorDaveS06.03.12 12:06
Re: Einbinden einer C-DLL2.090raiserle06.03.12 12:27
Re: Einbinden einer C-DLL2.215ModeratorDaveS06.03.12 12:31
Re: Einbinden einer C-DLL2.293raiserle06.03.12 12:37
Re: Einbinden einer C-DLL2.126ModeratorDaveS06.03.12 13:09
Re: Einbinden einer C-DLL2.183Klaus6506.03.12 13:48
Re: Einbinden einer C-DLL2.114ModeratorDaveS06.03.12 14:49
Re: Einbinden einer C-DLL2.048Klaus6506.03.12 15:06

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel