Importing multiple values/array in DEWESoft
Hello,
I have a set of 50,000 values in an excel sheet or .mat file. How can I copy/import those values into DEWESoft?
I wanted to use those values to construct CAN message and send it out via a formula.
Thanks,
Chinmay.
Automotive Application Engineer
Hello Chinmay
I added a video below with an example of how you can import .txt documents, get channels and convert them to the CAN Transmit(Tx) message.
Best regards.
Attached files:
Hello Matjaz,
Thanks for the video explanation!
Is there a way to import this signal/array of values to an existing setup file?
I have a lot of CAN messages and formulas already setup and wanted to add this array of values to it. In the video you are showing how to import the array of values as (.dxd)data stream/file in DEWESoft, but can we have it imported in a setup file?
That way I would not have to make much changes to my setup file if I have to add/modify a certain array that I have in the my original (.dxs)setup file.
Thanks,
Chinmay
Dear Chinmay,
there is an option to import a vector/matrix constant in a math module, please refer to the attached image. Unfortunately for now we only support vectors with length of up to 20,000 elements. In the attachment there is also a setup file TestingArrays.dxs with 5 constants totaling 50,000 elements and a formula that calculates a sum of a few elements.
DewesoftX also supports C++ scripts with which you can create an array with a length of 50,000 elements.
Kind regards.
Attached files: