06-06-2011 03:26 PM
Hi,
LabVIEW 8.5 user with a question regarding output files, as alluded to in the subject title!
Firstly is there a way I can rename "Dev1/ai0 (Formula Result)" (for example) in my output file? I'm just wondering because in some files I write out various columns, each with the default name or untitled, and while it's still obvious to me what the parameters are it wouldn't be to others.
Thanks.
Solved! Go to Solution.
06-09-2011 08:42 AM
Hello cevert73,
Thank you for posting on the National Instruments forum.
To be able to help you I would need some more information because it is a bit unclear at the minute.
What is your output file? Can you post it so that I can see how this is being generated?
Which device are you using?
Can you also post your code so that I can look at how you are trying to generate your output file?
Thanks,
06-09-2011 09:11 AM
This can be done in multiple ways. You can set up a global channel with the name you want to use. You can set up a task and give that the name you want to use. You could save the data in the file with a label for the device channel instead of the actual channel name. You would need to see which one fits your program and abilities and go from there.
06-10-2011 03:09 PM
Hi,
I've created a simplified example VI to pad this out which takes the output from a multifunction DAQ whereafter I manipulate the signal (here dividing by 10 which could be thought of as normalising with respect to a length scale or perhaps interacting with a signal obtained from another channel for example) while taking some statistics which are also written to file. My question is how would I label each of the columns in an output file of this type?
I realise I can concatenate strings in the comment but I have reason to avoid this.
Thanks.
06-21-2011 04:17 AM
Does anyone have any suggestions on this issue for me? Thanks.
06-22-2011 06:57 AM
Hi cevert73,
Have a look at the VI attached which allows you to change the channel names of your device programmatically.
Hope this helps.
06-22-2011 08:24 AM
Hi, thanks for your help.
I'm using LabVIEW 8.5 and therefore, unfortunately, can't open this VI.
06-22-2011 08:27 AM
Hi,
I have attached version 8.5.
Regards,
06-23-2011 08:28 AM
That would have taken me a good while to find out. Thanks for that!