EasyManua.ls Logo

Labsphere SC-5500 User Manual

Labsphere SC-5500
44 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #40 background imageLoading...
Page #40 background image
SX-01635-000, Rev. 5 37
char CommString[32];
char PortString[32];
const int RecvQueueSize=2048;
const int SendQueueSize=2048;
strcpy(&CommString[0],"COM"); //COM
itoa(comport,&PortString[0],10); //1
strcat(&CommString[0],&PortString[0]); //COM1
//Open a hailing frequency
idComDev = OpenComm(&CommString[0], RecvQueueSize, SendQueueSize);
if(idComDev<0)
{ //ReadHand the OpenComm Failure
err = CloseComm(idComDev);
return -1;
}
strcat(&CommString[0],":9600,n,8,1");
//Translates Device Definition String to DCB codes
err = BuildCommDCB(&CommString[0], &dcb);
if(err==-1)
{
err = CloseComm(idComDev);
return -1;
}
//Sets communication device to state defined in DCB
err = SetCommState(&dcb);
if (err < 0)
{
err = CloseComm(idComDev);
return -1;
}
return idComDev;
}
void zero_on_serial(void)
{
WriteComm(sc_idComDev,"Z0X",strlen("Z0X"));
}
void zero_off_serial(void)
{
WriteComm(sc_idComDev,"Z1X",strlen("Z1X"));
}
void norm_on_serial(void)
{
WriteComm(sc_idComDev,"N0X",strlen("N0X"));
}
void norm_off_serial(void)
{
WriteComm(sc_idComDev,"N1X",strlen("N1X"));
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Question and Answer IconNeed help?

Do you have a question about the Labsphere SC-5500 and is the answer not in the manual?

Labsphere SC-5500 Specifications

General IconGeneral
BrandLabsphere
ModelSC-5500
CategoryMeasuring Instruments
LanguageEnglish

Summary

Installation and Assembly

Line Voltage Input Module

Details the AC line voltage input module, fuse holder, and voltage cartridge configuration.

Electrical Cable Hookup

Guides on connecting power and peripheral component cables to the SC-5500.

System Description and Operation

Detector Input Configuration

Details the SC-5500 detector input channels and compatible detectors.

User Interface

Calibration Procedures

Details SC-5500 calibration for specific units and detector compatibility.

SC-5500 Programming

Programming Interfaces

Discusses controlling the SC-5500 via IEEE-488 or RS-232C interfaces.

SC-5500 Programming Commands

Explains the syntax and structure for sending commands to the SC-5500.

IEEE-488 Programming

Guidance on programming the SC-5500 using the IEEE-488 interface.

RS-232C Programming

Guidance on controlling the SC-5500 using the RS-232C serial interface.

Maintenance

Voltage Configuration & Fuses

Explains checking voltage settings and fuse replacement for the AC line input module.

Changing Input Voltage Configuration

Step-by-step instructions for changing the SC-5500 voltage configuration.

Replacing Fuses

Details on replacing fuses in the voltage cartridge, including correct ratings.

Appendix A Specifications

Appendix C Sample Programming

IEEE-488 Programming in C++

Provides C++ code examples for controlling the SC-5500 via IEEE-488.

IEEE-488 Programming in QuickBasic

Provides QuickBasic code examples for controlling the SC-5500 via IEEE-488.

RS-232C Programming in C++

Provides C++ code examples for controlling the SC-5500 via RS-232C.

RS-232C Programming in QuickBasic

Provides QuickBasic code examples for controlling the SC-5500 via RS-232C.