08-27-2010 04:15 PM
I have attached the vi in 8.0. Whatever channel numbers you choose for your 5 voltage channels will be displayed in that order on your graph. If you chose 1, 3, 5, 7, and 9, then your first plot will be channel 1, your second plot will be channel 3, your third plot will be channel 5, and so on. The graph will not show a blank plot for channels 2, 4, 6, etc. because those channels were not activeated. And because those channels are not activated, you cannot plot them. If you actually wanted to plot them, you would have to chose them all and not connect those blank channels to anything that gives off data, or connect them to ground.
08-27-2010 10:22 PM
@CrackJack wrote:
ooh...well, the hardware actually takes care of the scaling and all that...and makes life simple for the coders 🙂
so,I dnt have to bother about the scaling, cjc, etc...
No, the hardware does not. The DAQmx driver takes care of that when you use a correct DAQmx Create Channel. Read the manual.
08-30-2010 09:43 AM - edited 08-30-2010 09:43 AM
Hi tbob,
thanks a lot for the reply... Is there anyway that I can design the channel selection button as normal ON/OFF buttons?? I tried to do that, but then the channels did not
turn on/off.... Can i not take the channel selection squares out of the rectangular box that they have/?/
08-30-2010 02:06 PM
@CrackJack wrote:
Hi tbob,
thanks a lot for the reply... Is there anyway that I can design the channel selection button as normal ON/OFF buttons?? I tried to do that, but then the channels did not
turn on/off.... Can i not take the channel selection squares out of the rectangular box that they have/?/
You should have been able to move each checkbox out of the rectangle and it should act like an normal boolean switch (click on, click off). I tried it here and it worked.
You can create regular boolean switch controls, but you would have to read each one to see if it was on or off. I don't think that is a good idea. You can also have the user type in a channel number list separated by commas, like "1, 2, 5" and then parse the string to get the channel numbers.
Why don't you like the checkboxes in the rectangle? It is the best way to handle this.
08-30-2010 03:46 PM
@tbob wrote:
@CrackJack wrote:
Hi tbob,
thanks a lot for the reply... Is there anyway that I can design the channel selection button as normal ON/OFF buttons?? I tried to do that, but then the channels did not
turn on/off.... Can i not take the channel selection squares out of the rectangular box that they have/?/
You should have been able to move each checkbox out of the rectangle and it should act like an normal boolean switch (click on, click off). I tried it here and it worked.
You can create regular boolean switch controls, but you would have to read each one to see if it was on or off. I don't think that is a good idea. You can also have the user type in a channel number list separated by commas, like "1, 2, 5" and then parse the string to get the channel numbers.
Why don't you like the checkboxes in the rectangle? It is the best way to handle this.
@tbob wrote:
@CrackJack wrote:
Hi tbob,
thanks a lot for the reply... Is there anyway that I can design the channel selection button as normal ON/OFF buttons?? I tried to do that, but then the channels did not
turn on/off.... Can i not take the channel selection squares out of the rectangular box that they have/?/
You should have been able to move each checkbox out of the rectangle and it should act like an normal boolean switch (click on, click off). I tried it here and it worked.
You can create regular boolean switch controls, but you would have to read each one to see if it was on or off. I don't think that is a good idea. You can also have the user type in a channel number list separated by commas, like "1, 2, 5" and then parse the string to get the channel numbers.
Why don't you like the checkboxes in the rectangle? It is the best way to handle this.
The checkbox inside the rectangle is good, i just wanted to add a feature, so that the operator can clearly see if the channel is activated or not... I shall try againgetting the checkbox out of the
rectangle.. if it worked at your end, it should work at my end as well....
Thanks a lot thou, for helping me out... 🙂 I had another question.. I wanted to show that the loop is in a running state by indicating a BLINKING LED... how to do that/? How do I make a LED BLINKING?
Should it be an CASE structure inside the while loop with a clock triggering ON/OFF of the LED???
08-30-2010 04:53 PM
Right click on the LED indicator and select Create - Property Node - Blinking. Wire a True to the property node to make it blink, and a false to turn blinking off.
08-30-2010 05:42 PM
i TRIED doing that/... did not work... 😞
Should the true /false condition be in a loop???
08-30-2010 06:29 PM
When creating a property node, it comes up as an object you read from. Right click to change it to something you write to. Like this: