04-17-2019 12:40 PM
Good Day DASYLab Community;
I have a device which is currently used together with a .py script to configure, acquire, and convert a stream of data to an ascii formatted data file. I have a goal of integrating this device with DASYLab.
In broad strokes, I'd like to poll the community to gauge whether my plan is worth the effort. I would like my script module to perform the following when prompted (perhaps through an input trigger).
1. Run my block of python code which initializes a UDP data stream to a given device
2. Extract, and convert from binary to decimal format at a known sample rate
3. Synchronize the data to DASYLab time base
4. Return the data to the DASYLab environment as though it were just another piece of DAQ hardware
04-17-2019 01:16 PM
It's absolutely worth the effort.
I was able to put together a script to talk to a comms based GPS as well as an Ethernet device that responded in XML.
It's slightly tricky because of the timestamp that you need to apply to the channel.
I can provide you my examples to use as a template, if you like.
Contact me directly at cj.butler@mccdaq.com.