From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone help me converting a spectrogram to an image (picture)?

0 Kudos
Message 1 of 6
(3,280 Views)
Is the spectrogram currently an internsity graph?
 
To get a picture of the indicator, do a "right-click...create...invoke node...get image" and wire the desired image depth and background color.
 
Now you can e.g. save the image data as a PNG or display it in a picture indicator.
Message 2 of 6
(3,275 Views)

The output from the invoke node is in the form of cluster but the input of picture indicator is different. so im not able to connect.. can u please help

0 Kudos
Message 3 of 6
(2,943 Views)

Hi Reeni,

 

you should create your own thread instead of highjacking very old ones.

 

And while you do this please explain your problem in more details. Attach a VI or atleast a snippet of the block diagram!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,937 Views)

@Reeni wrote:

The output from the invoke node is in the form of cluster but the input of picture indicator is different. so im not able to connect.. can u please help


Use draw flattened pixmap to draw image data in a 2D picture indicator. 

0 Kudos
Message 5 of 6
(2,910 Views)

As has been suggested in Reeni's own thread

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,905 Views)