log errors


Recommended Posts

Hello everyone
I need to record the errors that DAQfactory reports in a plain text or file where an error history is displayed

Does daqfactory generate an error log file? but how can I create that file?

Thank you

Link to comment
Share on other sites

  • 3 years later...

I'm having trouble creating an Onalert sequence per 5.28.

I created a script called OnChar. Inside I put  ? "OnChar Event " + char. This works

I created a sequence named Onalert . Inside I put ? "Alert was captured". This does nothing when I generate errors such as disconnecting the communications line.


Link to comment
Share on other sites

I'm not sure.  It works fine for me.  See attached (done in 19.1).  Note that the sample opens COM1 and attempts to communicate over Modbus.  Open in safe mode if you actually have something plugged into Com1.  Also, you can run "badsequence" which will also generate an alert.  OnAlert just prints "Alert" to the Command/Alert window and I see "Alert" appearing after every alert.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.