01-02-2014 01:46 PM
The disabled code in the second attachment is just a get waveform function. I replaced them with analog in to acquire the 5V waveform.
You said it doesnt seem to have anything to do with analog signal; well what do you think it has to do with?
Its an inherited program so am widely open to suggestions.
The disabled code in the first attachment is the write to digital which I replaced with DAQ Assistance digital output. I did a search already and also contacted NI, no help. Was hoping for some sort of miracle here, like someone having the custom VI for "write to digital".
01-02-2014 02:13 PM
The missing Write to Digital could be any number of things and the only way to really know is to find the missing VI or hope the program was very well documented.
When you load the original program, the expected path to theVI is shown in the loading dialog.
01-02-2014 02:21 PM
Unfortunately, the program was not documented at all, no descriptions nor tips.
I looked at the VI path and the "write to digital" is empty.
01-02-2014 02:30 PM
You aren't looking at the right place. When the main is loading, it will attempt to find the missing subVI. This is plainly visible and when the search fails and you get the prompt to locate the subVI, you can look in the search window and you will see the expected path - i.e. folder1\subfolder\Write to Digital.vi. Once you click cancel at the prompt to find the subVI, the path will be empty. You only see this during the load process.
01-02-2014 02:59 PM
Yes, that was one of the things I did initially. I looked at the path and nothing; I also did several searches on the file containing the path and the whole C: drive and nothing came up. There were actually six subVIs(log writer, AI Sample Channel, Buffered Output etc) missing, did a path search like you suggest and nothing.
01-02-2014 03:38 PM
What I was really hoping you would do is post a screen shot. The VI names seem familiar and there just may have been an install problem.