YOu must index out the previous count,
increment it
and use replace array element to put the updated value where it
belongs.
Use your "die value" minus 1 as an index into your six element array.
Ben
looping until now more values are found.
The SR holding your array should conatin a list of index when it is
done.
I hope this help,
Ben
mmies will define the size of the FP at let you position your
button as you choose. JUST MAKE SURE you button is inside the dummies.
(Also watch new control that will appear below the rest).
Ben
I believe this is correct unless PJM has figured out how to script
this operation.
Ben
Hi Karin,
You may want to use a case structure.
That will allow you determine which of the two loops will execute.
Otherwise,
Post in German!
Some of best Enthusiast speak German.
We are big, we are bad, we are international!
Ben
rching for answers to Q's like your follow-ups, will
probably chase down a Q with what you started.
So...
Get more memory,
Post more questions,
Be patiant with us, we are mostly just volunteers.
Trying to help,
Ben
A picture would be very helpful in demonstrating what you are having
trouble with.
Lacking that, I will guess.
VI Properties >>> Windows Size
lets you define the minimum size of a FP window.
Well that's my guess!
Did I win?
Ben
I will not argue with good programming techniques and style.
I agree!
But...
She said it worked OK when run as "scaled down",
and,
only has 128Meg of memory.
Ben
hysical memory is called for.
So...
Start by using "Task Manager >>> Performance" to see what your memory
usage is durring run time. If possible, upgrade your memory so you are
using physical memory only.
Well I realize that I have been rambling a bit so I should stop here.
So...
You probably need more physical memory.
Ben
1G of physical or Virtual memory?
Ben
y going to ..." Rolf Kalbermatter
Info-LabVIEW 3 December 2002.
Ben
to help,
Ben
to get you were you need to go.
Done rambling for now,
Ben
And while you are playing around, switch to the wiring tool with the
help window (ctrl-h) open.
Floating over the wire will tell you exactly what is in the wire.
Ben
Yes sir!
>From what I have read about LV 7.X and hyperthreading, two of these
re-entrant sub-VI's can be executing simultaneously without having to
resort to dual-proccessors.
Ben
If the sub-VI is CPU intensive,
and
you do not want one call of the sub-VI to delay another call to the
sub-VI
Then re-entrancy is very useful.
Ben
each occurence of the sub-VI in a diagram.
Also, if your sub-VI use larege amounts of memory the use will be
duplicated between each instance.
Ben
And yet another idea
Use a tab control or a set of tab controls.
You can drive a single tab control with 20 tabs for 20 views,
or
use 20 single page tab controls.
Ben
My "NO" was to Mudda Q.
I am the same page as Ed.
Ben
I agree with Rolf's response your Q #1 re:Ladder logic.
Re:Q #2 Replace PLC's...
Yes, I have deployed app's in LV-Real-Time on FP platforms.
Ben
Thanks for the update.
You have saved me the same headache somewhere in the future.
Ben
OK.
One more wild guess.
This application does not use VISA by any chances, does it? I have
seen lock issues when opening FP that have a VISA resource control on
the FP. Just a guess.
I will watch for your post in the AM.
Ben
Could you post the "stripped down" version?
Maybe I or others can spot something.
Still trying to help,
Ben
shuts this down.
Another approach would use normal constants on the diagram that feed
"bundle by name" nodes.
Just my first thought, tyring to help,
Ben
But you have to admit it easier beeing a rookie when you help like Dan
provided.
If you liked his answer, give him some stars!
Ben
Not bad for a "first Project" type question.
There is always the option of wrapping all of the init code in a
single frame seq structure "out front" that uses data flow to force it
to execute first.
Ben
Like " I said some of our "best". "
Ben
l work provided your sub-VI's do
not have any trouble being called by different "main" VI's.
If the simple "re-naming" works for you good!
If not, I suggest you post a new question and include a copy of your
VI so we can look and advise.
I hope this helps,
Ben
Very Cool!
I am gald I was able to help.
Ben
let LV know which of the plots you are
interested in.
I hope this helps,
Ben
You may want to review this discusion.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500080007BE&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
The original poster got some good result in the end.
Ben
I should add a little info about the link.
After days of talking and experimenting, the original poster shared
all of his findings along with some sample code.
Ben
Sarcasism = Humour
in my book.
Ben
There are two VI's you may want to experiment with.
they are;
..\vi.lib\platform\system.llb\memstats.vi
and
..\vi.lib\utility\sysinfo.llb\Get Memory statistics.vi
These may or may not help. One of them maybe for RT only.
Please let me know if these helped.
Ben
Rolf,
You never fail to entertain!
Who says we Enthusiasts do not have a sense of humor.
Ben
Hi Jeremy,
I failed to mention that your option 1 is a good approach.
If you look below you will see that Greg was on the same wave-length.
Ben
r you want. This will avoid the
multi-frame seq structure.
3) Defering front panel updates and then undefering afterwards may
improve performance and appearence.
Trying to help,
Ben
is not
an option.
Trying to help,
Hoping to hear other ideas,
Ben
"
You will also find the same "Photo not Available" picture in the
margin.
Ben
ONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
If you click on his link, it looks like he registered on the
Dev-Exchange just to acknowledge you.
Dennis, you have now accomplished the super-human twice over!
Ben
Just for the record, I believe this is number 2000!
Ben
!
Ben
.
BUT...
That erro you reported starts with "lvworm" which I believe is
associated with LV 7.
Ben
the same way at it did in 6.1.
Now if we could only do this for enum's
Ben
I second Ed's suggestions!
You are not giving your device time to reply after your query.
Ben
Sounds like another request for a storage scope.
I posted a crude example here.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650005005A610100&HTHREAD=90458&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
I hope this helps,
Ben
also switch sides for
a scale if you choose.
Ben
it as "My app.ini" (where "My app.exe" is the name of your exe),
LV will serve the configured pages.
If memory serves me correctly, you also have to make sure the web
functions are included in the exe when you do your build.
Ben
Good job!
Ben
should
serve you up till you run into the indeterminism of Windows. If the
the indeterminism will be an issue, you may have to go with LV
Real-Time.
Ben
Added note:
occurences can be found on the advanced pallette under syncronization.
Wire "true" to "ignore previous" of the wait on occurence node.
Ben
You Win!
There is another example near that one that shows how to draw a
pie-chart.
Parts of that example can be used to add your over-lay yur grid (i.e.
do not fill).
Ben
Clue:
On this web-site under examples there is an example that demonstrates
how to rotate an image in a picture control.
Throw some grid line on top of that and you are there.
Ben
little there. Back to your Q!
4th
The small while loop allows each state to have a unique set of
transitions. If it was outside the individual states (as you
suggested) the transition would have to be shared.
I hope this answer along with Sacha's answer is valualbe to someone.
Ben
always fixed by using the
latest and greatest screen drivers or by changing the hardware
acceleration settings for the display. In my experience LV has always
played the "graphic update game" correctly. It the hardware/drivers
that are not keeping up.
Ben
ontrols and indicators.
The biggest draw back is that you find yourself double clicking on the
vitual control expecting to find its terminal.
So you you really need it, IT CAN BE DONE.
Ben
I will send the files you requested as a reply to your e-mail.
Ben
know what its
defaults should be.
So you get
1) Smaller diagram foot print
2) Ability to define global default values
by wraping the default in a sub-VI.
Ben
ld be very suprised if they
discontinued support.
Trying hard to help,
Ben
in
these parts over the next month or two.
Ben
ns how the original app worked.
Otherewise, I will reply with the Brooks files and pray for your
success.
Trying to help,
Ben
nce then I think I may have read something that made me think that
Modbus OPC may handle these devices. I never followed up that idea so
do not waste to much time on that.
Ben
I have an application running on a server that constantly monitors the
soundcard input (Listening for alarms and noises). My front panel has
a Wave Chart indicator displaying the captured data. My problem is
that the wave chart freezes/stops updating after a period of time
(approx 3hrs of use, al
issues could be.
4) Good programming style
Label your wires going to/from SR's.
Trying to help,
Ben
Hi Mike,
Thank you!
I have already looked and e-mailed that link for future digestion.
I will see there!
Ben
Thank you Michael (and others)!
I am jsut trying to stay ahead of my rule to give more answers than I
get.
I am still way behind!
Now back to those Q's.
Ben
n, I would suggest you break up
this question into specific parts and post them seperately.
Trying to help,
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt
Is there any possibility to get this app loaded and saved as at least
LV 6.0?
At the current rate, I am running the risk of wasting alot of your
time before I can be sure if I can even help!
Short of that, I am concerned about race conditions due the extensive
use of globals.
Ben
Instead of clciking once to make the FP active and then clicking the
second time to actuate the switch, one click makes the FP active AND
actautes the switch.
Add
DropThroughClicks=True
to the ini file.
Ben
Thank you Robert!
Ben
e but not
quite what you need, include a link to the old Q in your new Q.
Have fun!
Ben
Hi Bill,
Have you concidered using the microphone input?
That will let you do analog in on most PCs.
Still trying to help you get started.
Ben
Then review all of the code and start enclosing code inside single
frame seq structures. Make sure data flow dicates order.
Of particular concern is WHEN the stop global is written. Make sure it
does not get read to early!
Ben
"I didn't write it...just trying to fix it. ;)"
That is exactly what I say when someone wonders into my office while I
am looking at a customers code!
Ben
27;s you get the value I noted
above.
I can also type cast your posted values (with high and low halves
waped) to a Complex SGL.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Be
Not the globals themselves but how they are used.
I never use globals I devlop myself.
I have worked with them in others code.
I suspect a race condition that is a result of over using globals.
If I could look at the entire app, I may be able to spot the race
condition.
Ben
Setting
DeferPanUpdts
To False then True MAY do it.
THe release note for LV 7 indicates that both of the operations will
re-draw the screen.
Now if Windows will wake up and show you this?
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True
I second Mike's comments.
Go for the parrallel port.
Ben
this exchange again in the future.
Your contributions would be welcome, and besides, we give out STARS!
Ben
"Bird's Eye View"
The last time I saw a response like you recieved for your utility was
when Brian Renken anounced the search engine.
Ben
Thank you for the update Rich!
Ben
"The memory won't be relased until LabView is closed."
This sounds a reference is being repeatedly opened.
Post an example, we may be able to help.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&
Jean-Pierre's save/restore functions will do this. Check out openG.
Start with Jim Kring's profile to find this site.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_1512&RFORMNUMBER=6&UCATEGORY_0=_6&UCATEGORY_S=0
Ben
Wow, what an entrance!
Welcome to the list PJM_Labview!
Where did you get that from?
Ben
"Stop, reverse that" (Willy Wonka and the Chocolate Factory)
Ben
y nodes to show the front panel of VI when desired. The
Master will also close them.
The methods illustrated should give you a starting point.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>B
I agree with what altenbach said.
I will guess that it is a race condition.
Post the code and we will take a look.
Ben
Post some code and we will take a look.
Ben
and
copied boolean have 14 in the first byte.
Now how to decide which type of latch action
Can't help you there.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
OK,
How about an image of how these sub-VI are being called.
The extensive use of Globals makes me nervous but I can not spot
anything solid that would cause me to suspect a race condition.
Images of these VI's being called will shut me up.
Ben
One more thing jbao,
THe best way to thank someone on this exchange is to give the best
answer a four star rating.
This way others in the future can quickly find the answer to their
questions.
Have fun,
Ben
this time is to check the length of
the string in the accumulator when it is in the hang condition.
This would also mean that you could "un-hang" the loop by pulling the
cable while hung.
Trying hard to help,
Ben
No wonder I never noticed the upper limit!
Ben
Good cal Wiebe!
I was drawing a blank on this one.
dropThroughClicks
Ben
Post a sample VI with the controls that you cut and paste from your
app.
The other though that comes to mind is that they may be locked.
Just guessing,
Ben
Yes!
Check to make sure the control is not disabled!
pop-up>>>Advanced>>>Enabled States >>>Enabled
I believe it was Dennis that helped me out that day.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=1
above.
Trying to help,
Ben
"any number of points from zero to 2B"
Is that 2b hex or "to be determined" or a typo?
I never noticed an upper limit. Is there one?
Ben
I have wanted to do this a couple of times myself.
This can only be changed at edit time,
and
it must be done via the pop-up.
What problem does this cause? There may be a work-around.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUse
this help. Fire away if you have follow-ups.
Ben
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638&qu
1 - 100 of 256 matches
Mail list logo