Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

xy graph - x axis range setting

Hi!

 

I've a problem with XY charts: since I want to get on the x axis a constant range of time (current time - 6h; current time + 4h), I've tried to set this property using the property nodes for x axis maximum and minimum. 

But something goes wrong (the requested value id DBL, and if I pass from a time stamp to string and then to DBL i miss the information I need).

 

Any suggestion?

 

[I've posted in the wrong section; dear moderator, can you please move this post to the correct one?? thanks, sorry for the mistake]

Message Edited by Stefano Moret on 07-29-2009 06:38 PM
0 Kudos
Message 1 of 7
(5,055 Views)

Hi Stefano,

 

I want to suggest you these links that I feel good for your issue:

http://digital.ni.com/public.nsf/allkb/F85BB1749748F6CC862562D700787330?OpenDocument 

http://digital.ni.com/public.nsf/allkb/7DEA2A466A4F9D2586256ACB005D0BC0?OpenDocument 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGxCCAW&l=en-US

 

http://zone.ni.com/devzone/cda/tut/p/id/7664 

 

Hope this help,

 

M

Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 2 of 7
(5,039 Views)

I've already read them. I can't find what I need inside.

 

I've understood that the best for my application is to use waveform charts.

But... I need to add some continuous horizontal lines inside (like cursor).

 

How can I do??

0 Kudos
Message 3 of 7
(5,022 Views)

Hi

 

Either you can use a cursor that does not show its vertical line or you add a plot that has two coordinates, the begin x0,y0 with x presumably zero and y the height of the horizontal line, and the endpoint with the same y and an x of the correct value.

 

goodluck

greetings from the Netherlands
0 Kudos
Message 4 of 7
(5,013 Views)

Ok, that's a good idea.

 

So, using cursors (available only on graph), how can I hide the vertical cursor?

0 Kudos
Message 5 of 7
(5,010 Views)
You can select several types of cursor, look in the help.
greetings from the Netherlands
0 Kudos
Message 6 of 7
(5,005 Views)
Oh, thanks.. It seems easy, but it's not difficult at all 🙂
0 Kudos
Message 7 of 7
(4,993 Views)