LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital waveform editor can not open hws file generated by niHWS store waveform

Hi,
 
I am using a simple VI to store the U32 array to a hws file in LabVIEW, however, the file generated can not be opened by Digital Waveform Editor. The VI used to be working well before I upgrade LabVIEW from V7 to V7.1.
 
Meanwhile I also found out that the hws file generated by DWE can not be read out by niHWS. retrieve waveform.vi if the number of channels is not 32.
 
I would be grateful if any one can give me some help. Please find the VIs and hws files as attached.
 
The software I am using is
 
Digital Waveform Editor 1.0
LabVIEW 7.1
 
Best Regards, YJ2003
0 Kudos
Message 1 of 18
(4,587 Views)
The vi worked for me and I was able to open the file in DWE and retrieve waveform worked.  I am using DWE version 1.0.1 and labview 7.1.  The only thing I changed in the vi was make a data dependancy from the store digital 1D U32 VI to the case structure to make sure the file is saved before you try opening it.
 
Brian

Message Edited by BrianPack on 09-28-2005 08:58 AM

0 Kudos
Message 2 of 18
(4,578 Views)
Dear Brian,
 
Thanks for your quick response.
 
I tried again but still failed to open the hws file with my DWE V1.0. Since the version is the only difference between our software, I suspect the problem is caused by my DWE of old version.
 
Would you please help me to check if the new attached questionretrievepattern.hws file can be opened by the HWS.VI? (Please change the extention from txt to hws as I can not attach file with hws format in this forum)This file is generated by DWE1.0 and contain only 16 channels. It can not be opened by the niHWS retrieve waveform.vi in my computer with erroe code "-21558", but if I added another 16 channels signals with DWE, the data can be read out properly.
 
If we can confirm the problem is caused by DWE1.0, would you please also let me know how to upgrade my DWE? Thanks.
 
Best Regards, YJ2003
Message 3 of 18
(4,571 Views)
YJ2003
 
I think I realize your problem...the attached file has been saved as Digital Waveform Data Type.  When you are using the retreive digital 1d u32 vi the file you are retreiving needs to be saved as U32 with all the channels mapped   For the Digital Waveform Data Type the retreive vi needs to be set to WDT.

Brian

Message Edited by BrianPack on 09-28-2005 09:39 AM

Message Edited by BrianPack on 09-28-2005 09:40 AM

0 Kudos
Message 4 of 18
(4,567 Views)

Dear Brian,

Thanks for your advice.

I still can not use DWE1.0 to open the hws file generated by both my previous vi and the one you modified. The DWE always says "file is already open" as the picture attached, any suggestion?

If the old version of DWE1.0 is the reason, would you please advise me how to upgrade my DWE1.0 and is there any discount for university use?

Best Regards, YJ2003
0 Kudos
Message 5 of 18
(4,546 Views)

My guess is the version isn't the problem.   It may be that your labview program is keeping the file open for some reason.  Have you tried closing labview down and open the file with DWE when it is the only running application? 

Just to make sure, in DWE click Help and then click About does it say version 1.0 or 1.0.1?


Brian

0 Kudos
Message 6 of 18
(4,535 Views)
I have tried closing the LabVIEW 7.1 down, and the started up the DWE to open the questionsavepattern.hws which was generated by HWS.vi. It says "can not open the file"-then "error -130099 open buffer", then when I tried to open the file again, it always showed that "the file is already open". Please find the pictures attached which contains all these messages including the version.
 
I understand that you can use your DWE1.0.1 to open the hws file generated by the HWS.vi. One option we can try is perhaps you can send me that particular hws file, and I will close all my application software except DWE, and try to open it again to see what would happen. If it can be opened, then the problem is probably with LabVIEW7.1, otherwise with DWE.
 
Best Regards, YJ2003
0 Kudos
Message 7 of 18
(4,523 Views)
Here it is....
0 Kudos
Message 8 of 18
(4,518 Views)

Hi YJ2003,

Which version of NI-HWS do you have installed? Do you also have NI-HSDIO installed, or just the Digital Waveform Editor and LabVIEW?

-Jared

0 Kudos
Message 9 of 18
(4,495 Views)
The file can not be opened with my DWE1.0 with same messages coming up (I have changed the file extensition to hws)...:-(
 
By any chance does anyone also have DWE1.0 and help me to double check opening the file? otherwise, I am considering to upgrade my DWE... would you please give me any advice on upgrading, Brian?
 
Best Regards, YJ2003
0 Kudos
Message 10 of 18
(4,492 Views)