gonzo Posted April 16, 2008 Report Share Posted April 16, 2008 Hi guys, I have just started using this forum and labview and am I am sorry if I am asking a stupid question. Reading up about red coercion dots I know they are bad news and should be avoided for all sorts of reasons. Most dots in my VIs have been able to be removed through proper data conversion. There are two conversions that I cannot get to work: 1. 2D waveform to 2D array 2. 1D waveform to double display (with scales) Some pictures circling the location of the dots are attached. I have tried various conversion VIs, but I have not found the right conversion VI / sequence yet. Hope you can help. Gonzo Quote Link to comment
Neville D Posted April 16, 2008 Report Share Posted April 16, 2008 A waveform is just a cluster of t0, dt, and the array of pts. Unbundle the waveform node and extract out the waveform array. An array of waveforms means use a for loop to access each waveform and then unbundle out the arrays as required. Neville. Quote Link to comment
gonzo Posted April 24, 2008 Author Report Share Posted April 24, 2008 QUOTE (Neville D @ Apr 15 2008, 11:38 PM) A waveform is just a cluster of t0, dt, and the array of pts. Unbundle the waveform node and extract out the waveform array.An array of waveforms means use a for loop to access each waveform and then unbundle out the arrays as required. Neville. Hi Neville, Thanks for the quick response, I have been away from work and have not been able to reply to the post. I think I have managed to find the right blocks for the unbundle function and the coercion dot has disapeared. I will test the system later today and let you know. Have you got any suggestions for the other coercion dot (the other diagram I uploaded), where dynamic data goes straight into a double display. I presume it is a similar issue that dynamic data is clustered. I have tried using the same approach with the unbundle function, but always get an array instead of a single double value. Any suggestions? Thanks again for you help. gonzo Quote Link to comment
orko Posted April 24, 2008 Report Share Posted April 24, 2008 QUOTE (gonzo @ Apr 23 2008, 05:54 AM) Have you got any suggestions for the other coercion dot (the other diagram I uploaded), where dynamic data goes straight into a double display I believe that placing a "To Double" numeric conversion on the dynamic data would do the trick? Quote Link to comment
Neville D Posted April 24, 2008 Report Share Posted April 24, 2008 QUOTE (gonzo @ Apr 23 2008, 05:54 AM) Have you got any suggestions for the other coercion dot (the other diagram I uploaded), where dynamic data goes straight into a double display. I presume it is a similar issue that dynamic data is clustered. I have tried using the same approach with the unbundle function, but always get an array instead of a single double value.gonzo Dynamic data types introduced with the Express VI's are a bit murky and not clearly documented. But if you are getting an array when you unbundle, just extract out the first element with the index array function? Neville. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.