Skip to content

Send String

Parameter Introduction

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Activationtrue/falsetrue
Invert Activationtrue/falsefalse
DeviceSelect device from the device list
Note: Available devices must meet 2 conditions: 1. Device belongs to Communication group; 2. Device is enabled
ContentString content to send
Note: Chinese content only supports UTF8 encoding format

Special Character Description

When sending special characters via TCP, they need to be sent according to the content in the table below.

Special Character MeaningAbbreviationHexadecimal Representation
Null character<NUL>0x00
Start of Heading<SOH>0x01
Start of Text<STX>0x02
End of Text<ETX>0x03
End of Transmission<EOT>0x04
Enquiry<ENQ>0x05
Acknowledge/Response/Received Notice<ACK>0x06
Bell<BEL>0x07
Backspace<BS>0x08
Horizontal Tab<HT>0x09
Line Feed<LF>0x0A
Vertical Tab<VT>0x0B
Form Feed<FF>0x0C
Carriage Return<CR>0x0D
Shift Out<SO>0x0E
Shift In<SI>0x0F
Data Link Escape<DLE>0x10
Device Control 1/Transmission Start<DC1>0x11
Device Control 2<DC2>0x12
Device Control 3/Transmission Break<DC3>0x13
Device Control 4<DC4>0x14
Negative Acknowledge/Abnormal Response/Reject<NAK>0x15
Synchronous Idle<SYN>0x16
End of Transmission Block/Block Transmission Terminate<ETB>0x17
Cancel<CAN>0x18
End of Medium/Medium Storage Full/Medium Interrupt<EM>0x19
Substitute<SUB>0x1A
Escape<ESC>0x1B
File Separator<FS>0x1C
Group Separator<GS>0x1D
Record Separator<RS>0x1E
Unit Separator<US>0x1F
Space<SP>0x20

Example

When the string content to send is: "hello \r\n AI-Vision", the content parameter should be written as: "hello <CR><LF> AI-Vision"

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Parameter "xxx" cannot be emptyParameter nameInput the xxx parameter.
2Device "xxx" does not existDevice nameModify device parameters or add corresponding device.
3Device "xxx" is not connectedDevice nameEnsure specified device is connected.
4Send function of device "xxx" is disabledOnly occurs with UDP devices. Enable send function of specified device and specify target address.
5Send failedUnknown exception, check device status.
6User forced stop

AI-Vision, Making 3D Measurement Easier