Skip to content

Commit

Permalink
Merge pull request #650 from synnaxlabs/pjdotson/sy-799-documentation…
Browse files Browse the repository at this point in the history
…-opc-ua-documentation-improvements

[docs] OPC UA documentation Improvements
  • Loading branch information
pjdotson authored Jun 19, 2024
2 parents 2506d8e + d7313eb commit ccf260f
Show file tree
Hide file tree
Showing 7 changed files with 286 additions and 224 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Key Information

- **Linear Issue**:
- [Linear Issue]()

## Description

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Key Information

- **Linear Issue**:
- [Linear Issue]()

## Description

Expand Down
2 changes: 1 addition & 1 deletion client/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@synnaxlabs/client",
"private": false,
"version": "0.23.0",
"version": "0.23.1",
"type": "module",
"description": "The Client Library for Synnax",
"repository": "https://github.com/synnaxlabs/synnax/tree/main/client/ts",
Expand Down
6 changes: 3 additions & 3 deletions client/ts/src/hardware/task/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
// License, use of this software will be governed by the Apache License, Version 2.0,
// included in the file licenses/APL.txt.

import { sendRequired,type UnaryClient } from "@synnaxlabs/freighter";
import { sendRequired, type UnaryClient } from "@synnaxlabs/freighter";
import { binary, type observe } from "@synnaxlabs/x";
import { type UnknownRecord } from "@synnaxlabs/x/record";
import { type AsyncTermSearcher } from "@synnaxlabs/x/search";
import { type CrudeTimeSpan,TimeSpan } from "@synnaxlabs/x/telem";
import { type CrudeTimeSpan, TimeSpan } from "@synnaxlabs/x/telem";
import { toArray } from "@synnaxlabs/x/toArray";
import { nanoid } from "nanoid";
import { nanoid } from "nanoid/non-secure";
import { z } from "zod";

import { framer } from "@/framer";
Expand Down
247 changes: 144 additions & 103 deletions docs/site/src/pages/reference/device-drivers/opcua/connect-server.mdx

Large diffs are not rendered by default.

244 changes: 134 additions & 110 deletions docs/site/src/pages/reference/device-drivers/opcua/read-task.mdx

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions driver/opc/dev/server-extended.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@
# included in the file licenses/APL.txt.

import asyncio
import logging
import datetime
import math
import time

from asyncua import Server, ua
from asyncua.common.methods import uamethod


async def main():
Expand Down Expand Up @@ -43,11 +40,11 @@ async def main():
datetime.datetime.utcnow() + datetime.timedelta(milliseconds=8),
], ua.VariantType.DateTime)

mytimearray.set_writable()
await mytimearray.set_writable()

RATE = 500
ARRAY_SIZE = 5
mytimearray.write_array_dimensions([ARRAY_SIZE])
await mytimearray.write_array_dimensions([ARRAY_SIZE])

for i in range(100):
# add 30 float variables t OPC
Expand Down

0 comments on commit ccf260f

Please sign in to comment.