10 #ifndef GO_API_OUTPUT_TYPES_H
11 #define GO_API_OUTPUT_TYPES_H
441 GoFx(kArrayList) GoSerial_SelcomRateOptionList(GoSerial serial);
452 GoFx(k32u) GoSerial_SelcomRateOptionAt(GoSerial serial, kSize index);
453 GoFx(kStatus) GoSerial_SetSelcomFormat(GoSerial serial, GoSelcomFormat format);
454 GoFx(GoSelcomFormat) GoSerial_SelcomFormat(GoSerial serial);
455 GoFx(kArrayList) GoSerial_SelcomFormatOptionList(GoSerial serial);
456 GoFx(k32u) GoSerial_SelcomFormatOptionCount(GoSerial serial);
457 GoFx(GoSelcomFormat) GoSerial_SelcomFormatOptionAt(GoSerial serial, kSize index);
458 GoFx(kStatus) GoSerial_SetSelcomDataScaleMax(GoSerial serial, k64f value);
459 GoFx(k64f) GoSerial_SelcomDataScaleMax(GoSerial serial);
460 GoFx(kStatus) GoSerial_SetSelcomDataScaleMin(GoSerial serial, k64f value);
461 GoFx(k64f) GoSerial_SelcomDataScaleMin(GoSerial serial);
463 GoFx(kChar*) GoSerial_AsciiDelimiter(GoSerial serial);
464 GoFx(kStatus) GoSerial_SetAsciiDelimiter(GoSerial serial, const kChar*
string);
465 GoFx(kChar*) GoSerial_AsciiTerminator(GoSerial serial);
466 GoFx(kStatus) GoSerial_SetAsciiTerminator(GoSerial serial, const kChar*
string);
467 GoFx(kChar*) GoSerial_AsciiInvalidValue(GoSerial serial);
468 GoFx(kStatus) GoSerial_SetAsciiInvalidValue(GoSerial serial, const kChar*
string);
469 GoFx(kChar*) GoSerial_AsciiCustomDataFormat(GoSerial serial);
470 GoFx(kStatus) GoSerial_SetAsciiCustomDataFormat(GoSerial serial, const kChar*
string);
471 GoFx(kStatus) GoSerial_EnableAsciiCustomFormat(GoSerial serial, kBool enabled);
472 GoFx(kBool) GoSerial_AsciiCustomFormatEnabled(GoSerial serial);
596 GoFx(k64f) GoAnalog_CurrentMinLimitMin(GoAnalog analog);
597 GoFx(k64f) GoAnalog_CurrentMinLimitMax(GoAnalog analog);
617 GoFx(k64f) GoAnalog_CurrentMaxLimitMin(GoAnalog analog);
618 GoFx(k64f) GoAnalog_CurrentMaxLimitMax(GoAnalog analog);
659 GoFx(k64f) GoAnalog_CurrentInvalidLimitMax(GoAnalog analog);
660 GoFx(k64f) GoAnalog_CurrentInvalidLimitMin(GoAnalog analog);
722 GoFx(kStatus) GoAnalog_SetDelayDomain(GoAnalog analog, GoOutputDelayDomain delayDomain);
723 GoFx(GoOutputDelayDomain) GoAnalog_DelayDomain(GoAnalog analog);
944 GoFx(kStatus) GoDigital_SetDelayDomain(GoDigital digital, GoOutputDelayDomain delayDomain);
945 GoFx(GoOutputDelayDomain) GoDigital_DelayDomain(GoDigital digital);
968 #include <GoSdk/GoOutputTypes.x.h>
kBool GoEthernet_ModbusBufferingEnabled(GoEthernet ethernet)
Returns the value of whether Modbus protocol output buffering is enabled or disabled.
kStatus GoEthernet_ClearAllSources(GoEthernet ethernet)
Removes all selected sources for all possible ethernet output types.
k64f GoAnalog_CurrentLimitMin(GoAnalog analog)
Gets the minimum valid value for CurrentMin, CurrentMax and CurrentInvalid settings.
kSize GoDigital_OptionCount(GoDigital digital)
Gets the number of available decision source options.
GoDigitalSignal GoDigital_SignalType(GoDigital digital)
Gets the signal type of output.
kArrayList GoSerial_OptionList(GoSerial serial)
Gets the list of source measurement options.
kStatus GoEthernet_AddSource(GoEthernet ethernet, GoOutputSource type, k32u sourceId)
Selects the specified source for transmission.
kSize GoEthernet_OptionCount(GoEthernet ethernet, GoOutputSource type)
Gets the number of source options for the specified output type.
k64f GoAnalog_CurrentLimitMax(GoAnalog analog)
Gets the maximum valid value for CurrentMin, CurrentMax and CurrentInvalid settings.
k64s GoAnalog_Delay(GoAnalog analog)
Gets the output delay.
k32u GoDigital_PulseWidth(GoDigital digital)
Gets the width of digital output pulses.
kStatus GoEthernet_SetAsciiTerminator(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output terminator string.
kStatus GoAnalog_SetDataScaleMax(GoAnalog analog, k64f max)
Sets the measurement value associated with the maximum output current value.
k32u GoSerial_OptionAt(GoSerial serial, k32u index)
Gets the source option at the specified index.
k64f GoAnalog_CurrentMax(GoAnalog analog)
Gets the maximum current output level.
kStatus GoEthernet_SetAsciiDelimiter(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output delimiter string.
kBool GoEthernet_EIPBufferingEnabled(GoEthernet ethernet)
Returns the value of whether the EthernetIP protocol output buffering is enabled or disabled...
k32u GoAnalog_OptionAt(GoAnalog analog, GoOutputSource type, k32u index)
Gets the source option at the specified index.
kStatus GoEthernet_SetAsciiDataPort(GoEthernet ethernet, k32u port)
Sets the port number of the ASCII data port.
k64s GoDigital_Delay(GoDigital digital)
Gets the output delay.
GoEthernetProtocol GoEthernet_Protocol(GoEthernet ethernet)
Gets the protocol that the ethernet utilizes for output.
GoAnalogEvent GoAnalog_Event(GoAnalog analog)
Gets the event which triggers this output to fire.
kStatus GoDigital_AddSource(GoDigital digital, k32u sourceId)
Selects the specified decision source for use in determining pass/fail status.
kStatus GoEthernet_SetAsciiHealthPort(GoEthernet ethernet, k32u port)
Sets the port number of the ASCII health port.
kSize GoSerial_SourceCount(GoSerial serial)
Gets the number of sources of the specified output type that are currently selected for transmission...
kStatus GoEthernet_ClearSources(GoEthernet ethernet, GoOutputSource type)
Removes all selected sources for the specified output type.
k32u GoDigital_SourceAt(GoDigital digital, k32u index)
Gets the identifier of the selected output source at the specified index.
kStatus GoSerial_SetSelcomRate(GoSerial serial, kSize index)
Sets the Selcom protocol output rate.
kStatus GoAnalog_SetSource(GoAnalog analog, k32u sourceId)
Selects a source type and source identifier for output.
k32u GoEthernet_SourceAt(GoEthernet ethernet, GoOutputSource type, k32u index)
Gets the identifier of the selected output at the specified index.
k32u GoEthernet_AsciiHealthPort(GoEthernet ethernet)
Gets the ASCII protocol health channel port number.
kStatus GoEthernet_RemoveSource(GoEthernet ethernet, GoOutputSource type, kSize index)
Removes (deselects) the source at the specified index.
k32u GoEthernet_OptionAt(GoEthernet ethernet, GoOutputSource type, k32u index)
Gets the source option at the specified index.
kStatus GoAnalog_ClearSource(GoAnalog analog)
Clears the currently selected source identifier.
k32u GoDigital_OptionAt(GoDigital digital, k32u index)
Gets the decision source option at the specified index.
kStatus GoDigital_SetDelay(GoDigital digital, k64s delay)
Sets the delay from exposure until output is triggered, in units based on GoDomain.
kStatus GoEthernet_SetProtocol(GoEthernet ethernet, GoEthernetProtocol protocol)
Sets the protocol which will be output via ethernet.
Represents Digital output settings.
k64f GoAnalog_CurrentInvalid(GoAnalog analog)
Gets the current output level associated with an invalid measurement.
kStatus GoAnalog_SetDataScaleMin(GoAnalog analog, k64f min)
Sets the measurement value associated with the minimum output current value.
kSize GoDigital_SourceCount(GoDigital digital)
Gets the number of decision sources that are currently selected for determining pass/fail state...
kSize GoAnalog_OptionCount(GoAnalog analog)
Gets the number of source options for the specified output type.
kStatus GoEthernet_EnableAsciiCustomFormat(GoEthernet ethernet, kBool enabled)
Enables or disables the ASCII protocol output custom data format.
kStatus GoDigital_SetPassMode(GoDigital digital, GoDigitalPass pass)
Sets the pass/fail mode for the digital output.
Essential API declarations.
k32u GoSerial_SelcomRate(GoSerial serial)
Gets the index of the currently selected Selcom output rate.
kStatus GoAnalog_EnableSchedule(GoAnalog analog, kBool enabled)
Enables or disables the scheduler for this output.
kStatus GoEthernet_SetModbusBufferingEnabled(GoEthernet ethernet, kBool enabled)
Enables or disables Modbus protocol output buffering.
GoDigitalPass GoDigital_PassMode(GoDigital digital)
Gets the pass/fail mode for the digital output.
kBool GoAnalog_CurrentInvalidEnabled(GoAnalog analog)
Gets the status of the invalid current enabled option.
Represents Serial output settings.
k64f GoAnalog_CurrentMin(GoAnalog analog)
Gets the minimum current output level.
kStatus GoSerial_ClearSources(GoSerial serial)
Removes all selected sources for the specified output type.
kBool GoDigital_ScheduleEnabled(GoDigital digital)
Gets the enabled state of the scheduler for this output.
kStatus GoDigital_SetSignalType(GoDigital digital, GoDigitalSignal signal)
Sets the signal type of output.
kStatus GoAnalog_SetCurrentMax(GoAnalog analog, k64f max)
Sets the maximum current output level.
k32u GoEthernet_AsciiControlPort(GoEthernet ethernet)
Gets the ASCII protocol control channel port number.
kChar * GoEthernet_AsciiTerminator(GoEthernet ethernet)
Gets the ASCII protocol output terminator string.
kStatus GoAnalog_SetCurrentInvalid(GoAnalog analog, k64f invalid)
Sets the current output level associated with an invalid measurement.
kStatus GoAnalog_SetEvent(GoAnalog analog, GoAnalogEvent event)
Set the event which triggers this output to fire.
kSize GoEthernet_SourceCount(GoEthernet ethernet, GoOutputSource type)
Gets the number of sources of the specified output type that are currently selected for transmission...
kStatus GoSerial_AddSource(GoSerial serial, k32u sourceId)
Selects the specified source for transmission.
kStatus GoAnalog_SetDelay(GoAnalog analog, k64s delay)
Sets the delay from exposure until output is triggered, in units based on GoDomain mm when GoDomain i...
kArrayList GoAnalog_OptionList(GoAnalog analog)
Gets the list of source options for the specified output type.
kStatus GoDigital_ClearSources(GoDigital digital)
Removes all selected decision sources.
kStatus GoAnalog_SetCurrentMin(GoAnalog analog, k64f min)
Sets the minimum current output level.
kBool GoAnalog_ScheduleEnabled(GoAnalog analog)
Gets the enabled state of the scheduler for this output.
k64f GoAnalog_DataScaleMax(GoAnalog analog)
Gets the measurement value associated with the maximum output current value.
GoDigitalEvent GoDigital_Event(GoDigital digital)
Gets the event which triggers this output to fire.
k32u GoSerial_SourceAt(GoSerial serial, k32u index)
Gets the identifier of the selected output source at the specified index.
kSize GoSerial_OptionCount(GoSerial serial)
Gets the number of source options.
kStatus GoEthernet_SetAsciiCustomDataFormat(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output custom data format string.
kStatus GoEthernet_SetAsciiOperation(GoEthernet ethernet, GoAsciiOperation mode)
Sets the ASCII operation mode.
kStatus GoEthernet_SetAsciiControlPort(GoEthernet ethernet, k32u port)
Sets the port number of the ASCII control port.
k64f GoAnalog_DataScaleMin(GoAnalog analog)
Gets the measurement value associated with the minimum output current value.
k32u GoDigital_PulseWidthLimitMax(GoDigital digital)
Gets the maximum valid value for the PulseWidth setting.
kStatus GoDigital_EnableSchedule(GoDigital digital, kBool enabled)
Enables or disables the scheduler for this output.
kStatus GoDigital_RemoveSource(GoDigital digital, k32u index)
Removes (deselects) the decision source at the specified index.
kStatus GoAnalog_EnableCurrentInvalid(GoAnalog analog, kBool enable)
Enables the current output level associated with an invalid measurement.
kBool GoEthernet_AsciiCustomFormatEnabled(GoEthernet ethernet)
Returns the value of whether the ASCII protocol custom data format is enabled or disabled.
GoAsciiOperation GoEthernet_AsciiOperation(GoEthernet ethernet)
Gets the ASCII protocol operational mode.
k32u GoSerial_SelcomRateOptionCount(GoSerial serial)
Returns the number of available Selcom protocol output options.
kStatus GoEthernet_SetEIPBufferingEnabled(GoEthernet ethernet, kBool enabled)
Enables or disables EthernetIP protocol output buffering.
Represents Ethernet output settings.
Definition: GoOutputTypes.h:14
k32u GoAnalog_Source(GoAnalog analog)
Gets the selected source identifier.
kChar * GoEthernet_AsciiInvalidValue(GoEthernet ethernet)
Gets the ASCII protocol output invalid value string.
kStatus GoSerial_RemoveSource(GoSerial serial, k32u index)
Removes (deselects) the source at the specified index.
kChar * GoEthernet_AsciiDelimiter(GoEthernet ethernet)
Gets the ASCII protocol output delimiter string.
kStatus GoDigital_SetPulseWidth(GoDigital digital, k32u width)
Sets the width of digital output pulses.
Represents Analog output settings.
k32u GoDigital_PulseWidthLimitMin(GoDigital digital)
Gets the minimum valid value for the PulseWidth setting.
kChar * GoEthernet_AsciiCustomDataFormat(GoEthernet ethernet)
Gets the ASCII protocol output custom data format string.
k32u GoEthernet_AsciiDataPort(GoEthernet ethernet)
Gets the ASCII protocol data channel port number.
kArrayList GoDigital_OptionList(GoDigital digital)
Gets the list of source options for the specified output type.
kStatus GoDigital_SetEvent(GoDigital digital, GoDigitalEvent event)
Sets the event which triggers this output to fire.
kStatus GoEthernet_SetAsciiInvalidValue(GoEthernet ethernet, const kChar *string)
Sets the ASCII protocol output invalid value string.