12-14-2019 12:04 PM
Am I using the timed loop and wait function correctly to ensure the loop runs no faster than 25Hz? It's a cRio 9047 in hybrid mode.
Solved! Go to Solution.
12-14-2019 11:00 PM
When you run it, is it doing what you want?
I'm going to guess it's not because you have set your timed loop to run with a 1000 msec iteration., so 1 Hz.
12-15-2019 06:31 AM
I'm astonished that RavensFan could provide help! That picture of LabVIEW code is so tiny that all I can determine is that it may use Dbls (I can see orange on what looks like Global Variable references). If you must attach a picture, at least make it a Snippet so we can drag it into a Block Diagram and have it show up as though you pasted a VI (and all its accompanying references, i.e. the rest of the Project).
Bob Schor
12-15-2019 10:08 AM - edited 12-15-2019 10:09 AM
@Bob_Schor wrote:
I'm astonished that RavensFan could provide help! That picture of LabVIEW code is so tiny that all I can determine is that it may use Dbls (I can see orange on what looks like Global Variable references). If you must attach a picture, at least make it a Snippet so we can drag it into a Block Diagram and have it show up as though you pasted a VI (and all its accompanying references, i.e. the rest of the Project).
Bob Schor
As far as I can tell (I haven't actually opened it up) that picture is also the code - it appears to be an authentic snippet. 😉
12-15-2019 10:30 AM
Thanks. I've not used timed loops at all. I was thinking that frame duration was the way to time the loop, but I see from your reply that period is the direct way. Don't know why my snippet was so small...
12-15-2019 10:56 AM
@Bob_Schor wrote:
I'm astonished that RavensFan could provide help! That picture of LabVIEW code is so tiny that all I can determine is that it may use Dbls (I can see orange on what looks like Global Variable references). If you must attach a picture, at least make it a Snippet so we can drag it into a Block Diagram and have it show up as though you pasted a VI (and all its accompanying references, i.e. the rest of the Project).
Bob Schor
LOL. That was a ridiculously small picture. Even smaller than I think it should have been if it was a straight up, insert picture. I just clicked and clicked and clicked until I got it full screen and could then zoom in.
12-15-2019 12:47 PM
Was the screen size/resolution at the the time I made the snippet, or was it the way I included it in the post?
12-15-2019 04:35 PM
You're making of the snippet doesn't cause any problems.
Probably the way you included the picture. The forums will tend to scale stuff down if it doesn't fit in the post. But yours was not so large and would have fit. My guess is that you picked an option to put in a smaller image rather than just include it full scale when you inserted it.