LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does not "Copy data" menu item of Colormap chart work?

I need to get image of colormap chart (Sound and Vibration Toolkit v4.0) when program is running or stopped. It is very easy to get image in the clipboard by using "Copy data" popup menu item, but there is a problem.

There is "SVXMPL_Getting Started with SVT (Simulated).vi" example where colormap chart is used. In this example it is possible to get image of colormap chart (axes, grids and data) by simply clicking "Copy data" popup menu item.

Colormap chart in program puts into clipboard only image with axes and grids! I have compared colormap charts settings in both cases and have not found any difference related to "Copy data" functionality. Any ideas how to fix it?

Running Labview v8.0 and Sound and Vibration Toolkit v4.0 on Windows 2000/SP4.

In the attach there are chart and clipboard images.
0 Kudos
Message 1 of 8
(3,746 Views)
Hi rsa,

I believe that you are experiencing a known issue with the LabVIEW Intensity Chart.  The Colormap indicator that is used in the example SVXMPL_Getting Started with SVT (simulated).vi is a modified version of the Intensity Chart that comes with the LabVIEW Development System.  The indicator that is installed with the Sound and Vibration Toolkit is a Colormap Graph, which is different from a Colormap Chart.  A LabVIEW Graph will display current data only and a LabVIEW Chart will display some amount of historical data with the current data.  One way to tell the two apart is by right clicking on the indicator and going to "properties"; the menu bar will say either Chart or Graph.

An issue, very similar to what you are describing, was reported to R&D (ID: 3S8CKMG8) for further investigation. The good news is that you can copy data from a Colormap Graph with no problems.  You can place this graph by right clicking on the front panel and navigating to Addons > Sound and Vibration > Colormap.ctl.  This is actually different from the Colormap Chart in the shipping example and can successfully "Copy Data."  R&D is looking into this issue and we truly value your feedback.  If you have any further questions please let us know.

Thanks!

Jeff Tipps
Applications Engineer
National Instruments
0 Kudos
Message 2 of 8
(3,731 Views)
For sure I am using intersity chart in my program (look at the attached image), but "Copy data" copies blank chart image.

I have done very simple test with modified intersity chart used in SVXMPL_Getting Started with SVT (Simulated).vi example:
1) Modified intersity chart was copied to my program - "Copy data" copies blank chart image.
2) Copy of modified intersity chart was copied back to the SVXMPL_Getting Started with SVT (Simulated).vi example. Two charts were connected in parallel with the same settings and property nodes. In original chart "Copy data" copies right chart image, in twice copied chart "Copy data" copies blank chart image.

So I am a little bit confused with such chart behaviour. Does it mean that some specific chart setting affects "Copy data" feature? And this setting is not copied by copy'n'paste?

Message Edited by rsa1024 on 01-31-2007 03:51 PM

0 Kudos
Message 3 of 8
(3,723 Views)
rsa,

I am not saying that specific settings affect the "Copy Data" feature, I'm saying that the Intensity Chart itself is affected by a bug that prevents you from using the "Copy Data" and "Paste Data" feature.

The Intensity Graph and Colormap Graphs however, which are completely different indicators, have the same feature and they work as expected.  

This bug has been reported to LabVIEW R&D and they are investigating it.  I suggest replacing the Colormap Chart with the Colormap Graph that is in the LabVIEW Controls Pallete.  It will give you the exact same display as the chart but without any history.  If you need data history for your application, we can implement that feature with shift registers in your code.  Please let me know if you have any further questions.

Regards,

Jeff Tipps
Applications Engineer
National Instruments
0 Kudos
Message 4 of 8
(3,700 Views)
The only one point that is not clear to me:
Why can not I get copy of modified Internsity Chart from SVT example? If "Copy data" works in this modified version of Internsity Chart, why does not it work in my program?

I am using Intensity Chart because I need history.
Do you an example how to add history to Internsity Graph?

Sorry for stupid questions, I don't have much experience with Labview. Thanks for your assistance.

Message Edited by rsa1024 on 02-01-2007 07:26 PM

0 Kudos
Message 5 of 8
(3,695 Views)
rsa,

I am not 100% sure but I believe the "Copy Data" is working correctly but the "Paste Data" (for Intensity Charts) is actually causing the problem.  I can copy data from a Chart to a Graph, but I cannot copy data from a Chart to a Chart or a Graph to a Chart.

I have attached a short LabVIEW program that implements manual history with an Intensity Graph.  Take a look and let me know what you think.

Regards,

Jeff Tipps
Applications Engineer
National Instruments

New CAR ID: 4609O94E
0 Kudos
Message 6 of 8
(3,679 Views)
Is it possible to save your example in Labview v8.0 format?



Currently I don't have newer version.
0 Kudos
Message 7 of 8
(3,666 Views)
0 Kudos
Message 8 of 8
(3,658 Views)