01-16-2008 08:36 AM
01-17-2008 02:47 AM
Hi Mallorim,
I am sorry. I bother you again.
I use wavegraph display type in my vi, and I will adjust x and y scale in autoscale mode. But I want to adjust that scale from front panel using a button.
Is it possible to do that? Would you please explain to me how I can do that?
Thank you very much for your help.
Best regards
Cornelius
01-18-2008 01:42 PM
That is not a problem Maris.
You can do that by right clicking on the input terminal of your graph, and browse to Create --> Property Node --> X Scale --> Range --> All Elements for the X axis. You would select everything the same except replace X Scale with Y Scale to choose the Y axis scaling. After you create the two property nodes, right click each of them and choose "Change All to Write"
Now, you can wire in a Control, and this will actually create a front panel object with Minimum, Maximum, Increment, Minor Increment and Start options. From here, you can set the custom scaling properties of your axes from the front panel during run-time as well as during development.
Here's a small VI that I've created that does this.
01-21-2008 04:22 AM
Hi Tolga,
Thank you for your explanation. But your explanation is not I mean.
I mean I want to create auto scale button just for Y scale in front panel for to adjust wavegraph Y scale. You know that at Scales menu in properties of wave graph, there are autoscale cek list. I want to access that autoscale ceklist from a button at the front panel. You can see my illustration at my vi attachement.
I have another question about DAQ card.
I use DAQCard-6036E. I read in DAQ manual, that the card use multiplexer to acquire signal from the channel. You can see in at the architecture of the card below :
I am looking for the card that doesn't use multiplexer, so the signal from each channel is connected with ADC. If the card have for example 16 input channel, so there are also 16 ADC in the Card.
Do you know the type of the card? Does the ni have that card type?
Ok. Thank you very much for your help and your attention. I look forward your reply.
Best regard
Cornelius
01-21-2008 12:48 PM
01-22-2008 08:53 AM
Hi Tolga,
Thank you very much for your explanation.
Now, my autoscale function runs properly. Sometime I will back to you if i have a problem about my vi.
I hope you would help me again.
Best Regards
01-22-2008 04:14 PM
01-23-2008 06:13 AM
Hi Tolga,
I am sorry, I bother you again.
I have any question about my vi. You can see my vi in the file attachment.
The first question is :
I add checkbox in front panel to control Physical channel. If I checked checkbox, it means the channel is active, and then wavegraph show the signal according to the signal is acquired by the channel. But if the checkbox is unchecked, it means the channel is inactive, and then wavegraph show zero line. Would you help and explaine to me, how i can implement that functions?
My second question is:
I makes a square border line and text together (you can see in my vi). I want to adjust that the text in front of the border line. How can i do it?
Ok. Thank you very much for you help and your discuss before.
Best regards
01-23-2008 08:23 AM
One simple way for the checkboxes to work is to simply place the DAQmx Create Channel functions you have inside case statements.
To change the text to be on top, select it and use the Reorder button on the LabVIEW toolbar. This is the button on the far right.
p.s. Instead of all of the case statements that change the graph scales, you should be using an event structure. Create a separate while loop for the event structure and place all of that code in there.
01-23-2008 09:00 AM
Hi Dennis,
I don't understand what you explain about checkboxes problem in my vi.
I am still new to use labview, so would you please explaine to me more detail, how i can solve my problem, and It would be better if you would give me vi example or reconfiguration my vi in my file attachment before.
Thank you very much for your help.
Best regards