LarryX Posted March 13, 2012 Report Share Posted March 13, 2012 Hi all, while I'm opening HWS file by labview, I want to extract the names of the channels inside it. Do anyone know how to do it? Thank you! Quote Link to comment
asbo Posted March 13, 2012 Report Share Posted March 13, 2012 http://digital.ni.com/public.nsf/allkb/5BBC0C25E2E3E8CE862575BB00662D7E Quote Link to comment
LarryX Posted March 13, 2012 Author Report Share Posted March 13, 2012 I've already seen that article but I've an HWS file with 176 channels and I can't understand how to modify the flow to be able to read a file with more than 32 channels. Thank you I've already seen that article but I've an HWS file with 176 channels and I can't understand how to modify the flow to be able to read a file with more than 32 channels. Thank you Quote Link to comment
asbo Posted March 13, 2012 Report Share Posted March 13, 2012 Then you should post the code you've already tried and what your specific problem is, as well as the example HWS. Otherwise, you're only going to get useful advice if someone else has encountered your exact problem, which is unlikely. Quote Link to comment
LarryX Posted March 14, 2012 Author Report Share Posted March 14, 2012 Maybe I wasn't so clear, I've tried the example downloaded from the same page that you linked and doesn't work with HWS containing more than 32 channels. If do you have some ideas to modify the .vi can you suggest it me? Quote Link to comment
LarryX Posted March 21, 2012 Author Report Share Posted March 21, 2012 I received a good suggestion from an other source and I've downloaded a viewer that allows to edit .hws that is HDF view (http://www.hdfgroup.org/hdf-java-html/hdfview/). In this viewer is possible to see that the bit names contained into the file aren't sequential, so the channels identifier became higher than the real number of the channels contained into the .hws. So, to extract all the name I've changed H5G Find-Open Numbered Groups.vi with a for loop instead of the while settings more than 1000 loops even if I have an hws made by 170 signals. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.