02-04-2014 05:28 AM
Because I need to Make the Table and based on that I need to read the Bytes with Byte Length. So I'm getting bit confuse about it. It could be more helpful for me if you will give some sample VI.
Thanks & Regards,
Munna
02-06-2014 02:12 AM
Dear All,
Please help me in this problem.
Thanks & Regards,
Munna
02-06-2014 02:46 AM
Hi Munna,
have you done anything on your own until now? Or do you want to wait for someone else to do your job?
To create your timing table you could start with this approach:
It creates a "table" consisting of time and channel number, sorted by time and channel (in this order). You still need to change the way the number of occurances for each channel is calculated, right now I simply call each channel 10 times. You need something like the greatest common multiple of all timing values…
Start your coding, attach your VIs and ask for specific problems.
Before even starting to code you should consider some preparation work! Such flow charts can help to create actual programs…
02-06-2014 03:23 AM
Dear GerdW,
Thank you so much for your Support as always.
I’m not too good in LabVIEW. I have tried myself.
This is My VI. I have created Table as per Channel Timestamps.
Please let me know, If I can change anything else.
Thanks & Regards,
Munna
02-07-2014 07:31 PM
Dear GerdW,
Finally I make the table to read the Data Bytes from file.
Here I don't know how to store the each channel data into separate array (Like array of cluster of 1D array concept as you mentioned previously).
And also, its killing more time for Execution. Could you please tell me where I can reduce my time.
Best Regards,
Munna.
02-10-2014 10:57 PM
Dear GerdW,
Please help me in this.
BR,
Munna
02-11-2014 01:56 AM - edited 02-11-2014 02:00 AM
Hi Munna,
you really have problems to connect my snippet with "channel"/"value" input to your own routine that already provides "channel"/"value" data?
See attachment!
Hints:
- You still need to initialize the array of cluster, otherwise you cannot replace elements in that array.
- Your routine to convert an array of U8 to a single U64 is overly complicated. You should stay with some simple math instead of building a (wrong?) string and converting that string back to a number…
02-11-2014 02:19 AM
Dear GerdW,
Thank you so much for your support and valuable suggestions.
Can provide me your VI in Version 2012. I don't have LabVIEW 2013 now.
I have created sample VI to store the Data. I think this the way I can store my values.
Please let me know if there is any modifications required.
BR,
Munna
02-11-2014 02:24 AM
02-11-2014 02:37 AM
Dear GerdW,
Thank you so much for your support.
I never thought about it (like math calculations).
In my project I have to convert U8 to I32 or U32 or U64 based on some conditions. Can I use this Math array for all kinds of calculations?
BR,
Munna