11-07-2016 04:03 AM
hi Bob_Schor
Firstly, like i said, i want to modify the LJstreamUD.vi
The LJStreamUD display only one graph related to the device which we want to work with.i want to display another signal generated with Labview (Square signal with Simulate Signal) and add it to the the device's signal collected by LJStreamUD.
I think it's too complicated to simplify the LJStreamUD.vi.I'm Still a beginner.I tryed to find the DAQ to generate a waveform instead of a cluster but i failed.
11-07-2016 08:19 AM
Well, without having you sitting with me explaining this extremely complicated Block Diagram with many wires crossing all over the place and no indication of what is being done, and your refusal (or, perhaps, inability) to produce a small simple 4-6 function example of what you are trying to do, I give up. I'm certain 90% of the code I'm viewing can be eliminated for testing purposes, but I have no idea what are the key parts that you are trying to test.
Best of luck. My suggestion (as you are "still a beginner") is to do your best to develop basic LabVIEW skills. Do a number of small projects that you design for yourself (i.e. where you have no "starting code" to modify, but need to write everything yourself).
Bob Schor
11-08-2016 04:58 AM
Thank you very much Bob_schor and i'm very sorry for this disturbance.
the LJStreamUD(wich i want to customize) is included with the main installation package for Labjack.It's not me who developpes this VI.So it's very complicated to simplify it.I'm working only on the display part of this large VI(see the pic).
I took the cluster wich represent the data gathered from Labjack U3,and I try to add another signal, generated by Labview,with it.
My main question is how to transform a cluster(with double,double,2D array) to dynamic data?is it possible ?is there any exemple?
11-09-2016 04:07 PM
Based on your information, it seems that it would be best to first break the cluster into its components using Unbundle By Name. Then, you could wire these components to Convert to Dynamic Data Express VI. If the data type is incompatible you can click on the Express VI and change the Input data type. Below is a manual for the Convert to Dynamic Data Express VI.
Good luck!
11-11-2016 04:27 AM - edited 11-11-2016 04:30 AM
the problem is fixed.I had big trouble with the 2D array.There was two channel,one of them was empty, the other contained the necessary data.I solved the problem thereby:
1.unbundel the cluster.
2.extract the apropriate range from the 2D array
3.bild a Waveform
Thank you all for your help : GerdW, Yamaeda,Bob_Schor,cblanchard
11-11-2016 04:42 AM - edited 11-11-2016 04:43 AM
Hi uzumaki,
you should have learned to clean up your BD by now - ever tried AutoCleanup (Ctrl-U)?
Your image shows just a mess with hidden wires, right-to-left dataflow, hidden labels…
What's the purpose of the FOR loops? Ever heard of polymorphism? Do you know what we call a Rube-Goldberg?