From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1d array to hws file help

Trying to make a quick and dirty vi that will take data from a 1D array of doubles read from a csv file and in the end write a .hws file. Using Labview v2012.

 

Goal - With input of a .csv file, write output to .hws file using Timing Increment (X) and interpolated values (Y).

For loop input (Y values) is a 1D array of numeric doubles and in my case will always be a 1 or zero.  For loop below with DWDT SprdSheet String to Digital was my convoluted attempt to create the type of input that the NI-HWS Express Save requires. Bear with me, I'm a Labview novice.

For loop below appears to index and recieve the proper x and y values inside the loop, but values don't appear to exit for loop.

VI does produce .hws file but appears too small in size to be correct. Can't open .hws to check output cause don't have digital waveform editor (DWE). Person that will receive .hws files from me has DWE.

Not concerned with overall execution speed of this vi. This vi is a means to an end to produce .hws files and will only be used to produce 10 total .hws files for the project.

 

 

0 Kudos
Message 1 of 2
(2,238 Views)

check these links below related to hws

 

 

SignalExpress - Export to Digital HWS file

http://www.ni.com/example/27796/en/

 

 

SignalExpress - Import Digital HWS file

http://www.ni.com/example/27794/en/

 

0 Kudos
Message 2 of 2
(2,222 Views)