06-06-2013 05:43 PM
Hello,
I used the "niScope EX Save to File - HWS Low Level - Single Channel Stream.vi" as my starting point and added 8 channels for a 5105 card. Although this is a complex Queue-based vi, it works fine as long as my RAID is fast enough.
However, we have need to take data from channels 4 to 7 and not start with Ch 0. When I do this, my LabVIEW HWS reader does not see any data, nor does the MATLAB code I have written to read our HWS files.
Looking at the file in HDFView, I see that the data starts in vector0 and not vector1, as when I record Channels 0 to 3.
Perhaps I need to use the HDF5 LabVIEW code to force the writing to a different location in the HDF file?
Thanks for your help.
06-07-2013 02:06 PM
John,
Would you mind posting the code you are currently having issues with?
06-12-2013 08:01 AM
Hello,
I was out of the office Mon. and Tues. I took out a section that just collects one 5105 card in a steaming, continuous collect mode. This is part of a much bigger VI and I included the “Helper Aps” folder that has all the sub-VIs for that larger app. There are more sub-VIs than you need for “5105 Cont Collect.vi”, but it should run once you tell it where the sub-VIs are. Included is a quick-look reader I use to look at the data.
The data file Ch_0_to_3_5105-0.hws can be read, but the Ch_4_to_7_5105-0.hws file cannot.
Thank you for your help.
06-13-2013 08:40 AM
John,
Can we try isolating this down to a smaller section of code that still reproduces the problem?
06-25-2013 02:27 PM
While I was cleaning up my code, I was able to fix my problem. Thank you for your interest.