02-09-2023 04:47 AM
My company is upgrading from classic Fieldpoint modules to Compact DAQ. Does anyone have any basic programming examples for talking to cDAQ hardware over ethernet? Things like throwing relays and reading back discrete inputs? Any setup tips would be helpful too. Thanks in advance.
02-10-2023 11:23 AM
cDAQ uses the DAQmx driver and you can find the DAQmx examples for various programming languages as described in this article https://www.ni.com/en-us/support/documentation/supplemental/18/ni-daqmx-example-locations-for-labvie...
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004B6mSAE&l=en-US
There are community contributed examples here - https://forums.ni.com/t5/Example-Code/tkb-p/3039/label-name/Driver-NI%20DAQmx