取消
显示结果 
搜索替代 
您的意思是: 

XY graph using formula node

已解决!
转到解答

In a formula node there is one input(x) and two outputs(y1,y2).

Plot y1,y2 on a single XY graph for different x1 values(from 100-200). please reply...

regards,

jathin

0 项奖励
1 条消息(共 14 条)
7,287 次查看
解答
接受人 Jathin

Please post your code, regardless of its state.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
2 条消息(共 14 条)
7,283 次查看

inputs: X

outputs:Y1 and Y2

 

with different values of X plot Y1 and Y2 using Formula node

 

note: X values are from 100 to 200.

for any code..please do it and attach

please reply

0 项奖励
3 条消息(共 14 条)
7,275 次查看

Hi Jathin,

 

this sounds like a school assignment. This forum isn't intended to do other peoples homework.

This assignment also is very basic stuff, which should be easily to solve after going through basics course offered by NI...

 

And, as said before, we will help to develop code as soon as you attach your work here. We will not write stuff from scratch...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
4 条消息(共 14 条)
7,259 次查看

I attached the file I did is this the way the problem can be solved or sugges any steps...Please reply...

0 项奖励
5 条消息(共 14 条)
7,239 次查看

Look at the XY graph Example VI in the Example Finder.

 

You want to use one of the Multiplot data structures.

6 条消息(共 14 条)
7,234 次查看

But its not coming when i tried to do like that it is showing error when i attach a wire from the bundle to the multiplot graph ...please help...

0 项奖励
7 条消息(共 14 条)
7,231 次查看

What you posted seems to meet your requirements. (Correction: I see that you are to have two plots. Follow Ravens Fan's advice)  I like to keep the wires straighter and the block diagram more compact but those have no effect on performance. Avoiding coercion dots is probably a good practice to adopt. In this case not problems will occur but it is better to know how things are being converted rather than relying on the default conversion.  It is good practice to document both the block diagram and the VI itself (VI Properties >> Documentation).

 

The formulas you chose are not the easiest to visualize as far as verifying the correct performance. If you connect to i (rather than the random numbers) and arrange the arithmetic functions to make x increase monotonically from 100 to 200 you will see the sine waves.

 

Lynn

0 项奖励
8 条消息(共 14 条)
7,225 次查看

What does the error say?  Post your VI again.

 

Here is what I have.

 

9 条消息(共 14 条)
7,224 次查看

But i have to plot from 100-200 know...the x values should be from 100-200

 

0 项奖励
10 条消息(共 14 条)
7,217 次查看