Datalogging question

Discuss issues and ideas you have to configuring displays with PowerVision
drphil69
Posts: 139
Joined: Wed Mar 02, 2011 5:59 pm

Datalogging question

Post by drphil69 » Fri Jul 08, 2011 5:38 pm

hello,

I was wondering how I use the Events "Datalogger.OutputComplete" and "Datalogger.OutputError?"

I want to use them to indicate success or failure of the transfer, but I can't seem to figure out how to use these events.

thanks,
Phil
bseidl

Re: Datalogging question

Post by bseidl » Mon Jul 11, 2011 11:07 am

Hi drphil69

You can use those events as transitions in state machines.

example:
You can have a state that fires the Datalogger.Output action. Then you can have two transitions that branch off that state. One transition is mapped to the Datalogger.OutputComplete event and the other one is mapped to the Datalogger.OutputError event. In this way, after the output action is fired, when the output is complete the Datalogger.OutputComplete event is fired and you can go to the next appropriate state, or if there is an ouput error the Datalogger.OutputError event is fired and you can go to a different state and handle the error.

Brad Seidl
Test Engineer