Skip to content

ctapi: Extend functionality with deletion, remote connection.#1

Open
brentoncollins wants to merge 1 commit intowz2b:mainfrom
brentoncollins:ctListDelete
Open

ctapi: Extend functionality with deletion, remote connection.#1
brentoncollins wants to merge 1 commit intowz2b:mainfrom
brentoncollins:ctListDelete

Conversation

@brentoncollins
Copy link
Copy Markdown

  • Delete | ctListDelete function in list.go.
  • CtOpenRemote | CtOpen function to enable remote connections, created a new function. (Did not want to break anything you were already using).
  • Added list_test.go providing tests for connection handling, list operations (creation, addition, reading, and deletion), CITECT_DLL_PATH` environment variable to configure DLL paths for the test file.
  • Updated find.go and init.go to use fmt.Fprintln instead of fmt.Println for error formatting to comply with Go's standard (GO was complaining about it)
  • Tested with Aveva Plant Scada 2023 example project.

Excellent work! I recently started investigating InfluxDB and came upon this project while researching how to create a Telegraf Plugin for the Citect API.

- `Delete` | `ctListDelete` function in `list.go`.
- `CtOpenRemote` | `CtOpen` function to enable remote connections, created a new function. (Did not want to break anything you were already using).
- Added `list_test.go` providing tests for connection handling, list operations (creation, addition, reading, and deletion), CITECT_DLL_PATH` environment variable to configure DLL paths for the test file.
- Updated `find.go` and `init.go` to use `fmt.Fprintln` instead of `fmt.Println` for error formatting to comply with Go's standard (GO was complaining about it)
- Tested with Aveva Plant Scada 2023 example project.

Excellent work! I recently started investigating InfluxDB and came upon this project while researching how to create a Telegraf Plugin for the Citect API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant