01-09-2008 07:11 AM
01-09-2008 07:45 PM
01-10-2008 04:28 AM
many thanks, it works!!!
Where can I find this kind of info about TDMS Streaming Files ?
greetings
Jos.
11-13-2014 09:29 AM
How can this be done on each channel? I can only make it work once and it has the same unit for all channels which is wrong for me.
thanks!
Jason
11-13-2014 09:35 AM
6 years
Post your code. All that is needed is a List Contents, then use a For loop reading the units for each channel.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-13-2014 01:50 PM
here it is in JPEG. this utility won't let me upload the vi for some reason. Maybe you can suggest the right block to insert?
thanks again
Jason
11-13-2014 08:44 PM - edited 11-13-2014 08:45 PM
What you have would work if the Error Chain was not accidentally wired to the wrong terminal of write TDMS Data
11-14-2014 06:46 AM
Thanks for the help. I'm a bit fuzzy on the "Error Chain" can you explain that a bit more.
thanks
Jason
11-14-2014 06:48 AM
Oh I hope you are not referring to the dashed line. This is just a cut out of my actual code. In my actual code it is solid and works fine. I'm more interested in giving different unit labels for EACH signal. Not have the same Units for all signals.
Jason
11-14-2014 07:42 AM
The Snippet tool works well for uploading an image, that contains the source. You coded your application to write the same unit information for each channel. If you want it to change you can use something like a case structure in the for loop, which has a different value, depending on the channel name.
Or you could have a 1D array of string constant, auto-indexed into the for loop, where each element in the array corresponds to the unit to be used for each channel. Of course for this to work the two arrays must be of the same size. For this reason the case structure might be the better option, because you could have a Default case that sets an unspecified channel to some default unit.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord