取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 6 条)
2,929 次查看

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 项奖励
2 条消息(共 6 条)
2,898 次查看

Hi Jayme,

 

Sorry for late reply.

The screen capture of error message is attached.

Thanks for your helping.

 

Poly-Alex

0 项奖励
3 条消息(共 6 条)
2,882 次查看

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 项奖励
4 条消息(共 6 条)
2,872 次查看

Hi Nlquist,

 

Thanks for your helping.

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

 

Thank You.

0 项奖励
5 条消息(共 6 条)
2,851 次查看

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 项奖励
6 条消息(共 6 条)
2,840 次查看