© 2000, 2001 by IOtech, Inc. April 2001 Printed in the United States of AmericaPersonal488 User&a
2-2 CD-ROM, Driver 488 Software Packages04-10-01Personal488 for Windows 95/98/Me/NT/2000Driver488 PackagesDriver488/DRVIEEE 488.2 DOS Device Driver
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-32OnDigEventAT488pnp and PCI488 Only !
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-33OnDigEventVDMAT488pnp and PCI488 Only !
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-34OnEventWindows9x and Windows2000 Only !SyntaxINT WINAPI OnEvent(DevHandleT de
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-35OnEventVDMWindows9x and Windows2000 Only !SyntaxINT WINAPI OnEventVDM(DevHand
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-36}printf(“\n\n”);qsk(xfered, Spoll(wave16));qsk(x, Close(wave14));qsk(x, Close
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-37OpenNameSyntaxDevHandleT WINAPI OpenName(LPSTR name);name is the name of an i
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-38OutputXSyntaxLONG WINAPI OutputX(DevHandleT devHandle, LPBYTE data, DWORDcoun
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-39Additional Output FunctionsDriver488 provides additional Output functions tha
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-40PPollSyntaxINT WINAPI PPoll(DevHandleT devHandle);devHandle refers to either
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-41PPollConfigSyntaxINT WINAPI PPollConfig(DevHandleT devHandle,BYTE ppresponse)
Personal488 for Windows 95/98/Me/NT/200004-10-01 Installation 3-1Installation 3Windows® 95 Users …… 3-3Windows® 98 U
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-42PPollDisableSyntaxINT WINAPI PPollDisable(DevHandleT devHandle);devHandle is
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-43PPollDisableListSyntaxINT WINAPI PPollDisableList(DevHandlePT devHandleList);
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-44PPollUnconfigSyntaxINT WINAPI PPollUnconfig(DevHandleT devHandle);devHandle r
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-45RemoteSyntaxINT WINAPI Remote(DevHandleT devHandle);devHandle refers to eithe
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-46RemoteListSyntaxINT WINAPI RemoteList(DevHandlePT devHandleList);devHandleLis
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-47RemoveDeviceSyntaxINT WINAPI RemoveDevice(DevHandleT devHandle);devHandle spe
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-48ResetSyntaxINT WINAPI Reset(DevHandleT devHandle);devHandle refers to either
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-49SendCmdSyntaxINT WINAPI SendCmd(DevHandleT devHandle, LPBYTE commands,DWORD c
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-50SendDataSyntaxINT WINAPI SendData(DevHandleT devHandle, LPBYTE data,DWORD cou
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-51SendEoiSyntaxINT WINAPI SendEoi(DevHandleT devHandle, LPBYTE data,DWORD count
3-2 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-52SPollSyntaxINT WINAPI SPoll(DevHandleT devHandle);DevHandle refers to either
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-53SPollListSyntaxINT WINAPI SPollList(DevHandlePT devHandleList,LPBYTE resultLi
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-54StatusSyntaxINT WINAPI Status(DevHandleT devHandle, IeeeStatusPT result);devH
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-55TalkSyntaxINT WINAPI Talk(DevHandleT devHandle, BYTE primary,BYTE secondary);
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-56TermSyntaxINT WINAPI Term(DevHandleT devHandle, TermT *term,DWORD termFlag);d
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-57TermQuerySyntaxINT TermQuery(DevHandleT devHandle, TermT *term,INT termFlag);
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-58TimeOutSyntaxINT WINAPI TimeOut(DevHandleT devHandle, DWORD millisec);devHand
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-59TimeOutQuerySyntaxINT WINAPI TimeOutQuery(DevHandleT devHandle,DWORD *millise
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-60TriggerSyntaxINT WINAPI Trigger(DevHandleT devHandle);devHandle refers to eit
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-61TriggerListSyntaxINT WINAPI TriggerList(DevHandlePT devHandleList);devHandleL
Personal488 for Windows 95/98/Me/NT/200004-10-01 Installation 3-3Windows 95 UsersSoftware Installation• For best results, install the interface af
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-62UnListenSyntaxINT WINAPI UnListen (DevHandleT devHandle);devHandle refers to
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-63UnTalkSyntaxINT WINAPI UnTalk (DevHandleT devHandle);devHandle refers to eith
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-64
Personal488 for Windows 95/98/Me/NT/200004-10-01API Error Codes A-1Appendix AAPI Error CodesError Number and Me
A-2 API Error Codes04-10-01Personal488 for Windows 95/98/Me/NT/200031 MUST BE ADDRESSED TO TALKDATA or EOI SEND subcommands are invalid unlessDriv
Personal488 for Windows 95/98/Me/NT/200004-10-01API Error Codes A-370 DMA CHANNEL %d DOES NOT EXISTSpecified DMA channel does not exist. Check ha
A-4 API Error Codes04-10-01Personal488 for Windows 95/98/Me/NT/2000104 TIME OUT ON NETWORK COMMUNICATIONSUnable to access a remote communications
Personal488 for Windows 95/98/Me/NT/200003/16/01IEEE488 ASCII Code Maps B-1Appendix B
B-2 IEEE488 ASCII Code Maps03/16/01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200003/16/01Troubleshooting C-1Appendix CThe IEEE 488 Bus Standard …… C-1Analyzing
Windows 953-4 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000Add New Hardware Procedure (non plug-and-play users only):It is only n
C-2 Troubleshooting03/16/01Personal488 for Windows 95/98/Me/NT/2000Multiline CommandsNow that you have seen the uniline commands and have a sense
Personal488 for Windows 95/98/Me/NT/200003/16/01Troubleshooting C-3Common Problems and SolutionsOccasionally systems will encounter problems due t
C-4 Troubleshooting03/16/01Personal488 for Windows 95/98/Me/NT/2000“My instrument seems unaffected by the commands I send to it.”If you have alrea
Personal488 for Windows 95/98/Me/NT/200003/16/01Troubleshooting C-5“When I ask for data, bad data is returned.”Many times the variability of data
C-6 Troubleshooting03/16/01Personal488 for Windows 95/98/Me/NT/2000“My system occasionally locks up.”This is another of those intermittent problem
Personal488 for Windows 95/98/Me/NT/200003/16/01Troubleshooting C-7Frequently Asked Personal488 QuestionsWhy does the driver return the error mess
C-8 Troubleshooting03/16/01Personal488 for Windows 95/98/Me/NT/2000My program has been running on an older PC for many years without any problems.
Personal488 for Windows 95/98/Me/NT/200003/16/01Hardware Specifications D-1Appendix DPCI488 Specifications …… D
D-2 Hardware Specifications03/16/01Personal488 for Windows 95/98/Me/NT/2000AT488 SpecificationsNote:These specifications are subject to change wit
Personal488 for Windows 95/98/Me/NT/200003/16/01National Instruments—Compatible Drivers E-1Appendix EOverview …… E-1Progr
Windows 95Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-55. Choose IEEE488.2Controllers from the list ofhardwa
National Instruments—Compatible Drivers03/16/01Personal488 for Windows 95/98/Me/NT/2000 E-2InstallationThe IOtech hardware and standard 32-bit win
Windows 953-6 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20007. Make note of the displayedsettings, as you must configurethe jumper
Windows 95Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-7 Hardware Installation for Windows 95 Users Plug-and-
Windows 953-8 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-10-01 Installation 3-9Windows 98 UsersSoftware Installation• For best results, install the interface af
ii Personal488 User’s Manual for Windows95/98/Me/NT/2000
Windows 983-10 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20002. Click Next. 3. Select ‘No, the device isn
Windows 98Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-115. Select ‘IEEE 488.2 Controllers’ andclick Next.6
Windows 983-12 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20009. Click Finish.10. Click ‘Yes’ and shut down the computer; then proc
Windows 98Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-13Hardware Installation for Windows 98 UsersPlug-and-P
Windows 983-14 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-10-01 Installation 3-15Windows Me UsersSoftware Installation• For best results, install the interface a
Windows Me3-16 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20002. Click Next.3. Select ‘No, the device isn’t in thelist’ and click N
Windows MePersonal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-175. Select ‘IEEE 488.2 Controllers’ andclick Next.6
Windows Me3-18 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20009. Click Finish.10. Click ‘Yes’ and shut down thecomputer.At this poi
Windows MePersonal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-19Hardware Installation for Windows Me UsersPlug-and-P
Personal488 User’s Manual for Windows95/98/Me/NT/2000 iiiWarranty InformationYour IOtech warranty is as stated on the product warranty card. You may
Windows Me3-20 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-10-01 Installation 3-21Windows NT UsersSoftware InstallationStep 1Insert the IEEE488 Software CD. The C
Windows NT3-22 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20004. Physically configure the device’s jumpers and switches to match th
Personal488 for Windows 95/98/Me/NT/200004-10-01 Installation 3-23Windows 2000 UsersSoftware Installation• For best results, install the interface
Windows 20003-24 Installation04-10-01Personal488 for Windows 95/98/Me/NT/20002. SelectAdd/Troubleshoot a device.3. Click Next.The Add/Remove Har
Windows 2000Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-256. When prompted by the question,“Do you want Wind
Windows 20003-26 Installation04-10-01Personal488 for Windows 95/98/Me/NT/200014. Click Next.Windows 2000 will install softwarefor the device.If
Windows 2000Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-27Windows will inform you that thehardware was insta
Windows 20003-28 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000
Windows 2000Personal488 for Windows 95/98/Me/NT/200004-06-01 Installation 3-29Hardware Installation for Windows 2000 UsersPlug-a
iv Personal488 User’s Manual for Windows95/98/Me/NT/2000Your order was carefully inspected prior to shipment. When you receive your system,careful
Windows 20003-30 Installation04-10-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-1Hardware Configuration Reference
4-2 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-3 AT488 ConfigurationsThe I/O base address, IRQ, and DMA settin
4-4 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000Configuring the AT488 Interface Interrupt (IRQ)S2S2InterruptLe
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-5Configuring the AT488 Interface DMA ChannelThe factory default
4-6 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-7GP488B ConfigurationsInterruptLevel 5DMAChannel 1J3J4On-board8
4-8 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000Configuring the GP488B Interface I/O Base Addresshe factory de
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-9The GP488B interface board may be set to interrupt the PC on t
Personal488 User’s Manual for Windows95/98/Me/NT/2000 04-10-01 vTable of Contents1 – Personal488 Overview …… 1-12 – CD-R
4-10 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-11GP488B/MM PC104 ConfigurationsDMAChannel 1On-board8 MHz Clock
4-12 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000Configuring the GP488B/MM PC104 Interface I/O Base AddressThe
Personal488 for Windows 95/98/Me/NT/200004-09-01Hardware Configuration Reference 4-13The GP488B/MM interface board may be set to interrupt the PC
4-14 Hardware Configuration Reference04-09-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-1Using IEEE 488 5IEEE 488 Configuration Utility …… 5-1WinTest – Driver488 WorkSho
5-2 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000External DevicesWithin your IEEE 488.2 application program, a handle accesses de
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-3Each device name is a means of maintaining a record of three configurable parame
5-4 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000WinTest – Driver488 WorkshopThis section pertains to the Wintest utility program
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-5How can I verify that my Personal488 interface is installed and working?This sec
vi04-10-01Personal488 User’s Manual for Windows95/98/Me/NT/2000
5-6 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000Step 5From the Bus menu select Clear.Step 6Verify that (0)result = Clear(0) appe
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-7What is a device handle?In its simplest form, a handle is merely a reference or
5-8 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000Upon opening the first device, a Helloresponse window appears.The response windo
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-9For this example, we select the Entercommand. The Enter command,returns the num
5-10 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000Differences Between 32-bit and 16-bit Driver488 SoftwareGeneral DifferencesThe
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-11The IOTSLPIB.DLL and corresponding export library IOTSLPIB.LIB were developed a
5-12 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000Microsoft Visual BasicThis section is based on 32-bit Microsoft Visual Basic V4
Personal488 for Windows 95/98/Me/NT/200004-09-01Using IEEE 488 5-13Borland DelphiThis section is based on 32-bit Borland Delphi V4.0. The procedur
5-14 Using IEEE 48804-09-01Personal488 for Windows 95/98/Me/NT/2000
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-1API Reference 6This chapter c
Personal488 for Windows 95/98/Me/NT/2000 04-10-01Personal488 Overview 1-1Personal488 Overview
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-2ArmSyntaxINT WINAPI Arm(DevHandleT devHandle, ArmCondT condition);devHandle re
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-3AutoRemoteSyntaxINT WINAPI AutoRemote(DevHandleT devHandle, BOOL flag);devHand
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-4BusAddressSyntaxINT WINAPI BusAddress (DevHandleT devHandle, BYTE primary,BYTE
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-5CheckListenerSyntaxINT WINAPI CheckListener(DevHandleT devHandle, BYTE primary
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-6ClearSyntaxINT WINAPI Clear(DevHandleT devHandle);devHandle refers to either a
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-7ClearListSyntaxINT WINAPI ClearList(DevHandlePT devHandleList);devHandleList i
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-8CloseSyntaxINT WINAPI Close(DevHandleT devHandle);devHandle refers to either a
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-9ControlLineSyntaxINT WINAPI ControlLine(DevHandleT devHandle);ControlLine retu
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-10DigArmAT488pnp and PCI488 Only !SyntaxINT WINAPI DigArm(DevHandleT devHandle,
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-11DigArmSetupAT488pnp and PCI488 Only !SyntaxINT WINAPI DigArmSetup(DevHandleT
1-2 Personal488 Overview 04-10-01Personal488 for Windows 95/98/Me/NT/2000Hardware ProductsThe family of Personal488 PC/I
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-12DigReadAT488pnp and PCI488 Only !SyntaxINT WINAPI DigRead(DevHandleT devHandl
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-13DigSetupAT488pnp and PCI488 Only !SyntaxINT WINAPI DigSetup(DevHandleT devHan
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-14DigWriteAT488pnp and PCI488 Only !SyntaxINT WINAPI DigWrite(DevHandleT devHan
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-15DisarmSyntaxINT WINAPI Disarm(DevHandleT devHandle, ArmCondT condition);devHa
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-16EnterXSyntaxLONG WINAPI EnterX(DevHandleT devHandle, LPBYTE data,DWORDcount,B
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-17EnterSyntaxLONG WINAPI Enter(DevHandleT devHandle, LPBYTE data)RemarksEnter i
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-18ErrorSyntaxINT WINAPI Error(DevHandleT devHandle, BOOL display);devHandle ref
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-19FindListenersSyntaxINT WINAPI FindListeners(DevHandleT devHandle, BYTE primar
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-20GetErrorSyntaxErrorCodeT WINAPI GetError(DevHandleT devHandle, LPSTRerrText);
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-21GetErrorListSyntaxErrorCodeT WINAPI GetErrorList(DevHandlePT devHandleList,LP
Personal488 for Windows 95/98/Me/NT/200004-10-01CD-ROM, Driver 488 Software Packages 2-1CD-ROM, Driver 488 Software Packages
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-22HelloSyntaxINT WINAPI Hello(DevHandleT devHandle, LPSTR message);devHandle re
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-23KeepDeviceSyntaxINT WINAPI KeepDevice(DevHandleT devHandle);devHandle refers
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-24ListenSyntaxINT WINAPI Listen(DevHandleT devHandle, BYTE primary,BYTE seconda
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-25LocalSyntaxINT WINAPI Local(DevHandleT devHandle);devHandle refers to either
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-26LocalListSyntaxINT WINAPI LocalList(DevHandlePT devHandleList);devHandleList
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-27LolSyntaxINT WINAPI Lol(DevHandleT devHandle);devHandle refers to either an I
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-28MakeDeviceSyntaxINT WINAPI MakeDevice(DevHandleT devHandle, LPSTR name);devHa
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-29MakeNewDeviceSyntaxDevHandleT WINAPI MakeNewDevice(LPSTR iName, LPSTR aName,B
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-30MyListenAddrSyntaxINT WINAPI MyListenAddr (DevHandleT devHandle);devHandle re
Personal488 for Windows 95/98/Me/NT/200004-10-01API Reference 6-31MyTalkAddrSyntaxINT WINAPI MyTalkAddr (DevHandleT devHandle);devHandle refers
Commentaires sur ces manuels