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

Create TDMS Reference - Error 7

Hi all,

 

I am following the example of 'Dynamically Creating New Files' in the cRIO Developers Guide (P53) but I am getting an error suggesting the path I create is not correct;

 

TDMS Ref Error 7.JPG

 

The strange thing is.. if I create an indicator of the File Path (19), change to constant and rewire, the error disappears;

 

TDMS Ref OK.JPG

 

Any idea what the issue could be?  It has me stumped 难过表情

 

Cheers,

 

Pete


Regards,

Peter D

0 项奖励
1 条消息(共 6 条)
4,176 次查看

What happens if you only concatenate the filename and build that with the path "c:\"

That is what I always do.  I never put the entire path as a string...

 

Buildpath.png

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
2 条消息(共 6 条)
4,171 次查看

Hmm... I tried on my end and no error is generated. Have you tried pulling just that code out and putting in a new VI to see if it happens?

3 条消息(共 6 条)
4,169 次查看

Thanks for your replies.  A combination 眨眼表情

 

No Error.png

 

This works with no error.

 

I restarted my application, re-deployed the host and it works!  It would be interesting to know why it didn't before.. I had been playing around with this for a while, so I possibly didn't close an old reference to "tempdata0".. who knows

 


Regards,

Peter D

0 项奖励
4 条消息(共 6 条)
4,160 次查看
Hi, There is no need for the sequence, is there
Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 项奖励
5 条消息(共 6 条)
4,157 次查看

Good point 极度高兴的表情

 

It's included in my application as I'm also starting the FPGA and initialising some controls in the first sequence.

 

Pete


Regards,

Peter D

0 项奖励
6 条消息(共 6 条)
4,152 次查看