Please suggest or provide an example of how to plot up to 4 channels in real time from a USB A/D card which automaticaly sends 10 channels of 12 bit data ( (both raw a/d and same but scaled) for each channel every 1/10 second.
Also please sugest a way of decimating to 1in 10 or 1in 100 sets of readings.
you can find an example that shows how to receive data with the main interface and plot it in exampleScripts\WorkerScripts\CyclicSendReceive\CyclicReceive.js.
Regards,
Stefan
Last edit: Stefan Zieker 2020-03-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you can find an example that shows how to receive data with the main interface and plot it in D:\ScriptCommunicator\ScriptCommunicator\exampleScripts\WorkerScripts\CyclicSendReceive\CyclicReceive.js.
This script is QtScript and not C#. QtScript is similar to Java Script (the core of both is ECMA Script).
CyclicReceive.js does not send enything. You can test this script with CyclicSend.js (you have to execute CyclicSend.js in a second instance of ScriptCommunicator).
Regards
Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This script is QtScript and not C#. QtScript is similar to Java Script (the core of both is ECMA Script).
CyclicReceive.js does not send enything. You can test this script with CyclicSend.js (you have to execute CyclicSend.js in a second instance of ScriptCommunicator).
I think Java Script tutorials would be better because you won't find much QtScript tutorials and the only difference is Java Script has a few functions that QtScript does not have and vice versa.
Regards
Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think Java Script tutorials would be better because you won't find much QtScript tutorials and the only difference is Java Script has a few functions that QtScript does not have and vice versa.
Hi Stephan,
Please suggest or provide an example of how to plot up to 4 channels in real time from a USB A/D card which automaticaly sends 10 channels of 12 bit data ( (both raw a/d and same but scaled) for each channel every 1/10 second.
Also please sugest a way of decimating to 1in 10 or 1in 100 sets of readings.
CH6:2020 1.627V
CH7:2208 1.778V
CH8:2019 1.626V
CH9:2209 1.779V
CH0:2015 1.623V
CH1:2202 1.774V
CH2:2019 1.626V
CH3:2205 1.777V
CH4:2022 1.628V
CH5:2210 1.781V
CH6:2023 1.630V
CH7:2214 1.782V
CH8:2022 1.629V
CH9:2211 1.781V
CH0:2027 1.631V
CH1:2206 1.774V
I think many others might find this useful.
Thanks
MG
Hi,
you can find an example that shows how to receive data with the main interface and plot it in exampleScripts\WorkerScripts\CyclicSendReceive\CyclicReceive.js.
Regards,
Stefan
Last edit: Stefan Zieker 2020-03-05
Thanks Stefan,
Is that all in C# ?
if so as you may guess I'll need to learn/ look up some.
My application is receive only, needs no send can this example be set to allow this?
.
Best regards,
Martin
Hi,
you can find an example that shows how to receive data with the main interface and plot it in D:\ScriptCommunicator\ScriptCommunicator\exampleScripts\WorkerScripts\CyclicSendReceive\CyclicReceive.js.
Regards,
Stefan
Plot real time data, script and decimate
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/scriptcommunicator/discussion/featurerequests/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi Martin,
Regards
Stefan
Hi Stefan,
Thanks for setting me in the right direction.
My next step probably = Qtscript tutorials.
Best regards,
Martin
Hi Martin,
Regards
Stefan
Plot real time data, script and decimate
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/scriptcommunicator/discussion/featurerequests/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Hi Martin,
I think Java Script tutorials would be better because you won't find much QtScript tutorials and the only difference is Java Script has a few functions that QtScript does not have and vice versa.
Regards
Stefan
Hi Stefan,
Once again thanks for the suggestions, if I get useful results I'll get back to you.
You may be aware these cheap DAQ boards are on sale via numerous outlets Amazon etc.,
https://www.amazon.co.uk/10-Channel-Collection-Module-Channel-Single/dp/B082VPCLDX/ref=sr_1_25?keywords=10+channel+12bit&qid=1583434881&sr=8-25
Best regards,
Martin
On Thursday, 5 March 2020, 16:13:47 GMT, Stefan Zieker szieke@users.sourceforge.net wrote:
Hi Martin,
I think Java Script tutorials would be better because you won't find much QtScript tutorials and the only difference is Java Script has a few functions that QtScript does not have and vice versa.
Regards
Stefan
Plot real time data, script and decimate
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/scriptcommunicator/discussion/featurerequests/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/