Rockwell FTV Print Command from controller

Mr.Smith

Member
Join Date
May 2010
Location
Toronto
Posts
2
Hello All,

I'm running a very basic one display application and I'm having issues with the print command. I can successfully print the display when a bit in the controller goes from 1 to 0 using VBA. However, the printing stops over time. I believe this is a VBA issue, so I've been attempting to print display without using VBA to no success. Anyone have a solution or work around? Thanks
 
What do you mean printing stops over time?


To fix this, I'd add "LogDiagnosticMessage" commands entering and exiting every function, describing what is happenning. You can look at the log with Windows Event Viewer.


Secondly, I would set the print spooler to "Keep printed documents"... Right click the printer, pick "Printer properties", advanced tab, down the bottom is a checkbox. There, you can see if for some reason the printer is just getting stuck on a document.
 
Hello rdrast,

Thanks for responding. I have been logging the errors with "LogDiagnosticMessage" and most of the errors are CIP, licencing errors and I believe no graphic set errors. Its definitely not the print because there is nothing in the printer cue.
Over the weekend I restart the application and toggled the bit the programming works flawlessly. Came back two hours later and no response from the application when toggling the bits. Its like it times out or ignores the VBA code after sometime. All the licencing is install and in use when checked.
 
Have you coded error handling to VBA?

Without line "On Error Resume Next" code is stopped to error.
It won't fix error, but at least code is executed after error
 

Similar Topics

Anybody know of a complete (or relatively complete) resource for VBA functions available to FTV SE? I know there are specific functions and...
Replies
6
Views
1,609
Hello all, and thanks for your help! im looking for the easiest way to display images from a camera inside the FTV ME environment. i can use...
Replies
0
Views
2,213
Hi All, Wondering if anyone has a source for information about products with problematic production runs from allen bradley/rockwell. Ive seen...
Replies
2
Views
111
I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
181
Hi all. Customer wants analog faceplates really bad, even if we explained that it doesn't make much sense in his process. What he wants to see...
Replies
5
Views
130
Back
Top Bottom