LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Code for capture digital data when change of state

Dear Sir,

 

I had written a program to capture the digital data when it change of state.

It work well when I check the check box "Lock file for faster access".

But error occur when it unchecked.

Because I need to open the tdm file at the vi running, thus I need to uncheck it.

Please kindly to advise any solution for it.

The program is attached.

Thank You.

 

 

0 Kudos
Message 1 of 6
(2,636 Views)

Hi poly-alex,

 

Can you give us more information about the error you are seeing?  Is there an error number?  Can you post a screen shot of it?

Jayme W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(2,605 Views)

Hi Jayme,

 

Sorry for late reply.

The screen capture of error message is attached.

Thanks for your helping.

 

Poly-Alex

0 Kudos
Message 3 of 6
(2,589 Views)

Check your file properties and make sure it didn't get set to read only.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 4 of 6
(2,579 Views)

Hi Nlquist,

 

Thanks for your helping.

I had check the file property and it didn't set to read only.

 

Thank You.

0 Kudos
Message 5 of 6
(2,558 Views)

Did you check the vi with the highlight execution?. Check whether the error occurs at the 1st iteration or the second. If it is happening at the 1st iteration then you need to check the file property if it is on second then you have to go for the low level vi's. And also why you need to open the vi when it is running?. Are you opening through the code or manually.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 6
(2,547 Views)