06-13-2019 01:13 PM
Hello NI community, sorry for the questions that may seem simple. I am transitioning over from a very old Labview program and am trying to figure out how to get these counters back up and running. The images are posted below. I am new to Labview as well and have been developing experience with it as I go but the NI community is of great help. Any suggestions?
06-13-2019 01:17 PM
You didn't post actual code so we can't debug too well, but that ? means there's a VI you're missing. It LOOKS like a FGV- a Functional Global Variable. Without knowing what exactly you're trying to do we can only guess.
06-13-2019 01:28 PM - edited 06-13-2019 01:29 PM
How's this?
06-13-2019 01:33 PM
Those are pictures of code, not your actual code. What is this program doing? Literally all we can tell from your description is that it's a counter of... something 🙂
06-13-2019 02:15 PM - edited 06-13-2019 02:20 PM
I suspect that your very very old LabVIEW program used data acq device hardware counters and that the subvi's in question are part of the old traditional NI-DAQ API.
I'm among the old-timers still around here who used to do counter/timer stuff under that old driver, but not in about the last 15 years now. It looks like some kind of counting/timing function was being done in hardware on this old app, but there's not much clue as to what it might be.
What do you know about the needed functionality of this application? What are the signals, what must it *do*? What Data Acq hardware do you have available to use?
Being very new to LabVIEW is an additional complicating factor. Some of what I see there would make me want to scrap the whole thing and start over from a blank page. This might be more than you're ready to tackle. However, being new to LabVIEW *also* means that you can get yourself into trouble trying to make small mods to existing code too.
If someone needs a program to do whatever that program did, they should be able to define the functionality and behavior. That's step 1. If that requirements definition sounds too complicated to tackle yourself, you might want to consider hiring help for the implementation.
-Kevin P
P.S. You should plan to transition to the DAQmx driver, even if it requires you to buy new data acq hardware. Traditional NI-DAQ has already reached its dead end.
06-14-2019 07:50 AM