Steven McClain Posted June 4, 2020 Share Posted June 4, 2020 Is there a specification available for the files generated by WaveForms software? I would like to know if the serial number of the AD2 device that generated the data is stored in there somewhere. Link to comment Share on other sites More sharing options...
attila Posted June 4, 2020 Share Posted June 4, 2020 Hi @Steven McClain Extract the workspace, open the config.ini look for device.sn key [General] saveacquisitions=1 device.id=3 device.config=0 device.sn=SN:210321A680EF device.name=Discovery2 It is a 'custom compression' based on:https://doc.qt.io/qt-5/qbytearray.html#qCompress Link to comment Share on other sites More sharing options...
Steven McClain Posted June 4, 2020 Author Share Posted June 4, 2020 9 hours ago, attila said: Hi @Steven McClain Extract the workspace, open the config.ini look for device.sn key [General] saveacquisitions=1 device.id=3 device.config=0 device.sn=SN:210321A680EF device.name=Discovery2 It is a 'custom compression' based on:https://doc.qt.io/qt-5/qbytearray.html#qCompress Thanks for the quick reply! I managed to find the sn (it was in the data0.info file under the scope directory). Its good to know that it is in there somewhere. Is there a way to extract the workspace without using WaveForms? The ultimate goal is to have a way to get the serial numbers from a bunch of workspaces in a batch. I want to use it for 'marking' students online submissions. Again, thank you, Link to comment Share on other sites More sharing options...
attila Posted June 4, 2020 Share Posted June 4, 2020 Hi @Steven McClain The SN, device name and capture time is also stored in such binary .info files related to acquisition data, for such 'copyright' purposes. I have modified the Extract to let you select multiple workspaces at once, for next release. I could also add an interface where you can open multiple files and display in a table information. There could be multiple scopes and multiple captures in buffers and tabs, we may also want to show information of multiple instruments... Could you tell me what information you need? Like: [workspace name, scope capture last date, SN, warning if there are different SNs present... ] Link to comment Share on other sites More sharing options...
Steven McClain Posted June 4, 2020 Author Share Posted June 4, 2020 12 minutes ago, attila said: Hi @Steven McClain The SN, device name and capture time is also stored in such binary .info files related to acquisition data, for such 'copyright' purposes. I have modified the Extract to let you select multiple workspaces at once, for next release. I could also add an interface where you can open multiple files and display in a table information. There could be multiple scopes and multiple captures in buffers and tabs, we may also want to show information of multiple instruments... Could you tell me what information you need? Like: [workspace name, scope capture last date, SN, warning if there are different SNs present... ] Generally speaking each student will have their own (single) AD2 device. We expect them to perform 'lab activities' and then submit results for marking. I want to make sure that each student uses their own device to generate the files and prevent getting a single student's work multiple times. So, I would like a tool that can confirm that all of the data was generated by a single instrument with a list of serial numbers and workspace names. Any date-stamps or other corroborations would be nice. We just got these devices and we are planning on using them for student lab work from home. I am not sure exactly how the WaveForms tool will be used. There will be many teachers , using it in many different ways, for many different courses (still) again thanks for the quick reply. Link to comment Share on other sites More sharing options...
attila Posted June 5, 2020 Share Posted June 5, 2020 Hi @Steven McClain The last beta version adds the following Compare tool under Workspace menu:https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ The duplicate Save Device (serial numbers of the device when the project was saved) are highlighted It is also highlighted when Scope Data (SN of the capture device) does not match the save device or captures with multiple devices are present. The table can be selected and copy-pasted to spreadsheet editors. Link to comment Share on other sites More sharing options...
Steven McClain Posted June 5, 2020 Author Share Posted June 5, 2020 3 hours ago, attila said: Hi @Steven McClain The last beta version adds the following Compare tool under Workspace menu:https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ The duplicate Save Device (serial numbers of the device when the project was saved) are highlighted It is also highlighted when Scope Data (SN of the capture device) does not match the save device or captures with multiple devices are present. The table can be selected and copy-pasted to spreadsheet editors. That is AWESOME! This looks like it will do the trick. Thank you so much for this, I will pass this on to my colleagues. Link to comment Share on other sites More sharing options...
attila Posted June 5, 2020 Share Posted June 5, 2020 Hi @Steven McClain The next version will add other instruments to compare. Let me know if you have any other observation or request. Link to comment Share on other sites More sharing options...
Steven McClain Posted June 5, 2020 Author Share Posted June 5, 2020 49 minutes ago, attila said: Hi @Steven McClain The next version will add other instruments to compare. Let me know if you have any other observation or request. Wow. Excellent! This will certainly be a useful tool. I can only think of a couple of things for the wish list. Save results as text (or csv). A way to run as a batch? I may have 40 or 50 students. I would like to point it to a directory full of workspace files and get a report. Link to comment Share on other sites More sharing options...
attila Posted June 7, 2020 Share Posted June 7, 2020 Hi @Steven McClain For now you can use Open, Ctrl+A to select all the worskpace files in a directory. Click on the table Ctrl+A, Ctrl+C and Ctrl+V in text or spreadsheet editor. Link to comment Share on other sites More sharing options...
Question
Steven McClain
Is there a specification available for the files generated by WaveForms software?
I would like to know if the serial number of the AD2 device that generated the data is stored in there somewhere.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.