Legacy documentation - RS232 command alternatives to accelerate data acquisition

Do not add the following commands to your templates. They were created to address speed issues in a Terminal Services environment, but the third-party software referenced below did not work reliably for multiple concurrent users. This documentation is maintained only for historical purposes.

 

Note: Using any of these commands: RS_Hyper, FL_Hyper, and CL_Hyper, requires a file named HyperCOMn.haw (where n = port_number) in the config_path folder. This files contains port parameters such as baud rate and parity. If you want to switch port parameters for a template, you must edit the settings in the file for that port number before any of these commands are referenced in that template.

Syntax

Example

Description/Remarks

RS_Hyper port_number RS_Hyper 4

returns the first value found in COM port 4.

This command reads the first ASCII string found in the COM port buffer. If the COM port buffer is empty, this command waits until a string is present in the COM port buffer. This command then places that string into the GainSeeker text buffer for further processing.

The return value is the first number in the ASCII string.

The port_number must be between 1 and 12.

The variable named MySVar "RS-Hypern" where n = port number, is used to manage the remaining ASCII strings that were queued for this COM port buffer. If it is useful for the logic of your template or for troubleshooting purposes, you can check for values in this variable.

You must purchase a HyperACCESS software license from Hilgraeve Inc. to enable function of this command.

RS_Hyper port_number, "text-output" RS_Hyper 2, "/13"
writes the string
/13 to COM port 2.

Writes a string to the COM port. Does not return a value.

The port_number must be between 1 and 12.

You must purchase a HyperACCESS software license from Hilgraeve Inc. to enable function of this command.
FL_Hyper port_number

FL_Hyper 1

Clears the RS232 input buffer by reading all values. Does not return a value.

The port_number must be between 1 and 12.

You must purchase a HyperACCESS software license from Hilgraeve Inc. to enable function of this command.
CL_Hyper port_number

CL_Hyper 1

Closes the COM port and does not return a value.

The port_number must be between 1 and 12.

You must purchase a HyperACCESS software license from Hilgraeve Inc. to enable function of this command.