I'm trying to write a VI that writes the data from two analog input channels to a binary file and samples according to an external clock. The program is also supposed to be started and stopped with a single digital trigger (acquire and write when high, stop when low).
I've looked at several examples (including Cont_Acq_Voltage_Ext_Clk_Dig_Start, Acq&Graph Voltage-Int Clk-Dig Start&Ref, and Acq_Graph_Voltage-Int_Clk-Dig_Start_Ref) but haven't been able to pinpoint my problem. When I run my program, I get error -200278.
If I had to guess, I would say that the error might have to do with the reference trigger because I was able to get everything else to work besides that (see project-bak.vi). The program was terminated by a stop button instead, but I'd like to set up the stop trigger if possible.
I'm using LabVIEW 8.0 with a PCI-6023E DAQ board.
Thanks in advance for the help as I'm relatively new to LabVIEW.