06-21-2011 02:03 PM
I used an mxDAQ example for outputting and analog voltage as my base program. I normally need to use a rather complex equation for my waveform and this works fine. However, I am trying to create a trigger at each maximum of my signal. To do this I tried adding a block that compares the current waveform value to the max value. When the two are equal it is sent to a case structue which will generate a signal. However, when I tried to execute the VI I get a VI compile error (no numbers or anything else to describe the error). At least on my machine it no longer recalls the default values that I had set. I am very new to lab view and I can't seem to find much information which will help me pinpoint why it can't compile. I have attached the library where I have the original VI (Generate Voltage) and the new VI which won't run (voltage2). Any input would be appreciated.
06-21-2011 03:26 PM