NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Build 2 dimensional array to plot a graph by passing UIMessages

Solved!
Go to solution

Hello guys,

 

I need some advice, the problem I have is that I want to pass an array[0..5] of numbers to my custom User Interface throwugh UIMessage to plot a graph with that data in the same grapgh (see the behavior of the 6 signals on the same graph) but so far I could only pass one value and see only one signal in the graph.

Is there a way to pass the array trhough the UIMessage using the activeXDataParam? Or maybe other way?

Thanks for your comments.

 

Eder

 

 

 

 

 

0 Kudos
Message 1 of 4
(3,342 Views)
Solution
Accepted by topic author Eder22

I threw together a simple example in TS 2014 and LV 2014.  I think it does what you want.  Just run the main vi in the project and select the Random Array sequence file. 

 

Also, attached is a picture of my UserMessage vi.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Download All
Message 2 of 4
(3,323 Views)

Thanks a lot jigg, it does exactly what I wanted.

I really really apreciate your help, thanks again.

 

Eder

0 Kudos
Message 3 of 4
(3,318 Views)

You are welcome.  I'm glad it worked.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(3,311 Views)