07-04-2013 03:47 AM - edited 07-04-2013 03:55 AM
First qeustion is: In the IMAQ library you have the image control how can i possibly call the "Zoom to Fit" function through a button rather than with the right click because i've tried it and i can't find it anywhere while Clear ROI simply is sided with the invoke nodes.
Second qeustion is: When you have a graph how can you control the X-value you're looking at with a numeric value that adjusts the graph visibility on a certain x-value so for example i make a numeric value with the value "10" i'll want the graph to jump to the value "10" then is this possible in any way i've been trying to work with some property nodes but i get a little bit tangled in the web of possibilities.
Third qeustion is: This is a minor qeustion but i'd like to ask anyway why is it that when you change the value of a button element you can only change it once in the structure and not twice because i'd like to have a button that when that button's value is true it sets the other 2 buttons to true and when it's false it sets the other 2 buttons to false.. i can only seem to get the effect of setting it to 'true' or 'false'. To complicate things even more though i still want to be able to use the 2 buttons that are being set differently by the first button it's just so i can automatically start/stop two buttons at the same time.
and while i'm at it i also have a fourth qeustion: Is there any way you can use the line tool more than once in the IMAQ image section because the tool pallete only allows you to draw 1 line.
Solved! Go to Solution.
07-04-2013 04:40 AM
I could able to understand first question... and based on it I tried to make something...!!
07-04-2013 04:52 AM - edited 07-04-2013 05:00 AM
nevermind got it xD thanks for the info 🙂 helped me out on the first qeustion
07-05-2013
02:08 AM
- last edited on
05-20-2024
07:36 PM
by
Content Cleaner
Regarding the second question I would suggest you look at this property Node:
Can you explain question 3 with the aid of a VI?
It's not clear to me what you're trying to do.
Question 4:
What's your end goal?
Sharing an example VI and a drawing (paint?) of what you're trying to do would help.
07-05-2013 03:18 AM
Second qeustion i don't quite understand yet and when i tried making examples of my problem it worked perfectly sorry i can't share the exact VI as it's for a company so... i just like some information as i'm stuck on the project 😛 but i'll see with what i learnt wether or not i can change it 😉
as for the end goal of the lines i want to be able to just draw more lines than the tools pallete allows
07-05-2013 04:11 AM
Hello Rinus,
If I understood your last post correctly, then problem 2 is resolved, right?
Regarding problem 3:
I'm not asking you to share exact VIs.
I just want to see a very simple VI that explains the concept of what you're trying to do, what should happen (this can be in words that refer to the front panel elements) and what you've tried.
The terminology you're using isn't clear to me without an extra explanation.
This could even be only a Front Panel with a few buttons on where you just describe what should happen with specific controls/indicators.
Based on the first post it is not clear to me what you mean with:
- A "button element":
Are you talking about a control, an indicator, a cluster that contains multiple control?
- The structure:
Is this an event structure, case structure, for loop, ...?
Is it seems like you want to programmatically control Front Panel objects, which on itself is no problem at all independent of how many objects you want to control.
Please share with me simple example of what goes wrong and explain which things should happen on that specific Front Panel.
This will allow me to help you and also allow me to guide you along the right path.
07-05-2013 04:41 AM
hey,
No my second problem isn't resolved i'd like some more information about it
My third problem was solved as i appereantly put the loop in the wrong place in the total VI.
as for my fourth problem i'm not sure if it's even possible to draw more than 1 line in the IMAQ
greetings,
Marijn
07-05-2013 05:23 AM
Regarding your second question:
Is the attached VI a solution??
07-05-2013 05:25 AM - edited 07-05-2013 05:38 AM
i can very much work with that yes thank you 🙂
now only the fourth Qeustion about the lines is left 😛
07-05-2013 06:46 AM - edited 07-05-2013 06:47 AM
What VI are you using for lines... is it 'IMAQ Overlay Line'??
Try the attached code...!!
And if its a solution to your fourth question, then it seems all of your queries are solved..