LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

measurement file not saved

Solved!
Go to solution

Dear Sir,

I am new to Ni labview and trying to get some data acqusition experiments with ni labview.

please find the labview code attached which i have made. The problem i am facing is that the measurement file is not getting saved. I have searched entire computer. Could you please help me to find the error in the code as to why the file is not getting saved.

Also the application is to send a sinusoidal signal to a servo and to acquire the sensor signals in real time Could you please check the code and suggest any improvements i could do on it. Another problem i am trying to sort is to find a way to input a ramp signal. I was not able to find the ramp option in simulate signal options. Could you please help with it also.

Regards
Sachin

0 Kudos
Message 1 of 9
(3,304 Views)

Hi Sachin,

 

double-click the "WriteMeasurement" ExpressVI. A dialog will open and on it's upper left you will find the path to your data files...

 

It's not hard to use ExpressVIs. NI seems to recommend them to LabVIEW beginners (which is wrong in my opinion). All you need to do is open that dialog and configure. And even that is too hard for you?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(3,291 Views)

I have sent the path of course ..

0 Kudos
Message 3 of 9
(3,289 Views)

it is not saved in that location. i thought i might be saved in some other location by default so i search the computer. it was not saved at all

0 Kudos
Message 4 of 9
(3,286 Views)
Solution
Accepted by Sachindian

Hi Sachin,

 

when I test your VI (after removing the DAQAssistent ExpressVIs) it creates a measurement file at the specified location:

C:\user\username\Documents\LabVIEW Data\

 

(The folder should be known as "My Documents" under Windows...)

You know measurement files have an extension of "lvm" (as configured in your ExpressVI)?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 9
(3,280 Views)

For me even that is not working the code is running fine with and without the dac assistant. but the measurement file is not getting saved at that location or elsewhere

0 Kudos
Message 6 of 9
(3,271 Views)

Hi Sachin,

 

so the fault is on your side 😄

 

Hint:

Change the folder for saving the data to a different place on your hard drive. Choose a location where you will have proper access rights (for sure)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 9
(3,269 Views)

Got it, We are using the NI PXIe-1062Q module. Its a computer in itself. I tried FTP into that that computer and got the files the whole bunch of those for all the runs i have made from morning. Thanks for your help.

 

Could you please help me with the Ramp signals too.

0 Kudos
Message 8 of 9
(3,264 Views)

Hi Sachin,

 

I love it when the OP provides all the information needed right in the first post... (yes, sarcasm)

 

For your "ramp": SimulateSignal has an option named "sawtooth". That one looks like a ramp to me...

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 9
(3,260 Views)