profile
viewpoint
Zach Hindes zhindes National Instruments Austin, TX Chief Software Engineer at National Instruments

ni/grpc-device 24

gRPC server providing remote access to NI device driver APIs.

zhindes/cJSON 0

Ultralightweight JSON parser in ANSI C

zhindes/grpc-device 0

gRPC server providing remote access to NI device driver APIs.

push eventzhindes/grpc-device

Zach Hindes

commit sha 616aa913963098b12d276693895b7eb946f82df4

readme

view details

push time in 2 months

push eventzhindes/grpc-device

astarche

commit sha 744a213fa05c04a808e156c7bac0054b2f977590

Fix exception handling in betterproto examples (#319) Fixes #282. Update to the same implementation we used for DAQmx after running into this issue.

view details

astarche

commit sha 7029f9516234e39de6f218f88722542df98da1f7

Add DAQmx Timing and Triggering attributes (#318) * Add DAQmx Timing attributes * Add DAQmx Trigger attributes * Add test for SampClkRate

view details

Greg Stoll

commit sha 757b620e976a56cc6d64f59ae5a559043450f01c

Use IVI dance for error string methods - fix #271 (#311) Uses the "IVI dance" to determine how big the string buffer should be to pass to `GetErrorString` and `GetExtendedErrorInfo`. Also update Python examples.

view details

Greg Stoll

commit sha 6738a44514b8bb06b454086026d0b412b2465115

Determine array sizes for passed-in arrays in DAQ (#320) Determines array size and passes that in automatically. Note that this is just a proof of concept - I have not looked through the rest of the DAQmx functions to see which other ones could take advantage of this. This will hopefully let us get a sense for how hard this is and how much value it provides.

view details

Zach Hindes

commit sha bcdf2cb54fac5305f34788115fc944e3fb3c48b7

sync: pps test cleans up (#321)

view details

astarche

commit sha addd988b899e23653686a8605c6a5ba3328b7106

Add DAQmx Read/Write attributes (#322) * Add DAQmx Read/Write Attributes * Add spot check tests

view details

astarche

commit sha 24aeb33df1e35f534e78757163bd63b8caaf6877

Add the rest of the DAQmx attributes (#327) * Add ExportSignal attributes * Add Watchdog attributes * Add CalInfo Attributes * Add PhysicalChannel Attributes * Add RealTime Attributes * Add Persisted Scale/Channel/Task Attributes * Add SystemInfo Attributes * Fix M_HZ

view details

astarche

commit sha bfabb53b8aa015ee772173750a7caf77b0e92a93

Create client wrapper generator for grpc-device tests (#326) Generate client wrappers for grpc-device APIs. General philosophy: mimic betterproto by generating wrappers that take in all request fields as params and returning the response. Note: these are experimental wrappers intended for test code. They are namespaced to reflect that.

view details

astarche

commit sha 724bf35a6c23990a694cdabd78efb9741fabd59b

Fix up GetErrorString test to test the full message (#328) Fix up GetErrorString test to test the full message (#328)

view details

astarche

commit sha 92adeeff3fcb3c28310c97713e324922e8cb3296

Fix casing of type hints in client helpers (#331)

view details

Greg Stoll

commit sha f0686b71ad2984f43317e907ed58909eacceb17c

Calculate input array lengths (#329) Updates DAQ metadata to calculate input array length for all DAQ functions. Completes the work that was prototyped in #320.

view details

astarche

commit sha 63d19247ce9782cf3c229398bc66dedd41c90ed8

Regenerate clients to add new attribute methods (#330) Regenerate clients to add new attribute methods from #326.

view details

Greg Stoll

commit sha 0ff7e33ff7d42dded2df09e282d8d07f96632f24

Make output strings ivi-dance where possible (#335) Uses ivi-dance to determine the size of output strings and arrays. This finishes the work started in #311.

view details

Greg Stoll

commit sha c70e641496828b1e7ab47fab9e18feafc445cec6

Add documentation about size mechanisms (#336) Adds internal documentation about the size mechanisms.

view details

astarche

commit sha efabaf8a56da5b6ca24dd93d1bb02c0cfdc6b909

Use decltype for function pointers (#332) Change the code that declares grpc-device library function pointers to use decltype instead of generating the signature from function parameter metadata.

view details

astarche

commit sha a96d206525f7208b83d2e80d022c7118f23b95ef

Prevent downstream recompiles for no-op codegen (#334) Add write_if_changed so that we don't change the mod date of a file when code generation does not change anything.

view details

astarche

commit sha 024aed42b0b4b8977af6292a2549212b6d906a4e

Add raw attributes to DAQ service (#333) Adds the ability to pass in "raw" attributes in the DAQ grpc-device service. Note: logic for validating attributes is not included in this change.

view details

astarche

commit sha 315f598350b1f6c281f18d8891ac9094022b8461

Support legacy sessions in dcpower tests (#337) Update dcpower tests to be more tolerant of older versions that don't have InitializeWithIndependentChannels. For tests that run with the old InitializeWithChannels API: fallback to that init method and continue. For tests that don't work with InitializeWithChannels or are explicitly written for InitializeWithIndependentChannels: Skip the test.

view details

astarche

commit sha 80f8ce02e65a80b90e2dcb6a2715c36953630c35

Add -j 2 to parallelize workflow builds (#344)

view details

astarche

commit sha a0b54ae49a56c083e2e958d65b650682a6c42734

Add validation logic for DAQ attributes (#340) Validate that attribute values are valid enum values before passing through to the driver. Use 0 as the default attribute value so that users will get a consistent DAQmxErrorSpecifiedAttrNotValid error when passing in incorrect attributes. Note: this logic will be updated to incorporate the allow_undefined_attributes switch from #339.

view details

push time in 3 months

more