IDS

Status
Not open for further replies.

The Incredible

Ambassador of Buzz
ilias said:
What is IDC Server what it is used for
Hop this helps u.

The IDC Server is a Windows 95/NT based communication tool that handles the cumbersome communications to all 91XX model Intermec controllers and Direct to Reader Serial connections. Using the provided ActiveX OCX objects and the IDC Server, you can easily exchange Real Time Interactive data between your JANUS/TRAKKER portables and custom host database application. Because of the ActiveX interface you can develop in any of the popular visual development tools such as Visual Basic, Visual C++, Microsoft Access, FoxPro, Power Builder or any other that supports ActiveX Objects. Now, with today?s Client/Server Technology, you can quickly develop a Real Time Interactive data collection Interface to any ODBC compliant Database System. If Real Time is not what your after, you can be collecting data immediately with it?s unattended batch upload feature. As transactions are uploaded from the portable, they are logged to a flat ASCII file on the host PC. The batch path and filename is user definable, putting you in total control. If the file is renamed to be processed by a batch program, a new file is created when the next transaction is uploaded. In either scenario, our tool will have you collecting transaction data from your Intermec Multi-Drop, Radio Frequency or batch data collection devices in less than 15 minutes.

Check Out How It Works

From within your selected development tool that supports ActiveX .OCX components, simply reference our ActiveX Methods. This will provide you the programmer, two simple methods of communication, "IDCTools.GetIDCTrans" and "IDCTools.PutIDCTrans" for sending and receiving Interactive transaction data to and from your Intermec devices through IDC Server. Check out the following sample Visual Basic code:

Dim ReaderTrans As String

ReaderTrans = ""
Do Until ReaderTrans <> ""
ReaderTrans = IDCTools.GetIDCTrans( )
DoEvents
Loop

(Parse the transaction for the Reader Address & Transaction Code)
ReaderAddress = Left$(ReaderTrans,2)
TranCode = Mid$(ReaderTrans,3,3)

(Parse the collected data based on the transaction code received and process it to your database here. This Example is very basic but any number of Transaction Types and database actions could be performed.)
Select Case TranCode
Case "PTW" 'Put Away - Add To On Hand Inventory
BinNumber = Mid$(ReaderTrans,6,5)
ItemNumber = Mid$(ReaderTrans,11,12)
Qty = Mid$(ReaderTrans,23,5)
Select OldQty=TheQty Where TheBin=BinNumber
Update MyDatabase Set TheQty = OldQty+Cint(Qty)
Where ItemNo = ItemNumber And TheBin=BinNumber
Case "PCK" 'Pick - Reduce From On Hand Inventory
BinNumber = Mid$(ReaderTrans,6,5)
ItemNumber = Mid$(ReaderTrans,11,12)
Qty = Mid$(ReaderTrans,23,5)
Select OldQty=TheQty Where TheBin=BinNumber
Update MyDatabase Set TheQty = OldQty-Cint(Qty)
Where Where ItemNo = ItemNumber And TheBin=BinNumber
End Select

( If necessary, you can easily send a response to the Intermec reader based on the action to your database.)
If MyDatabase.RecordsAffected > 0 Then
ReaderTrans = ReaderAddress & "GOOD TRANSACTION"
Do While Not IDCTools.PutIDCTrans(ReaderTrans)
DoEvents
Loop
Else
ReaderTrans = ReaderAddress & "BAD TRANSACTION"
Do While Not IDCTools.PutIDCTrans(ReaderTrans)
DoEvents
Loop
End If

The flexibility of this model is tremendous and your hands will never be tied as to what you can achieve with your data collection system.

Plz prefer searching google b4 asking such questions.

Wanna know where i found it.
Here : *www.cremsol.com/idcserver.htm

Don't forget 2 use google.

Bye. 8) 8) 8) 8) 8)
 
Status
Not open for further replies.
Top Bottom