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 #42 background imageLoading...
Page #42 background image
SX-01635-000, Rev. 5 39
char tempstr[10],junk[10];
memset(tempstr,'\0',10);
memset(junk,'\0',10);
strcpy(tempstr,"C");
strcat(tempstr,itoa(cal,junk,10));
strcat(tempstr,"X");
WriteComm(sc_idComDev,tempstr,strlen(tempstr));
}
void SerialSelectDetector_1()
{
WriteComm(sc_idComDev,"P1J1K2K3K4K5K6K7K8X",strlen("P1J1K2K3K4K5K6K7K8X"));
}
void SerialSelectDetector_2()
{
WriteComm(sc_idComDev,"P1J1K2J3K4K5K6K7K8X",strlen("P1J1K2J3K4K5K6K7K8X"));
}
/*******************************************************************************/
float get_reading_serial(void)
{
char data_read[25];
float sc_reading;
memset(data_read,'\0',24);
WriteComm(sc_idComDev,"O0X",3); //Ask the SC-5500 for a reading
wait_n_mseconds(1000);
//read the data back one character at a time until all characters have been read
int BytesRead = 0;
DWORD current_time;
DWORD start_time = GetTickCount();
start_time += 10000;
while(BytesRead<12)
{
BytesRead+=ReadComm(sc_idComDev,&data_read[BytesRead],12);
current_time = GetTickCount();
if (start_time < current_time)
{
sc_reading = 0;
return -1;
}
}
char *end_point;
sc_reading = strtod(data_read, &end_point);
return sc_reading;
}
RS-232C Programming in QuickBasic
‘initialization:
OPEN "com1:9600,N,8,1,ASC" FOR RANDOM AS #1 ‘Open comm port 1 at 9600 baud, no parity, 8 data bits, 1 stop
‘bit, ASC formatted data and in RANDOM mode for
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.