12-23-2011 04:27 AM
Hi,
I create a simple Vi which aim is to create a digital output signal and read this signal.
To do this, i use a PXI6535 card (digital IO) and the following VI :
But, and even if i have no error, logfile is not created. It seems i'm doing wrong but as a new user of labview i don't know what.
Thanks for your help.
Mathieu.
12-26-2011 06:28 AM
Hi mhed,
Welcome on National Instrument's forum.
I think there is a problem in your while loop :
There is no stop button to end the loop, so the only way to end the loop is getting an error.
You file isn't generated because your loop can't end. Please take a look on the attached picture, I hope this will help you.
Best Regards
Vincent.O
National Instruments France
Été de LabVIEW 2014
12 présentations en ligne, du 30 juin au 18 juillet
01-03-2012 03:34 AM
Hi
Thank you for your answer, but my problem is not solved.
Firstly you are right, i've forgotten to add an stop button to my loop. But, my problem is that no TDMS file are created after the write task.
01-03-2012 04:52 AM
Two questions:
1. What is the 'logging mode' input set to?
2. Are there any errors after the Daqmx Logging vi?
01-03-2012 06:38 AM
Well,
Logging mode input is set to "Log"
And no, there are no errors after le Logging task (and no before)
01-03-2012 11:37 PM - edited 01-03-2012 11:39 PM
Hi
I would suggest you post the vi as we can run it and try if there are any issues. I use LV 2010SP1.
01-04-2012 02:04 AM
Hi,
You're right, it's more easy if you can test directly the Vi.
I hope you'd can help me.
01-04-2012 04:01 AM
HI
I wish to know if anyone here can inform if the PXI card used in having permissions to set the logging property during the task run-time.
We cannot usually set the DAQmx properties for a Static DIO card while the task in running. So, please clarify.
Apart from that, even I am not able to identify any issue behind the TDMS file not being created.
mhed,
I have slightly modified your code to look better and to be easy to grasp the wiring. Please do not mind.
01-04-2012 04:21 AM
Actually, I just made a sample AO and a sample AI operation and tried using Logging VI. Both the times, I ended up without a tdms file in my folder. There must be some correct way of doing this.
01-04-2012 04:51 AM
i hope so, because i need to save the value of my output signal.