Input/Output
Function |
Description |
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GetBinaryString(BitStream) |
Returns the BitStream data structure as a list of binary digits. Note: The returned string is for reference purposes, only. In-Sight firmware does not support binary as a number format.
|
|||||||||||||||||||||||||||
Returns the indexed data from a UserData, ReadDeviceNet, ReadEIP, ReadPNIO, or a ReadModbus data structure. Note:
|
||||||||||||||||||||||||||||
GetByteCount(Buffer) | Returns the number of bytes that have been written into a FormatOutputBuffer function or read into a ReadCCLinkBitBuffer, ReadCCLinkWordBuffer, ReadEIPBuffer, ReadLatchedUserDataBuffer, ReadModbusBuffer, ReadProfinetBuffer or ReadUserDataBuffer function. For more information, see FormatOutputBuffer. | |||||||||||||||||||||||||||
Returns the current date and time as a string constructed using a "C" library standard Format-string from a Time data structure, which is returned by the Now function.
|
||||||||||||||||||||||||||||
GetConnectionStatus(Event, Protocol) |
Returns the connection status of the specified communication protocol.
The Event parameter should reference an Event function that is set to capture the Network Error event, or to the AcquireImage function in cell A0. For more information, see Event.
The Protocol parameter is used to define which protocol will be polled for a status update:
Note: CC Link and DeviceNet are not supported by this function. An “Argument Out of Range” error will be returned if these are selected.
|
|||||||||||||||||||||||||||
Returns the filename from an FTP data structure. |
||||||||||||||||||||||||||||
GetHexString(BitStream) |
Returns the bits contained in a BitStream data structure as a hex string, with the standard "0x" prefix. The hex string is ordered so that the most significant nibble is first. Note: If the number of bits is not a multiple of four, the zeroes are padded in the most significant position, which effectively groups the bits into nibbles, from right to left.
Example - Hex Number Padding
|
|||||||||||||||||||||||||||
GetNumBits(BitStream) | Returns the total number of bits contained in a BitStream data structure. | |||||||||||||||||||||||||||
GetNumWaveformsPending(Event) |
Returns the total number of WriteWaveformPulseTrain or WriteWaveformClocked waveforms currently executing or queued for execution, or zero (0) if no waveform is currently being executed. Once this value equals zero (0), any new waveform will immediately execute; if this value is not zero (0), waveforms will be queued or dropped, depending on the applied settings and queue space. For more information, see WriteWaveformPulseTrain and WriteWaveformClocked. Note: There is one single waveform queue, therefore this function does not use a WriteWaveformPulseTrain or WriteWaveformClocked function as an input. Instead, this function uses an event (such as a Button function or AcquireImage, for example) to update the function periodically.
|
|||||||||||||||||||||||||||
GetRemoteAddress(Device) | Returns the IP address of the device from which the UDP server received the last message. Device specifies a reference to a Device data structure returned by a UDPDevice function. | |||||||||||||||||||||||||||
GetRemotePort(Device) | Returns the Port Number of the device from which the UDP server received the last message. Device specifies a reference to a Device data structure returned by a UDPDevice function. | |||||||||||||||||||||||||||
Returns an indexed value from a Result data structure. |