Computer Operations 4

Computer Interface Commands and Operation

asiputs( COM2, "ECHO 0", -2); /* Turn off command echo on Hydra */

checkResponse(); /* Get prompt */

/* Open data file TESTDATA.PRN */

if((testdata = fopen("testdata.prn","w")) == NULL)

{

perror("Cannot open testdata.prn"); exit(1);

}

/* Find out the number of channels the user wants to configure NOTE: Channel 0 will not be used */

numChannels = 0;

while((numChannels < 1) (numChannels > 20))

{

fprintf(stdout,"Enter the number of channels to be scanned (1-20):"); gets(response);

numChannels = atoi(response); /* convert ascii response to numeric */

}

/* Turn off unused channels */ fprintf(stdout,"\nWait....\n");

for(index = numChannels + 1; index < 21; ++index)

{

sprintf(sendbuff,"FUNC %d, OFF",index); asiputs(COM2,sendbuff,-2);

checkResponse();

/* get prompt */

}

 

/* Print Header and Hydra identification header */

fprintf(stdout,"\n\nSample Program for Hydra\n");

asiputs(COM2,"*IDN?",-2); /* Ask for Hydra identification info */

checkResponse();/* Get prompt */

asigets_timed(COM2,recvbuff,256,-2,TICKS_PER_SECOND*2); /* Receive Hydra identification header */

fprintf(stdout,"%s\n\n",recvbuff);

/*

*Configure channels and scan until user chooses to Quit

*/

while(1)

 

{

 

int func;

/* Configuration setting */

char configStr[14];

/* channel function string */

/*

*Configure Hydra Channels

*/

op53_2f.eps

Figure 4-7. Sample Program (QuickC) (2 of 5)

4-63

Page 167
Image 167
Fluke 2635A user manual Sample Program QuickC 2

2635A specifications

The Fluke 2635A is a highly advanced multichannel data acquisition system designed for engineers and technicians requiring precision and versatility in their measurement tasks. This instrument excels in monitoring and capturing data from various sources, making it a valuable tool in laboratories, production environments, and field applications.

One of the standout features of the Fluke 2635A is its ability to support up to 20 measurement channels. Users can simultaneously monitor multiple signals, which is crucial for complex testing scenarios where numerous variables need to be tracked. The device is equipped with a 6.5-digit precision measurement capability that ensures high accuracy and resolution in readings. This level of precision is particularly beneficial in applications such as environmental monitoring, research and development, and industrial process control.

The unit incorporates a variety of measurement modes, including voltage, current, temperature, and resistance, making it exceptionally versatile. The Fluke 2635A not only handles standard signals but also integrates with various transducers, providing extensive compatibility for users engaged in diverse testing applications.

To enhance data management, the Fluke 2635A offers advanced data logging capabilities. Data can be stored internally or transferred to external devices for further analysis. The internal memory can accommodate extensive datasets, which can be crucial in long-term monitoring tasks. Integration with external software enables users to analyze and visualize data effectively, allowing for informed decision-making based on comprehensive results.

The user interface is designed for ease of use, featuring a large, bright LCD display that clearly presents measurements and status information. The device is also equipped with a simple navigation system, allowing users to switch between channels and measurement types without hassle.

In terms of construction, the Fluke 2635A is built to withstand rigorous environments. It features a robust design that ensures reliability and durability, making it suitable for both laboratory settings and field operations. Furthermore, the device supports a wide temperature range, thus enabling usage in diverse conditions.

Overall, the Fluke 2635A is a powerful and flexible instrument that provides precise measurements across multiple channels, supporting a wide range of applications. Its advanced technology, combined with user-friendly features, makes it an essential tool for professionals in various fields. The combination of accuracy, flexibility, and durability solidifies its standing as a trusted choice for data acquisition and monitoring tasks.