10-16-2013 06:54 PM
I want to alert the user that the daq card is collecting data after he pushes the trigger switch. I wish to update a message text box when it has been triggered. Thanks, PCI-6221 37 pin
10-17-2013 06:08 PM
You could place a property node for the text box inside a flat sequence block right after your collection task begins. Would this work for you?
Regards,
Shane C
10-18-2013 11:02 AM
Thanks,
Do you mean a property node on the data&error lines from the DAQmx AD VI?
Jeff
10-18-2013 04:57 PM
You could use something like this, to ensure that at some specific point in your code a string indicator on the front panel is updated. After placing the string indicator, right click on it go to Create>>Proprety Node>>Text>>Text. The string indicator will update to the input of this property node when this sequence structure is reached. Does that help?
Regards,
Shane C
10-18-2013 05:22 PM
Thanks,
I see what you mean. Problem seems to be that if the sequence panel is before the AD In.VI it will update while it is waiting for the trigger. If I put it after the .vi it updates after the data has been collected. So, the message stays on "Waiting for trigger.." before and during the data collection then changes to "Collecting Data" just before the graphs are updated.
I need a property node that signals that the collection process is underway or has been triggered.
Regards,
Jeff
10-21-2013 08:24 PM
It looks like your card has support for the change detection. I have not tested this code, but it looks like it should work out for you. Let me know if it gives you issues.
http://zone.ni.com/devzone/cda/epd/p/id/317
Regards,
Shane C